:root{--mv-primary:#6d4aff;--mv-text:#24242b;--mv-muted:#74747e;--mv-border:#e7e7ec;--mv-bg:#f6f6f8;--mv-card:#fff;--mv-radius:18px;--mv-shadow:0 12px 36px rgba(25,25,35,.07)}
.mv-portal,.mv-standalone-component,.mv-public,.mv-login-wrap{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--mv-text);box-sizing:border-box}.mv-portal *,.mv-standalone-component *,.mv-public *,.mv-login-wrap *{box-sizing:border-box}.mv-portal{max-width:1240px;margin:0 auto;background:var(--mv-bg);border:1px solid var(--mv-border);border-radius:24px;padding:24px}.mv-portal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.mv-portal-head h2{margin:4px 0 0;font-size:28px;line-height:1.15}.mv-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--mv-primary)}
.mv-tabs{display:flex;gap:6px;overflow:auto;padding:5px;background:#fff;border:1px solid var(--mv-border);border-radius:14px;margin-bottom:20px;scrollbar-width:none}.mv-tabs::-webkit-scrollbar{display:none}.mv-tabs a{white-space:nowrap;padding:10px 14px;border-radius:10px;color:#61616b;text-decoration:none;font-size:14px;font-weight:700}.mv-tabs a.active{background:var(--mv-primary);color:#fff}.mv-tab-content{min-height:320px}.mv-card{background:var(--mv-card);border:1px solid var(--mv-border);border-radius:var(--mv-radius);padding:22px;margin-bottom:18px;box-shadow:none}.mv-card h3{font-size:20px;margin:0 0 6px}.mv-card h4{font-size:16px;margin:0 0 12px}.mv-card p{color:var(--mv-muted)}.mv-card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.mv-card-head p{margin:4px 0 0}
.mv-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.mv-stat-card{background:#fff;border:1px solid var(--mv-border);border-radius:16px;padding:18px}.mv-stat-card span{display:block;color:var(--mv-muted);font-size:13px;margin-bottom:8px}.mv-stat-card strong{font-size:30px;line-height:1}.mv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;background:var(--mv-primary);color:#fff!important;text-decoration:none!important;font-weight:750;font-size:14px;padding:11px 16px;cursor:pointer;transition:.18s ease}.mv-btn:hover{filter:brightness(.95);transform:translateY(-1px)}.mv-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.mv-btn-light{background:#f1f1f5;color:#3c3c46!important}.mv-btn-sm{padding:8px 11px;font-size:12px}.mv-btn-block{width:100%}.mv-link-danger{border:0;background:transparent;color:#b42318;padding:8px 0;cursor:pointer;font-weight:700}
.mv-list{border-top:1px solid var(--mv-border)}.mv-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--mv-border)}.mv-list-row strong,.mv-list-row small{display:block}.mv-list-row small{color:var(--mv-muted);margin-top:3px}.mv-list-row>a{font-weight:700;color:var(--mv-primary);text-decoration:none}.mv-status{display:inline-flex;align-items:center;width:max-content;font-size:11px;font-weight:800;padding:6px 9px;border-radius:999px;background:#f0f0f3;color:#555}.mv-status-published,.mv-status-approved,.mv-status-accepted{background:#e9f8ef;color:#177245}.mv-status-draft,.mv-status-pending{background:#fff4dd;color:#946200}.mv-status-rejected,.mv-status-archived,.mv-status-expired{background:#fdecec;color:#a52a2a}
.mv-memorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mv-memorial-card{border:1px solid var(--mv-border);border-radius:16px;overflow:hidden;background:#fff}.mv-memorial-photo{height:180px;background:#eee center/cover no-repeat}.mv-memorial-card-body{padding:16px}.mv-memorial-card h4{margin:9px 0 5px;font-size:18px}.mv-memorial-card p{margin:0 0 12px}.mv-actions{display:flex;flex-wrap:wrap;gap:12px}.mv-actions a{color:var(--mv-primary);font-weight:700;text-decoration:none;font-size:13px}
.mv-form label{display:block;font-size:13px;font-weight:700;color:#494953;margin-bottom:14px}.mv-form input[type=text],.mv-form input[type=email],.mv-form input[type=password],.mv-form input[type=date],.mv-form input[type=datetime-local],.mv-form input[type=url],.mv-form select,.mv-form textarea,.mv-invite-link input,.mv-share-box input{width:100%;margin-top:7px;border:1px solid #dcdce3;border-radius:11px;background:#fff;padding:11px 12px;font:inherit;color:var(--mv-text);outline:none}.mv-form textarea{resize:vertical}.mv-form input:focus,.mv-form select:focus,.mv-form textarea:focus{border-color:var(--mv-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--mv-primary) 12%,transparent)}.mv-form small{display:block;color:var(--mv-muted);font-weight:400;margin-top:5px}.mv-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.mv-checkbox{display:flex!important;align-items:flex-start;gap:8px}.mv-checkbox input{margin:2px 0 0}.mv-form-sections section{padding:18px 0;border-bottom:1px solid var(--mv-border)}.mv-form-sections section:first-of-type{padding-top:0}.mv-form-actions{padding-top:18px}.mv-gallery-edit{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.mv-gallery-edit label{margin:0;border:1px solid var(--mv-border);border-radius:12px;overflow:hidden;background:#fff}.mv-gallery-edit img{width:94px;height:82px;display:block;object-fit:cover}.mv-gallery-edit span{display:block;padding:6px 8px;font-size:11px}.mv-share-box{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center;background:#fafafd;border:1px solid var(--mv-border);border-radius:16px;padding:18px}.mv-qrcode{width:max-content;background:#fff;padding:10px;border-radius:10px;border:1px solid var(--mv-border)}.mv-qrcode img,.mv-qrcode canvas{display:block!important;max-width:100%;height:auto!important}.mv-invite-link{padding:14px;border:1px dashed var(--mv-primary);border-radius:13px;background:#fbfaff;margin-bottom:16px}.mv-invite-link strong{display:block;margin-bottom:6px}.mv-grid-main-side{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:18px}.mv-logo-preview{display:block;width:120px;height:80px;object-fit:contain;background:#fafafa;border:1px solid var(--mv-border);border-radius:10px;margin:8px 0}
.mv-alert{padding:12px 14px;border-radius:11px;background:#eef1ff;color:#454559;margin-bottom:14px;font-size:14px}.mv-alert-ok{background:#eaf8ef;color:#216b41}.mv-alert-error{background:#fdecec;color:#962525}.mv-empty{padding:46px 20px;text-align:center;border:1px dashed #d7d7de;border-radius:15px;background:#fff}.mv-empty h3{margin:0 0 8px}.mv-empty p{color:var(--mv-muted)}.mv-empty-inline{padding:18px;text-align:center;color:var(--mv-muted)}
.mv-message-manage{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:16px 0;border-bottom:1px solid var(--mv-border)}.mv-message-manage strong,.mv-message-manage small{display:block}.mv-message-manage small{color:var(--mv-muted);margin-top:3px}.mv-message-manage p{margin:8px 0 0;color:#444}.mv-message-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.mv-mini-action{border:1px solid var(--mv-border);background:#fff;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:700;cursor:pointer}.mv-mini-action.danger{color:#a52a2a}
.mv-login-wrap{min-height:480px;display:grid;place-items:center;padding:25px}.mv-login-card{width:min(100%,440px);background:#fff;border:1px solid var(--mv-border);border-radius:20px;padding:28px;box-shadow:var(--mv-shadow)}.mv-login-card h2{font-size:27px;margin:7px 0 8px}.mv-login-card>p{color:var(--mv-muted);margin:0 0 20px}
.mv-family-summary{display:grid;grid-template-columns:150px 1fr;gap:20px;background:#fff;border:1px solid var(--mv-border);border-radius:18px;padding:18px;margin-bottom:18px;align-items:center}.mv-family-photo{height:140px;border-radius:14px;background:#ededf1 center/cover no-repeat}.mv-family-summary h3{font-size:24px;margin:8px 0 4px}.mv-family-summary p{color:var(--mv-muted)}
/* Memorial público */
.mv-public{--mv-public-max:1120px;background:#faf9f7;min-height:100vh}.mv-public-hero{min-height:600px;display:grid;grid-template-columns:46% 54%;background:#eee8df}.mv-public-photo{min-height:600px;background:#d8d3cc center/cover no-repeat}.mv-public-hero-content{padding:80px clamp(32px,7vw,110px);display:flex;flex-direction:column;justify-content:center}.mv-public-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(44px,6vw,82px);line-height:.98;margin:14px 0 16px;color:#27231f}.mv-life-dates{font-size:18px;letter-spacing:.08em;color:#746e67}.mv-family-quote{font-family:Georgia,serif;font-size:19px;line-height:1.65;color:#514b45;max-width:650px;border-left:2px solid var(--mv-primary);padding-left:18px;margin-top:26px}.mv-public-share{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.mv-public-share a,.mv-public-share button{border:1px solid rgba(50,45,40,.17);background:rgba(255,255,255,.6);color:#403a34;border-radius:999px;padding:9px 13px;text-decoration:none;font-weight:700;font-size:12px;cursor:pointer}.mv-public-section{max-width:var(--mv-public-max);margin:0 auto;padding:82px 24px;border-bottom:1px solid #e9e4de}.mv-section-title{text-align:center;margin-bottom:34px}.mv-section-title span{font-size:10px;letter-spacing:.2em;font-weight:800;color:var(--mv-primary)}.mv-section-title h2{font-family:Georgia,serif;font-weight:500;font-size:38px;margin:8px 0}.mv-prose{max-width:800px;margin:0 auto;font-family:Georgia,serif;color:#4e4a46;font-size:18px;line-height:1.85}.mv-public-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mv-gallery-item{border:0;padding:0;background:none;cursor:pointer;overflow:hidden;aspect-ratio:1.2/1}.mv-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.mv-gallery-item:hover img{transform:scale(1.03)}.mv-event-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:850px;margin:auto}.mv-event-card{background:#fff;border:1px solid #e7e0d8;padding:28px;border-radius:16px;text-align:center}.mv-event-card h3{font-family:Georgia,serif;font-size:24px;margin:8px 0 16px}.mv-event-card strong{display:block}.mv-event-card p{color:#6d6862}.mv-event-icon{color:var(--mv-primary);font-size:24px}.mv-condolence-layout{display:grid;grid-template-columns:360px 1fr;gap:28px}.mv-condolence-form{background:#fff;border:1px solid #e7e0d8;padding:22px;border-radius:16px;height:max-content}.mv-condolence-form h3{font-family:Georgia,serif;margin-top:0}.mv-message-wall{columns:2;column-gap:14px}.mv-message-card{break-inside:avoid;background:#fff;border:1px solid #e7e0d8;border-radius:14px;padding:18px;margin:0 0 14px}.mv-message-card p{font-family:Georgia,serif;font-size:16px;line-height:1.6;color:#4e4943}.mv-message-card strong,.mv-message-card small{display:block}.mv-message-card small{color:#96908a;margin-top:3px}.mv-form-response{font-size:13px;margin-top:10px}.mv-form-response.success{color:#177245}.mv-form-response.error{color:#a52a2a}.mv-public-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;max-width:var(--mv-public-max);margin:0 auto;padding:34px 24px;color:#817b75;font-size:12px}.mv-qrcode-small{padding:6px}.mv-lightbox[hidden]{display:none}.mv-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.9);display:grid;place-items:center;padding:30px}.mv-lightbox img{max-width:94vw;max-height:90vh;object-fit:contain}.mv-lightbox-close{position:absolute;top:18px;right:22px;color:#fff;background:none;border:0;font-size:40px;cursor:pointer}.mv-no-scroll{overflow:hidden}
/* TV */
.mv-tv-body{margin:0!important;background:#111;overflow:hidden}.mv-tv{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;width:100vw;height:100vh;min-height:650px;overflow:hidden;color:#fff;background:#151311}.mv-tv-bg{position:absolute;inset:-30px;background:center/cover no-repeat;filter:blur(38px);opacity:.33;transform:scale(1.12)}.mv-tv-overlay{position:absolute;inset:0;background:linear-gradient(120deg,rgba(17,15,13,.92),rgba(17,15,13,.68))}.mv-tv-top,.mv-tv-main,.mv-tv-bottom{position:relative;z-index:2}.mv-tv-top{height:20vh;min-height:135px;padding:4vh 5vw 2vh;display:flex;justify-content:space-between;align-items:flex-start}.mv-tv-top span,.mv-tv-label{font-size:12px;text-transform:uppercase;letter-spacing:.2em;color:#d4c8ba}.mv-tv-top h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,72px);font-weight:400;margin:5px 0}.mv-tv-top p{margin:0;color:#c9c3bd}.mv-tv-fullscreen{border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:9px 14px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.mv-tv-main{height:62vh;display:grid;grid-template-columns:45% 55%;gap:4vw;padding:0 5vw}.mv-tv-slideshow{height:100%;overflow:hidden;border-radius:4px}.mv-tv-image{width:100%;height:100%;background:#28231f center/cover no-repeat;transition:opacity .5s}.mv-tv-image.fade{opacity:.15}.mv-tv-message-wrap{display:flex;flex-direction:column;justify-content:center;padding-right:3vw}.mv-tv-label{margin-bottom:24px}.mv-tv-messages{min-height:260px;position:relative}.mv-tv-messages blockquote{position:absolute;inset:0;margin:0;opacity:0;transform:translateY(12px);transition:opacity .9s,transform .9s;display:flex;flex-direction:column;justify-content:center}.mv-tv-messages blockquote.active{opacity:1;transform:none}.mv-tv-messages p{font-family:Georgia,serif;font-size:clamp(28px,3.2vw,52px);font-weight:400;line-height:1.25;margin:0 0 24px}.mv-tv-messages cite{font-style:normal;color:#cec7c0;font-size:18px}.mv-tv-bottom{height:18vh;min-height:110px;padding:2vh 5vw 3vh;display:flex;align-items:center;justify-content:flex-end;gap:20px;color:#c8c0b8;font-size:13px}.mv-qrcode-tv{padding:7px;border:0;border-radius:4px}.mv-qrcode-tv img,.mv-qrcode-tv canvas{width:110px!important;height:110px!important}
.mv-toast{position:fixed;z-index:9999999;left:50%;bottom:30px;transform:translate(-50%,10px);background:#222;color:#fff;border-radius:999px;padding:10px 16px;font:600 13px Inter,Arial;opacity:0;transition:.2s}.mv-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.mv-stats{grid-template-columns:repeat(2,1fr)}.mv-memorial-grid{grid-template-columns:repeat(2,1fr)}.mv-grid-main-side{grid-template-columns:1fr}.mv-public-hero{grid-template-columns:1fr}.mv-public-photo{min-height:55vh}.mv-public-hero-content{padding:50px 28px}.mv-condolence-layout{grid-template-columns:1fr}.mv-tv-main{grid-template-columns:40% 60%;gap:3vw}.mv-tv-messages p{font-size:clamp(24px,4vw,40px)}}
@media(max-width:700px){.mv-portal{padding:14px;border-radius:16px}.mv-portal-head{align-items:flex-start}.mv-portal-head h2{font-size:22px}.mv-grid-2,.mv-stats,.mv-memorial-grid,.mv-family-summary,.mv-share-box,.mv-event-grid{grid-template-columns:1fr}.mv-list-row{grid-template-columns:1fr auto}.mv-list-row>a{grid-column:1/-1}.mv-card{padding:16px}.mv-card-head{align-items:flex-start;flex-direction:column}.mv-memorial-photo{height:210px}.mv-message-manage{grid-template-columns:1fr}.mv-message-actions{justify-content:flex-start}.mv-family-photo{height:220px}.mv-public-hero{min-height:0}.mv-public-photo{min-height:62vh}.mv-public-hero h1{font-size:48px}.mv-public-section{padding:58px 18px}.mv-public-gallery{grid-template-columns:repeat(2,1fr)}.mv-message-wall{columns:1}.mv-public-footer{align-items:flex-start}.mv-tv{min-height:100vh}.mv-tv-top{height:23vh;padding:4vh 4vw 2vh}.mv-tv-top h1{font-size:38px}.mv-tv-fullscreen{display:none}.mv-tv-main{height:62vh;grid-template-columns:1fr;padding:0 4vw}.mv-tv-slideshow{height:30vh}.mv-tv-message-wrap{height:30vh;padding:14px 0}.mv-tv-messages{min-height:150px}.mv-tv-messages p{font-size:25px}.mv-tv-bottom{height:15vh;padding:1vh 4vw 2vh}.mv-qrcode-tv img,.mv-qrcode-tv canvas{width:78px!important;height:78px!important}}

/* =========================================================
   Painel da Funerária v1.1 — layout de aplicação / Elementor
   ========================================================= */
.mv-funeral-app{
  --mv-app-purple:var(--mv-primary,#6d4aff);
  --mv-app-purple-soft:#f4f0fb;
  --mv-app-purple-soft-2:#faf8fe;
  --mv-app-ink:#20213a;
  --mv-app-muted:#85859a;
  --mv-app-line:#e8e6ef;
  --mv-app-bg:#fbfbfd;
  position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:1600px;min-height:100vh;margin:0!important;padding:0!important;
  display:grid;grid-template-columns:274px minmax(0,1fr);overflow:hidden;background:var(--mv-app-bg);border:1px solid #e4e1eb;border-radius:5px;
  font-family:Poppins,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mv-app-ink);box-shadow:none;
}
.mv-funeral-app svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mv-funeral-app svg.fill{fill:currentColor;stroke:currentColor}
.mv-app-sidebar{position:relative;z-index:40;min-width:0;background:#fff;border-right:1px solid var(--mv-app-line);display:flex;flex-direction:column;min-height:100vh}
.mv-app-brand{height:178px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:20px;text-align:center;color:#6044a0}
.mv-app-brand img{width:116px;height:82px;object-fit:contain;display:block}
.mv-app-brand-mark{display:grid;place-items:center;width:66px;height:60px;color:#7456b8}
.mv-app-brand-mark svg{width:62px;height:62px;stroke-width:1.35}
.mv-app-brand strong{max-width:150px;font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.08;letter-spacing:.02em;text-transform:uppercase;font-weight:500;color:#61499c}
.mv-app-nav{display:flex;flex-direction:column;gap:5px;padding:10px 12px}
.mv-app-nav a{position:relative;display:flex;align-items:center;gap:14px;min-height:52px;padding:0 16px;border-radius:10px;color:#66677f!important;text-decoration:none!important;font-size:14px;font-weight:500;transition:.18s ease}
.mv-app-nav a:hover{background:#faf8fd;color:var(--mv-app-purple)!important}
.mv-app-nav a.active{background:#f1ecfa;color:#5c399d!important;font-weight:600}
.mv-app-nav-icon{display:grid;place-items:center;width:24px;flex:0 0 24px}
.mv-app-nav a em{margin-left:auto;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--mv-app-purple);color:#fff;font-style:normal;font-size:10px;display:grid;place-items:center}
.mv-app-sidebar-footer{position:relative;margin-top:auto;min-height:260px;padding:18px 32px 34px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
.mv-app-logout{position:absolute;top:4px;left:28px;right:28px;display:flex;align-items:center;gap:14px;padding:10px 0;color:#696a81!important;text-decoration:none!important;font-size:14px;font-weight:500;z-index:3}
.mv-app-sidebar-footer p{position:relative;z-index:2;margin:0;color:#66578c;font-size:11px;line-height:1.65;font-weight:500}
.mv-app-sidebar-footer p:before{content:'“';display:block;font-family:Georgia,serif;font-size:34px;line-height:.75;color:#8b73c2;margin-bottom:6px}
.mv-app-sidebar-art{position:absolute;inset:62px 0 0;background:linear-gradient(to bottom,rgba(255,255,255,0),#f8f4fd 43%,#eee8fa);overflow:hidden}
.mv-app-sidebar-art:before,.mv-app-sidebar-art:after,.mv-app-sidebar-art span{content:"";position:absolute;border-radius:50%;border:1px solid rgba(123,91,184,.15)}
.mv-app-sidebar-art:before{width:360px;height:140px;left:-165px;bottom:34px;transform:rotate(-8deg)}
.mv-app-sidebar-art:after{width:340px;height:125px;right:-178px;bottom:67px;transform:rotate(9deg)}
.mv-app-sidebar-art span:nth-child(1){width:330px;height:105px;left:-86px;bottom:-24px;background:rgba(164,137,216,.08)}
.mv-app-sidebar-art span:nth-child(2){width:210px;height:72px;right:-62px;bottom:8px;background:rgba(164,137,216,.09)}
.mv-app-sidebar-art span:nth-child(3){width:95px;height:145px;left:15px;bottom:78px;border:0;border-left:1px solid rgba(115,87,174,.16);border-radius:50% 0 0 0;transform:skew(-12deg)}
.mv-app-shell{min-width:0;display:flex;flex-direction:column;background:#fff}
.mv-app-topbar{height:96px;flex:0 0 96px;border-bottom:1px solid var(--mv-app-line);display:grid;grid-template-columns:minmax(280px,580px) auto;justify-content:end;align-items:center;gap:28px;padding:0 30px 0 46px;background:rgba(255,255,255,.96);position:relative;z-index:30}
.mv-app-search{height:50px;display:flex;align-items:center;gap:10px;border:1px solid #dddbe6;border-radius:9px;background:#fff;padding:0 15px;color:#74758d}
.mv-app-search>span{display:grid;place-items:center}
.mv-app-search svg{width:19px;height:19px}
.mv-app-search input{min-width:0;flex:1;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;font:500 13px Poppins,Inter,sans-serif!important;color:#4e4f68!important}
.mv-app-search input::placeholder{color:#9a98aa}
.mv-app-top-actions{height:100%;display:flex;align-items:center}
.mv-app-bell{position:relative;width:64px;height:100%;display:grid;place-items:center;border-left:1px solid var(--mv-app-line);border-right:1px solid var(--mv-app-line);color:#63647b!important;text-decoration:none!important}
.mv-app-bell span{position:absolute;top:25px;right:10px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#5d3b9d;color:#fff;font-size:10px;display:grid;place-items:center;border:2px solid #fff}
.mv-app-user{position:relative;height:100%;display:flex;align-items:center}
.mv-app-user-button{height:100%;min-width:224px;padding:0 10px 0 24px;border:0!important;background:transparent!important;display:flex;align-items:center;gap:12px;color:var(--mv-app-ink);cursor:pointer;text-align:left}
.mv-app-user-button img{width:44px;height:44px;object-fit:cover;border-radius:50%;background:#ece7f7}
.mv-app-user-button>span{display:flex;flex-direction:column;min-width:0;flex:1}
.mv-app-user-button strong{font-size:13px;line-height:1.35;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-app-user-button small{font-size:11px;color:#85869a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-app-user-button>svg{width:17px;height:17px;color:#696b83}
.mv-app-user-menu{position:absolute;top:78px;right:8px;z-index:100;width:190px;background:#fff;border:1px solid var(--mv-app-line);border-radius:10px;padding:6px;box-shadow:0 14px 35px rgba(40,31,63,.12)}
.mv-app-user-menu a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;color:#55566d!important;text-decoration:none!important;font-size:12px;font-weight:500}
.mv-app-user-menu a:hover{background:#f5f1fb;color:var(--mv-app-purple)!important}
.mv-app-user-menu svg{width:18px;height:18px}
.mv-app-menu-toggle,.mv-app-overlay{display:none}
.mv-app-main{min-width:0;flex:1;padding:29px 28px 34px;background:#fff}
.mv-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 25px}
.mv-dashboard-head h1,.mv-page-title h1{display:flex;align-items:center;gap:10px;margin:0 0 6px!important;color:#20213a;font:600 28px/1.25 Poppins,Inter,sans-serif!important;letter-spacing:-.02em}
.mv-dashboard-head h1 span{color:#b19add;display:grid;place-items:center}
.mv-dashboard-head h1 span svg{width:30px;height:30px;stroke-width:1.3}
.mv-dashboard-head p,.mv-page-title p{margin:0;color:#8d8da0;font-size:13px;line-height:1.6}
.mv-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:24px}
.mv-quick-actions>a{min-width:0;min-height:124px;display:grid;grid-template-columns:64px minmax(0,1fr) 20px;align-items:center;gap:14px;padding:20px;border:1px solid var(--mv-app-line);border-radius:11px;background:#fff;color:var(--mv-app-ink)!important;text-decoration:none!important;transition:.18s ease}
.mv-quick-actions>a:hover{border-color:#d8cdec;transform:translateY(-1px);box-shadow:0 6px 18px rgba(64,48,93,.05)}
.mv-quick-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#f4f0fb;color:#6140a3}
.mv-quick-icon svg{width:31px;height:31px;stroke-width:1.65}
.mv-quick-actions strong{display:block;color:#51318f;font-size:13px;line-height:1.35;font-weight:600;margin-bottom:7px}
.mv-quick-actions small{display:block;color:#8a8b9e;font-size:11px;line-height:1.55}
.mv-quick-actions i{display:grid;place-items:center;color:#5e3ca0}
.mv-quick-actions i svg{width:17px;height:17px}
.mv-dashboard-grid{display:grid;gap:20px;margin-bottom:20px}
.mv-dashboard-grid-top{grid-template-columns:minmax(0,1.62fr) minmax(320px,1fr)}
.mv-dashboard-grid-bottom{grid-template-columns:minmax(0,1.28fr) minmax(320px,1fr);margin-bottom:0}
.mv-app-card{background:#fff;border:1px solid var(--mv-app-line);border-radius:11px;box-shadow:none;overflow:hidden}
.mv-app-card-head{min-height:61px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--mv-app-line)}
.mv-app-card-head h2{display:flex;align-items:center;gap:10px;margin:0!important;color:#292a41;font:600 13px/1.3 Poppins,Inter,sans-serif!important}
.mv-app-card-head h2 svg{width:21px;height:21px;color:#6647a5}
.mv-app-card-head>a,.mv-card-footer-link{display:inline-flex;align-items:center;gap:8px;border-radius:6px;background:#f5f1fb;padding:7px 12px;color:#66439f!important;text-decoration:none!important;font-size:10px;font-weight:600}
.mv-app-card-head>a:hover,.mv-card-footer-link:hover{background:#eee7f8}
.mv-recent-list{padding:0 20px}
.mv-recent-row{display:grid;grid-template-columns:50px minmax(160px,1fr) auto 92px 24px;align-items:center;gap:13px;min-height:76px;border-bottom:1px solid #efedf2}
.mv-recent-row:last-child{border-bottom:0}
.mv-person-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#eee8f8,#dfd5f1);background-position:center;background-size:cover;color:#64459e;font-size:14px;font-weight:700;flex:0 0 auto}
.mv-person-avatar.has-photo{font-size:0}
.mv-recent-person strong{display:block;color:#303148;font-size:12px;line-height:1.35;font-weight:600}
.mv-recent-person small,.mv-recent-person em{display:block;color:#77798f;font-size:10px;line-height:1.5;font-style:normal}
.mv-recent-person em{color:#a0a0af}
.mv-funeral-app .mv-status{gap:5px;padding:5px 9px;font-size:9px;font-weight:600;border:1px solid transparent;background:#f1f1f5;color:#77788a}
.mv-funeral-app .mv-status b{width:5px;height:5px;border-radius:50%;background:currentColor}
.mv-funeral-app .mv-status-published,.mv-funeral-app .mv-status-approved,.mv-funeral-app .mv-status-accepted{background:#edf9f2;color:#19945a;border-color:#d9f0e3}
.mv-funeral-app .mv-status-draft,.mv-funeral-app .mv-status-pending{background:#f6f6f9;color:#7a7c90;border-color:#e7e7ec}
.mv-view-count{display:flex;align-items:center;gap:6px;color:#77798f;font-size:9px;white-space:nowrap}
.mv-view-count svg{width:16px;height:16px}
.mv-row-more{color:#76788e!important;text-decoration:none!important;font-weight:700;letter-spacing:1px}
.mv-summary-card{display:flex;flex-direction:column}
.mv-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:16px}
.mv-summary-grid>a{min-height:98px;display:flex;align-items:center;gap:15px;border:1px solid var(--mv-app-line);border-radius:9px;padding:14px;color:inherit!important;text-decoration:none!important}
.mv-summary-grid>a>span{width:50px;height:50px;border-radius:50%;background:#f5f1fb;color:#6543a4;display:grid;place-items:center;flex:0 0 auto}
.mv-summary-grid>a>span svg{width:24px;height:24px}
.mv-summary-grid strong{display:block;font-size:18px;line-height:1.2;color:#292a43;margin-bottom:4px}
.mv-summary-grid small{display:block;color:#85869a;font-size:10px;line-height:1.45}
.mv-card-footer-link{margin-top:auto;min-height:54px;padding:0 19px!important;border-radius:0;background:#fff!important;border-top:1px solid var(--mv-app-line);justify-content:space-between;font-size:10px}
.mv-card-footer-link svg{width:15px;height:15px}
.mv-event-list{padding:0 20px}
.mv-event-row{min-height:85px;display:grid;grid-template-columns:52px minmax(165px,1.2fr) minmax(140px,.9fr) 20px;align-items:center;gap:15px;border-bottom:1px solid #efedf2}
.mv-event-row:last-child{border-bottom:0}
.mv-date-badge{width:50px;height:61px;border-radius:8px;background:#f2edf9;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6541a3}
.mv-date-badge strong{font-size:20px;line-height:1;font-weight:500}.mv-date-badge small{font-size:9px;font-weight:600;margin-top:5px}
.mv-event-main strong{display:block;color:#5e3a9d;font-size:10px}.mv-event-main b{display:block;color:#313249;font-size:11px;margin:3px 0}.mv-event-main small{display:block;color:#838497;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-event-secondary small,.mv-event-secondary strong,.mv-event-secondary span{display:block;font-size:9px;line-height:1.45}.mv-event-secondary small{color:#8e8fa1}.mv-event-secondary strong{color:#4c4d64}.mv-event-secondary span{color:#85869a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-event-row>i{color:#a78bd7;display:grid;place-items:center}.mv-event-row>i svg{width:18px;height:18px}
.mv-latest-list{padding:0 20px}
.mv-latest-row{min-height:78px;display:grid;grid-template-columns:43px minmax(0,1fr) 20px;align-items:center;gap:12px;border-bottom:1px solid #efedf2}
.mv-latest-row:last-child{border-bottom:0}
.mv-message-avatar{width:40px;height:40px;font-size:12px}
.mv-latest-row p{margin:0 0 4px!important;color:#505168!important;font-size:10px!important;line-height:1.45!important}
.mv-latest-row small{display:block;color:#8e8f9f;font-size:9px}
.mv-latest-row>i{color:#ae92d9}.mv-latest-row>i svg{width:17px;height:17px}
.mv-page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 22px}
.mv-page-title h1{font-size:25px!important}
.mv-funeral-app>.mv-alert,.mv-app-main>.mv-alert{max-width:none}
.mv-funeral-app .mv-card{border:1px solid var(--mv-app-line);border-radius:11px;box-shadow:none;padding:21px;background:#fff}
.mv-funeral-app .mv-card h3{font-size:17px;color:#292a41}.mv-funeral-app .mv-card p{font-size:12px;line-height:1.6}
.mv-funeral-app .mv-btn{border-radius:8px;padding:10px 14px;font-size:11px;font-weight:600;background:var(--mv-app-purple)}
.mv-funeral-app .mv-btn-light{background:#f4f2f7;color:#56576e!important}
.mv-funeral-app .mv-list-row{font-size:12px}.mv-funeral-app .mv-list-row small{font-size:10px}
.mv-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mv-qr-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;align-items:center;padding:20px}
.mv-qr-card .mv-qrcode{margin:auto}.mv-qr-card h2{margin:10px 0 5px!important;font-size:18px!important}.mv-qr-card p{margin:0 0 16px;color:#8a8b9e;font-size:10px;word-break:break-all}
.mv-invites-layout{align-items:start}.mv-invites-layout>.mv-app-card{padding:0}.mv-invites-layout>.mv-app-card>.mv-list,.mv-invites-layout>.mv-app-card>.mv-form,.mv-invites-layout>.mv-app-card>.mv-invite-link{margin:16px 20px}.mv-invites-layout aside.mv-app-card{padding-bottom:20px}.mv-invites-layout aside .mv-form{margin-bottom:0}
.mv-family-table{padding:0 20px}.mv-family-row{min-height:78px;display:grid;grid-template-columns:46px minmax(160px,1.1fr) minmax(150px,1fr) auto auto;align-items:center;gap:15px;border-bottom:1px solid #efedf2}.mv-family-row:last-child{border-bottom:0}.mv-family-person strong,.mv-family-person small,.mv-family-row>div:nth-child(3) small,.mv-family-row>div:nth-child(3) strong{display:block}.mv-family-person strong,.mv-family-row>div:nth-child(3) strong{font-size:11px;color:#34354c}.mv-family-person small,.mv-family-row>div:nth-child(3) small{font-size:9px;color:#9192a2}.mv-count-pill{padding:5px 9px;border-radius:999px;background:#f3eff9;color:#6848a2;font-size:9px;font-weight:600}
.mv-search-heading{align-items:center}.mv-search-heading h1>svg{width:27px;height:27px;color:#6748a5}.mv-search-results{grid-template-columns:1fr 1fr}

@media(max-width:1180px){
  .mv-funeral-app{grid-template-columns:230px minmax(0,1fr)}
  .mv-app-brand{height:150px}.mv-app-sidebar-footer{min-height:220px}
  .mv-app-topbar{padding-left:24px;gap:18px}.mv-app-user-button{min-width:184px;padding-left:16px}.mv-app-user-button span{display:none}
  .mv-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mv-dashboard-grid-top,.mv-dashboard-grid-bottom{grid-template-columns:1fr}
}
@media(max-width:860px){
  .mv-funeral-app{display:block;min-height:760px;overflow:visible}
  .mv-app-sidebar{position:fixed;top:0;bottom:0;left:0;width:260px;min-height:100vh;transform:translateX(-105%);transition:transform .25s ease;box-shadow:12px 0 36px rgba(42,30,68,.16);z-index:1002}
  .mv-funeral-app.mv-menu-open .mv-app-sidebar{transform:translateX(0)}
  .mv-app-overlay{position:fixed;inset:0;z-index:1001;border:0;background:rgba(28,23,40,.25);cursor:pointer}
  .mv-funeral-app.mv-menu-open .mv-app-overlay{display:block}
  .mv-app-shell{min-height:100vh}
  .mv-app-topbar{height:76px;grid-template-columns:44px minmax(0,1fr) auto;padding:0 14px;gap:10px}
  .mv-app-menu-toggle{display:grid;place-items:center;width:42px;height:42px;border:0;background:#f5f1fb;color:#6341a2;border-radius:9px;cursor:pointer}
  .mv-app-search{height:44px}.mv-app-bell{width:50px;border-left:0}.mv-app-user-button{min-width:52px;width:52px;padding:0 4px}.mv-app-user-button img{width:39px;height:39px}.mv-app-user-button>svg{display:none}
  .mv-app-main{padding:22px 16px 28px}.mv-dashboard-head h1,.mv-page-title h1{font-size:23px!important}
  .mv-qr-grid{grid-template-columns:1fr}.mv-family-row{grid-template-columns:44px minmax(0,1fr) auto}.mv-family-row>div:nth-child(3){grid-column:2/3}.mv-family-row form{grid-column:2/4;margin-bottom:12px}
  .mv-search-results{grid-template-columns:1fr}
}
@media(max-width:620px){
  .mv-funeral-app{border-left:0;border-right:0}
  .mv-app-topbar{grid-template-columns:42px minmax(0,1fr) 42px}.mv-app-user{display:none}.mv-app-bell{width:42px}.mv-app-bell span{top:13px;right:0}
  .mv-app-search{padding:0 11px}.mv-app-search input{font-size:11px!important}
  .mv-quick-actions{grid-template-columns:1fr;gap:11px}.mv-quick-actions>a{min-height:96px;grid-template-columns:54px minmax(0,1fr) 18px;padding:14px}.mv-quick-icon{width:54px;height:54px}.mv-quick-icon svg{width:26px;height:26px}
  .mv-recent-list,.mv-event-list,.mv-latest-list,.mv-family-table{padding:0 13px}.mv-app-card-head{padding:0 14px}
  .mv-recent-row{grid-template-columns:44px minmax(0,1fr) auto;gap:9px;padding:10px 0}.mv-recent-row .mv-status{grid-column:2/3;width:max-content}.mv-view-count{grid-column:2/3}.mv-row-more{grid-column:3;grid-row:1/3}.mv-person-avatar{width:40px;height:40px}
  .mv-summary-grid{grid-template-columns:1fr 1fr;gap:9px;padding:12px}.mv-summary-grid>a{min-height:88px;padding:10px;gap:9px}.mv-summary-grid>a>span{width:40px;height:40px}.mv-summary-grid>a>span svg{width:20px;height:20px}.mv-summary-grid strong{font-size:16px}.mv-summary-grid small{font-size:8px}
  .mv-event-row{grid-template-columns:48px minmax(0,1fr) 18px;gap:9px;padding:10px 0}.mv-event-secondary{grid-column:2/3}.mv-event-row>i{grid-column:3;grid-row:1/3}.mv-date-badge{width:46px;height:56px}
  .mv-page-title{align-items:flex-start;flex-direction:column}.mv-page-title .mv-btn{width:100%}
  .mv-qr-card{grid-template-columns:1fr;text-align:center}.mv-qr-card .mv-actions{justify-content:center}
  .mv-invites-layout{grid-template-columns:1fr}
  .mv-funeral-app .mv-grid-main-side{grid-template-columns:1fr}
}


/* === Memória Viva 1.2.0 — Portal / Login refinado === */
.mv-funeral-app{
  background:#fff;
}
.mv-app-sidebar{
  background:linear-gradient(180deg,#f8f5ff 0%,#f3edff 58%,#eee6fb 100%);
  border-right:1px solid #e5dcf3;
}
.mv-app-brand{
  min-height:178px;
  height:auto;
  padding:26px 22px 20px;
  border-bottom:1px solid rgba(106,72,165,.08);
}
.mv-app-brand-mark{
  color:#6b45ad;
}
.mv-app-brand strong{
  color:#56358f;
  margin-top:2px;
}
.mv-app-nav{
  gap:7px;
  padding:18px 16px;
}
.mv-app-nav a{
  min-height:52px;
  width:100%;
  padding:0 15px;
  gap:13px;
  border:1px solid transparent;
  border-radius:10px;
  color:#574f6b!important;
  font-size:13px;
}
.mv-app-nav a:hover{
  background:rgba(255,255,255,.62);
  border-color:rgba(104,70,164,.08);
  color:#5b36a0!important;
}
.mv-app-nav a.active{
  background:#fff;
  border-color:#e4daf3;
  box-shadow:0 5px 18px rgba(77,49,123,.05);
  color:#5d35a3!important;
}
.mv-app-nav-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
}
.mv-app-nav-icon svg{
  width:21px;
  height:21px;
}
.mv-app-sidebar-footer{
  min-height:245px;
  padding:22px 28px 32px;
  border-top:1px solid rgba(106,72,165,.10);
}
.mv-app-logout{
  top:13px;
  left:28px;
  right:28px;
  min-height:44px;
  padding:0 1px;
  color:#574f6b!important;
}
.mv-app-sidebar-art{
  inset:70px 0 0;
  background:linear-gradient(to bottom,rgba(244,238,253,0),rgba(236,226,249,.86));
}
.mv-app-sidebar-footer p{
  color:#5e4d81;
  font-size:11px;
}
.mv-app-topbar{
  grid-template-columns:minmax(300px,560px) auto;
  min-height:86px;
  height:86px;
  flex-basis:86px;
  padding:0 24px 0 34px;
  gap:22px;
}
.mv-app-search{
  width:100%;
  max-width:560px;
  justify-self:end;
}
.mv-app-user-button{
  min-width:220px;
}
.mv-app-main{
  padding-top:28px;
}
.mv-app-menu-toggle{
  display:none!important;
}

/* Login separado: funerária / família */
.mv-login-wrap{
  min-height:560px;
  padding:36px 20px;
  background:linear-gradient(145deg,#fbf9ff,#f5f0fc);
}
.mv-login-card{
  width:min(100%,460px);
  border-radius:16px;
  border:1px solid #e5dff0;
  box-shadow:0 18px 50px rgba(68,45,105,.07);
  padding:34px;
}
.mv-login-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:7px;
  margin:0 0 25px;
  color:#5f3ba0;
  text-align:center;
}
.mv-login-brand>span{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
}
.mv-login-brand svg{
  width:48px;
  height:48px;
}
.mv-login-brand strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:500;
}
.mv-login-card .mv-eyebrow{
  text-align:center;
  color:#6c46ac;
}
.mv-login-card h2{
  margin:9px 0 9px!important;
  text-align:center;
  color:#25233a;
  font-size:25px!important;
  line-height:1.2!important;
}
.mv-login-card>p{
  max-width:365px;
  margin:0 auto 23px;
  text-align:center;
  font-size:13px;
  line-height:1.65;
}
.mv-login-form label{
  font-size:12px;
}
.mv-login-form .mv-btn{
  margin-top:5px;
  min-height:46px;
}
.mv-login-secondary{
  display:block;
  margin-top:16px;
  text-align:center;
  color:#67439f!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:600;
}

@media(max-width:860px){
  .mv-app-menu-toggle{
    display:grid!important;
  }
  .mv-app-sidebar{
    background:linear-gradient(180deg,#f8f5ff 0%,#efe7fb 100%);
  }
  .mv-app-topbar{
    height:76px;
    min-height:76px;
    grid-template-columns:44px minmax(0,1fr) auto;
    padding:0 14px;
    gap:10px;
  }
}
@media(max-width:620px){
  .mv-login-wrap{
    min-height:520px;
    padding:20px 12px;
  }
  .mv-login-card{
    padding:26px 20px;
  }
  .mv-login-card h2{
    font-size:22px!important;
  }
}


/* =========================================================
   Memória Viva 1.3.0 — painel da funerária alinhado à referência
   ========================================================= */
html:has(.mv-funeral-app),body:has(.mv-funeral-app){margin-top:0!important}
body:has(.mv-funeral-app) #wpadminbar{display:none!important}

.mv-portal.mv-funeral-app{
  --mv-sidebar:#f2ebfb;
  --mv-sidebar-deep:#e9def8;
  --mv-sidebar-active:#e4d7f7;
  --mv-purple:#6542a5;
  --mv-line:#e7e1ee;
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:292px minmax(0,1fr)!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-app-sidebar{
  position:relative!important;
  width:292px!important;
  min-width:292px!important;
  min-height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
  background:linear-gradient(180deg,#f7f3fd 0%,var(--mv-sidebar) 55%,#eee5fa 100%)!important;
  border-right:1px solid #ded2ef!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.72)!important;
}
.mv-portal.mv-funeral-app .mv-app-brand{
  height:180px!important;
  min-height:180px!important;
  padding:24px 24px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border-bottom:1px solid rgba(101,66,165,.08)!important;
}
.mv-portal.mv-funeral-app .mv-app-brand img{width:120px!important;height:82px!important;object-fit:contain!important}
.mv-portal.mv-funeral-app .mv-app-brand-mark{width:68px!important;height:62px!important;color:#704bb1!important}
.mv-portal.mv-funeral-app .mv-app-brand-mark svg{width:62px!important;height:62px!important}
.mv-portal.mv-funeral-app .mv-app-brand strong{max-width:180px!important;color:#55338f!important;font-size:20px!important;line-height:1.08!important;text-align:center!important}

.mv-portal.mv-funeral-app .mv-app-nav{
  width:100%!important;
  padding:20px 18px!important;
  gap:7px!important;
  display:flex!important;
  flex-direction:column!important;
}
.mv-portal.mv-funeral-app .mv-app-nav a{
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:0 16px!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:13px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  color:#554d68!important;
  background:transparent!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1!important;
  text-decoration:none!important;
}
.mv-portal.mv-funeral-app .mv-app-nav a:hover{background:rgba(255,255,255,.56)!important;color:#5f399f!important}
.mv-portal.mv-funeral-app .mv-app-nav a.active{
  background:var(--mv-sidebar-active)!important;
  border-color:#d9caed!important;
  color:#5a359c!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.mv-portal.mv-funeral-app .mv-app-nav-icon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important}
.mv-portal.mv-funeral-app .mv-app-nav-icon svg{width:21px!important;height:21px!important}
.mv-portal.mv-funeral-app .mv-app-sidebar-footer{margin-top:auto!important;min-height:250px!important;padding:72px 30px 32px!important;border-top:1px solid rgba(101,66,165,.10)!important}
.mv-portal.mv-funeral-app .mv-app-logout{top:13px!important;left:30px!important;right:30px!important;min-height:44px!important;display:flex!important;align-items:center!important;gap:14px!important;color:#554d68!important}
.mv-portal.mv-funeral-app .mv-app-sidebar-footer p{font-size:11px!important;line-height:1.65!important;color:#5d4b7f!important}

.mv-portal.mv-funeral-app .mv-app-shell{min-width:0!important;width:100%!important;background:#fff!important}
.mv-portal.mv-funeral-app .mv-app-topbar{
  width:100%!important;
  height:86px!important;
  min-height:86px!important;
  padding:0 28px 0 34px!important;
  display:grid!important;
  grid-template-columns:minmax(340px,560px) auto!important;
  justify-content:end!important;
  align-items:center!important;
  gap:22px!important;
  background:#fff!important;
  border-bottom:1px solid var(--mv-line)!important;
}
.mv-portal.mv-funeral-app .mv-app-menu-toggle{display:none!important}
.mv-portal.mv-funeral-app .mv-app-search{width:100%!important;max-width:560px!important;height:50px!important;justify-self:end!important;margin:0!important;border:1px solid #ddd6e8!important;border-radius:9px!important}
.mv-portal.mv-funeral-app .mv-app-top-actions{height:86px!important;display:flex!important;align-items:center!important;justify-self:end!important;white-space:nowrap!important}
.mv-portal.mv-funeral-app .mv-app-bell{width:62px!important;height:86px!important}
.mv-portal.mv-funeral-app .mv-app-user{height:86px!important}
.mv-portal.mv-funeral-app .mv-app-user-button{height:86px!important;min-width:250px!important;padding:0 8px 0 22px!important;gap:12px!important}
.mv-portal.mv-funeral-app .mv-app-user-button img{width:44px!important;height:44px!important;flex:0 0 44px!important}
.mv-portal.mv-funeral-app .mv-app-user-button strong{font-size:12px!important;color:#2f2940!important}
.mv-portal.mv-funeral-app .mv-app-user-button small{font-size:10px!important;color:#888296!important;max-width:155px!important;overflow:hidden!important;text-overflow:ellipsis!important}

.mv-portal.mv-funeral-app .mv-app-main{padding:30px 28px 34px!important;background:#fff!important;min-width:0!important}
.mv-portal.mv-funeral-app .mv-dashboard-head{margin:0 0 24px!important}
.mv-portal.mv-funeral-app .mv-dashboard-head h1{font-size:28px!important;line-height:1.22!important;color:#202039!important}
.mv-portal.mv-funeral-app .mv-dashboard-head p{font-size:12px!important;color:#8c8797!important}
.mv-portal.mv-funeral-app .mv-quick-actions{gap:18px!important;margin-bottom:22px!important}
.mv-portal.mv-funeral-app .mv-quick-actions>a{min-height:116px!important;padding:18px!important;border-color:#e4deea!important;border-radius:10px!important}
.mv-portal.mv-funeral-app .mv-app-card{border-color:#e4deea!important;border-radius:10px!important}
.mv-portal.mv-funeral-app .mv-app-card-head{min-height:58px!important}
.mv-portal.mv-funeral-app .mv-empty-inline{min-height:250px!important;display:grid!important;place-items:center!important;color:#7d7789!important}

@media(max-width:1180px){
  .mv-portal.mv-funeral-app{grid-template-columns:248px minmax(0,1fr)!important}
  .mv-portal.mv-funeral-app .mv-app-sidebar{width:248px!important;min-width:248px!important}
  .mv-portal.mv-funeral-app .mv-app-topbar{grid-template-columns:minmax(260px,1fr) auto!important;padding-left:22px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button{min-width:205px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button small{max-width:110px!important}
}
@media(max-width:860px){
  .mv-portal.mv-funeral-app{display:block!important;overflow:visible!important}
  .mv-portal.mv-funeral-app .mv-app-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:270px!important;min-width:270px!important;transform:translateX(-105%)!important;z-index:10002!important;box-shadow:12px 0 36px rgba(48,33,73,.16)!important}
  .mv-portal.mv-funeral-app.mv-menu-open .mv-app-sidebar{transform:translateX(0)!important}
  .mv-portal.mv-funeral-app .mv-app-menu-toggle{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:1px solid #e0d7ed!important;border-radius:9px!important;background:#f6f1fc!important;color:#6542a5!important}
  .mv-portal.mv-funeral-app .mv-app-topbar{height:76px!important;min-height:76px!important;grid-template-columns:44px minmax(0,1fr) auto!important;padding:0 14px!important;gap:10px!important}
  .mv-portal.mv-funeral-app .mv-app-top-actions{height:76px!important}
  .mv-portal.mv-funeral-app .mv-app-bell{height:76px!important;width:48px!important;border-left:0!important}
  .mv-portal.mv-funeral-app .mv-app-user{height:76px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button{height:76px!important;min-width:52px!important;width:52px!important;padding:0 4px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button>span,.mv-portal.mv-funeral-app .mv-app-user-button>svg{display:none!important}
  .mv-portal.mv-funeral-app .mv-app-overlay{display:none!important}
  .mv-portal.mv-funeral-app.mv-menu-open .mv-app-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:10001!important;background:rgba(28,23,40,.28)!important}
}
@media(max-width:620px){
  .mv-portal.mv-funeral-app .mv-app-topbar{grid-template-columns:42px minmax(0,1fr) 42px!important}
  .mv-portal.mv-funeral-app .mv-app-user{display:none!important}
  .mv-portal.mv-funeral-app .mv-app-main{padding:20px 14px 28px!important}
  .mv-portal.mv-funeral-app .mv-dashboard-head h1{font-size:23px!important}
}


/* ==== v1.4.0 funeral portal layout refinement ==== */
.mv-portal.mv-funeral-app{
  --mv-sidebar:#e5d6f7;
  --mv-sidebar-deep:#cfb7ee;
  --mv-sidebar-active:#c7acec;
  --mv-purple:#573091;
  --mv-line:#e9e1f1;
  display:block!important;
  left:0!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  min-height:100vh!important;
  overflow:visible!important;
  background:#f7f7fb!important;
}
.mv-portal.mv-funeral-app .mv-app-sidebar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  bottom:0!important;
  width:286px!important;
  min-width:286px!important;
  height:100vh!important;
  overflow:auto!important;
  background:linear-gradient(180deg,#eadffd 0%,#e1d0f7 44%,#d7c0f4 100%)!important;
  border-right:1px solid #ceb8ec!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.45) inset, 12px 0 28px rgba(70,44,110,.06)!important;
  scrollbar-width:thin;
}
.mv-portal.mv-funeral-app .mv-app-brand{
  height:168px!important;
  min-height:168px!important;
  padding:28px 24px 20px!important;
}
.mv-portal.mv-funeral-app .mv-app-brand strong{font-size:18px!important;line-height:1.2!important;letter-spacing:.01em!important}
.mv-portal.mv-funeral-app .mv-app-nav{padding:18px 16px!important;gap:9px!important}
.mv-portal.mv-funeral-app .mv-app-nav a{
  min-height:54px!important;
  padding:0 18px!important;
  border-radius:14px!important;
  color:#433b55!important;
  font-size:14px!important;
  font-weight:600!important;
  column-gap:14px!important;
}
.mv-portal.mv-funeral-app .mv-app-nav a:hover{background:rgba(255,255,255,.62)!important;color:#4f2c87!important}
.mv-portal.mv-funeral-app .mv-app-nav a.active{
  background:linear-gradient(180deg,#d7bdf7 0%,#ceb0f2 100%)!important;
  color:#44236f!important;
  border-color:#c299e5!important;
  box-shadow:0 10px 22px rgba(102,60,151,.10)!important;
}
.mv-portal.mv-funeral-app .mv-app-nav-icon{width:30px!important;height:30px!important}
.mv-portal.mv-funeral-app .mv-app-nav-icon svg{width:20px!important;height:20px!important}
.mv-portal.mv-funeral-app .mv-app-sidebar-footer{padding:78px 24px 26px!important;min-height:220px!important}
.mv-portal.mv-funeral-app .mv-app-logout{left:24px!important;right:24px!important;border-radius:12px!important;background:rgba(255,255,255,.45)!important;border:1px solid rgba(103,75,156,.12)!important;padding:0 14px!important}
.mv-portal.mv-funeral-app .mv-app-sidebar-footer p{font-size:12px!important;color:#4e3b73!important}
.mv-portal.mv-funeral-app .mv-app-shell{margin-left:286px!important;min-height:100vh!important;background:#f7f7fb!important}
.mv-portal.mv-funeral-app .mv-app-topbar{
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:286px!important;
  z-index:9990!important;
  height:84px!important;
  min-height:84px!important;
  padding:0 26px 0 30px!important;
  grid-template-columns:minmax(280px,560px) auto!important;
  gap:18px!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(12px)!important;
  border-bottom:1px solid #e8dfef!important;
  box-shadow:0 10px 22px rgba(34,26,52,.04)!important;
}
.mv-portal.mv-funeral-app .mv-app-search{justify-self:start!important;max-width:520px!important;height:50px!important;border-radius:14px!important;background:#fff!important;border:1px solid #ddd3e9!important;box-shadow:0 4px 12px rgba(56,38,88,.03)!important}
.mv-portal.mv-funeral-app .mv-app-search input{font-size:14px!important;color:#413956!important}
.mv-portal.mv-funeral-app .mv-app-top-actions{height:84px!important;gap:0!important}
.mv-portal.mv-funeral-app .mv-app-bell{height:84px!important;width:58px!important}
.mv-portal.mv-funeral-app .mv-app-user{height:84px!important}
.mv-portal.mv-funeral-app .mv-app-user-button{height:84px!important;min-width:278px!important;padding:0 10px 0 18px!important;gap:12px!important}
.mv-portal.mv-funeral-app .mv-app-user-button strong{font-size:13px!important;line-height:1.2!important}
.mv-portal.mv-funeral-app .mv-app-user-button small{font-size:11px!important;max-width:160px!important}
.mv-portal.mv-funeral-app .mv-app-main{padding:112px 24px 30px!important;background:#f7f7fb!important;min-height:100vh!important}
.mv-portal.mv-funeral-app .mv-dashboard-head{margin-bottom:20px!important}
.mv-portal.mv-funeral-app .mv-dashboard-head h1{font-size:26px!important;margin:0 0 8px!important}
.mv-portal.mv-funeral-app .mv-dashboard-head p{font-size:13px!important}
.mv-portal.mv-funeral-app .mv-quick-actions{gap:16px!important;margin-bottom:20px!important}
.mv-portal.mv-funeral-app .mv-quick-actions>a{min-height:112px!important;padding:18px 18px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 20px rgba(42,31,66,.03)!important}
.mv-portal.mv-funeral-app .mv-app-card,.mv-portal.mv-funeral-app .mv-card{border:1px solid #e6deee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(36,26,57,.03)!important}
.mv-portal.mv-funeral-app .mv-app-card-head,.mv-portal.mv-funeral-app .mv-card-head{min-height:62px!important;padding:0 22px!important}
.mv-portal.mv-funeral-app .mv-card-head{margin-bottom:22px!important}
.mv-portal.mv-funeral-app .mv-card h3{font-size:22px!important;margin:0!important}
.mv-portal.mv-funeral-app .mv-card p{font-size:13px!important;color:#736d80!important}
.mv-portal.mv-funeral-app .mv-card{padding:24px!important}
.mv-portal.mv-funeral-app .mv-empty-inline{min-height:220px!important}
.mv-portal.mv-funeral-app .mv-form-sections{display:grid!important;gap:18px!important}
.mv-portal.mv-funeral-app .mv-form-sections section{
  margin:0!important;
  padding:22px!important;
  border:1px solid #ece3f3!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbf9fe 100%)!important;
}
.mv-portal.mv-funeral-app .mv-form-sections section h4{font-size:16px!important;margin:0 0 16px!important;color:#2f2741!important}
.mv-portal.mv-funeral-app .mv-form label{font-size:13px!important;color:#4a425f!important;margin-bottom:16px!important}
.mv-portal.mv-funeral-app .mv-form input[type=text],
.mv-portal.mv-funeral-app .mv-form input[type=email],
.mv-portal.mv-funeral-app .mv-form input[type=password],
.mv-portal.mv-funeral-app .mv-form input[type=date],
.mv-portal.mv-funeral-app .mv-form input[type=datetime-local],
.mv-portal.mv-funeral-app .mv-form input[type=url],
.mv-portal.mv-funeral-app .mv-form select,
.mv-portal.mv-funeral-app .mv-form textarea,
.mv-portal.mv-funeral-app .mv-invite-link input,
.mv-portal.mv-funeral-app .mv-share-box input{
  margin-top:8px!important;
  min-height:48px!important;
  border:1px solid #ddd5e9!important;
  border-radius:14px!important;
  padding:12px 14px!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-form textarea{min-height:132px!important}
.mv-portal.mv-funeral-app .mv-grid-2{gap:0 18px!important}
.mv-portal.mv-funeral-app .mv-gallery-edit{gap:12px!important}
.mv-portal.mv-funeral-app .mv-gallery-edit label{border-radius:16px!important;border-color:#e3daef!important}
.mv-portal.mv-funeral-app .mv-share-box{border-radius:18px!important;border-color:#e8dff0!important;background:#faf7fe!important}
.mv-portal.mv-funeral-app .mv-form-actions{padding-top:0!important;margin-top:2px!important;display:flex!important;justify-content:flex-end!important}
.mv-portal.mv-funeral-app .mv-btn{padding:12px 18px!important;font-size:12px!important;border-radius:12px!important}
.mv-portal.mv-funeral-app .mv-mini-action{border-radius:10px!important}
.mv-portal.mv-funeral-app .mv-family-row{align-items:center!important;gap:12px!important;padding:16px 0!important}
.mv-portal.mv-funeral-app .mv-page-title{margin-bottom:18px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important}
.mv-portal.mv-funeral-app .mv-page-title h1{margin:0 0 6px!important;font-size:24px!important;color:#221d31!important}
.mv-portal.mv-funeral-app .mv-page-title p{margin:0!important;font-size:13px!important;color:#736d80!important}
@media(max-width:860px){
  .mv-portal.mv-funeral-app .mv-app-sidebar{width:270px!important;min-width:270px!important;left:0!important;margin-left:0!important}
  .mv-portal.mv-funeral-app .mv-app-shell{margin-left:0!important}
  .mv-portal.mv-funeral-app .mv-app-topbar{left:0!important;right:0!important;height:76px!important;min-height:76px!important;grid-template-columns:44px minmax(0,1fr) auto!important;padding:0 14px!important}
  .mv-portal.mv-funeral-app .mv-app-menu-toggle{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:1px solid #d7c8ea!important;border-radius:12px!important;background:#f3ecfb!important;color:#5d379c!important}
  .mv-portal.mv-funeral-app .mv-app-main{padding:96px 14px 22px!important}
  .mv-portal.mv-funeral-app .mv-app-top-actions,.mv-portal.mv-funeral-app .mv-app-bell,.mv-portal.mv-funeral-app .mv-app-user,.mv-portal.mv-funeral-app .mv-app-user-button{height:76px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button{min-width:52px!important;width:52px!important;padding:0 4px!important}
}
@media(max-width:620px){
  .mv-portal.mv-funeral-app .mv-app-topbar{grid-template-columns:42px minmax(0,1fr) 42px!important}
  .mv-portal.mv-funeral-app .mv-app-user{display:none!important}
  .mv-portal.mv-funeral-app .mv-app-main{padding:94px 12px 20px!important}
  .mv-portal.mv-funeral-app .mv-card,.mv-portal.mv-funeral-app .mv-app-card{border-radius:16px!important}
  .mv-portal.mv-funeral-app .mv-card{padding:18px!important}
  .mv-portal.mv-funeral-app .mv-form-sections section{padding:18px!important;border-radius:16px!important}
  .mv-portal.mv-funeral-app .mv-dashboard-head h1{font-size:22px!important}
}


/* ==== v1.4.1: single page scroll + hidden sidebar scrollbar ==== */
html:has(.mv-portal.mv-funeral-app),
body:has(.mv-portal.mv-funeral-app){
  overflow-x:hidden!important;
  overflow-y:auto!important;
  max-width:100%!important;
}
.mv-portal.mv-funeral-app,
.mv-portal.mv-funeral-app *{box-sizing:border-box!important}
.mv-portal.mv-funeral-app{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
.mv-portal.mv-funeral-app .mv-app-sidebar{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  overscroll-behavior:contain;
}
.mv-portal.mv-funeral-app .mv-app-sidebar::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}
.mv-portal.mv-funeral-app .mv-app-shell{
  width:auto!important;
  max-width:calc(100% - 286px)!important;
  margin-left:286px!important;
  overflow:visible!important;
}
.mv-portal.mv-funeral-app .mv-app-topbar{
  width:auto!important;
  max-width:none!important;
  left:286px!important;
  right:0!important;
  overflow:visible!important;
}
.mv-portal.mv-funeral-app .mv-app-main{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  min-width:0!important;
}
.mv-portal.mv-funeral-app .mv-dashboard-grid,
.mv-portal.mv-funeral-app .mv-quick-actions,
.mv-portal.mv-funeral-app .mv-card,
.mv-portal.mv-funeral-app .mv-app-card,
.mv-portal.mv-funeral-app .mv-form,
.mv-portal.mv-funeral-app .mv-page-title{
  min-width:0!important;
  max-width:100%!important;
}
.mv-portal.mv-funeral-app .mv-dashboard-grid>* ,
.mv-portal.mv-funeral-app .mv-quick-actions>* ,
.mv-portal.mv-funeral-app .mv-grid-2>* ,
.mv-portal.mv-funeral-app .mv-grid-main-side>*{
  min-width:0!important;
}
.mv-portal.mv-funeral-app input,
.mv-portal.mv-funeral-app select,
.mv-portal.mv-funeral-app textarea{
  max-width:100%!important;
}
@media(max-width:860px){
  .mv-portal.mv-funeral-app .mv-app-shell{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
  }
  .mv-portal.mv-funeral-app .mv-app-topbar{
    width:auto!important;
    left:0!important;
    right:0!important;
  }
  .mv-portal.mv-funeral-app .mv-app-sidebar{
    overflow-y:auto!important;
    scrollbar-width:none!important;
  }
  .mv-portal.mv-funeral-app .mv-app-sidebar::-webkit-scrollbar{display:none!important;width:0!important}
}

/* ==== v1.4.2 invitations list + editor ==== */
.mv-portal.mv-funeral-app .mv-invites-page-title{align-items:center!important}
.mv-portal.mv-funeral-app .mv-invite-new-button{display:inline-flex!important;align-items:center!important;gap:9px!important;white-space:nowrap!important}
.mv-portal.mv-funeral-app .mv-invite-new-button svg{width:17px!important;height:17px!important}
.mv-portal.mv-funeral-app .mv-invites-list-card{overflow:hidden!important}
.mv-portal.mv-funeral-app .mv-invite-table-wrap{width:100%!important;overflow-x:auto!important;scrollbar-width:thin}
.mv-portal.mv-funeral-app .mv-invite-table{display:grid!important;grid-template-columns:minmax(250px,1.45fr) minmax(190px,1fr) 125px 135px minmax(300px,1.15fr)!important;align-items:center!important;gap:16px!important}
.mv-portal.mv-funeral-app .mv-invite-table-head{min-width:1015px!important;padding:13px 22px!important;background:#faf8fd!important;border-bottom:1px solid #ece4f3!important;color:#71687d!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.035em!important}
.mv-portal.mv-funeral-app .mv-invite-table-row{min-width:1015px!important;padding:16px 22px!important;border-bottom:1px solid #eee7f3!important;background:#fff!important}
.mv-portal.mv-funeral-app .mv-invite-table-row:last-child{border-bottom:0!important}
.mv-portal.mv-funeral-app .mv-invite-table-row:hover{background:#fcfaff!important}
.mv-portal.mv-funeral-app .mv-invite-person{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important}
.mv-portal.mv-funeral-app .mv-invite-person>span:last-child{display:block!important;min-width:0!important}
.mv-portal.mv-funeral-app .mv-invite-person strong,.mv-portal.mv-funeral-app .mv-invite-memorial strong{display:block!important;font-size:12px!important;color:#2b2439!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mv-portal.mv-funeral-app .mv-invite-person small{display:block!important;margin-top:3px!important;font-size:10px!important;font-weight:500!important;color:#877f91!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mv-portal.mv-funeral-app .mv-invite-date{font-size:11px!important;color:#726a7e!important}
.mv-portal.mv-funeral-app .mv-invite-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
.mv-portal.mv-funeral-app .mv-invite-row-actions .mv-inline-form{display:inline-flex!important;margin:0!important;padding:0!important}
.mv-portal.mv-funeral-app .mv-invite-row-actions .mv-mini-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:7px 11px!important;border:1px solid #ded3e9!important;border-radius:9px!important;background:#fff!important;color:#5d3a94!important;text-decoration:none!important;font-size:10px!important;font-weight:700!important;white-space:nowrap!important;cursor:pointer!important}
.mv-portal.mv-funeral-app .mv-invite-row-actions .mv-mini-action:hover{background:#f3ecfb!important;border-color:#cdb8e5!important}
.mv-portal.mv-funeral-app .mv-invite-locked{font-size:10px!important;color:#9993a1!important}
.mv-portal.mv-funeral-app .mv-invite-empty{min-height:340px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:32px!important}
.mv-portal.mv-funeral-app .mv-invite-form-card{max-width:980px!important;margin:0 auto!important}
.mv-portal.mv-funeral-app .mv-invite-form-body{padding:24px!important}
.mv-portal.mv-funeral-app .mv-invite-editor-form{margin:0!important}
.mv-portal.mv-funeral-app .mv-invite-fields-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
.mv-portal.mv-funeral-app .mv-invite-fields-grid label{margin:0!important;display:flex!important;flex-direction:column!important;gap:8px!important;font-size:12px!important;font-weight:700!important;color:#40364f!important}
.mv-portal.mv-funeral-app .mv-invite-fields-grid input,.mv-portal.mv-funeral-app .mv-invite-fields-grid select{width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;border:1px solid #ddd3e9!important;border-radius:13px!important;padding:0 14px!important;background:#fff!important;font-size:13px!important;line-height:normal!important;box-sizing:border-box!important}
.mv-portal.mv-funeral-app .mv-invite-fields-grid select{appearance:auto!important}
.mv-portal.mv-funeral-app .mv-invite-memorial-field{grid-column:1/-1!important}
.mv-portal.mv-funeral-app .mv-invite-form-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-top:22px!important;padding-top:20px!important;border-top:1px solid #eee7f3!important}
.mv-portal.mv-funeral-app .mv-invite-form-actions .mv-btn{min-width:150px!important;text-align:center!important;justify-content:center!important}
@media(max-width:760px){
  .mv-portal.mv-funeral-app .mv-invite-fields-grid{grid-template-columns:1fr!important}
  .mv-portal.mv-funeral-app .mv-invite-memorial-field{grid-column:auto!important}
  .mv-portal.mv-funeral-app .mv-invite-form-body{padding:18px!important}
  .mv-portal.mv-funeral-app .mv-invite-form-actions{flex-direction:column-reverse!important;align-items:stretch!important}
  .mv-portal.mv-funeral-app .mv-invite-form-actions .mv-btn{width:100%!important}
}


/* ==== v1.4.3 global form alignment ==== */
.mv-funeral-app .mv-form,
.mv-family-portal .mv-form,
.mv-login-card .mv-form,
.mv-standalone-component .mv-form{width:100%!important}
.mv-funeral-app .mv-form *,
.mv-family-portal .mv-form *,
.mv-login-card .mv-form *,
.mv-standalone-component .mv-form *{box-sizing:border-box!important}
.mv-funeral-app .mv-form-sections,
.mv-family-portal .mv-form-sections{display:grid!important;gap:18px!important}
.mv-funeral-app .mv-form-sections section,
.mv-family-portal .mv-form-sections section{padding:22px!important;border:1px solid #e9e1f0!important;border-radius:18px!important;background:#fff!important}
.mv-funeral-app .mv-form-sections section h4,
.mv-family-portal .mv-form-sections section h4{margin:0 0 18px!important;font-size:17px!important;line-height:1.3!important;color:#2d2640!important}
.mv-funeral-app .mv-grid-2,
.mv-family-portal .mv-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 18px!important;align-items:start!important}
.mv-funeral-app .mv-grid-2>label,
.mv-family-portal .mv-grid-2>label,
.mv-funeral-app .mv-form-sections>section>label,
.mv-family-portal .mv-form-sections>section>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;margin:0 0 16px!important;font-size:13px!important;font-weight:600!important;color:#4d4660!important}
.mv-funeral-app .mv-form input[type=text],
.mv-funeral-app .mv-form input[type=email],
.mv-funeral-app .mv-form input[type=password],
.mv-funeral-app .mv-form input[type=date],
.mv-funeral-app .mv-form input[type=datetime-local],
.mv-funeral-app .mv-form input[type=url],
.mv-funeral-app .mv-form select,
.mv-funeral-app .mv-form textarea,
.mv-funeral-app .mv-form input[type=file],
.mv-family-portal .mv-form input[type=text],
.mv-family-portal .mv-form input[type=email],
.mv-family-portal .mv-form input[type=password],
.mv-family-portal .mv-form input[type=date],
.mv-family-portal .mv-form input[type=datetime-local],
.mv-family-portal .mv-form input[type=url],
.mv-family-portal .mv-form select,
.mv-family-portal .mv-form textarea,
.mv-family-portal .mv-form input[type=file],
.mv-login-card .mv-form input[type=text],
.mv-login-card .mv-form input[type=email],
.mv-login-card .mv-form input[type=password],
.mv-login-card .mv-form select,
.mv-login-card .mv-form textarea,
.mv-standalone-component .mv-form input[type=text],
.mv-standalone-component .mv-form input[type=email],
.mv-standalone-component .mv-form input[type=password],
.mv-standalone-component .mv-form select,
.mv-standalone-component .mv-form textarea{width:100%!important;max-width:100%!important;margin-top:8px!important}
.mv-funeral-app .mv-form input[type=text],
.mv-funeral-app .mv-form input[type=email],
.mv-funeral-app .mv-form input[type=password],
.mv-funeral-app .mv-form input[type=date],
.mv-funeral-app .mv-form input[type=datetime-local],
.mv-funeral-app .mv-form input[type=url],
.mv-funeral-app .mv-form select,
.mv-funeral-app .mv-form textarea,
.mv-family-portal .mv-form input[type=text],
.mv-family-portal .mv-form input[type=email],
.mv-family-portal .mv-form input[type=password],
.mv-family-portal .mv-form input[type=date],
.mv-family-portal .mv-form input[type=datetime-local],
.mv-family-portal .mv-form input[type=url],
.mv-family-portal .mv-form select,
.mv-family-portal .mv-form textarea,
.mv-login-card .mv-form input[type=text],
.mv-login-card .mv-form input[type=email],
.mv-login-card .mv-form input[type=password],
.mv-login-card .mv-form select,
.mv-login-card .mv-form textarea,
.mv-standalone-component .mv-form input[type=text],
.mv-standalone-component .mv-form input[type=email],
.mv-standalone-component .mv-form input[type=password],
.mv-standalone-component .mv-form select,
.mv-standalone-component .mv-form textarea{min-height:48px!important;padding:12px 14px!important;border:1px solid #dcd3e9!important;border-radius:14px!important;background:#fff!important;color:#2f2941!important;font-size:14px!important}
.mv-funeral-app .mv-form textarea,
.mv-family-portal .mv-form textarea,
.mv-login-card .mv-form textarea,
.mv-standalone-component .mv-form textarea{min-height:140px!important;resize:vertical!important;line-height:1.55!important}
.mv-funeral-app .mv-form input[type=file],
.mv-family-portal .mv-form input[type=file]{min-height:48px!important;padding:8px 10px!important;border:1px solid #dcd3e9!important;border-radius:14px!important;background:#fff!important;color:#5b5470!important;font-size:13px!important}
.mv-funeral-app .mv-form input[type=file]::file-selector-button,
.mv-family-portal .mv-form input[type=file]::file-selector-button{margin-right:12px!important;border:0!important;border-radius:10px!important;padding:10px 14px!important;background:#efe6fb!important;color:#58368f!important;font-weight:600!important;cursor:pointer!important}
.mv-funeral-app .mv-form small,
.mv-family-portal .mv-form small,
.mv-login-card .mv-form small,
.mv-standalone-component .mv-form small{display:block!important;margin-top:6px!important;font-size:12px!important;color:#7b748c!important;font-weight:400!important}
.mv-funeral-app .mv-checkbox,
.mv-family-portal .mv-checkbox{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;padding-top:10px!important;margin-bottom:10px!important}
.mv-funeral-app .mv-checkbox input,
.mv-family-portal .mv-checkbox input{width:16px!important;height:16px!important;min-height:16px!important;margin:2px 0 0!important;flex:0 0 16px!important}
.mv-funeral-app .mv-form-actions,
.mv-family-portal .mv-form-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:12px!important;margin-top:6px!important;padding-top:0!important}
.mv-funeral-app .mv-card-head,
.mv-family-portal .mv-card-head{align-items:flex-start!important}
.mv-funeral-app .mv-card-head .mv-btn,
.mv-family-portal .mv-card-head .mv-btn{white-space:nowrap!important}
.mv-funeral-app .mv-share-box,
.mv-family-portal .mv-share-box{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:18px!important;align-items:center!important}
.mv-funeral-app .mv-gallery-edit,
.mv-family-portal .mv-gallery-edit{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:12px!important}
.mv-funeral-app .mv-gallery-edit label,
.mv-family-portal .mv-gallery-edit label{display:block!important;margin:0!important}
@media(max-width:980px){
  .mv-funeral-app .mv-grid-2,
  .mv-family-portal .mv-grid-2,
  .mv-funeral-app .mv-share-box,
  .mv-family-portal .mv-share-box{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .mv-funeral-app .mv-form-sections section,
  .mv-family-portal .mv-form-sections section{padding:18px!important;border-radius:16px!important}
  .mv-funeral-app .mv-form input[type=file]::file-selector-button,
  .mv-family-portal .mv-form input[type=file]::file-selector-button{display:block!important;width:100%!important;margin:0 0 10px!important}
  .mv-funeral-app .mv-card-head,
  .mv-family-portal .mv-card-head{display:flex!important;flex-direction:column!important;gap:12px!important}
  .mv-funeral-app .mv-form-actions,
  .mv-family-portal .mv-form-actions{justify-content:stretch!important}
  .mv-funeral-app .mv-form-actions .mv-btn,
  .mv-family-portal .mv-form-actions .mv-btn{width:100%!important}
}


/* ==== v1.4.4 topbar alignment + professional forms ==== */
.mv-portal.mv-funeral-app .mv-app-top-actions{display:flex!important;align-items:stretch!important;gap:0!important}
.mv-portal.mv-funeral-app .mv-app-bell{display:grid!important;place-items:center!important;border-left:1px solid #ece3f3!important;border-right:1px solid #ece3f3!important}
.mv-portal.mv-funeral-app .mv-app-bell svg{width:24px!important;height:24px!important}
.mv-portal.mv-funeral-app .mv-app-user{display:flex!important;align-items:stretch!important}
.mv-portal.mv-funeral-app .mv-app-user-button{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 16px!important;
  align-items:center!important;
  min-width:290px!important;
  padding:0 14px 0 16px!important;
  text-align:left!important;
}
.mv-portal.mv-funeral-app .mv-app-user-button img{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  object-fit:cover!important;
  background:#f1ecf8!important;
  border:1px solid #e3d9ef!important;
}
.mv-portal.mv-funeral-app .mv-app-user-button>span{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;gap:3px!important}
.mv-portal.mv-funeral-app .mv-app-user-button strong{display:block!important;margin:0!important;font-size:12px!important;line-height:1.2!important;color:#30283f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mv-portal.mv-funeral-app .mv-app-user-button small{display:block!important;margin:0!important;font-size:10px!important;line-height:1.2!important;color:#7e7791!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:none!important}
.mv-portal.mv-funeral-app .mv-app-user-button>svg{justify-self:end!important;width:14px!important;height:14px!important;color:#817791!important;margin-top:2px!important}
.mv-portal.mv-funeral-app .mv-app-user-menu{right:8px!important;top:calc(100% - 8px)!important;border-radius:16px!important;border:1px solid #e9e0f2!important;box-shadow:0 18px 40px rgba(36,26,57,.08)!important;padding:8px!important;min-width:220px!important}
.mv-portal.mv-funeral-app .mv-app-user-menu a{border-radius:12px!important;padding:11px 12px!important;font-size:13px!important}
.mv-funeral-app .mv-card,
.mv-funeral-app .mv-app-card,
.mv-family-portal .mv-card,
.mv-family-portal .mv-app-card,
.mv-login-card{box-shadow:0 14px 34px rgba(39,27,62,.05)!important;border:1px solid #e8e0f0!important}
.mv-funeral-app .mv-form-sections section,
.mv-family-portal .mv-form-sections section,
.mv-standalone-component .mv-form-sections section{background:linear-gradient(180deg,#ffffff 0%,#fcfbfe 100%)!important;border:1px solid #ebe2f2!important;box-shadow:0 8px 20px rgba(49,34,76,.03)!important}
.mv-funeral-app .mv-form-sections section h4,
.mv-family-portal .mv-form-sections section h4,
.mv-standalone-component .mv-form-sections section h4{position:relative!important;padding-bottom:10px!important;border-bottom:1px solid #f0e8f6!important;margin-bottom:18px!important}
.mv-funeral-app .mv-form-sections section h4:after,
.mv-family-portal .mv-form-sections section h4:after,
.mv-standalone-component .mv-form-sections section h4:after{content:"";position:absolute;left:0;bottom:-1px;width:56px;height:3px;border-radius:99px;background:linear-gradient(90deg,#8b62d4,#b48cf0)}
.mv-funeral-app .mv-form label,
.mv-family-portal .mv-form label,
.mv-standalone-component .mv-form label{font-size:13px!important;font-weight:700!important;color:#443c56!important;letter-spacing:.01em!important}
.mv-funeral-app .mv-form input[type=text],
.mv-funeral-app .mv-form input[type=email],
.mv-funeral-app .mv-form input[type=password],
.mv-funeral-app .mv-form input[type=date],
.mv-funeral-app .mv-form input[type=datetime-local],
.mv-funeral-app .mv-form input[type=url],
.mv-funeral-app .mv-form select,
.mv-funeral-app .mv-form textarea,
.mv-family-portal .mv-form input[type=text],
.mv-family-portal .mv-form input[type=email],
.mv-family-portal .mv-form input[type=password],
.mv-family-portal .mv-form input[type=date],
.mv-family-portal .mv-form input[type=datetime-local],
.mv-family-portal .mv-form input[type=url],
.mv-family-portal .mv-form select,
.mv-family-portal .mv-form textarea,
.mv-standalone-component .mv-form input[type=text],
.mv-standalone-component .mv-form input[type=email],
.mv-standalone-component .mv-form input[type=password],
.mv-standalone-component .mv-form input[type=date],
.mv-standalone-component .mv-form input[type=datetime-local],
.mv-standalone-component .mv-form input[type=url],
.mv-standalone-component .mv-form select,
.mv-standalone-component .mv-form textarea{transition:border-color .2s ease, box-shadow .2s ease, background .2s ease!important;box-shadow:0 2px 0 rgba(255,255,255,.65) inset!important}
.mv-funeral-app .mv-form input[type=text]:focus,
.mv-funeral-app .mv-form input[type=email]:focus,
.mv-funeral-app .mv-form input[type=password]:focus,
.mv-funeral-app .mv-form input[type=date]:focus,
.mv-funeral-app .mv-form input[type=datetime-local]:focus,
.mv-funeral-app .mv-form input[type=url]:focus,
.mv-funeral-app .mv-form select:focus,
.mv-funeral-app .mv-form textarea:focus,
.mv-family-portal .mv-form input[type=text]:focus,
.mv-family-portal .mv-form input[type=email]:focus,
.mv-family-portal .mv-form input[type=password]:focus,
.mv-family-portal .mv-form input[type=date]:focus,
.mv-family-portal .mv-form input[type=datetime-local]:focus,
.mv-family-portal .mv-form input[type=url]:focus,
.mv-family-portal .mv-form select:focus,
.mv-family-portal .mv-form textarea:focus,
.mv-standalone-component .mv-form input[type=text]:focus,
.mv-standalone-component .mv-form input[type=email]:focus,
.mv-standalone-component .mv-form input[type=password]:focus,
.mv-standalone-component .mv-form input[type=date]:focus,
.mv-standalone-component .mv-form input[type=datetime-local]:focus,
.mv-standalone-component .mv-form input[type=url]:focus,
.mv-standalone-component .mv-form select:focus,
.mv-standalone-component .mv-form textarea:focus{border-color:#9a73dd!important;box-shadow:0 0 0 4px rgba(154,115,221,.12)!important;background:#fff!important;outline:none!important}
.mv-funeral-app .mv-form input::placeholder,
.mv-funeral-app .mv-form textarea::placeholder,
.mv-family-portal .mv-form input::placeholder,
.mv-family-portal .mv-form textarea::placeholder,
.mv-standalone-component .mv-form input::placeholder,
.mv-standalone-component .mv-form textarea::placeholder{color:#9b94ab!important}
.mv-funeral-app .mv-form input[type=file],
.mv-family-portal .mv-form input[type=file],
.mv-standalone-component .mv-form input[type=file]{background:linear-gradient(180deg,#ffffff 0%,#fbf9fe 100%)!important;box-shadow:0 2px 0 rgba(255,255,255,.65) inset!important}
.mv-funeral-app .mv-form input[type=file]::file-selector-button,
.mv-family-portal .mv-form input[type=file]::file-selector-button,
.mv-standalone-component .mv-form input[type=file]::file-selector-button{background:linear-gradient(180deg,#f4ecfe 0%,#eadcfb 100%)!important;border:1px solid #e0d0f3!important;box-shadow:none!important}
.mv-funeral-app .mv-btn,
.mv-family-portal .mv-btn,
.mv-standalone-component .mv-btn{box-shadow:0 10px 22px rgba(109,74,255,.14)!important}
.mv-funeral-app .mv-btn-light,
.mv-family-portal .mv-btn-light,
.mv-standalone-component .mv-btn-light{box-shadow:none!important}
@media(max-width:860px){
  .mv-portal.mv-funeral-app .mv-app-user-button{min-width:58px!important;width:58px!important;grid-template-columns:1fr!important;padding:0 4px!important}
  .mv-portal.mv-funeral-app .mv-app-user-button>span,.mv-portal.mv-funeral-app .mv-app-user-button>svg{display:none!important}
}


/* ==== v1.4.5 remaining form fixes ==== */
.mv-funeral-app .mv-grid-2>label,
.mv-family-portal .mv-grid-2>label,
.mv-standalone-component .mv-grid-2>label{min-width:0!important}
.mv-funeral-app .mv-form input[type=file],
.mv-family-portal .mv-form input[type=file],
.mv-standalone-component .mv-form input[type=file]{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mv-funeral-app .mv-form-sections .mv-grid-2 label input[type=file],
.mv-family-portal .mv-form-sections .mv-grid-2 label input[type=file],
.mv-standalone-component .mv-form-sections .mv-grid-2 label input[type=file]{margin-top:10px!important}
.mv-funeral-app .mv-logo-preview,
.mv-family-portal .mv-logo-preview,
.mv-standalone-component .mv-logo-preview{display:block!important;width:100%!important;max-width:180px!important;height:92px!important;object-fit:contain!important;border:1px solid #e5dbef!important;border-radius:16px!important;background:#fbf9fe!important;padding:12px!important;margin:8px 0 0!important}
.mv-funeral-app .mv-form-sections section>.mv-grid-2,
.mv-family-portal .mv-form-sections section>.mv-grid-2,
.mv-standalone-component .mv-form-sections section>.mv-grid-2{align-items:start!important}
.mv-funeral-app .mv-card>h3+form.mv-form,
.mv-family-portal .mv-card>h3+form.mv-form{margin-top:18px!important}
.mv-funeral-app .mv-form-sections .mv-form-actions,
.mv-family-portal .mv-form-sections .mv-form-actions,
.mv-standalone-component .mv-form-sections .mv-form-actions{padding:0 2px 2px!important}
@media(max-width:980px){
  .mv-funeral-app .mv-logo-preview,
  .mv-family-portal .mv-logo-preview,
  .mv-standalone-component .mv-logo-preview{max-width:100%!important}
}


/* ==== v1.5.0 login unificado ==== */
.mv-auth-screen,.mv-auth-screen *{box-sizing:border-box}
.mv-auth-screen{position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:none;min-height:100vh;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;font-family:Inter,Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;overflow:hidden}
.mv-auth-screen:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 31% 44%,rgba(119,147,167,.16),transparent 26%),linear-gradient(180deg,rgba(0,13,25,.05),rgba(0,10,20,.28));pointer-events:none}
.mv-auth-layout{position:relative;z-index:2;min-height:calc(100vh - 74px);width:min(1500px,92vw);margin:0 auto;display:grid;grid-template-columns:minmax(360px,1fr) minmax(470px,620px);align-items:center;gap:clamp(48px,8vw,130px);padding:54px 0 46px}
.mv-auth-copy{max-width:560px;padding:24px 0}
.mv-auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px;text-transform:uppercase;letter-spacing:.13em}.mv-auth-brand>span{width:58px;height:58px;color:#d9a12b}.mv-auth-brand svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.6}.mv-auth-brand strong{font-family:Georgia,serif;font-size:38px;font-weight:500;color:#fff}
.mv-auth-line{width:270px;height:1px;background:linear-gradient(90deg,#d7a229 0 27%,rgba(255,255,255,.22) 27%);margin:0 0 18px}
.mv-auth-kicker{font-size:16px;line-height:1.6;color:#e4e7eb;margin:0 0 52px}.mv-auth-copy h1{font-size:clamp(32px,3vw,46px);line-height:1.12;margin:0 0 16px;color:#fff;font-weight:750}.mv-auth-copy h1::first-letter{color:inherit}.mv-auth-intro{max-width:500px;font-size:17px;line-height:1.65;color:#e9edf1;margin:0 0 34px}
.mv-auth-benefits{display:grid;gap:22px}.mv-auth-benefits>div{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start}.mv-auth-benefits i{width:42px;height:42px;display:grid;place-items:center;color:#d9a12b;font-style:normal}.mv-auth-benefits i svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.6}.mv-auth-benefits strong{display:block;font-size:14px;line-height:1.3;margin:0 0 6px;color:#fff}.mv-auth-benefits small{display:block;font-size:13px;line-height:1.55;color:#d8dde3}
.mv-auth-card{width:100%;background:rgba(255,255,255,.98);color:#0d2137;border-radius:24px;padding:48px 54px 42px;border:1px solid rgba(255,255,255,.55);box-shadow:0 32px 80px rgba(0,0,0,.24);backdrop-filter:blur(8px)}.mv-auth-card header{text-align:center;margin-bottom:30px}.mv-auth-card header h2{margin:0 0 8px!important;font-size:29px!important;line-height:1.25!important;color:#0a1c32!important;font-weight:750!important}.mv-auth-card header p{margin:0!important;color:#68778b!important;font-size:15px!important}
.mv-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eef0f3;border-radius:12px;overflow:hidden;margin:0 0 30px}.mv-auth-tab{height:72px;border:0;background:transparent;color:#0b1e35;display:flex;align-items:center;justify-content:center;gap:12px;font:700 17px/1 inherit;cursor:pointer;position:relative}.mv-auth-tab svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8}.mv-auth-tab.active{background:#061d35;color:#fff}.mv-auth-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#d6a129}
.mv-auth-card .mv-alert{margin:0 0 16px!important;border-radius:12px!important;font-size:13px!important}
.mv-auth-form{display:grid;gap:14px}.mv-auth-field{height:64px;border:1px solid #d8dde4;border-radius:12px;background:#fff;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;padding:0 14px;gap:2px;transition:.2s ease;margin:0!important}.mv-auth-field:focus-within{border-color:#8aa1b8;box-shadow:0 0 0 4px rgba(23,62,94,.08)}.mv-auth-field>span{display:grid;place-items:center;color:#758397}.mv-auth-field>span svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.mv-auth-field input{width:100%!important;height:60px!important;min-height:0!important;margin:0!important;padding:0 6px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:15px!important;color:#0b2138!important}.mv-auth-field input::placeholder{color:#7f8999!important}
.mv-auth-password{grid-template-columns:42px minmax(0,1fr) 42px}.mv-auth-password-toggle{width:38px;height:38px;border:0;background:transparent;color:#758397;display:grid;place-items:center;cursor:pointer;padding:0}.mv-auth-password-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.mv-auth-password-toggle.active{color:#0b2138}
.mv-auth-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:3px 0 12px}.mv-auth-options label{display:flex;align-items:center;gap:9px;color:#26384b;font-size:14px;font-weight:500;cursor:pointer;margin:0}.mv-auth-options input{width:18px;height:18px;accent-color:#c18b21}.mv-auth-options a{color:#17314e;text-decoration:none;font-size:14px}.mv-auth-options a:hover{text-decoration:underline}
.mv-auth-submit,.mv-auth-code-submit{width:100%;height:64px;border:0;border-radius:11px;background:linear-gradient(90deg,#061b32,#082744);color:#fff;font:700 16px/1 inherit;display:flex;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer;box-shadow:0 12px 24px rgba(5,30,53,.13);transition:.2s ease}.mv-auth-submit:hover,.mv-auth-code-submit:hover{transform:translateY(-1px);filter:brightness(1.07);color:#fff}.mv-auth-divider{display:flex;align-items:center;gap:14px;color:#6d7885;font-size:13px;margin:24px 0}.mv-auth-divider:before,.mv-auth-divider:after{content:"";height:1px;background:#dce0e5;flex:1}.mv-auth-code-toggle{width:100%;height:62px;border:1px solid #d7dce3;border-radius:11px;background:#fff;color:#122a43;display:flex;align-items:center;justify-content:center;gap:10px;font:600 14px/1 inherit;cursor:pointer}.mv-auth-code-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.mv-auth-code-form{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;margin-top:12px}.mv-auth-code-form[hidden]{display:none!important}.mv-auth-code-form .mv-auth-field{height:54px}.mv-auth-code-form .mv-auth-field input{height:50px!important}.mv-auth-code-submit{height:54px;font-size:13px}.mv-auth-help{text-align:center;margin:28px 0 0!important;color:#677484!important;font-size:13px!important}.mv-auth-help strong{color:#bc8120;font-weight:600}
.mv-auth-footer{position:relative;z-index:2;min-height:74px;border-top:1px solid rgba(255,255,255,.16);background:rgba(1,18,33,.78);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(5vw,32px);color:#cdd4db}.mv-auth-footer>div{display:flex;align-items:center;gap:9px;color:#fff}.mv-auth-footer svg{width:28px;height:28px;color:#d9a12b;fill:none;stroke:currentColor}.mv-auth-footer strong{font-family:Georgia,serif;letter-spacing:.08em;font-size:19px}.mv-auth-footer>span{font-size:12px}
.mv-auth-session{display:grid;place-items:center;padding:30px}.mv-auth-session-card{position:relative;z-index:2;width:min(460px,92vw);background:#fff;color:#12253b;border-radius:22px;padding:38px;text-align:center;box-shadow:0 30px 70px rgba(0,0,0,.25)}.mv-auth-mini-brand{display:flex;justify-content:center;align-items:center;gap:10px;color:#102b46}.mv-auth-mini-brand svg{width:32px;height:32px}.mv-auth-mini-brand strong{font-size:20px}.mv-auth-session-card h2{margin:24px 0 8px}.mv-auth-session-card p{color:#68778b}.mv-auth-logout{display:inline-block;margin-top:16px;color:#5c6875}
@media(max-width:1020px){.mv-auth-layout{grid-template-columns:1fr;gap:28px;width:min(760px,92vw);padding:42px 0}.mv-auth-copy{max-width:none}.mv-auth-kicker{margin-bottom:24px}.mv-auth-benefits{grid-template-columns:1fr 1fr}.mv-auth-card{max-width:620px;margin:0 auto}.mv-auth-footer{padding:0 4vw}}
@media(max-width:680px){.mv-auth-screen{overflow:visible}.mv-auth-layout{width:min(94vw,560px);padding:24px 0 30px}.mv-auth-copy{padding:12px 4px}.mv-auth-brand strong{font-size:30px}.mv-auth-brand>span,.mv-auth-brand svg{width:46px;height:46px}.mv-auth-copy h1{font-size:31px}.mv-auth-intro{font-size:15px}.mv-auth-benefits{grid-template-columns:1fr;gap:16px}.mv-auth-card{padding:28px 18px 26px;border-radius:20px}.mv-auth-card header h2{font-size:24px!important}.mv-auth-tabs{margin-bottom:22px}.mv-auth-tab{height:62px;font-size:15px}.mv-auth-field{height:58px}.mv-auth-field input{height:54px!important}.mv-auth-options{align-items:flex-start}.mv-auth-code-form{grid-template-columns:1fr}.mv-auth-footer{min-height:68px;justify-content:center;text-align:center}.mv-auth-footer>span{display:none}}


/* ==== v1.5.1 unified login isolation + alignment ==== */
.mv-auth-screen,
.mv-auth-screen *{box-sizing:border-box!important}
.mv-auth-screen button,
.mv-auth-screen input,
.mv-auth-screen a{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.mv-auth-screen button{-webkit-appearance:none!important;appearance:none!important;text-transform:none!important;letter-spacing:0!important;outline:none!important}
.mv-auth-screen{min-height:100vh!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.mv-auth-layout{width:min(1420px,92vw)!important;grid-template-columns:minmax(340px,1fr) minmax(460px,580px)!important;gap:clamp(52px,7vw,110px)!important;padding:46px 0 38px!important;min-height:calc(100vh - 68px)!important}
.mv-auth-card{width:100%!important;max-width:580px!important;padding:38px 42px 34px!important;border-radius:24px!important}
.mv-auth-card header{margin:0 0 26px!important}
.mv-auth-card header h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important}
.mv-auth-card header p{font-size:15px!important;line-height:1.45!important}
.mv-auth-tabs{height:66px!important;display:grid!important;grid-template-columns:1fr 1fr!important;align-items:stretch!important;margin:0 0 26px!important;border:1px solid #dde2e8!important;border-radius:12px!important;background:#eef1f4!important;overflow:hidden!important;box-shadow:none!important}
.mv-auth-tab{width:100%!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#10243a!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;font-size:16px!important;font-weight:700!important;line-height:1!important;position:relative!important;overflow:hidden!important}
.mv-auth-tab:focus,.mv-auth-tab:active{outline:none!important;box-shadow:none!important;border:0!important}
.mv-auth-tab svg{width:25px!important;height:25px!important;min-width:25px!important;flex:0 0 25px!important;margin:0!important;stroke:currentColor!important;fill:none!important}
.mv-auth-tab span{display:block!important;line-height:1!important;margin:0!important;padding:0!important;color:inherit!important}
.mv-auth-tab.active{background:#061d35!important;color:#fff!important}
.mv-auth-tab.active:after{height:3px!important;background:#d5a22d!important}
.mv-auth-form{display:grid!important;gap:14px!important;width:100%!important}
.mv-auth-field{width:100%!important;height:60px!important;min-height:60px!important;margin:0!important;padding:0 14px!important;border:1px solid #d5dce4!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;overflow:hidden!important}
.mv-auth-field>span{width:40px!important;height:58px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;color:#748397!important}
.mv-auth-field>span svg{width:22px!important;height:22px!important;margin:0!important;stroke:currentColor!important;fill:none!important}
.mv-auth-field input[type=text],
.mv-auth-field input[type=password]{width:100%!important;max-width:100%!important;height:58px!important;min-height:58px!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#11263d!important;font-size:15px!important;line-height:58px!important}
.mv-auth-field input[type=text]:focus,
.mv-auth-field input[type=password]:focus{border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important}
.mv-auth-password{grid-template-columns:40px minmax(0,1fr) 42px!important}
.mv-auth-password-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#748397!important;display:grid!important;place-items:center!important}
.mv-auth-password-toggle:hover,.mv-auth-password-toggle:focus{background:#f3f6f9!important;color:#263d55!important;border:0!important;box-shadow:none!important}
.mv-auth-password-toggle svg{width:22px!important;height:22px!important;margin:0!important;stroke:currentColor!important;fill:none!important}
.mv-auth-options{min-height:30px!important;margin:2px 0 8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
.mv-auth-options label{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:0!important;color:#293b4e!important;font-size:14px!important;font-weight:600!important;line-height:1.25!important}
.mv-auth-options label span{margin:0!important;padding:0!important;line-height:1.25!important}
.mv-auth-options input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important;border:1px solid #9aa4b0!important;box-shadow:none!important;accent-color:#c69527!important}
.mv-auth-options a{font-size:14px!important;font-weight:500!important;color:#18324d!important;text-decoration:none!important;white-space:nowrap!important}
.mv-auth-submit{width:100%!important;height:60px!important;min-height:60px!important;margin:0!important;padding:0 20px!important;border:0!important;border-radius:11px!important;background:linear-gradient(90deg,#061b32,#082744)!important;color:#fff!important;box-shadow:0 12px 26px rgba(5,30,53,.15)!important;font-size:16px!important;font-weight:700!important;line-height:1!important;text-align:center!important}
.mv-auth-submit:hover,.mv-auth-submit:focus{color:#fff!important;border:0!important;outline:none!important;background:linear-gradient(90deg,#082139,#0a2c4b)!important}
.mv-auth-divider{margin:20px 0!important;color:#6f7a87!important}
.mv-auth-code-toggle{width:100%!important;height:58px!important;min-height:58px!important;margin:0!important;padding:0 16px!important;border:1px solid #d5dce4!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#17314b!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;font-size:14px!important;font-weight:600!important;line-height:1!important}
.mv-auth-code-toggle:hover,.mv-auth-code-toggle:focus{border-color:#bfc9d4!important;background:#f8fafc!important;color:#0f2944!important;box-shadow:none!important}
.mv-auth-code-toggle svg{width:21px!important;height:21px!important;min-width:21px!important;margin:0!important;stroke:currentColor!important;fill:none!important}
.mv-auth-code-toggle span{color:inherit!important;margin:0!important;line-height:1!important}
.mv-auth-code-form{grid-template-columns:minmax(0,1fr) 145px!important;align-items:stretch!important;gap:10px!important;margin-top:12px!important}
.mv-auth-code-form .mv-auth-field{height:54px!important;min-height:54px!important}
.mv-auth-code-form .mv-auth-field>span{height:52px!important}
.mv-auth-code-form .mv-auth-field input{height:52px!important;min-height:52px!important;line-height:52px!important}
.mv-auth-code-submit{height:54px!important;min-height:54px!important;border:0!important;border-radius:11px!important;background:#0a2946!important;color:#fff!important;box-shadow:none!important;font-size:13px!important;font-weight:700!important}
.mv-auth-help{margin:24px 0 0!important;font-size:13px!important;line-height:1.45!important}
.mv-auth-help strong{color:#b77a19!important}
.mv-auth-footer{min-height:68px!important}
@media(max-width:1020px){
  .mv-auth-layout{width:min(720px,92vw)!important;grid-template-columns:1fr!important;padding:34px 0!important}
  .mv-auth-card{max-width:580px!important;margin:0 auto!important}
}
@media(max-width:680px){
  .mv-auth-layout{width:min(94vw,540px)!important;padding:18px 0 26px!important}
  .mv-auth-card{padding:28px 18px 25px!important;border-radius:20px!important}
  .mv-auth-card header{margin-bottom:22px!important}
  .mv-auth-tabs{height:60px!important;margin-bottom:20px!important}
  .mv-auth-tab{height:58px!important;min-height:58px!important;padding:0 10px!important;font-size:14px!important;gap:8px!important}
  .mv-auth-tab svg{width:22px!important;height:22px!important;min-width:22px!important}
  .mv-auth-field{height:56px!important;min-height:56px!important;grid-template-columns:36px minmax(0,1fr)!important;padding:0 12px!important}
  .mv-auth-field>span{width:36px!important;height:54px!important}
  .mv-auth-field input[type=text],.mv-auth-field input[type=password]{height:54px!important;min-height:54px!important;line-height:54px!important}
  .mv-auth-password{grid-template-columns:36px minmax(0,1fr) 40px!important}
  .mv-auth-options{align-items:center!important;gap:12px!important}
  .mv-auth-options label,.mv-auth-options a{font-size:12px!important}
  .mv-auth-submit{height:56px!important;min-height:56px!important;font-size:15px!important}
  .mv-auth-code-toggle{height:56px!important;min-height:56px!important;font-size:13px!important}
  .mv-auth-code-form{grid-template-columns:1fr!important}
}


/* ==== v1.5.2 smaller unified login ==== */
.mv-auth-layout{width:min(1280px,90vw)!important;grid-template-columns:minmax(320px,1fr) minmax(420px,520px)!important;gap:clamp(34px,5vw,78px)!important;padding:30px 0 24px!important;min-height:calc(100vh - 56px)!important}
.mv-auth-card{max-width:520px!important;padding:30px 34px 28px!important;border-radius:22px!important}
.mv-auth-card header{margin:0 0 22px!important}
.mv-auth-card header h2{font-size:26px!important;margin:0 0 6px!important}
.mv-auth-card header p{font-size:14px!important}
.mv-auth-tabs{height:60px!important;margin:0 0 22px!important}
.mv-auth-tab{height:58px!important;min-height:58px!important;padding:0 14px!important;font-size:15px!important;gap:8px!important}
.mv-auth-tab svg{width:23px!important;height:23px!important;min-width:23px!important}
.mv-auth-form{gap:12px!important}
.mv-auth-field{height:56px!important;min-height:56px!important;padding:0 12px!important;grid-template-columns:36px minmax(0,1fr)!important}
.mv-auth-field>span{width:36px!important;height:54px!important}
.mv-auth-field>span svg{width:20px!important;height:20px!important}
.mv-auth-field input[type=text],.mv-auth-field input[type=password]{height:54px!important;min-height:54px!important;line-height:54px!important;font-size:14px!important;padding:0 4px!important}
.mv-auth-password{grid-template-columns:36px minmax(0,1fr) 38px!important}
.mv-auth-password-toggle{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:8px!important}
.mv-auth-password-toggle svg{width:20px!important;height:20px!important}
.mv-auth-options{min-height:26px!important;margin:0 0 6px!important}
.mv-auth-options label,.mv-auth-options a{font-size:13px!important}
.mv-auth-submit{height:56px!important;min-height:56px!important;font-size:15px!important;border-radius:10px!important}
.mv-auth-divider{margin:18px 0!important;font-size:13px!important}
.mv-auth-code-toggle{height:54px!important;min-height:54px!important;font-size:13px!important;border-radius:10px!important}
.mv-auth-code-toggle svg{width:19px!important;height:19px!important;min-width:19px!important}
.mv-auth-code-form{grid-template-columns:minmax(0,1fr) 132px!important;gap:8px!important;margin-top:10px!important}
.mv-auth-code-form .mv-auth-field{height:50px!important;min-height:50px!important}
.mv-auth-code-form .mv-auth-field>span{height:48px!important}
.mv-auth-code-form .mv-auth-field input{height:48px!important;min-height:48px!important;line-height:48px!important}
.mv-auth-code-submit{height:50px!important;min-height:50px!important;font-size:12px!important;border-radius:10px!important}
.mv-auth-help{margin:18px 0 0!important;font-size:12px!important}
.mv-auth-footer{min-height:56px!important}
@media(max-width:1020px){
  .mv-auth-layout{width:min(680px,92vw)!important;grid-template-columns:1fr!important;padding:24px 0 22px!important}
  .mv-auth-card{max-width:520px!important}
}
@media(max-width:680px){
  .mv-auth-layout{width:min(94vw,500px)!important;padding:14px 0 22px!important}
  .mv-auth-card{padding:24px 16px 22px!important;border-radius:18px!important}
  .mv-auth-card header h2{font-size:23px!important}
  .mv-auth-card header p{font-size:13px!important}
  .mv-auth-tabs{height:56px!important;margin-bottom:18px!important}
  .mv-auth-tab{height:54px!important;min-height:54px!important;font-size:13px!important}
  .mv-auth-tab svg{width:20px!important;height:20px!important;min-width:20px!important}
  .mv-auth-field{height:52px!important;min-height:52px!important}
  .mv-auth-field>span{height:50px!important}
  .mv-auth-field input[type=text],.mv-auth-field input[type=password]{height:50px!important;min-height:50px!important;line-height:50px!important;font-size:13px!important}
  .mv-auth-submit,.mv-auth-code-toggle{height:52px!important;min-height:52px!important;font-size:14px!important}
}


/* ==== v1.6.2 full-width funeral portal + themed area ==== */
.mv-portal.mv-funeral-app{left:50%!important;transform:translateX(-50%)!important;width:100vw!important;max-width:none!important;min-width:100vw!important;border-radius:0!important;border-left:0!important;border-right:0!important;background:var(--mv-panel-bg,#f8f8fc)!important}
.mv-portal.mv-funeral-app .mv-app-shell{width:calc(100vw - 286px)!important;max-width:calc(100vw - 286px)!important;min-width:0!important;margin-left:286px!important;background:var(--mv-panel-bg,#f8f8fc)!important}
.mv-portal.mv-funeral-app .mv-app-topbar{width:calc(100vw - 286px)!important;max-width:calc(100vw - 286px)!important;left:286px!important;right:0!important;background:rgba(255,255,255,.94)!important}
.mv-portal.mv-funeral-app .mv-app-main{width:100%!important;max-width:none!important;min-height:calc(100vh - 86px)!important;background:var(--mv-panel-bg,#f8f8fc)!important}
.mv-portal.mv-funeral-app .mv-dashboard-head,.mv-portal.mv-funeral-app .mv-page-title{max-width:none!important}
.mv-portal.mv-funeral-app .mv-app-card,.mv-portal.mv-funeral-app .mv-card{background:#fff!important}
.mv-portal.mv-funeral-app .mv-dashboard-grid-top,.mv-portal.mv-funeral-app .mv-dashboard-grid-bottom{width:100%!important}
@media(max-width:860px){
  .mv-portal.mv-funeral-app{width:100vw!important;min-width:100vw!important}
  .mv-portal.mv-funeral-app .mv-app-shell{width:100%!important;max-width:100%!important;margin-left:0!important}
  .mv-portal.mv-funeral-app .mv-app-topbar{width:100%!important;max-width:100%!important;left:0!important;right:0!important}
  .mv-portal.mv-funeral-app .mv-app-main{min-height:auto!important}
}


/* ==== v1.6.3 restore fixed sidebar ==== */
.mv-portal.mv-funeral-app .mv-app-sidebar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  bottom:0!important;
  width:286px!important;
  min-width:286px!important;
  height:100vh!important;
  min-height:100vh!important;
  z-index:10020!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.mv-portal.mv-funeral-app .mv-app-sidebar::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.mv-portal.mv-funeral-app .mv-app-shell{
  margin-left:286px!important;
  width:calc(100vw - 286px)!important;
  max-width:calc(100vw - 286px)!important;
  min-height:100vh!important;
}
.mv-portal.mv-funeral-app .mv-app-topbar{
  position:fixed!important;
  top:0!important;
  left:286px!important;
  right:0!important;
  width:calc(100vw - 286px)!important;
  max-width:calc(100vw - 286px)!important;
  z-index:10010!important;
}
.mv-portal.mv-funeral-app .mv-app-main{
  padding-top:112px!important;
  min-height:100vh!important;
  overflow:visible!important;
}
@media(max-width:860px){
  .mv-portal.mv-funeral-app .mv-app-sidebar{
    width:270px!important;
    min-width:270px!important;
    transform:translateX(-105%)!important;
    transition:transform .25s ease!important;
    z-index:10030!important;
  }
  .mv-portal.mv-funeral-app.mv-menu-open .mv-app-sidebar{transform:translateX(0)!important}
  .mv-portal.mv-funeral-app .mv-app-shell{margin-left:0!important;width:100%!important;max-width:100%!important}
  .mv-portal.mv-funeral-app .mv-app-topbar{left:0!important;width:100%!important;max-width:100%!important}
  .mv-portal.mv-funeral-app .mv-app-main{padding-top:96px!important}
}


/* ==== v1.6.4 definitive fixed sidebar/topbar ==== */
html:has(body.mv-funeral-portal-page){margin:0!important;padding:0!important;overflow-x:hidden!important}
body.mv-funeral-portal-page{margin:0!important;padding:0!important;overflow-x:hidden!important;background:var(--mv-panel-bg,#f8f8fc)!important}
body.mv-funeral-portal-page #wpadminbar{display:none!important}
body.mv-funeral-portal-page > *:not(.mv-funeral-app):not(script):not(style):not(link){display:none!important}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-sidebar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  bottom:0!important;
  right:auto!important;
  width:286px!important;
  min-width:286px!important;
  max-width:286px!important;
  height:100vh!important;
  min-height:100vh!important;
  z-index:2147483000!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  transform:none!important;
  contain:layout paint!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-sidebar::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-shell{
  position:relative!important;
  width:calc(100vw - 286px)!important;
  max-width:calc(100vw - 286px)!important;
  min-width:0!important;
  min-height:100vh!important;
  margin:0 0 0 286px!important;
  padding:0!important;
  transform:none!important;
  overflow:visible!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{
  position:fixed!important;
  top:0!important;
  left:286px!important;
  right:0!important;
  bottom:auto!important;
  width:calc(100vw - 286px)!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  z-index:2147482990!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:100vh!important;
  margin:0!important;
  padding-top:112px!important;
  overflow:visible!important;
}
@media(max-width:860px){
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-sidebar{
    width:270px!important;
    min-width:270px!important;
    max-width:270px!important;
    transform:translateX(-105%)!important;
    transition:transform .25s ease!important;
    z-index:2147483000!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app.mv-menu-open .mv-app-sidebar{transform:translateX(0)!important}
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-shell{width:100%!important;max-width:100%!important;margin-left:0!important}
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{left:0!important;width:100%!important;max-width:100%!important}
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main{padding-top:96px!important}
}

/* ==== v1.6.5: remove moldura externa + alinhamento responsivo ==== */
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-sidebar{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-brand,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-sidebar-footer{
  border-top:0!important;
  border-bottom:0!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-bell{
  border-left:0!important;
  border-right:0!important;
}

/* Evita qualquer elemento interno ultrapassando a largura útil. */
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-shell,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main > *,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-head,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-page-title,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-quick-actions,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-grid,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-card,
body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-card{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

@media(max-width:860px){
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-shell{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    height:76px!important;
    min-height:76px!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-menu-toggle{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search{
    justify-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:46px!important;
    margin:0!important;
    padding:0 12px!important;
    gap:9px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search > span{
    flex:0 0 auto!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search input{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-top-actions{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:76px!important;
    margin:0!important;
    padding:0!important;
    gap:4px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-bell{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    height:76px!important;
    margin:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user{
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    height:76px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user-button{
    display:grid!important;
    grid-template-columns:1fr!important;
    place-items:center!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:76px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user-button > span,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user-button > svg{
    display:none!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user-button img{
    width:40px!important;
    height:40px!important;
    margin:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:96px clamp(14px,2.5vw,20px) 24px!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-head,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-page-title{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-quick-actions > a,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-grid > *,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-card,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-card{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
}

@media(max-width:640px){
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{
    grid-template-columns:42px minmax(0,1fr) 42px!important;
    gap:7px!important;
    padding:0 10px!important;
  }
  /* Corrige a regra antiga que voltava a exibir o avatar no celular. */
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-user{
    display:none!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-top-actions{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    gap:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-bell{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    flex-basis:42px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search{
    height:44px!important;
    padding:0 10px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search input{
    font-size:11px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main{
    padding:92px 12px 20px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-head{
    margin-bottom:20px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-head h1,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-page-title h1{
    font-size:22px!important;
    line-height:1.25!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-dashboard-head p,
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-page-title p{
    font-size:12px!important;
    line-height:1.55!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-quick-actions{
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:12px!important;
    margin:0 0 20px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-quick-actions > a{
    min-height:104px!important;
    grid-template-columns:56px minmax(0,1fr) 18px!important;
    gap:12px!important;
    padding:14px 16px!important;
    margin:0!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-quick-icon{
    width:56px!important;
    height:56px!important;
  }
}

@media(max-width:420px){
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-topbar{
    padding:0 8px!important;
    gap:6px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search{
    padding:0 9px!important;
    gap:7px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-search input{
    font-size:10.5px!important;
  }
  body.mv-funeral-portal-page > .mv-portal.mv-funeral-app .mv-app-main{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* ==== v1.6.6: Minha funerária em abas + identidade visual por funerária ==== */
.mv-portal.mv-funeral-app .mv-profile-settings{
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-profile-settings>.mv-card-head{
  margin:0!important;
  padding:24px 26px 20px!important;
  min-height:auto!important;
  border-bottom:1px solid var(--mv-panel-line,#e9e1f0)!important;
}
.mv-portal.mv-funeral-app .mv-profile-settings>.mv-card-head h3{
  margin:0 0 5px!important;
  font-size:22px!important;
  line-height:1.25!important;
  color:#231d34!important;
}
.mv-portal.mv-funeral-app .mv-profile-settings>.mv-card-head p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.55!important;
  color:#777086!important;
}
.mv-portal.mv-funeral-app .mv-profile-form{
  display:block!important;
  padding:0!important;
}
.mv-portal.mv-funeral-app .mv-profile-tabs{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:14px 20px!important;
  margin:0!important;
  overflow-x:auto!important;
  background:#fbfafc!important;
  border-bottom:1px solid var(--mv-panel-line,#e9e1f0)!important;
  scrollbar-width:none!important;
}
.mv-portal.mv-funeral-app .mv-profile-tabs::-webkit-scrollbar{display:none!important}
.mv-portal.mv-funeral-app .mv-profile-tab{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:44px!important;
  padding:10px 16px!important;
  margin:0!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#685f78!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.mv-portal.mv-funeral-app .mv-profile-tab svg{
  width:19px!important;
  height:19px!important;
  flex:0 0 19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mv-portal.mv-funeral-app .mv-profile-tab:hover{
  background:var(--mv-panel-soft,#f5f1fa)!important;
  color:var(--mv-primary)!important;
}
.mv-portal.mv-funeral-app .mv-profile-tab.active{
  background:#fff!important;
  border-color:var(--mv-panel-line,#e4d9ec)!important;
  color:var(--mv-primary)!important;
  box-shadow:0 3px 12px rgba(36,24,55,.05)!important;
}
.mv-portal.mv-funeral-app .mv-profile-panel{
  display:block!important;
  padding:26px!important;
  margin:0!important;
}
.mv-portal.mv-funeral-app .mv-profile-panel[hidden]{display:none!important}
.mv-portal.mv-funeral-app .mv-profile-panel-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 22px!important;
}
.mv-portal.mv-funeral-app .mv-profile-kicker{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--mv-primary)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
}
.mv-portal.mv-funeral-app .mv-profile-panel-head h4{
  margin:0 0 6px!important;
  color:#2a233a!important;
  font-size:18px!important;
  line-height:1.3!important;
}
.mv-portal.mv-funeral-app .mv-profile-panel-head p{
  margin:0!important;
  max-width:680px!important;
  color:#7a7289!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.mv-portal.mv-funeral-app .mv-profile-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:2px 18px!important;
  padding:22px!important;
  background:#fbfafc!important;
  border:1px solid var(--mv-panel-line,#e9e1f0)!important;
  border-radius:16px!important;
}
.mv-portal.mv-funeral-app .mv-profile-field-wide{grid-column:1/-1!important}
.mv-portal.mv-funeral-app .mv-brand-settings-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mv-portal.mv-funeral-app .mv-brand-setting-card{
  min-width:0!important;
  padding:22px!important;
  border:1px solid var(--mv-panel-line,#e9e1f0)!important;
  border-radius:18px!important;
  background:#fbfafc!important;
}
.mv-portal.mv-funeral-app .mv-brand-setting-title{
  margin-bottom:18px!important;
}
.mv-portal.mv-funeral-app .mv-brand-setting-title strong{
  display:block!important;
  margin-bottom:5px!important;
  color:#2d2640!important;
  font-size:15px!important;
  line-height:1.3!important;
}
.mv-portal.mv-funeral-app .mv-brand-setting-title span{
  display:block!important;
  color:#7b748a!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.mv-portal.mv-funeral-app .mv-brand-logo-box{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:center!important;
}
.mv-portal.mv-funeral-app .mv-brand-logo-preview{
  display:grid!important;
  place-items:center!important;
  width:150px!important;
  height:118px!important;
  overflow:hidden!important;
  padding:12px!important;
  border:1px dashed #d9cde4!important;
  border-radius:16px!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-brand-logo-preview img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.mv-portal.mv-funeral-app .mv-brand-logo-placeholder{
  display:grid!important;
  place-items:center!important;
  width:52px!important;
  height:52px!important;
  border-radius:14px!important;
  background:var(--mv-panel-soft,#f1ebf7)!important;
  color:var(--mv-primary)!important;
}
.mv-portal.mv-funeral-app .mv-brand-logo-placeholder svg{
  width:26px!important;
  height:26px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mv-portal.mv-funeral-app .mv-brand-upload-label{
  margin:0!important;
  color:#494158!important;
  font-size:13px!important;
  font-weight:700!important;
}
.mv-portal.mv-funeral-app .mv-brand-upload-label input[type=file]{
  margin-top:9px!important;
}
.mv-portal.mv-funeral-app .mv-color-palette{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 20px!important;
}
.mv-portal.mv-funeral-app .mv-color-swatch{
  appearance:none!important;
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  margin:0!important;
  padding:4px!important;
  border:2px solid transparent!important;
  border-radius:50%!important;
  background:transparent!important;
  cursor:pointer!important;
  transition:.16s ease!important;
}
.mv-portal.mv-funeral-app .mv-color-swatch span{
  display:block!important;
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  background:var(--swatch)!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)!important;
}
.mv-portal.mv-funeral-app .mv-color-swatch:hover{
  transform:translateY(-1px)!important;
  border-color:#d9cee3!important;
}
.mv-portal.mv-funeral-app .mv-color-swatch.active{
  border-color:var(--mv-primary)!important;
  background:#fff!important;
  box-shadow:0 0 0 3px var(--mv-panel-soft,#f3edf8)!important;
}
.mv-portal.mv-funeral-app .mv-custom-color-row{
  padding:16px 0!important;
  border-top:1px solid #eee7f3!important;
  border-bottom:1px solid #eee7f3!important;
}
.mv-portal.mv-funeral-app .mv-color-picker-label{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0!important;
  color:#4c4558!important;
  font-size:13px!important;
  font-weight:700!important;
}
.mv-portal.mv-funeral-app .mv-color-picker-control{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:132px!important;
  padding:5px 10px 5px 6px!important;
  border:1px solid #ded5e7!important;
  border-radius:12px!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-color-picker-control input[type=color]{
  appearance:none!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  cursor:pointer!important;
  overflow:hidden!important;
}
.mv-portal.mv-funeral-app .mv-color-picker-control input[type=color]::-webkit-color-swatch-wrapper{padding:0!important}
.mv-portal.mv-funeral-app .mv-color-picker-control input[type=color]::-webkit-color-swatch{border:0!important;border-radius:8px!important}
.mv-portal.mv-funeral-app .mv-color-picker-control input[type=color]::-moz-color-swatch{border:0!important;border-radius:8px!important}
.mv-portal.mv-funeral-app .mv-color-picker-control strong{
  color:#4d4658!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}
.mv-portal.mv-funeral-app .mv-color-preview{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  margin-top:18px!important;
  padding:14px!important;
  border:1px solid var(--mv-panel-line,#e8dfef)!important;
  border-radius:14px!important;
  background:#fff!important;
}
.mv-portal.mv-funeral-app .mv-color-preview-dot{
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  background:var(--mv-primary)!important;
}
.mv-portal.mv-funeral-app .mv-color-preview strong,
.mv-portal.mv-funeral-app .mv-color-preview small{display:block!important}
.mv-portal.mv-funeral-app .mv-color-preview strong{margin-bottom:3px!important;color:#342d42!important;font-size:13px!important}
.mv-portal.mv-funeral-app .mv-color-preview small{margin:0!important;color:#81798d!important;font-size:11px!important;line-height:1.45!important}
.mv-portal.mv-funeral-app .mv-color-preview-button{
  appearance:none!important;
  border:0!important;
  border-radius:10px!important;
  background:var(--mv-primary)!important;
  color:#fff!important;
  padding:9px 13px!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:default!important;
}
.mv-portal.mv-funeral-app .mv-profile-actions{
  margin:0!important;
  padding:18px 26px 24px!important;
  border-top:1px solid var(--mv-panel-line,#e9e1f0)!important;
  background:#fff!important;
}

@media(max-width:900px){
  .mv-portal.mv-funeral-app .mv-brand-settings-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .mv-portal.mv-funeral-app .mv-profile-settings>.mv-card-head{padding:20px 18px 17px!important}
  .mv-portal.mv-funeral-app .mv-profile-tabs{padding:10px 12px!important}
  .mv-portal.mv-funeral-app .mv-profile-tab{min-height:42px!important;padding:9px 12px!important;font-size:12px!important}
  .mv-portal.mv-funeral-app .mv-profile-panel{padding:18px!important}
  .mv-portal.mv-funeral-app .mv-profile-fields{grid-template-columns:1fr!important;padding:16px!important}
  .mv-portal.mv-funeral-app .mv-profile-field-wide{grid-column:auto!important}
  .mv-portal.mv-funeral-app .mv-brand-setting-card{padding:17px!important}
  .mv-portal.mv-funeral-app .mv-brand-logo-box{grid-template-columns:1fr!important}
  .mv-portal.mv-funeral-app .mv-brand-logo-preview{width:100%!important;height:132px!important}
  .mv-portal.mv-funeral-app .mv-color-preview{grid-template-columns:36px minmax(0,1fr)!important}
  .mv-portal.mv-funeral-app .mv-color-preview-dot{width:36px!important;height:36px!important}
  .mv-portal.mv-funeral-app .mv-color-preview-button{grid-column:1/-1!important;width:100%!important}
  .mv-portal.mv-funeral-app .mv-profile-actions{padding:16px 18px 20px!important}
  .mv-portal.mv-funeral-app .mv-profile-actions .mv-btn{width:100%!important}
}
@media(max-width:430px){
  .mv-portal.mv-funeral-app .mv-profile-tab span{font-size:11.5px!important}
  .mv-portal.mv-funeral-app .mv-profile-tab svg{width:17px!important;height:17px!important;flex-basis:17px!important}
  .mv-portal.mv-funeral-app .mv-profile-panel{padding:15px!important}
  .mv-portal.mv-funeral-app .mv-brand-setting-card{padding:15px!important}
  .mv-portal.mv-funeral-app .mv-color-swatch{width:37px!important;height:37px!important;flex-basis:37px!important}
  .mv-portal.mv-funeral-app .mv-color-swatch span{width:26px!important;height:26px!important}
  .mv-portal.mv-funeral-app .mv-color-picker-label{align-items:flex-start!important;flex-direction:column!important}
  .mv-portal.mv-funeral-app .mv-color-picker-control{width:100%!important;justify-content:flex-start!important}
}

/* =========================================================
   Memorial público v1.6.8 — layout moderno do link público
   ========================================================= */
.mv-public-modern{background:#f6f5f8;min-height:100vh;padding:0 0 42px;color:#23223a;font-family:Poppins,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mv-public-modern svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mv-public-modern svg.fill{fill:currentColor;stroke:currentColor}
.mv-public-topbar,.mv-public-tabs,.mv-public-main,.mv-public-footer-modern{width:min(1360px,calc(100% - 32px));margin-left:auto;margin-right:auto}
.mv-public-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0 14px}.mv-public-brand{display:flex;align-items:center;gap:14px;min-width:0}.mv-public-brand img{width:68px;height:68px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #ebe8f4;padding:8px}.mv-public-brand-mark{display:grid;place-items:center;width:60px;height:60px;border-radius:16px;background:#f4efff;color:var(--mv-primary)}.mv-public-brand strong{display:block;font-size:15px;line-height:1.2}.mv-public-brand small{display:block;color:#8a87a3;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-top:3px}.mv-public-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px}.mv-public-share-btn{display:inline-flex;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--mv-primary) 25%,#dfdaef);background:#fff;color:var(--mv-primary);border-radius:14px;padding:13px 18px;font:600 15px Poppins,Inter,sans-serif;cursor:pointer;box-shadow:none}
.mv-public-banner{position:relative;width:min(1360px,calc(100% - 32px));margin:0 auto;border-radius:28px;overflow:hidden;min-height:360px;background:linear-gradient(135deg,#ece8f8,#f4f0eb)}.mv-public-banner-bg{position:absolute;inset:0;background:center/cover no-repeat;transform:scale(1.04);filter:blur(0);opacity:.65}.mv-public-banner-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.58),rgba(255,255,255,.2) 46%,rgba(255,255,255,.45))}.mv-public-banner-inner{position:relative;z-index:2;display:grid;grid-template-columns:260px minmax(0,1fr);align-items:center;gap:34px;min-height:360px;padding:34px clamp(24px,4vw,52px)}.mv-public-avatar-wrap{display:flex;justify-content:center}.mv-public-avatar{width:220px;height:220px;border-radius:50%;background:#efeaf8 center/cover no-repeat;border:4px solid rgba(255,255,255,.92);box-shadow:0 12px 40px rgba(51,42,79,.12)}.mv-public-banner-copy{max-width:820px}.mv-public-banner-copy h1{margin:0 0 10px;font:700 clamp(38px,5vw,64px)/1.04 Poppins,Inter,sans-serif;letter-spacing:-.03em;color:#17182f}.mv-public-dates{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0;color:#625f76;font-size:18px;font-weight:500}.mv-public-dates span{color:var(--mv-primary);font-size:18px}.mv-public-quote{max-width:760px;margin-top:18px;color:#666379;font-style:italic;font-size:22px;line-height:1.45}.mv-public-quote p{margin:.2em 0}.mv-public-love{margin-top:14px;color:var(--mv-primary);display:flex;align-items:center}.mv-public-love svg{width:24px;height:24px}
.mv-public-tabs{display:flex;align-items:center;justify-content:space-between;gap:2px;background:#fff;border:1px solid #ece8f3;border-top:none;border-radius:0 0 22px 22px;padding:0 16px;overflow:auto;scrollbar-width:none;margin-bottom:20px}.mv-public-tabs::-webkit-scrollbar{display:none}.mv-public-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:62px;white-space:nowrap;text-decoration:none;color:#6a687e;padding:0 16px;border-bottom:3px solid transparent;font-weight:500}.mv-public-tabs a.active,.mv-public-tabs a:hover{color:var(--mv-primary);border-bottom-color:var(--mv-primary)}
.mv-public-main{padding-top:8px}.mv-public-grid{display:grid;gap:18px;margin-bottom:18px}.mv-public-grid-top{grid-template-columns:minmax(0,1.05fr) minmax(0,1.12fr) minmax(320px,.95fr)}.mv-public-grid-bottom{grid-template-columns:minmax(0,1fr) 360px}.mv-public-card{background:#fff;border:1px solid #ebe8f3;border-radius:22px;padding:26px;box-shadow:0 10px 24px rgba(24,26,44,.03)}.mv-public-card-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.mv-public-card-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:17px;line-height:1.25;color:#282747}.mv-public-card-head h2 svg{color:var(--mv-primary)}.mv-public-card-head a,.mv-public-card-head small{margin-left:auto;color:var(--mv-primary);font-weight:600;text-decoration:none}.mv-public-card-between{justify-content:space-between}.mv-public-card-between h2{min-width:0}.mv-public-prose{color:#5c5b70;font-size:18px;line-height:1.78}.mv-public-prose p{margin:0 0 16px}.mv-public-note{margin-top:26px;padding-top:18px;border-top:1px solid #efecf6;display:flex;gap:12px;align-items:flex-start;color:#726f88}.mv-public-note span{color:var(--mv-primary)}.mv-public-note em{font-size:16px;line-height:1.6}
.mv-public-gallery-modern{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mv-gallery-item-modern{border:0;padding:0;background:#f2eef8;border-radius:12px;overflow:hidden;aspect-ratio:1/1;cursor:pointer}.mv-gallery-item-modern img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s ease}.mv-gallery-item-modern:hover img{transform:scale(1.04)}.mv-public-gallery-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;border:1px solid color-mix(in srgb,var(--mv-primary) 28%,#e2dcf1);color:var(--mv-primary);text-decoration:none;border-radius:14px;padding:12px 16px;font-weight:600}.mv-public-gallery-link svg{width:18px;height:18px}
.mv-public-event-list{display:flex;flex-direction:column;gap:22px}.mv-public-event-item{display:grid;grid-template-columns:54px minmax(0,1fr);gap:16px}.mv-public-event-item+.mv-public-event-item{padding-top:18px;border-top:1px solid #eeeaf5}.mv-public-event-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#f2ecfb;color:var(--mv-primary)}.mv-public-event-item h3{margin:0 0 12px;color:var(--mv-primary);font-size:18px}.mv-public-event-item p{margin:0 0 8px;color:#6b6881;line-height:1.55}.mv-public-event-item strong{color:#4b4862}
.mv-public-homenagens-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.mv-public-homenagem{padding:0 18px}.mv-public-homenagem:first-child{padding-left:0}.mv-public-homenagem:last-child{padding-right:0}.mv-public-homenagem.has-divider{border-right:1px solid #f0edf6}.mv-public-homenagem-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}.mv-public-mini-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#f1ecfc;color:var(--mv-primary);font-size:18px;font-weight:700}.mv-public-homenagem strong{display:block;color:var(--mv-primary);font-size:15px}.mv-public-homenagem small{display:block;color:#9a97ab;font-size:12px;margin-top:2px}.mv-public-homenagem p{margin:0;color:#5d5a72;line-height:1.7;font-size:15px}
.mv-public-share-box p{margin:0 0 18px;color:#6c6a81;line-height:1.7}.mv-public-share-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mv-public-share-grid a,.mv-public-share-grid button{display:flex;align-items:center;justify-content:center;min-height:116px;text-align:center;background:#fff;border:1px solid #ece8f3;border-radius:16px;color:#3d3b55;text-decoration:none;font:600 16px Poppins,Inter,sans-serif;cursor:pointer}.mv-public-share-grid a:hover,.mv-public-share-grid button:hover{border-color:color-mix(in srgb,var(--mv-primary) 40%,#ece8f3);color:var(--mv-primary)}
.mv-public-gallery-full{margin-bottom:18px}.mv-public-gallery-full-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mv-public-messages{margin-bottom:18px}.mv-condolence-layout-modern{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.mv-public-modern .mv-condolence-form{background:#fcfbfe;border:1px solid #ebe8f3;border-radius:20px;padding:22px}.mv-public-modern .mv-condolence-form h3{font-family:Poppins,Inter,sans-serif;font-size:20px;margin-top:0;color:#272641}.mv-public-modern .mv-form label{font-size:13px}.mv-message-wall-modern{columns:2;column-gap:14px}.mv-public-modern .mv-message-card{border:1px solid #ebe8f3;border-radius:16px;background:#fff;box-shadow:none}.mv-public-modern .mv-message-card p{font-family:Poppins,Inter,sans-serif;font-size:15px;color:#585671;line-height:1.65}
.mv-public-footer-modern{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0 0;color:#807d93}.mv-public-footer-modern strong{display:block;color:#373652;font-size:15px}.mv-public-footer-modern span{display:block;font-size:13px;margin-top:4px}
html{scroll-behavior:smooth}
@media(max-width:1180px){.mv-public-grid-top{grid-template-columns:1fr 1fr}.mv-public-grid-top .mv-public-card:last-child{grid-column:1/-1}.mv-public-grid-bottom{grid-template-columns:1fr}.mv-public-share-box{order:2}.mv-public-homenagens-row{grid-template-columns:1fr}.mv-public-homenagem{padding:0}.mv-public-homenagem.has-divider{border-right:0;border-bottom:1px solid #f0edf6;padding-bottom:18px;margin-bottom:18px}.mv-public-gallery-full-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){.mv-public-topbar,.mv-public-tabs,.mv-public-main,.mv-public-footer-modern,.mv-public-banner{width:min(100%,calc(100% - 22px))}.mv-public-banner-inner{grid-template-columns:1fr;justify-items:center;text-align:center;padding:28px 20px}.mv-public-avatar{width:190px;height:190px}.mv-public-banner-copy{max-width:100%}.mv-public-dates{justify-content:center}.mv-public-quote{font-size:18px}.mv-public-tabs{justify-content:flex-start;padding:0 10px}.mv-public-tabs a{min-height:56px;padding:0 12px}.mv-public-grid-top,.mv-public-grid-bottom,.mv-condolence-layout-modern{grid-template-columns:1fr}.mv-public-gallery-full-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-message-wall-modern{columns:1}.mv-public-share-grid{grid-template-columns:1fr 1fr 1fr}.mv-public-footer-modern{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.mv-public-topbar{padding:14px 0 12px}.mv-public-toolbar{width:100%}.mv-public-topbar{flex-direction:column;align-items:stretch}.mv-public-brand{justify-content:center;text-align:center}.mv-public-toolbar{justify-content:center}.mv-public-share-btn{width:100%;justify-content:center}.mv-public-banner{border-radius:24px;min-height:0}.mv-public-banner-inner{gap:22px;min-height:0}.mv-public-avatar{width:156px;height:156px}.mv-public-banner-copy h1{font-size:34px}.mv-public-dates{font-size:15px;gap:8px}.mv-public-quote{font-size:16px}.mv-public-card{padding:18px}.mv-public-card-head h2{font-size:16px}.mv-public-prose{font-size:16px}.mv-public-gallery-modern{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-public-share-grid{grid-template-columns:1fr}.mv-public-share-grid a,.mv-public-share-grid button{min-height:74px}.mv-public-gallery-full-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-public-event-item{grid-template-columns:42px minmax(0,1fr);gap:12px}.mv-public-event-icon{width:42px;height:42px}.mv-public-tabs a span{font-size:13px}}

/* v1.7.0 — memorial mais estreito e controles funcionais */
.mv-public-modern{--mv-public-shell:1120px}
.mv-public-modern .mv-public-topbar,
.mv-public-modern .mv-public-tabs,
.mv-public-modern .mv-public-main,
.mv-public-modern .mv-public-footer-modern,
.mv-public-modern .mv-public-banner{width:min(var(--mv-public-shell),calc(100% - 32px))}
.mv-public-modern .mv-public-banner{min-height:320px}
.mv-public-modern .mv-public-banner-inner{min-height:320px;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:30px 36px}
.mv-public-modern .mv-public-avatar{width:190px;height:190px}
.mv-public-modern .mv-public-banner-copy h1{font-size:clamp(36px,4.3vw,56px)}
.mv-public-modern .mv-public-quote{font-size:18px;max-width:660px}
.mv-public-modern .mv-public-grid-top{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(285px,.88fr)}
.mv-public-modern .mv-public-card{padding:22px}
.mv-public-modern .mv-public-prose{font-size:16px;line-height:1.72}
.mv-public-modern [id^="mv-"]{scroll-margin-top:18px}
.mv-lightbox-prev,.mv-lightbox-next{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:52px;height:52px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:38px;line-height:1;display:grid;place-items:center;cursor:pointer}.mv-lightbox-prev{left:22px}.mv-lightbox-next{right:22px}.mv-lightbox-prev:hover,.mv-lightbox-next:hover{background:rgba(0,0,0,.58)}
@media(max-width:1180px){.mv-public-modern .mv-public-grid-top{grid-template-columns:1fr 1fr}.mv-public-modern .mv-public-grid-top .mv-public-card:last-child{grid-column:1/-1}}
@media(max-width:920px){.mv-public-modern .mv-public-topbar,.mv-public-modern .mv-public-tabs,.mv-public-modern .mv-public-main,.mv-public-modern .mv-public-footer-modern,.mv-public-modern .mv-public-banner{width:min(100%,calc(100% - 22px))}.mv-public-modern .mv-public-banner-inner{grid-template-columns:1fr;min-height:0;padding:28px 20px}.mv-public-modern .mv-public-grid-top{grid-template-columns:1fr}.mv-public-modern .mv-public-grid-top .mv-public-card:last-child{grid-column:auto}.mv-lightbox-prev,.mv-lightbox-next{width:44px;height:44px;font-size:32px}.mv-lightbox-prev{left:10px}.mv-lightbox-next{right:10px}}
@media(max-width:640px){.mv-public-modern{padding-bottom:24px}.mv-public-modern .mv-public-card{padding:17px}.mv-public-modern .mv-public-avatar{width:150px;height:150px}.mv-public-modern .mv-public-banner-copy h1{font-size:32px}.mv-public-modern .mv-public-tabs a{padding:0 10px}.mv-lightbox{padding:18px 52px}.mv-lightbox-prev,.mv-lightbox-next{width:38px;height:38px;font-size:28px}}
.mv-public-body{margin:0!important;padding:0!important;background:#f6f5f8!important;overflow-x:hidden}

/* v1.7.1 - status do upload da logo */
.mv-logo-upload-status{display:block;margin-top:9px;min-height:18px;font-size:12px;font-weight:600;line-height:1.45;color:var(--mv-app-muted,#85859a)}
.mv-logo-upload-status.loading,.mv-logo-upload-status.pending{color:var(--mv-primary,#6d4aff)}
.mv-logo-upload-status.success{color:#15803d}
.mv-logo-upload-status.error{color:#b42318}

/* v1.7.2 — formulário de homenagens centralizado e atualização imediata */
.mv-public-modern .mv-condolence-layout-modern{display:block}
.mv-public-modern .mv-condolence-layout-modern .mv-condolence-form{max-width:620px;margin:0 auto 28px;background:#fcfbfe;border:1px solid #ece7f5;border-radius:24px;padding:26px;box-shadow:0 10px 24px rgba(29,31,54,.04)}
.mv-public-modern .mv-condolence-layout-modern .mv-condolence-form h3{text-align:center;margin:0 0 18px;font-size:20px;color:#282747}
.mv-public-modern .mv-condolence-layout-modern .mv-condolence-form .mv-btn{display:flex;width:100%;min-height:52px;border-radius:14px;justify-content:center}
.mv-public-modern .mv-condolence-layout-modern .mv-condolence-form .mv-form-response{text-align:center;font-weight:600}
.mv-public-modern .mv-condolence-layout-modern .mv-message-wall-modern{max-width:980px;margin:0 auto;columns:2;column-gap:16px}
.mv-public-modern .mv-public-empty-messages{max-width:760px;margin:0 auto;padding:22px;border:1px dashed #ddd6ed;border-radius:18px;background:#faf8fe;text-align:center;color:#7c7892;font-size:15px;line-height:1.7}
.mv-public-modern .mv-public-message-card{break-inside:avoid;background:#fff;border:1px solid #ebe8f3;border-radius:18px;padding:18px 18px 16px;margin:0 0 16px;box-shadow:0 8px 20px rgba(24,26,44,.03)}
.mv-public-modern .mv-public-message-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}.mv-public-modern .mv-public-message-top strong{display:block;color:var(--mv-primary);font-size:15px}.mv-public-modern .mv-public-message-top small{display:block;color:#9895a8;font-size:12px;margin-top:2px}.mv-public-modern .mv-public-message-card p{margin:0;color:#5d5a72;line-height:1.72;font-size:15px;white-space:pre-line}
.mv-public-modern .mv-public-messages .mv-public-card-head{align-items:center}
@media(max-width:760px){.mv-public-modern .mv-condolence-layout-modern .mv-message-wall-modern{columns:1}.mv-public-modern .mv-condolence-layout-modern .mv-condolence-form{padding:20px;margin-bottom:20px}}
.mv-action-hint{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:var(--mv-muted);line-height:1.35}


/* v1.7.7 — compartilhamento funcional + ícones Bootstrap Icons CDN */
.mv-public-share-btn .bi{font-size:20px;line-height:1;display:inline-flex}
.mv-public-share-grid a,.mv-public-share-grid button{flex-direction:column;gap:10px;padding:16px 10px;line-height:1.25}
.mv-public-share-grid .bi{display:inline-flex;align-items:center;justify-content:center;font-size:30px;line-height:1}
.mv-public-share-grid .mv-share-whatsapp .bi{color:#25D366}
.mv-public-share-grid .mv-share-facebook .bi{color:#1877F2}
.mv-public-share-grid .mv-share-copy .bi{color:var(--mv-primary)}
.mv-public-share-grid a:hover .bi,.mv-public-share-grid button:hover .bi{transform:translateY(-1px)}
.mv-public-share-grid .bi{transition:transform .18s ease}

.mv-share-modal[hidden]{display:none!important}
.mv-share-modal{position:fixed;inset:0;z-index:1000000;display:grid;place-items:center;padding:20px}
.mv-share-modal-backdrop{position:absolute;inset:0;background:rgba(20,18,30,.58);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.mv-share-modal-dialog{position:relative;z-index:1;width:min(560px,100%);background:#fff;border:1px solid #ebe7f3;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(18,15,31,.22)}
.mv-share-modal-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border:1px solid #ece8f3;border-radius:50%;background:#fff;color:#3f3b55;display:grid;place-items:center;cursor:pointer;font-size:17px}
.mv-share-modal-close:hover{background:#f8f6fb;color:var(--mv-primary)}
.mv-share-modal-heading{display:flex;align-items:center;gap:14px;padding-right:42px;margin-bottom:22px}
.mv-share-modal-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:color-mix(in srgb,var(--mv-primary) 10%,#fff);color:var(--mv-primary);display:grid;place-items:center;font-size:21px}
.mv-share-modal-heading h2{margin:0 0 4px;font:700 20px/1.25 Poppins,Inter,sans-serif;color:#2b2943}
.mv-share-modal-heading p{margin:0;color:#817d93;font:400 13px/1.5 Poppins,Inter,sans-serif}
.mv-share-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mv-share-modal-grid a,.mv-share-modal-grid button{min-height:120px}
body.mv-share-modal-open{overflow:hidden!important}
@media(max-width:640px){
  .mv-share-modal{padding:14px;align-items:end}
  .mv-share-modal-dialog{border-radius:24px 24px 18px 18px;padding:22px 18px 18px}
  .mv-share-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .mv-share-modal-grid a,.mv-share-modal-grid button{min-height:104px!important;padding:14px 6px!important;font-size:13px!important}
  .mv-share-modal-grid .bi{font-size:27px}
}

/* v1.7.8 — QR code contrast, neutral background and crisp rendering */
.mv-share-box{
  background:#ffffff!important;
  border-color:#e6deef!important;
}
.mv-qrcode{
  background:#ffffff!important;
  border:1px solid #e5dfec!important;
  border-radius:18px!important;
  padding:12px!important;
  box-shadow:0 10px 24px rgba(31,23,45,.04)!important;
}
.mv-qrcode img,
.mv-qrcode canvas{
  background:#ffffff!important;
  image-rendering:pixelated;
  image-rendering:crisp-edges;
  filter:none!important;
}
.mv-qr-card{
  background:#ffffff!important;
}
.mv-qr-card .mv-qrcode{
  align-self:start!important;
}
.mv-share-box strong{
  display:block;
  margin-bottom:6px;
  color:#25263d;
  font-size:14px;
}
.mv-share-box .mv-btn,
.mv-qr-card .mv-btn{
  min-width:128px;
}
.mv-qr-card p,
.mv-share-box input{
  color:#70728c!important;
}
.mv-funeral-app .mv-share-box,
.mv-family-portal .mv-share-box{
  background:#fff!important;
  border:1px solid #e6deef!important;
}
.mv-funeral-app .mv-share-box .mv-qrcode,
.mv-family-portal .mv-share-box .mv-qrcode{
  background:#fff!important;
  border:1px solid #e5dfec!important;
  box-shadow:0 10px 24px rgba(31,23,45,.04)!important;
}

/* v1.8.0 — QR code fix: keep perfectly square and hide duplicate render */
.mv-qrcode{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.mv-qrcode canvas,
.mv-qrcode img{
  display:block!important;
  width:160px!important;
  height:160px!important;
  max-width:none!important;
  max-height:none!important;
  min-width:160px!important;
  min-height:160px!important;
  object-fit:contain!important;
  aspect-ratio:1 / 1!important;
}
.mv-share-box .mv-qrcode canvas,
.mv-share-box .mv-qrcode img{
  width:180px!important;
  height:180px!important;
  min-width:180px!important;
  min-height:180px!important;
}
.mv-qrcode-small canvas,
.mv-qrcode-small img{
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  min-height:96px!important;
}
.mv-qrcode-tv canvas,
.mv-qrcode-tv img{
  width:110px!important;
  height:110px!important;
  min-width:110px!important;
  min-height:110px!important;
}
.mv-qrcode canvas + img,
.mv-qrcode img + canvas{
  display:none!important;
}
@media(max-width:700px){
  .mv-share-box .mv-qrcode canvas,
  .mv-share-box .mv-qrcode img{
    width:160px!important;
    height:160px!important;
    min-width:160px!important;
    min-height:160px!important;
  }
}

/* v1.8.1 — mais respiro entre QR, link e ações no shortcode */
.mv-funeral-app .mv-share-box,
.mv-family-portal .mv-share-box{
  grid-template-columns:220px minmax(0,1fr)!important;
  column-gap:34px!important;
  row-gap:22px!important;
  align-items:center!important;
  padding:24px!important;
}
.mv-funeral-app .mv-share-box > div:last-child,
.mv-family-portal .mv-share-box > div:last-child{
  min-width:0!important;
  padding-left:2px!important;
}
.mv-funeral-app .mv-share-box strong,
.mv-family-portal .mv-share-box strong{
  margin:0 0 12px!important;
  line-height:1.4!important;
}
.mv-funeral-app .mv-share-box input,
.mv-family-portal .mv-share-box input{
  display:block!important;
  margin:0 0 14px!important;
}
.mv-funeral-app .mv-share-box .mv-btn,
.mv-family-portal .mv-share-box .mv-btn{
  margin:0 10px 8px 0!important;
}
@media(max-width:980px){
  .mv-funeral-app .mv-share-box,
  .mv-family-portal .mv-share-box{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .mv-funeral-app .mv-share-box .mv-qrcode,
  .mv-family-portal .mv-share-box .mv-qrcode{
    margin:0 auto!important;
  }
  .mv-funeral-app .mv-share-box > div:last-child,
  .mv-family-portal .mv-share-box > div:last-child{
    width:100%!important;
    padding-left:0!important;
  }
}

/* v1.8.2 — criação direta de conta de familiar + tela de credenciais */
.mv-family-create-card{max-width:920px}
.mv-family-create-form{padding:24px!important}
.mv-family-create-intro{margin:0 0 22px;padding:16px 18px;border:1px solid #e7deef;border-radius:15px;background:#faf8fd;color:#312c42}
.mv-family-create-intro strong{display:block;margin-bottom:4px;font-size:14px}
.mv-family-create-intro p{margin:0;color:#777086;font-size:12px;line-height:1.65}
.mv-family-create-wide{grid-column:1/-1}
.mv-family-access-card{max-width:980px;overflow:visible!important}
.mv-family-access-body{padding:24px}
.mv-family-access-summary{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.mv-family-access-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important;font-size:15px!important}
.mv-family-access-summary strong{display:block;color:#27283d;font-size:17px}
.mv-family-access-summary small{display:block;margin-top:3px;color:#858397;font-size:12px}
.mv-family-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.mv-family-access-grid>div{min-width:0;padding:15px 16px;border:1px solid #e7e1ed;border-radius:14px;background:#fbfafd}
.mv-family-access-grid span,.mv-family-login-link>span{display:block;margin-bottom:6px;color:#878295;font-size:11px;font-weight:600}
.mv-family-access-grid strong{display:block;overflow-wrap:anywhere;color:#292a40;font-size:13px}
.mv-family-password{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;letter-spacing:.05em}
.mv-family-login-link{margin-bottom:18px}
.mv-family-login-link>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.mv-family-login-link input{width:100%;min-width:0;height:48px;border:1px solid #ddd5e8;border-radius:13px;background:#fff;padding:0 14px;color:#625d72;font:500 12px/1.3 Poppins,Inter,sans-serif;outline:none}
.mv-family-credentials-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:pre!important;border:0!important}
.mv-family-access-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.mv-family-access-note{padding:14px 16px;border:1px solid #e9e1f0;border-radius:13px;background:#faf8fd;color:#716b7e;font-size:11px;line-height:1.65}
.mv-family-access-note strong{color:#3b3549}
@media(max-width:760px){
  .mv-family-access-grid{grid-template-columns:1fr}
  .mv-family-login-link>div{grid-template-columns:1fr}
  .mv-family-login-link .mv-btn,.mv-family-access-actions .mv-btn{width:100%!important;justify-content:center!important}
  .mv-family-create-wide{grid-column:auto}
}

/* v1.8.3 — retorno inline do cadastro de familiar */
.mv-family-create-form .mv-family-ajax-alert{margin:8px 0 16px!important}
.mv-alert-success{border-color:#cfe9da!important;background:#f0fbf5!important;color:#177245!important}

/* =========================================================
   v1.8.4 — Painel do Familiar profissional
   Shortcode: [mv_family_portal]
   ========================================================= */
.mv-family-app{
  --mv-app-purple:var(--mv-family-primary,#7c5ce6);
  --mv-app-ink:#14172b;
  --mv-app-muted:#7e8195;
  --mv-app-line:#e8e6ef;
  --mv-app-bg:#fafafd;
  position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:1600px;min-height:100vh;margin:0!important;padding:0!important;
  display:grid;grid-template-columns:270px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid #e7e4ec;border-radius:7px;
  font-family:Poppins,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mv-app-ink);box-shadow:none;
}
.mv-family-app.mv-mounted-to-body{position:fixed!important;inset:0!important;left:0!important;transform:none!important;width:100vw!important;max-width:none!important;height:100vh!important;min-height:100vh!important;z-index:999990!important;border:0!important;border-radius:0!important;overflow:hidden!important}
body.mv-family-portal-page{overflow:hidden!important}
.mv-family-app svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.mv-family-app svg.fill{fill:currentColor;stroke:currentColor}
.mv-family-shell{min-height:100vh;height:100vh;overflow:hidden;background:#fff}
.mv-family-main{overflow:auto;background:#fbfbfd!important;padding:24px 28px 34px!important}
.mv-family-sidebar{background:#fff!important;border-right:1px solid #eceaf0!important;min-height:100vh}
.mv-family-brand{height:136px!important;gap:7px!important;padding:18px!important}
.mv-family-brand img{width:112px!important;height:62px!important;object-fit:contain!important}
.mv-family-brand .mv-app-brand-mark{width:52px;height:48px;color:var(--mv-app-purple)}
.mv-family-brand .mv-app-brand-mark svg{width:48px;height:48px}
.mv-family-brand strong{font-family:Poppins,Inter,sans-serif!important;text-transform:none!important;font-size:17px!important;font-weight:700!important;letter-spacing:.01em!important;color:#22243a!important;max-width:180px!important}
.mv-family-nav{padding:12px 18px!important;gap:7px!important}
.mv-family-nav a{min-height:50px!important;border-radius:11px!important;padding:0 16px!important;color:#3f4256!important;font-size:13px!important;font-weight:500!important}
.mv-family-nav a:hover{background:#f8f5ff!important;color:var(--mv-app-purple)!important}
.mv-family-nav a.active{background:color-mix(in srgb,var(--mv-app-purple) 10%,#fff)!important;color:var(--mv-app-purple)!important;font-weight:600!important}
.mv-family-nav .mv-app-nav-icon{color:currentColor}
.mv-family-nav a em{background:var(--mv-app-purple)!important}
.mv-family-sidebar-footer{min-height:250px!important;padding:56px 32px 32px!important;overflow:hidden!important;background:linear-gradient(180deg,#fff 0%,#fff 35%,#faf7ff 100%)}
.mv-family-sidebar-footer .mv-app-logout{top:3px!important;left:34px!important;right:auto!important;color:#55576c!important}
.mv-family-sidebar-footer>p{position:relative;z-index:3;margin:0!important;color:#68627d!important;font-family:Georgia,"Times New Roman",serif!important;font-size:13px!important;line-height:1.75!important;font-style:italic;font-weight:400!important}
.mv-family-sidebar-footer>p:before{display:none!important}
.mv-family-sidebar-footer>p small{display:block;margin-top:14px;color:var(--mv-app-purple);font-family:Poppins,Inter,sans-serif;font-size:11px;font-style:normal}
.mv-family-floral{position:absolute;inset:55px 0 0;overflow:hidden;pointer-events:none;opacity:.8}
.mv-family-floral:before,.mv-family-floral:after,.mv-family-floral span{content:"";position:absolute;border:1px solid color-mix(in srgb,var(--mv-app-purple) 18%,transparent);border-radius:100% 0 100% 0;transform:rotate(-28deg)}
.mv-family-floral:before{width:180px;height:86px;left:-70px;bottom:14px;background:color-mix(in srgb,var(--mv-app-purple) 5%,transparent)}
.mv-family-floral:after{width:135px;height:62px;left:-34px;bottom:78px}
.mv-family-floral span:nth-child(1){width:88px;height:42px;left:9px;bottom:128px}
.mv-family-floral span:nth-child(2){width:68px;height:32px;left:38px;bottom:176px}
.mv-family-floral span:nth-child(3){width:130px;height:1px;left:-20px;bottom:108px;border:0;border-top:1px solid color-mix(in srgb,var(--mv-app-purple) 22%,transparent);border-radius:0;transform:rotate(-54deg)}
.mv-family-floral span:nth-child(4){width:1px;height:175px;left:50px;bottom:-14px;border:0;border-left:1px solid color-mix(in srgb,var(--mv-app-purple) 18%,transparent);border-radius:0;transform:rotate(14deg)}

.mv-family-topbar{height:82px!important;flex:0 0 82px!important;display:flex!important;align-items:center!important;gap:16px!important;padding:0 24px 0 30px!important;background:#fff!important;border-bottom:1px solid #eceaf0!important}
.mv-family-topbar .mv-app-menu-toggle{flex:0 0 42px}
.mv-family-search{width:min(520px,48vw);height:48px!important;border-radius:10px!important;border-color:#dfdce7!important;flex:0 1 520px}
.mv-family-search input{font-size:12px!important}
.mv-family-memorial-switch{margin-left:auto}
.mv-family-memorial-switch select{height:42px;max-width:220px;border:1px solid #e0dde8;border-radius:10px;background:#fff;padding:0 34px 0 12px;color:#4c4e63;font:500 11px Poppins,Inter,sans-serif;outline:none}
.mv-family-topbar .mv-app-top-actions{margin-left:auto!important;height:100%}
.mv-family-topbar .mv-app-bell{height:100%!important;width:56px!important;border-left:0!important;border-right:1px solid #eceaf0!important;color:#3f4156!important}
.mv-family-topbar .mv-app-bell span{top:16px!important;right:5px!important;background:var(--mv-app-purple)!important}
.mv-family-topbar .mv-app-user-button{min-width:205px!important;padding-left:17px!important}
.mv-family-topbar .mv-app-user-button img{width:42px!important;height:42px!important}
.mv-family-topbar .mv-app-user-button strong{font-size:12px!important}.mv-family-topbar .mv-app-user-button small{font-size:10px!important}

.mv-family-heading,.mv-family-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.mv-family-heading h1,.mv-family-page-head h1{margin:0 0 5px!important;color:#171a31!important;font:700 28px/1.2 Poppins,Inter,sans-serif!important;letter-spacing:-.025em}
.mv-family-heading p,.mv-family-page-head p{margin:0!important;color:#7c7f91!important;font-size:12px!important;line-height:1.55!important}
.mv-family-heading-quote{display:flex;align-items:center;gap:9px;text-align:right;color:var(--mv-app-purple);font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:13px;line-height:1.45;white-space:nowrap}
.mv-family-heading-quote span{display:grid;place-items:center}.mv-family-heading-quote svg{width:28px;height:28px;stroke-width:1.2}

.mv-family-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;margin-bottom:18px}
.mv-family-hero{position:relative;min-height:254px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#655a76,#d0ab87);box-shadow:0 7px 24px rgba(39,31,58,.08)}
.mv-family-hero-bg{position:absolute;inset:0;background-image:var(--mv-family-hero,linear-gradient(135deg,#675e78,#d3ad87));background-position:center;background-size:cover;transform:scale(1.015)}
.mv-family-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,18,34,.62),rgba(25,20,35,.25) 58%,rgba(20,15,25,.12))}
.mv-family-hero-content{position:relative;z-index:2;min-height:254px;display:flex;align-items:center;gap:24px;padding:30px 34px}
.mv-family-hero-avatar{width:156px;height:156px;flex:0 0 156px;border-radius:50%;background:#eee center/cover no-repeat;border:4px solid rgba(255,255,255,.95);box-shadow:0 9px 32px rgba(0,0,0,.18)}
.mv-family-hero-copy{min-width:0;color:#fff}.mv-family-hero-copy h2{margin:0 0 10px!important;color:#fff!important;font:700 clamp(25px,2.4vw,36px)/1.1 Poppins,Inter,sans-serif!important;letter-spacing:-.025em}
.mv-family-life-dates{display:flex;flex-wrap:wrap;gap:18px;color:rgba(255,255,255,.94);font-size:11px;font-weight:500}
.mv-family-hero-quote{max-width:620px;margin-top:17px;color:rgba(255,255,255,.95);font-family:Georgia,"Times New Roman",serif;font-size:14px;font-style:italic;line-height:1.6}
.mv-family-progress-card{background:#fff;border:1px solid #e8e5ee;border-radius:16px;padding:20px 18px;box-shadow:0 5px 18px rgba(35,28,53,.035)}
.mv-family-progress-card h3{margin:0 0 6px!important;font-size:14px!important;color:#292c42!important}.mv-family-progress-card>p{margin:0!important;color:#7f8193!important;font-size:10px!important;line-height:1.55!important}
.mv-family-progress{width:126px;height:126px;margin:15px auto 12px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--mv-app-purple) calc(var(--progress) * 1%),#eeeaf6 0)}
.mv-family-progress:before{content:"";grid-area:1/1;width:100px;height:100px;border-radius:50%;background:#fff}
.mv-family-progress>div{grid-area:1/1;position:relative;z-index:2;text-align:center}.mv-family-progress strong{display:block;font-size:24px;line-height:1;color:#202339}.mv-family-progress small{display:block;margin-top:5px;color:#7a7d90;font-size:9px}
.mv-family-progress-card>a{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--mv-app-purple)!important;text-decoration:none!important;font-size:9px;font-weight:600}.mv-family-progress-card>a svg{width:14px;height:14px}

.mv-family-middle-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(360px,1fr);gap:18px;margin-bottom:18px}
.mv-family-quick-card,.mv-family-panel,.mv-family-editor-card,.mv-family-list-card{background:#fff;border:1px solid #e8e5ee;border-radius:15px;box-shadow:0 4px 16px rgba(34,27,52,.025)}
.mv-family-quick-card{padding:17px 16px}.mv-family-quick-card>h3{margin:0 0 13px!important;font-size:13px!important;color:#282b40!important}
.mv-family-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mv-family-quick-actions>a,.mv-family-quick-actions>button{min-width:0;min-height:104px;border:1px solid #ece9f1;border-radius:12px;background:#fff;color:#33364c!important;text-decoration:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px 8px;cursor:pointer;font:500 10px/1.35 Poppins,Inter,sans-serif;text-align:center;transition:.18s ease}
.mv-family-quick-actions>a:hover,.mv-family-quick-actions>button:hover{border-color:color-mix(in srgb,var(--mv-app-purple) 30%,#ece9f1);transform:translateY(-1px)}
.mv-family-quick-actions>a>span,.mv-family-quick-actions>button>span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 9%,#fff);color:var(--mv-app-purple)}
.mv-family-quick-actions svg{width:23px;height:23px}.mv-family-quick-actions strong{font-size:10px;font-weight:500}
.mv-family-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mv-family-stat-grid>a{min-width:0;background:#fff;border:1px solid #e8e5ee;border-radius:15px;padding:16px 14px;color:inherit!important;text-decoration:none!important;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;column-gap:9px}
.mv-family-stat-grid>a>span{grid-row:1/3;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple)}.mv-family-stat-grid svg{width:19px;height:19px}
.mv-family-stat-grid strong{font-size:21px;line-height:1;color:#22253b}.mv-family-stat-grid small{font-size:8px;color:#858799;margin-top:6px;line-height:1.4}.mv-family-stat-grid em{grid-column:1/-1;margin-top:12px;color:var(--mv-app-purple);font-size:8px;font-style:normal;font-weight:600}

.mv-family-lower-grid{display:grid;grid-template-columns:minmax(250px,.95fr) minmax(300px,1.12fr) minmax(340px,1.45fr);gap:18px;align-items:start}
.mv-family-panel{overflow:hidden}.mv-family-panel>header{min-height:52px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #efedf3}.mv-family-panel>header h3{margin:0!important;font-size:12px!important;color:#292c41!important}.mv-family-panel>header p{margin:3px 0 0!important;color:#8a8c9e!important;font-size:8px!important}.mv-family-panel>header>a{color:var(--mv-app-purple)!important;text-decoration:none!important;font-size:8px;font-weight:600}
.mv-family-timeline{position:relative;padding:14px 16px 4px}.mv-family-timeline:before{content:"";position:absolute;left:35px;top:35px;bottom:36px;width:2px;background:color-mix(in srgb,var(--mv-app-purple) 55%,#ebe6f4)}
.mv-family-timeline article{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:8px 0 18px}.mv-family-timeline-icon{position:relative;z-index:2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--mv-app-purple);color:#fff;border:4px solid #fff;box-shadow:0 0 0 1px color-mix(in srgb,var(--mv-app-purple) 20%,#eee)}.mv-family-timeline-icon svg{width:16px;height:16px}
.mv-family-timeline strong{display:block;color:#2d3045;font-size:10px}.mv-family-timeline small{display:block;color:#777a8e;font-size:8px;margin:5px 0}.mv-family-timeline p{margin:0!important;color:#696c7f!important;font-size:8px!important;line-height:1.55!important}
.mv-family-panel-link{display:block;padding:11px 16px 14px;text-align:center;color:var(--mv-app-purple)!important;text-decoration:none!important;font-size:8px;font-weight:600}
.mv-family-latest-cond{padding:0 16px}.mv-family-latest-cond article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:72px;border-bottom:1px solid #efedf3}.mv-family-latest-cond article:last-child{border-bottom:0}.mv-family-latest-cond img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eee}.mv-family-latest-cond strong{display:block;font-size:9px;color:#2f3247}.mv-family-latest-cond p{margin:4px 0 0!important;color:#717487!important;font-size:8px!important;line-height:1.45!important}.mv-family-latest-cond small{align-self:start;margin-top:19px;color:#9a9bab;font-size:7px;white-space:nowrap}
.mv-family-inline-empty{padding:28px 10px;text-align:center;color:#8b8d9e;font-size:9px}
.mv-family-right-stack{display:grid;gap:14px}.mv-family-qr-content{display:grid;grid-template-columns:145px minmax(0,1fr);gap:18px;align-items:center;padding:14px 16px 16px}.mv-family-qr-panel .mv-qrcode{margin:auto!important;padding:8px!important;border-radius:10px!important;box-shadow:none!important}.mv-family-qr-panel .mv-qrcode canvas,.mv-family-qr-panel .mv-qrcode img{width:125px!important;height:125px!important;min-width:125px!important;min-height:125px!important}.mv-family-qr-content>div:last-child{display:grid;gap:10px}
.mv-family-outline-btn{height:42px;border:1px solid color-mix(in srgb,var(--mv-app-purple) 35%,#ddd);border-radius:9px;background:#fff;color:var(--mv-app-purple);font:600 9px Poppins,Inter,sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.mv-family-outline-btn i{font-size:14px}
.mv-family-links-panel{padding-bottom:4px}.mv-family-links-panel>a{display:grid;grid-template-columns:34px minmax(0,1fr) 15px;gap:10px;align-items:center;min-height:60px;margin:0 14px;border-bottom:1px solid #efedf3;color:inherit!important;text-decoration:none!important}.mv-family-links-panel>a:last-child{border-bottom:0}.mv-family-links-panel>a>span{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple)}.mv-family-links-panel>a>span svg{width:17px;height:17px}.mv-family-links-panel>a>svg{width:14px;height:14px;color:#7f8194;transform:rotate(-90deg)}.mv-family-links-panel strong{display:block;color:#33364a;font-size:9px}.mv-family-links-panel small{display:block;margin-top:3px;color:#9092a2;font-size:7px;line-height:1.4}

.mv-family-mini-memorial{display:flex;align-items:center;gap:10px;margin:-8px 0 18px;padding:10px 14px;background:#fff;border:1px solid #ece9f1;border-radius:12px}.mv-family-mini-memorial .mv-status{flex:0 0 auto}.mv-family-mini-memorial>strong{font-size:11px;color:#34364b}.mv-family-mini-memorial>small{margin-left:auto;color:#8d8f9f;font-size:9px}
.mv-family-page-head .mv-btn{white-space:nowrap}
.mv-family-editor-card{padding:22px}.mv-family-editor-intro{display:flex;align-items:center;gap:13px;margin-bottom:20px}.mv-family-editor-intro>span{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 9%,#fff);color:var(--mv-app-purple)}.mv-family-editor-intro svg{width:23px;height:23px}.mv-family-editor-intro h2{margin:0 0 4px!important;font-size:15px!important;color:#272a40!important}.mv-family-editor-intro p{margin:0!important;color:#858798!important;font-size:10px!important}
.mv-family-app .mv-form label{display:flex!important;flex-direction:column!important;margin:0 0 16px!important;color:#4a4d61!important;font-size:11px!important;font-weight:600!important}.mv-family-app .mv-form label>small{margin-top:6px!important;color:#9294a4!important;font-size:9px!important;font-weight:400!important}
.mv-family-app .mv-form input[type=text],.mv-family-app .mv-form input[type=email],.mv-family-app .mv-form input[type=password],.mv-family-app .mv-form input[type=datetime-local],.mv-family-app .mv-form select,.mv-family-app .mv-form textarea,.mv-family-link-preview input{width:100%!important;margin-top:7px!important;border:1px solid #dfdce7!important;border-radius:10px!important;background:#fff!important;padding:11px 12px!important;color:#383b50!important;font:400 11px/1.45 Poppins,Inter,sans-serif!important;outline:none!important;box-shadow:none!important}.mv-family-app .mv-form input[type=text],.mv-family-app .mv-form input[type=email],.mv-family-app .mv-form input[type=password],.mv-family-app .mv-form input[type=datetime-local],.mv-family-app .mv-form select{min-height:43px!important}.mv-family-app .mv-form textarea{resize:vertical!important;min-height:130px!important}.mv-family-app .mv-form input:focus,.mv-family-app .mv-form select:focus,.mv-family-app .mv-form textarea:focus{border-color:color-mix(in srgb,var(--mv-app-purple) 55%,#ddd)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--mv-app-purple) 8%,transparent)!important}
.mv-family-app .mv-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 16px!important}.mv-family-app .mv-form-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:6px!important}.mv-family-app .mv-btn{min-height:42px!important;border:0!important;border-radius:9px!important;background:var(--mv-app-purple)!important;color:#fff!important;padding:10px 17px!important;font:600 10px Poppins,Inter,sans-serif!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}.mv-family-app .mv-btn-light{background:#f2f0f6!important;color:#55586c!important}
.mv-family-photo-editor{display:grid;grid-template-columns:108px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:18px;padding:15px;border:1px solid #ece9f1;border-radius:13px;background:#fcfbfe}.mv-family-current-photo{width:94px;height:94px;border-radius:50%;background:#eee center/cover no-repeat;border:3px solid #fff;box-shadow:0 0 0 1px #e7e3ed}.mv-family-photo-editor label{margin:0!important}.mv-family-app .mv-form input[type=file]{margin-top:9px!important;border:1px dashed #d9d3e4!important;border-radius:10px!important;padding:9px!important;background:#fff!important;color:#66697b!important;font-size:10px!important}.mv-family-app .mv-form input[type=file]::file-selector-button{border:0;border-radius:8px;background:color-mix(in srgb,var(--mv-app-purple) 10%,#fff);color:var(--mv-app-purple);padding:8px 11px;margin-right:9px;font-weight:600;cursor:pointer}
.mv-family-readonly-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:5px}.mv-family-readonly-grid>div{padding:13px;border:1px solid #ece9f1;border-radius:11px;background:#fbfafd}.mv-family-readonly-grid span,.mv-family-readonly-grid strong{display:block}.mv-family-readonly-grid span{color:#9496a6;font-size:8px}.mv-family-readonly-grid strong{margin-top:4px;color:#3b3e52;font-size:10px}.mv-family-form-note{margin:10px 0 0!important;color:#9496a6!important;font-size:9px!important}
.mv-family-upload-zone{display:grid;grid-template-columns:46px minmax(0,1fr) minmax(220px,340px);gap:13px;align-items:center;padding:16px;border:1px dashed #d7d1e2;border-radius:13px;background:#fcfbfe;margin-bottom:20px}.mv-family-upload-zone>span{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 9%,#fff);color:var(--mv-app-purple)}.mv-family-upload-zone strong,.mv-family-upload-zone small{display:block}.mv-family-upload-zone strong{font-size:11px;color:#34374b}.mv-family-upload-zone small{margin-top:4px;color:#8d8f9f;font-size:9px}.mv-family-upload-zone input{margin:0!important}
.mv-family-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mv-family-gallery-grid>label{position:relative!important;display:block!important;margin:0!important;border:1px solid #ece9f1;border-radius:12px!important;overflow:hidden;background:#fff}.mv-family-gallery-grid img{width:100%;aspect-ratio:1.28/1;display:block;object-fit:cover}.mv-family-gallery-grid label>span{display:flex;align-items:center;gap:6px;padding:9px;color:#676a7c;font-size:8px;font-weight:500}.mv-family-gallery-grid input{margin:0!important}
.mv-family-form-section+.mv-family-form-section{margin-top:22px;padding-top:22px;border-top:1px solid #efedf3}.mv-family-message-preview{display:flex;gap:12px;margin:14px 0 18px;padding:16px;border-radius:12px;background:color-mix(in srgb,var(--mv-app-purple) 5%,#fff);border:1px solid color-mix(in srgb,var(--mv-app-purple) 13%,#eee)}.mv-family-message-preview>span{color:var(--mv-app-purple)}.mv-family-message-preview strong{display:block;font-size:10px}.mv-family-message-preview p{margin:5px 0 0!important;color:#6e7183!important;font-family:Georgia,"Times New Roman",serif!important;font-style:italic;font-size:11px!important;line-height:1.55!important}
.mv-family-privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.mv-family-choice{position:relative!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;margin:0!important;padding:16px!important;border:1px solid #e4e0ea;border-radius:12px!important;cursor:pointer}.mv-family-choice>input{position:absolute;top:12px;right:12px}.mv-family-choice>span{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple)}.mv-family-choice strong,.mv-family-choice small{display:block}.mv-family-choice strong{font-size:10px}.mv-family-choice small{margin-top:4px;color:#8a8c9d;font-size:8px;font-weight:400;line-height:1.45}.mv-family-toggle-list{display:grid;gap:10px;margin:8px 0 18px}.mv-family-toggle-list>label{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:13px!important;border:1px solid #ece9f1;border-radius:11px!important}.mv-family-toggle-list input{margin-top:2px}.mv-family-toggle-list strong,.mv-family-toggle-list small{display:block}.mv-family-toggle-list strong{font-size:10px}.mv-family-toggle-list small{margin-top:3px;color:#8e90a0;font-size:8px;font-weight:400}.mv-family-link-preview{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;padding:14px;border-radius:12px;background:#fbfafd;border:1px solid #ece9f1}.mv-family-link-preview>strong{grid-column:1/-1;font-size:10px}.mv-family-link-preview input{margin:0!important}.mv-family-link-preview .mv-btn{height:43px}
.mv-family-settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.mv-family-security-card>p{color:#747789!important;font-size:10px!important;line-height:1.7!important;margin:0 0 18px!important}

.mv-family-list-card{overflow:hidden}.mv-family-list-card>header{min-height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ece9f1}.mv-family-list-card>header h2{display:flex;align-items:center;gap:9px;margin:0!important;color:#2d3045!important;font-size:12px!important}.mv-family-list-card>header h2 svg{width:19px;height:19px;color:var(--mv-app-purple)}.mv-family-list-card>header>span{padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple);font-size:8px;font-weight:600}
.mv-family-condolence-list{padding:0 18px}.mv-family-condolence-list>article{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:17px 0;border-bottom:1px solid #efedf3}.mv-family-condolence-list>article:last-child{border-bottom:0}.mv-family-condolence-list img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#eee}.mv-family-cond-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.mv-family-cond-meta strong{font-size:10px;color:#33364b}.mv-family-cond-meta small{font-size:8px;color:#999baa}.mv-family-condolence-list p{margin:6px 0 0!important;color:#676a7d!important;font-size:10px!important;line-height:1.6!important}
.mv-family-empty-list,.mv-family-empty-state{padding:42px 22px;text-align:center}.mv-family-empty-list>span,.mv-family-empty-state>span{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple)}.mv-family-empty-list h3,.mv-family-empty-state h2{margin:0 0 6px!important;color:#303348!important}.mv-family-empty-list h3{font-size:13px!important}.mv-family-empty-state h2{font-size:20px!important}.mv-family-empty-list p,.mv-family-empty-state p{margin:0!important;color:#8a8c9e!important;font-size:10px!important}
.mv-family-search-results{display:grid}.mv-family-search-results>a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:15px 18px;border-bottom:1px solid #efedf3;color:inherit!important;text-decoration:none!important}.mv-family-search-results>a>span{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 8%,#fff);color:var(--mv-app-purple)}.mv-family-search-results strong{font-size:10px}.mv-family-search-results p{margin:4px 0 0!important;color:#777a8d!important;font-size:9px!important;line-height:1.5!important}
.mv-family-save-alert{margin:12px 0!important}

@media(max-width:1250px){
  .mv-family-app{grid-template-columns:230px minmax(0,1fr)}
  .mv-family-hero-grid{grid-template-columns:minmax(0,1fr) 245px}.mv-family-middle-grid{grid-template-columns:1fr}.mv-family-lower-grid{grid-template-columns:1fr 1fr}.mv-family-right-stack{grid-column:1/-1;grid-template-columns:1fr 1fr}.mv-family-stat-grid>a{min-height:112px}.mv-family-hero-avatar{width:132px;height:132px;flex-basis:132px}.mv-family-hero-content{padding:26px}
}
@media(max-width:960px){
  .mv-family-app{display:block!important;min-height:100vh!important;overflow:visible!important}.mv-family-app.mv-mounted-to-body{overflow:hidden!important}
  .mv-family-app .mv-app-sidebar{position:fixed;top:0;bottom:0;left:0;width:260px;min-height:100vh;transform:translateX(-105%);transition:transform .25s ease;box-shadow:12px 0 36px rgba(42,30,68,.16);z-index:1002}.mv-family-app.mv-menu-open .mv-app-sidebar{transform:translateX(0)}
  .mv-family-app .mv-app-overlay{position:fixed;inset:0;z-index:1001;border:0;background:rgba(28,23,40,.25);cursor:pointer}.mv-family-app.mv-menu-open .mv-app-overlay{display:block}.mv-family-app .mv-app-menu-toggle{display:grid;place-items:center;width:42px;height:42px;border:0;background:#f5f1fb;color:var(--mv-app-purple);border-radius:9px;cursor:pointer}
  .mv-family-topbar{padding:0 14px!important;gap:10px!important}.mv-family-search{width:auto;flex:1 1 auto}.mv-family-memorial-switch{display:none}.mv-family-topbar .mv-app-user-button{min-width:52px!important;width:52px!important;padding:0 4px!important}.mv-family-topbar .mv-app-user-button span,.mv-family-topbar .mv-app-user-button>svg{display:none}.mv-family-main{padding:20px 16px 28px!important}
  .mv-family-hero-grid{grid-template-columns:1fr}.mv-family-progress-card{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center}.mv-family-progress-card>h3,.mv-family-progress-card>p,.mv-family-progress-card>a{grid-column:1}.mv-family-progress{grid-column:2;grid-row:1/4;margin:0 auto}.mv-family-quick-actions{grid-template-columns:repeat(2,1fr)}.mv-family-lower-grid{grid-template-columns:1fr}.mv-family-right-stack{grid-column:auto;grid-template-columns:1fr 1fr}.mv-family-gallery-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .mv-family-topbar{height:72px!important;flex-basis:72px!important}.mv-family-topbar .mv-app-bell{width:42px!important}.mv-family-topbar .mv-app-user{display:none}.mv-family-heading,.mv-family-page-head{display:block}.mv-family-heading-quote{display:none}.mv-family-heading h1,.mv-family-page-head h1{font-size:22px!important}.mv-family-page-head .mv-btn{margin-top:12px}
  .mv-family-hero{min-height:330px}.mv-family-hero-content{min-height:330px;flex-direction:column;justify-content:center;text-align:center;padding:24px 18px}.mv-family-hero-avatar{width:116px;height:116px;flex-basis:116px}.mv-family-life-dates{justify-content:center;gap:10px}.mv-family-hero-copy h2{font-size:25px!important}.mv-family-hero-quote{font-size:12px}.mv-family-progress-card{display:block}.mv-family-progress{margin:14px auto}.mv-family-middle-grid{display:block}.mv-family-stat-grid{margin-top:12px;grid-template-columns:repeat(3,1fr);gap:8px}.mv-family-stat-grid>a{padding:12px 9px;grid-template-columns:1fr;text-align:center;justify-items:center}.mv-family-stat-grid>a>span{grid-row:auto}.mv-family-stat-grid strong{margin-top:7px;font-size:17px}.mv-family-quick-actions{gap:8px}.mv-family-quick-actions>a,.mv-family-quick-actions>button{min-height:92px}.mv-family-right-stack{grid-template-columns:1fr}.mv-family-qr-content{grid-template-columns:1fr}.mv-family-qr-content>div:last-child{grid-template-columns:1fr 1fr}.mv-family-mini-memorial{flex-wrap:wrap}.mv-family-mini-memorial>small{width:100%;margin-left:0}.mv-family-app .mv-grid-2{grid-template-columns:1fr!important}.mv-family-photo-editor{grid-template-columns:1fr;text-align:center}.mv-family-current-photo{margin:auto}.mv-family-upload-zone{grid-template-columns:1fr;text-align:center}.mv-family-upload-zone>span{margin:auto}.mv-family-gallery-grid{grid-template-columns:repeat(2,1fr)}.mv-family-privacy-grid{grid-template-columns:1fr}.mv-family-settings-grid{grid-template-columns:1fr}.mv-family-link-preview{grid-template-columns:1fr}.mv-family-link-preview>strong{grid-column:auto}.mv-family-app .mv-form-actions{justify-content:stretch!important}.mv-family-app .mv-form-actions .mv-btn{width:100%}.mv-family-search{min-width:0}.mv-family-search input{font-size:10px!important;padding:0!important}
}
@media(max-width:430px){
  .mv-family-main{padding:16px 11px 24px!important}.mv-family-stat-grid{grid-template-columns:1fr 1fr}.mv-family-stat-grid>a:last-child{grid-column:1/-1}.mv-family-gallery-grid{grid-template-columns:1fr 1fr}.mv-family-cond-meta{display:block}.mv-family-cond-meta small{display:block;margin-top:3px}.mv-family-topbar .mv-app-bell{display:none}.mv-family-quick-actions{grid-template-columns:1fr 1fr}
}

/* v1.8.5 — menu do familiar herda a mesma cor do menu da funerária */
.mv-family-app .mv-family-sidebar{
  background:linear-gradient(180deg,var(--mv-family-menu-bg) 0%,var(--mv-family-menu-bg-dark) 100%)!important;
  border-right-color:var(--mv-family-menu-border)!important;
}
.mv-family-app .mv-family-brand{
  border-bottom-color:var(--mv-family-menu-border)!important;
}
.mv-family-app .mv-family-brand .mv-app-brand-mark,
.mv-family-app .mv-family-brand strong{
  color:var(--mv-family-menu-text)!important;
}
.mv-family-app .mv-family-brand img{
  filter:none!important;
}
.mv-family-app .mv-family-nav a{
  color:var(--mv-family-menu-text)!important;
  border:1px solid transparent!important;
}
.mv-family-app .mv-family-nav a:hover{
  background:var(--mv-family-menu-hover)!important;
  color:var(--mv-family-menu-text)!important;
}
.mv-family-app .mv-family-nav a.active{
  background:var(--mv-family-menu-active)!important;
  border-color:var(--mv-family-menu-border)!important;
  color:var(--mv-family-menu-text)!important;
  box-shadow:none!important;
}
.mv-family-app .mv-family-nav .mv-app-nav-icon,
.mv-family-app .mv-family-nav a.active .mv-app-nav-icon{
  color:currentColor!important;
}
.mv-family-app .mv-family-nav a em{
  background:var(--mv-family-menu-active)!important;
  color:var(--mv-family-menu-text)!important;
  border:1px solid var(--mv-family-menu-border)!important;
}
.mv-family-app .mv-family-sidebar-footer{
  background:transparent!important;
  border-top:1px solid var(--mv-family-menu-border)!important;
}
.mv-family-app .mv-family-sidebar-footer .mv-app-logout{
  background:var(--mv-family-menu-hover)!important;
  border-color:var(--mv-family-menu-border)!important;
  color:var(--mv-family-menu-text)!important;
}
.mv-family-app .mv-family-sidebar-footer>p,
.mv-family-app .mv-family-sidebar-footer>p small{
  color:var(--mv-family-menu-muted)!important;
}
.mv-family-app .mv-family-floral{
  opacity:.22!important;
  filter:grayscale(1) brightness(2)!important;
}
.mv-family-app .mv-family-floral:before,
.mv-family-app .mv-family-floral:after,
.mv-family-app .mv-family-floral span{
  border-color:var(--mv-family-menu-border)!important;
}

/* v1.8.6 — ícone desktop no topo do painel do familiar */
.mv-family-topbar .mv-app-desktop{
  position:relative;
  width:56px!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  border-left:0!important;
  border-right:1px solid #eceaf0!important;
  color:#3f4156!important;
  text-decoration:none!important;
  transition:background .2s ease,color .2s ease;
}
.mv-family-topbar .mv-app-desktop:hover{
  background:#f8f6fc!important;
  color:var(--mv-app-purple)!important;
}
.mv-family-topbar .mv-app-desktop svg{
  width:22px!important;
  height:22px!important;
}
.mv-family-topbar .mv-app-top-actions{
  gap:0!important;
}
@media(max-width:640px){
  .mv-family-topbar .mv-app-desktop{
    width:42px!important;
  }
}
@media(max-width:520px){
  .mv-family-topbar .mv-app-desktop{
    display:none!important;
  }
}

/* v1.8.8 — remover mensagens abaixo do formulário no memorial */
.mv-condolence-layout-form-only{
  display:block!important;
}
.mv-condolence-layout-form-only .mv-condolence-form{
  max-width:720px!important;
  margin:0 auto!important;
}

/* v1.8.9 — campo Seu nome igual ao campo de e-mail */
.mv-public-modern .mv-condolence-form .mv-field-label{
  display:block!important;
  margin-bottom:6px!important;
}
.mv-public-modern .mv-condolence-form label > input[type="text"],
.mv-public-modern .mv-condolence-form label > input[type="email"],
.mv-public-modern .mv-condolence-form label > textarea{
  display:block!important;
  width:100%!important;
}

/* v1.9.0 — reduzir um pouco as informações da área de eventos no memorial */
.mv-public-event-item h3{
  font-size:16px!important;
  margin:0 0 10px!important;
}
.mv-public-event-item p{
  font-size:13px!important;
  line-height:1.45!important;
  margin:0 0 6px!important;
}
.mv-public-event-item strong{
  font-size:13px!important;
}
.mv-public-event-list{
  gap:18px!important;
}
.mv-public-event-item + .mv-public-event-item{
  padding-top:16px!important;
}
@media(max-width:640px){
  .mv-public-event-item h3{
    font-size:15px!important;
  }
  .mv-public-event-item p,
  .mv-public-event-item strong{
    font-size:12px!important;
  }
}

/* v1.9.1 — leitura/exclusão de homenagens pelo familiar + agradecimento público */
.mv-family-cond-manager>header .mv-family-cond-counts{display:flex;align-items:center;gap:8px}.mv-family-cond-manager>header .mv-family-cond-counts>span{padding:5px 9px;border-radius:999px;background:#f6f3fa;color:#716b7f;font-size:9px;font-weight:600}.mv-family-cond-manager>header .mv-family-cond-counts>b{padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--mv-app-purple) 10%,#fff);color:var(--mv-app-purple);font-size:9px;font-weight:700}
.mv-family-cond-item{position:relative;transition:background .2s ease,opacity .2s ease}.mv-family-cond-item.is-unread{background:color-mix(in srgb,var(--mv-app-purple) 3%,#fff)}.mv-family-cond-item.is-unread:before{content:"";position:absolute;left:-18px;top:22px;width:6px;height:6px;border-radius:50%;background:var(--mv-app-purple)}.mv-family-cond-item.is-loading{opacity:.62;pointer-events:none}
.mv-family-cond-body{min-width:0}.mv-family-cond-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.mv-family-cond-actions button,.mv-family-cond-read-state{min-height:30px;padding:6px 10px;border:1px solid #e8e3ef;border-radius:9px;background:#fff;color:#55556a;font:600 9px/1.2 Poppins,Inter,sans-serif;display:inline-flex;align-items:center;gap:6px}.mv-family-cond-actions button{cursor:pointer}.mv-family-cond-actions button:hover{border-color:color-mix(in srgb,var(--mv-app-purple) 35%,#ddd);color:var(--mv-app-purple)}.mv-family-cond-actions svg,.mv-family-cond-read-state svg{width:14px;height:14px}.mv-family-cond-delete{color:#b04c5b!important}.mv-family-cond-read-state{border-color:#d8efe1;background:#f5fcf7;color:#36825a}.mv-family-cond-actions [hidden]{display:none!important}
.mv-family-cond-modal[hidden]{display:none!important}.mv-family-cond-modal{position:fixed;inset:0;z-index:1000005;display:grid;place-items:center;padding:18px}.mv-family-cond-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(24,20,34,.55);backdrop-filter:blur(4px);cursor:pointer}.mv-family-cond-modal-dialog{position:relative;z-index:1;width:min(560px,100%);background:#fff;border:1px solid #ebe6f0;border-radius:22px;padding:28px;box-shadow:0 28px 70px rgba(26,20,38,.2)}.mv-family-cond-modal-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f6f3f9;color:#514b5e;font-size:24px;cursor:pointer}.mv-family-cond-modal-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:color-mix(in srgb,var(--mv-app-purple) 10%,#fff);color:var(--mv-app-purple);margin-bottom:16px}.mv-family-cond-modal-icon svg{width:23px;height:23px}.mv-family-cond-modal-dialog>small{display:block;color:#9893a3;font-size:10px;margin-bottom:5px}.mv-family-cond-modal-dialog h2{margin:0 0 14px!important;color:#29283c!important;font-size:19px!important}.mv-family-cond-modal-dialog>p{white-space:pre-wrap;margin:0 0 18px!important;color:#5f5d70!important;font-size:13px!important;line-height:1.7!important}.mv-family-cond-modal-thanks{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:8px 11px;border-radius:999px;background:#f2faf5;color:#39815c;font-size:10px;font-weight:700}.mv-family-cond-modal-thanks svg{width:14px;height:14px}.mv-family-cond-modal-actions{display:flex;justify-content:flex-end;margin-top:20px}body.mv-family-cond-modal-open{overflow:hidden!important}
.mv-public-family-thanks{display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:10px;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--mv-primary) 8%,#fff);color:var(--mv-primary);font:600 10px/1.2 Poppins,Inter,sans-serif}.mv-public-family-thanks svg{width:13px;height:13px;fill:currentColor;stroke:currentColor}
@media(max-width:640px){.mv-family-cond-manager>header{align-items:flex-start!important;flex-direction:column!important;padding:13px 16px!important}.mv-family-cond-manager>header .mv-family-cond-counts{width:100%;justify-content:flex-start}.mv-family-cond-actions{gap:6px}.mv-family-cond-actions button,.mv-family-cond-read-state{font-size:8px;padding:6px 8px}.mv-family-cond-modal{align-items:end;padding:10px}.mv-family-cond-modal-dialog{border-radius:22px 22px 15px 15px;padding:24px 18px 18px}}

/* v1.9.2 — compartilhamento mais profissional */
.mv-public-share-grid{
  gap:14px!important;
}
.mv-public-share-grid a,
.mv-public-share-grid button{
  min-height:108px!important;
  padding:14px 12px!important;
  border:1px solid #e8e3f0!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fcfbfe 100%)!important;
  box-shadow:0 8px 22px rgba(31,25,45,.035)!important;
  color:#25263d!important;
  font:600 14px/1.2 Poppins,Inter,sans-serif!important;
  flex-direction:column!important;
  gap:9px!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.mv-public-share-grid a:hover,
.mv-public-share-grid button:hover{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--mv-primary) 28%,#e8e3f0)!important;
  background:#fff!important;
  box-shadow:0 12px 26px rgba(31,25,45,.07)!important;
}
.mv-public-share-grid .bi{
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  font-size:24px!important;
  background:#f7f4fb!important;
  transition:transform .18s ease,background .18s ease!important;
}
.mv-public-share-grid .mv-share-whatsapp .bi{
  color:#25D366!important;
  background:rgba(37,211,102,.09)!important;
}
.mv-public-share-grid .mv-share-facebook .bi{
  color:#1877F2!important;
  background:rgba(24,119,242,.09)!important;
}
.mv-public-share-grid .mv-share-copy .bi{
  color:var(--mv-primary)!important;
  background:color-mix(in srgb,var(--mv-primary) 9%,#fff)!important;
}
.mv-public-share-grid a:hover .bi,
.mv-public-share-grid button:hover .bi{
  transform:scale(1.05)!important;
}
.mv-public-share-grid span{
  display:block!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  .mv-public-share-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .mv-public-share-grid a,
  .mv-public-share-grid button{
    min-height:94px!important;
    padding:11px 5px!important;
    border-radius:14px!important;
    font-size:11px!important;
    gap:7px!important;
  }
  .mv-public-share-grid .bi{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    font-size:21px!important;
  }
}

/* v1.9.3 — campos da agenda do familiar mais altos e consistentes */
.mv-family-app .mv-family-form-section .mv-grid-2 > label{
  margin-bottom:18px!important;
  font-size:12px!important;
  font-weight:600!important;
  color:#4b4d61!important;
}
.mv-family-app .mv-family-form-section input[type="text"],
.mv-family-app .mv-family-form-section input[type="datetime-local"],
.mv-family-app .mv-family-form-section select{
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  margin-top:8px!important;
  padding:0 16px!important;
  border:1px solid #ddd9e6!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#3e4054!important;
  font:500 13px/1.2 Poppins,Inter,sans-serif!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.mv-family-app .mv-family-form-section input[type="text"]:focus,
.mv-family-app .mv-family-form-section input[type="datetime-local"]:focus,
.mv-family-app .mv-family-form-section select:focus{
  border-color:color-mix(in srgb,var(--mv-app-purple) 55%,#d8d3e2)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--mv-app-purple) 8%,transparent)!important;
  outline:none!important;
}
@media(max-width:640px){
  .mv-family-app .mv-family-form-section input[type="text"],
  .mv-family-app .mv-family-form-section input[type="datetime-local"],
  .mv-family-app .mv-family-form-section select{
    height:52px!important;
    min-height:52px!important;
  }
}

/* v1.9.5 — campo Nome completo no painel da funerária */
.mv-funeral-app .mv-memorial-editor-form input[name="name"]{
  width:100%!important;
  min-height:54px!important;
  padding:0 16px!important;
  border:1px solid #ddd7e7!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#343548!important;
  font:500 13px/1.4 Poppins,Inter,sans-serif!important;
  box-shadow:none!important;
  outline:none!important;
}
.mv-funeral-app .mv-memorial-editor-form input[name="name"]:focus{
  border-color:color-mix(in srgb,var(--mv-primary) 48%,#d9d4e2)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--mv-primary) 8%,transparent)!important;
}

/* v1.9.6 — copiar link robusto + campos Título/Código iguais aos demais */
.mv-copy.mv-copy-success{
  border-color:#bfe5cf!important;
  background:#edf9f2!important;
  color:#198754!important;
}
.mv-funeral-app .mv-memorial-editor-form input[name="wake_title"],
.mv-funeral-app .mv-memorial-editor-form input[name="access_code"]{
  width:100%!important;
  min-height:54px!important;
  height:54px!important;
  margin-top:8px!important;
  padding:0 16px!important;
  border:1px solid #ddd7e7!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#343548!important;
  font:500 13px/1.4 Poppins,Inter,sans-serif!important;
  box-shadow:none!important;
  outline:none!important;
  box-sizing:border-box!important;
}
.mv-funeral-app .mv-memorial-editor-form input[name="wake_title"]:focus,
.mv-funeral-app .mv-memorial-editor-form input[name="access_code"]:focus{
  border-color:color-mix(in srgb,var(--mv-primary) 48%,#d9d4e2)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--mv-primary) 8%,transparent)!important;
}
@media(max-width:640px){
  .mv-funeral-app .mv-memorial-editor-form input[name="wake_title"],
  .mv-funeral-app .mv-memorial-editor-form input[name="access_code"]{
    min-height:52px!important;
    height:52px!important;
  }
}

/* v1.9.7 — área de relatórios com charts */
.mv-reports-head{margin-bottom:18px!important}
.mv-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.mv-report-kpis article{display:flex;align-items:center;gap:13px;min-width:0;padding:18px;border:1px solid var(--mv-app-line);border-radius:15px;background:#fff}
.mv-report-kpis article>span{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--mv-primary) 9%,#fff);color:var(--mv-primary)}
.mv-report-kpis article>span svg{width:21px;height:21px}
.mv-report-kpis small,.mv-report-kpis em{display:block;font-style:normal}.mv-report-kpis small{color:#87899a;font-size:10px;font-weight:600}.mv-report-kpis strong{display:block;margin:2px 0;color:#25263c;font-size:23px;line-height:1.1}.mv-report-kpis em{color:#9a9baa;font-size:9px}
.mv-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.mv-report-grid-wide{grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr)}
.mv-report-card{overflow:hidden!important}.mv-report-card .mv-app-card-head>small{margin-left:auto;color:#9293a3;font-size:9px;font-weight:500}
.mv-report-chart-wrap{position:relative;height:290px;padding:18px 20px 22px}.mv-report-chart-large{height:330px}.mv-report-chart-bar{height:310px}.mv-report-chart-wrap canvas{width:100%!important;height:100%!important}
.mv-report-legend{display:flex;justify-content:center;gap:18px;padding:0 18px 18px}.mv-report-legend span{display:flex;align-items:center;gap:7px;color:#77798d;font-size:10px}.mv-report-legend b{width:8px;height:8px;border-radius:50%;background:var(--mv-primary)}.mv-report-legend span:nth-child(2) b{opacity:.22}.mv-report-legend strong{margin-left:2px;color:#323348}
@media(max-width:1100px){.mv-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-report-grid-wide{grid-template-columns:1fr}.mv-report-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.mv-report-grid{grid-template-columns:1fr}.mv-report-chart-wrap,.mv-report-chart-large,.mv-report-chart-bar{height:280px}}
@media(max-width:520px){.mv-report-kpis{grid-template-columns:1fr 1fr;gap:10px}.mv-report-kpis article{padding:13px 11px;gap:9px}.mv-report-kpis article>span{width:38px;height:38px;flex-basis:38px}.mv-report-kpis strong{font-size:18px}.mv-report-chart-wrap{padding:14px 10px 18px;height:250px}}

/* v1.9.8 — Encard social no painel do familiar */
.mv-family-social-layout{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:24px;align-items:start}
.mv-family-social-form-card,.mv-family-social-preview-card{background:#fff;border:1px solid #ece7f5;border-radius:24px;padding:22px;box-shadow:0 10px 24px rgba(29,31,54,.04)}
.mv-family-social-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.mv-family-social-actions .mv-btn{min-height:46px}
.mv-family-social-stage{display:flex;justify-content:center;align-items:flex-start}
.mv-social-preview{--mv-social-accent:var(--mv-primary,#7c5ce6);position:relative;width:100%;max-width:520px;background:#1f2036;border-radius:28px;overflow:hidden;color:#fff;box-shadow:0 22px 40px rgba(25,28,48,.18)}
.mv-social-preview.is-square{aspect-ratio:1/1}
.mv-social-preview.is-portrait{aspect-ratio:4/5}
.mv-social-preview.is-story{aspect-ratio:9/16;max-width:420px}
.mv-social-preview-bg,.mv-social-preview-overlay,.mv-social-preview-content{position:absolute;inset:0}
.mv-social-preview-bg img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(.95)}
.mv-social-preview-overlay{background:linear-gradient(180deg,rgba(19,20,35,.24) 0%,rgba(19,20,35,.48) 38%,rgba(19,20,35,.88) 100%),linear-gradient(135deg,color-mix(in srgb,var(--mv-social-accent) 28%, transparent),transparent 58%)}
.mv-social-preview-content{padding:26px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
.mv-social-preview-topline{display:inline-flex;align-self:flex-start;background:rgba(255,255,255,.14);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.18);padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.03em}
.mv-social-preview-chip{display:inline-flex;align-self:flex-start;background:var(--mv-social-accent);color:#fff;padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.mv-social-preview h2{margin:2px 0 0;font-size:34px;line-height:1.08;color:#fff}
.mv-social-preview-dates{font-size:14px;color:rgba(255,255,255,.86);font-weight:600}
.mv-social-preview p{margin:0;font-size:16px;line-height:1.6;color:rgba(255,255,255,.96);white-space:pre-line;max-width:92%}
.mv-social-preview-footer{margin-top:10px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18);display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.mv-social-preview-footer strong{display:block;font-size:14px;color:#fff}
.mv-social-preview-footer span{display:block;font-size:12px;color:rgba(255,255,255,.84);word-break:break-word;max-width:260px}
.mv-social-preview-logo{width:72px;max-height:44px;object-fit:contain;background:rgba(255,255,255,.92);border-radius:14px;padding:8px}
.mv-family-social-help{margin:16px 0 0;color:#6e6f88;font-size:13px;line-height:1.6;text-align:center}
@media(max-width:1080px){.mv-family-social-layout{grid-template-columns:1fr}.mv-family-social-form-card,.mv-family-social-preview-card{padding:20px}.mv-social-preview{max-width:460px;margin:0 auto}}
@media(max-width:640px){.mv-family-social-actions{display:grid;grid-template-columns:1fr}.mv-social-preview{border-radius:22px}.mv-social-preview-content{padding:18px}.mv-social-preview h2{font-size:28px}.mv-social-preview p{font-size:14px}.mv-social-preview-footer{gap:10px}.mv-social-preview-logo{width:58px;max-height:38px}}

/* v1.9.9 — garantir visibilidade do Encard Social no painel familiar */
.mv-family-app .mv-family-sidebar{
  height:100vh!important;
  max-height:100vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
}
.mv-family-app .mv-family-sidebar::-webkit-scrollbar{
  display:none!important;
  width:0!important;
}
.mv-family-app .mv-family-brand{
  flex:0 0 auto!important;
}
.mv-family-app .mv-family-nav{
  flex:0 0 auto!important;
  min-height:max-content!important;
}
.mv-family-app .mv-family-sidebar-footer{
  flex:0 0 auto!important;
  min-height:190px!important;
  margin-top:18px!important;
  padding-top:52px!important;
}
.mv-family-quick-actions{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
@media(max-width:1180px){
  .mv-family-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .mv-family-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v1.9.10 — rota Encard Social corrigida */
.mv-family-app .mv-family-nav a[href*="mv_family_tab=social"] .mv-app-nav-icon{
  opacity:1!important;
}

/* v1.9.11 — campos do Encard Social com visual profissional */
.mv-family-social-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.mv-family-social-form .mv-grid-2{
  gap:14px!important;
}
.mv-family-social-form label{
  display:block!important;
}
.mv-family-social-form .mv-field-label{
  display:block!important;
  margin:0 0 8px!important;
  font-size:13px!important;
  font-weight:700!important;
  color:#37364d!important;
}
.mv-family-social-form input[type="text"],
.mv-family-social-form input[type="url"],
.mv-family-social-form select,
.mv-family-social-form textarea{
  display:block!important;
  width:100%!important;
  min-height:54px!important;
  padding:14px 16px!important;
  border:1px solid #e4deef!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#2b2d42!important;
  font-size:15px!important;
  line-height:1.45!important;
  box-shadow:none!important;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mv-family-social-form textarea{
  min-height:126px!important;
  resize:vertical!important;
}
.mv-family-social-form input[type="text"]:focus,
.mv-family-social-form input[type="url"]:focus,
.mv-family-social-form select:focus,
.mv-family-social-form textarea:focus,
.mv-family-social-form input[type="color"]:focus{
  outline:none!important;
  border-color:var(--mv-primary)!important;
  box-shadow:0 0 0 4px rgba(124,92,230,.10)!important;
}
.mv-family-social-form select{
  appearance:none!important;
  -webkit-appearance:none!important;
  padding-right:46px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23727A8E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:18px 18px!important;
}
.mv-family-social-form input[type="color"]{
  width:100%!important;
  min-width:0!important;
  height:54px!important;
  padding:6px!important;
  border:1px solid #e4deef!important;
  border-radius:16px!important;
  background:#fff!important;
  cursor:pointer!important;
}
.mv-family-social-form input[type="color"]::-webkit-color-swatch-wrapper{
  padding:0!important;
}
.mv-family-social-form input[type="color"]::-webkit-color-swatch{
  border:0!important;
  border-radius:10px!important;
}
.mv-family-social-form input[type="color"]::-moz-color-swatch{
  border:0!important;
  border-radius:10px!important;
}
.mv-family-social-form-card{
  padding:24px!important;
}
.mv-family-social-actions{
  margin-top:4px!important;
}
.mv-family-social-actions .mv-btn{
  min-height:50px!important;
  border-radius:14px!important;
}
@media(max-width:640px){
  .mv-family-social-form-card{
    padding:18px!important;
  }
  .mv-family-social-form .mv-grid-2{
    grid-template-columns:1fr!important;
  }
}

/* v1.9.13 — Encard Social no mesmo estilo da referência */
.mv-family-social-layout-pro{grid-template-columns:minmax(0,520px) minmax(0,1fr)!important;gap:20px!important;align-items:start}
.mv-family-social-form-card,.mv-family-social-preview-card{border-radius:28px!important;border:1px solid #ece8f4!important;box-shadow:0 16px 34px rgba(31,26,57,.05)!important;background:#fff!important}
.mv-family-social-section-title{font-size:18px;font-weight:800;color:#1f2343;display:flex;align-items:center;gap:8px}
.mv-family-social-section-subtitle{margin:6px 0 0;color:#7a7f98;font-size:14px;line-height:1.5}
.mv-social-info-dot{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid #d7d2e8;color:#8b81a9;font-size:12px;font-weight:700}
.mv-social-model-select{display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center}
.mv-social-model-thumb{width:46px;height:46px;border-radius:12px;overflow:hidden;background:#f3effd;display:grid;place-items:center;border:1px solid #e8e0f4}
.mv-social-model-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mv-social-model-thumb-mark{width:24px;height:24px;color:var(--mv-primary)}
.mv-social-color-grid .mv-field-label{margin-bottom:8px!important}
.mv-social-color-input-wrap{display:grid;grid-template-columns:1fr 58px;gap:10px;align-items:center}
.mv-social-color-input-wrap input[type="text"]{text-transform:uppercase!important;font-weight:700!important;color:var(--mv-primary)!important;padding-left:14px!important}
.mv-social-color-input-wrap input[type="color"]{width:58px!important;min-width:58px!important;padding:6px!important}
.mv-field-label-between{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px}
.mv-field-label-between em{font-style:normal;color:#7e83a0;font-size:12px;font-weight:700}
.mv-social-input-help{display:block;margin-top:8px;color:#8a90a8;font-size:12px}
.mv-input-icon-wrap{position:relative;display:block}
.mv-input-leading-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#8a90a8;pointer-events:none}
.mv-family-social-form .mv-input-icon-wrap input{padding-left:42px!important;padding-right:16px!important}
.mv-input-copy-wrap input{padding-right:52px!important}
.mv-copy-inline{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:#f4f0fd;border-radius:12px;color:var(--mv-primary);display:grid;place-items:center;cursor:pointer}
.mv-copy-inline:hover{background:#ece5fb}
.mv-copy-inline svg{width:18px;height:18px}
.mv-family-social-actions-pro{display:grid!important;grid-template-columns:1fr 56px;gap:12px!important;margin-top:6px!important}
.mv-btn-gradient{background:linear-gradient(90deg,#6d4aff 0%,#9a63ff 100%)!important;border:0!important;color:#fff!important;box-shadow:0 14px 26px rgba(109,74,255,.25)!important}
.mv-btn-gradient:hover{filter:brightness(1.04)}
.mv-btn-gradient svg{width:18px;height:18px}
.mv-btn-icon-only{padding:0!important;display:grid!important;place-items:center!important}
.mv-family-social-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
.mv-social-format-switch{display:flex;gap:10px;align-items:center}
.mv-social-format-switch button{border:1px solid #e9e3f4;background:#fff;color:#6c728f;border-radius:14px;padding:12px 18px;display:inline-flex;align-items:center;gap:8px;font-weight:700;cursor:pointer;transition:.2s ease}
.mv-social-format-switch button.active{border-color:#b996ff;background:#faf6ff;color:#7b46ea;box-shadow:0 0 0 3px rgba(123,70,234,.06)}
.mv-social-format-switch svg{width:18px;height:18px}
.mv-family-social-stage{background:#fbfaff;border:1px solid #ede8f8;border-radius:24px;padding:18px}
.mv-social-preview{max-width:650px!important;margin:0 auto;background:#352b4b!important}
.mv-social-preview.is-square{aspect-ratio:1.02/1!important}
.mv-social-preview.is-story{aspect-ratio:9/16!important;max-width:420px!important}
.mv-social-preview-overlay{background:linear-gradient(140deg,rgba(255,209,214,.72) 0%,rgba(53,43,75,.12) 42%,rgba(28,25,45,.72) 100%),linear-gradient(180deg,rgba(20,19,34,.08) 0%,rgba(20,19,34,.72) 100%)!important}
.mv-social-preview-deco{position:absolute;pointer-events:none;opacity:.9}
.mv-social-preview-deco-left{top:22px;left:20px;width:140px;height:120px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.28) 0 2px,transparent 3px),linear-gradient(135deg,rgba(255,255,255,.14),transparent 72%);border-radius:28px;filter:blur(.2px)}
.mv-social-preview-deco-right{right:16px;top:24px;width:120px;height:160px;background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 68%);border-radius:32px}
.mv-social-preview-content{padding:34px!important;gap:10px!important}
.mv-social-preview-topline{background:rgba(255,255,255,.92)!important;color:var(--mv-social-accent)!important;border:none!important;font-size:14px!important;font-weight:800!important;padding:11px 18px!important}
.mv-social-preview-chip{background:var(--mv-social-seal)!important;font-size:13px!important;padding:10px 16px!important;letter-spacing:.02em!important;box-shadow:0 12px 20px rgba(239,68,68,.24)}
.mv-social-preview h2{font-size:60px!important;line-height:1.02!important;margin-top:10px!important;text-shadow:0 10px 20px rgba(23,21,39,.20)}
.mv-social-preview-dates{display:flex;align-items:center;gap:10px;font-size:15px!important;color:#fff!important;font-weight:700!important;opacity:.95}
.mv-social-preview-dates .mv-date-dot{width:18px;height:18px;display:inline-grid;place-items:center}
.mv-social-preview-dates .mv-date-dot svg{width:18px;height:18px}
.mv-social-preview-line{width:220px;height:2px;background:rgba(255,255,255,.42);margin:8px 0 10px}
.mv-social-preview p{max-width:58%!important;font-size:18px!important;line-height:1.65!important}
.mv-social-preview-footer-card{margin-top:auto;background:rgba(255,255,255,.98);border-radius:28px;padding:18px 18px 18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 20px 35px rgba(28,25,45,.18)}
.mv-social-preview-footer-main{display:flex;align-items:center;gap:14px;min-width:0}
.mv-social-preview-mark{width:56px;height:56px;border-radius:18px;background:rgba(139,92,246,.10);display:grid;place-items:center;color:var(--mv-social-accent);overflow:hidden;flex:0 0 auto}
.mv-social-preview-mark svg{width:28px;height:28px}
.mv-social-preview-logo{width:100%!important;height:100%!important;object-fit:contain!important;background:none!important;padding:8px!important;max-height:none!important;border-radius:0!important}
.mv-social-preview-footer-copy{min-width:0}
.mv-social-preview-footer-copy strong{display:block;font-size:15px;color:#20233d;font-weight:800}
.mv-social-preview-footer-copy span{display:block;margin-top:5px;font-size:12px;color:var(--mv-social-accent);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.mv-social-preview-qr{background:#f7f2ff!important;border:1px solid #e5d8ff!important;border-radius:18px!important;padding:10px!important;box-shadow:none!important;flex:0 0 auto}
.mv-social-preview-qr canvas,.mv-social-preview-qr img{width:86px!important;height:86px!important;min-width:86px!important;min-height:86px!important}
.mv-family-social-tip-box{margin-top:18px;background:#f8f3ff;border:1px solid #eadcfb;color:#6b38d1;border-radius:18px;padding:18px 20px;display:grid;gap:6px}
.mv-family-social-tip-box strong{display:flex;align-items:center;gap:8px;font-size:16px;color:#6b38d1}
.mv-family-social-tip-box strong svg{width:18px;height:18px}
.mv-family-social-tip-box span{font-size:14px;color:#7a52d8;line-height:1.55}
@media(max-width:1180px){.mv-family-social-layout-pro{grid-template-columns:1fr!important}.mv-family-social-preview-head{flex-direction:column;align-items:flex-start}.mv-social-format-switch{width:100%}.mv-social-format-switch button{flex:1;justify-content:center}}
@media(max-width:760px){.mv-social-preview h2{font-size:42px!important}.mv-social-preview p{max-width:75%!important;font-size:15px!important}.mv-social-preview-content{padding:22px!important}.mv-social-preview-footer-card{padding:14px;gap:10px}.mv-social-preview-footer-copy span{max-width:160px}.mv-family-social-actions-pro{grid-template-columns:1fr 50px}.mv-social-preview-qr canvas,.mv-social-preview-qr img{width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important}}
@media(max-width:540px){.mv-social-model-select{grid-template-columns:40px 1fr}.mv-social-color-input-wrap{grid-template-columns:1fr 50px}.mv-social-format-switch button span{font-size:12px}.mv-social-preview h2{font-size:34px!important}.mv-social-preview p{max-width:100%!important}.mv-social-preview-footer-card{flex-direction:column;align-items:flex-start}.mv-social-preview-qr{align-self:flex-end}}

/* v1.9.14 — ícones de nascimento e falecimento no Incart Social */
.mv-social-preview-dates{
  flex-wrap:wrap;
  gap:10px!important;
}
.mv-social-date-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.mv-social-date-sep{
  color:rgba(255,255,255,.9);
  font-weight:700;
  padding:0 2px;
}

/* v1.9.15 — cruz de falecimento e segundo modelo de Incart */
.mv-social-date-item:last-child .mv-date-dot svg{
  width:17px!important;
  height:21px!important;
  stroke-width:2.2!important;
}
.mv-social-preview.template-classico .mv-social-preview-overlay{
  background:linear-gradient(180deg,rgba(8,10,16,.20) 0%,rgba(8,10,16,.58) 48%,rgba(5,6,10,.94) 100%)!important;
}
.mv-social-preview.template-classico .mv-social-preview-deco{
  display:none!important;
}
.mv-social-preview.template-classico .mv-social-preview-topline{
  background:rgba(17,18,26,.68)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  backdrop-filter:blur(8px)!important;
}
.mv-social-preview.template-classico .mv-social-preview-chip{
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
.mv-social-preview.template-classico .mv-social-preview-line{
  background:rgba(255,255,255,.52)!important;
}
.mv-social-preview.template-classico .mv-social-preview-footer-card{
  background:rgba(15,16,24,.88)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:blur(10px)!important;
}
.mv-social-preview.template-classico .mv-social-preview-footer-copy strong{
  color:#fff!important;
}
.mv-social-preview.template-classico .mv-social-preview-footer-copy span{
  color:rgba(255,255,255,.78)!important;
}
.mv-social-preview.template-classico .mv-social-preview-mark{
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
}
.mv-social-preview.template-classico .mv-social-preview-qr{
  background:#fff!important;
  border-color:rgba(255,255,255,.30)!important;
}

/* v1.9.16 — opção de remover gradiente escuro e definir imagem de fundo */
.mv-social-bg-grid{gap:14px!important}
.mv-social-preview.bg-image-only .mv-social-preview-overlay{
  background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(24,25,42,.10) 58%,rgba(24,25,42,.24) 100%)!important;
}
.mv-social-preview.template-classico.bg-image-only .mv-social-preview-overlay{
  background:linear-gradient(180deg,rgba(18,19,27,.10) 0%,rgba(18,19,27,.18) 58%,rgba(18,19,27,.34) 100%)!important;
}
.mv-social-preview.bg-image-only .mv-social-preview-topline{
  background:rgba(255,255,255,.86)!important;
}
.mv-social-preview.bg-image-only .mv-social-preview-line{
  background:rgba(255,255,255,.52)!important;
}
.mv-social-preview.bg-image-only .mv-social-preview-content{
  text-shadow:0 6px 18px rgba(17,18,31,.18);
}

/* v1.9.17 — imagem de fundo escolhida diretamente do computador */
.mv-social-bg-upload-field{
  min-width:0;
}
.mv-social-bg-upload-field .mv-field-label{
  display:block!important;
  margin:0 0 8px!important;
}
.mv-social-bg-upload-button{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 16px!important;
  border:1px dashed #cfc3e8!important;
  border-radius:16px!important;
  background:#faf8ff!important;
  color:var(--mv-primary)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  font-size:13px!important;
  font-weight:800!important;
  cursor:pointer!important;
  transition:border-color .2s ease,background .2s ease,transform .2s ease!important;
}
.mv-social-bg-upload-button:hover{
  border-color:var(--mv-primary)!important;
  background:#f5f0ff!important;
  transform:translateY(-1px);
}
.mv-social-bg-upload-button.has-file{
  border-style:solid!important;
  border-color:var(--mv-primary)!important;
  background:#f3edff!important;
}
.mv-social-bg-upload-button i{
  font-size:18px!important;
  line-height:1!important;
}

/* v1.9.20 — pré-visualização do incart no estilo do modelo claro enviado */
.mv-social-preview{
  background:linear-gradient(180deg,#fcf8ff 0%,#f8f0fb 100%)!important;
  color:#2d2440!important;
  box-shadow:0 24px 48px rgba(117,86,133,.18)!important;
}
.mv-social-preview-shell{position:absolute;inset:0;padding:18px}
.mv-social-preview-content{
  position:relative!important;
  display:grid!important;
  grid-template-columns:200px 1fr!important;
  grid-template-rows:auto 1fr auto auto!important;
  gap:12px 26px!important;
  padding:16px!important;
  align-items:start!important;
  background:linear-gradient(180deg,rgba(255,255,255,.58) 0%,rgba(255,255,255,.42) 100%);
  border:1px solid rgba(193,171,212,.28);
  border-radius:34px;
  min-height:100%;
  justify-content:initial!important;
}
.mv-social-preview-copy{grid-column:2;grid-row:1 / span 2;align-self:center;padding-top:8px}
.mv-social-preview-visual{grid-column:1;grid-row:1 / span 3;position:relative;min-height:300px;display:flex;align-items:center;justify-content:center}
.mv-social-preview-frame{width:178px;height:270px;border:3px solid #d8c0ec;border-radius:88px 88px 20px 20px / 110px 110px 20px 20px;overflow:hidden;background:#fff;box-shadow:0 18px 28px rgba(160,129,177,.20);position:relative;z-index:2}
.mv-social-preview-bg,.mv-social-preview-bg img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:cover;object-position:center center;filter:none!important;display:block}
.mv-social-preview-flowers{position:absolute;left:-6px;bottom:8px;width:120px;height:96px;background:radial-gradient(circle at 30% 45%,#fff 0 9px,transparent 10px),radial-gradient(circle at 44% 32%,#f5ecff 0 12px,transparent 13px),radial-gradient(circle at 58% 54%,#fff 0 13px,transparent 14px),radial-gradient(circle at 73% 28%,#c7a6ef 0 8px,transparent 9px),radial-gradient(circle at 78% 62%,#b78ae8 0 7px,transparent 8px),linear-gradient(140deg,rgba(181,145,226,.68),rgba(181,145,226,0) 70%);opacity:.95;filter:drop-shadow(0 10px 14px rgba(130,101,153,.18));z-index:3}
.mv-social-preview-topline{background:none!important;border:none!important;padding:0!important;font-family:Georgia,"Times New Roman",serif!important;font-size:34px!important;line-height:1.05!important;font-weight:500!important;color:#2d2440!important;display:block!important;box-shadow:none!important}
.mv-social-preview-chip{background:#e6dbfb!important;color:#7e56ca!important;box-shadow:none!important;font-size:11px!important;font-weight:800!important;padding:8px 14px!important;margin-bottom:14px;display:inline-flex!important}
.mv-social-preview h2{font-size:56px!important;line-height:1.02!important;color:var(--mv-social-accent)!important;text-shadow:none!important;margin:12px 0 8px!important;font-family:Georgia,"Times New Roman",serif!important;font-weight:600!important}
.mv-social-preview-line{width:170px!important;height:2px!important;background:linear-gradient(90deg,#d6bfeb 0%,#caaee6 50%,#d6bfeb 100%)!important;margin:12px 0!important;position:relative}
.mv-social-preview-line:after{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;background:#f6ebff;border:1px solid #cfb8e8;border-radius:50%;transform:translate(-50%,-50%)}
.mv-social-preview-dates{display:flex!important;align-items:center;gap:10px;font-size:14px!important;color:#6b5f7d!important;opacity:1!important;font-weight:700!important;flex-wrap:wrap}
.mv-social-preview-dates .mv-date-dot{width:14px;height:14px;color:var(--mv-social-accent)}
.mv-social-preview-dates .mv-date-dot svg{width:14px;height:14px;stroke-width:1.9}
.mv-social-date-sep{color:#8d68d1!important;font-weight:900!important;font-size:15px}
.mv-social-preview p{max-width:100%!important;font-size:18px!important;color:#50455f!important;line-height:1.55!important;margin-top:12px!important}
.mv-social-preview-actions-row{grid-column:1 / -1;grid-row:3;display:flex;justify-content:center;padding-top:6px}
.mv-social-preview-cta-btn{background:linear-gradient(90deg,#7f52ff 0%,#9c62ff 100%);color:#fff;border-radius:999px;padding:14px 34px;font-size:16px;font-weight:700;box-shadow:0 12px 24px rgba(133,90,255,.30);min-width:220px;text-align:center}
.mv-social-preview-footer-card{grid-column:1 / -1;grid-row:4;margin-top:2px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(222,205,240,.65)!important;border-radius:22px!important;padding:12px 16px!important;box-shadow:none!important;backdrop-filter:blur(4px)}
.mv-social-preview-footer-main{gap:10px!important}
.mv-social-preview-mark{width:34px!important;height:34px!important;border-radius:999px!important;background:#efe4ff!important;color:#8a5fe0!important}
.mv-social-preview-mark svg{width:16px!important;height:16px!important}
.mv-social-preview-footer-copy span{color:#775fd8!important;font-size:11px!important;max-width:280px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-social-preview-qr{background:#fff!important;border:1px solid #e4d7f7!important;border-radius:16px!important;padding:8px!important;box-shadow:0 10px 20px rgba(159,130,181,.12)!important}
.mv-social-preview-qr canvas,.mv-social-preview-qr img{width:74px!important;height:74px!important;min-width:74px!important;min-height:74px!important}
.mv-social-preview-deco-left,.mv-social-preview-deco-right{background:none!important}
.mv-social-preview-shell:before{content:"";position:absolute;left:18px;top:18px;width:110px;height:180px;background:linear-gradient(180deg,rgba(198,170,233,.35),rgba(198,170,233,0));clip-path:path('M35 0 C20 20, 15 36, 24 52 C8 62, 12 88, 38 94 C18 114, 30 136, 58 134 C44 158, 64 180, 94 180');opacity:.9}
.mv-social-preview-shell:after{content:"";position:absolute;right:26px;top:24px;width:84px;height:128px;background:linear-gradient(180deg,rgba(207,186,236,.30),rgba(207,186,236,0));clip-path:path('M22 0 C15 12, 12 28, 19 40 C6 50, 8 70, 26 74 C15 92, 24 110, 47 109 C35 124, 49 138, 70 128');opacity:.85}
.mv-social-preview.template-classico,
.mv-social-preview.template-classico .mv-social-preview-content{background:linear-gradient(180deg,#faf5fb 0%,#f6eef8 100%)!important}
.mv-social-preview.template-classico .mv-social-preview-topline,
.mv-social-preview.template-classico h2,
.mv-social-preview.template-classico p{color:#2d2440!important}
.mv-social-preview.template-classico .mv-social-preview-chip{background:#ece0ff!important;color:#7e56ca!important}
.mv-social-preview.template-classico .mv-social-preview-footer-card{background:rgba(255,255,255,.82)!important}
.mv-social-preview.bg-image-only .mv-social-preview-shell,
.mv-social-preview.bg-image-only .mv-social-preview-content{background:linear-gradient(180deg,rgba(255,255,255,.60) 0%,rgba(255,255,255,.48) 100%)!important}
@media(max-width:760px){
  .mv-social-preview-content{grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto!important;padding:14px!important;gap:14px!important}
  .mv-social-preview-copy{grid-column:1;grid-row:2;padding-top:0;text-align:center}
  .mv-social-preview-visual{grid-column:1;grid-row:1;min-height:220px}
  .mv-social-preview-frame{width:160px;height:238px}
  .mv-social-preview h2{font-size:40px!important}
  .mv-social-preview-line{margin-left:auto!important;margin-right:auto!important}
  .mv-social-preview-dates,.mv-social-preview p{justify-content:center;text-align:center}
  .mv-social-preview-footer-card{flex-direction:row!important;align-items:center!important}
  .mv-social-preview-footer-copy span{max-width:160px!important}
}

/* v1.9.21 — menos cantos arredondados e prévia alinhada ao PNG */
.mv-family-social-stage{
  border-radius:6px!important;
}
.mv-social-preview{
  border-radius:4px!important;
}
.mv-social-preview-content{
  border-radius:4px!important;
}
.mv-social-preview-frame{
  border-radius:18px!important;
}
.mv-social-preview-chip{
  border-radius:6px!important;
}
.mv-social-preview-cta-btn{
  border-radius:6px!important;
}
.mv-social-preview-footer-card{
  border-radius:6px!important;
}
.mv-social-preview-mark{
  border-radius:6px!important;
}
.mv-social-preview-qr{
  border-radius:6px!important;
}
.mv-social-preview-topline{
  border-radius:0!important;
}

/* v1.9.22 — Incart Social com foto da pessoa separada da foto de fundo */
.mv-social-background-upload-row{margin-top:14px}
.mv-social-person-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(180deg,#f8f0ff,#eee3fb);color:var(--mv-social-accent)}
.mv-social-person-placeholder svg{width:54px;height:54px;opacity:.55}

.mv-social-preview{
  isolation:isolate;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(176,143,226,.18),transparent 27%),
    radial-gradient(circle at 92% 78%,rgba(218,188,232,.22),transparent 32%),
    linear-gradient(135deg,#faf5ff 0%,#fffafc 52%,#f6eef9 100%)!important;
  box-shadow:0 22px 45px rgba(117,86,133,.16)!important;
}
.mv-social-preview.is-square{aspect-ratio:1/1!important}
.mv-social-card-background{position:absolute;inset:0;z-index:0;opacity:0;transition:opacity .2s ease;overflow:hidden}
.mv-social-card-background img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;filter:saturate(.88) brightness(1.06)}
.mv-social-preview.bg-image-only .mv-social-card-background{opacity:1}
.mv-social-preview.bg-image-only:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(110deg,rgba(251,245,255,.90) 0%,rgba(255,250,252,.82) 48%,rgba(246,238,249,.84) 100%);pointer-events:none}
.mv-social-preview-shell{z-index:2!important;padding:20px!important}
.mv-social-preview-content{
  position:relative!important;
  z-index:3!important;
  min-height:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,41%) minmax(0,59%)!important;
  grid-template-rows:minmax(0,1fr) auto auto!important;
  gap:12px 24px!important;
  padding:26px 28px!important;
  border:1px solid rgba(199,177,218,.30)!important;
  border-radius:22px!important;
  overflow:hidden;
  background:linear-gradient(120deg,rgba(255,255,255,.58),rgba(255,255,255,.38))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
.mv-social-preview-content:before,.mv-social-preview-content:after{content:"";position:absolute;pointer-events:none;z-index:0;opacity:.55}
.mv-social-preview-content:before{left:-38px;top:-30px;width:180px;height:220px;background:radial-gradient(ellipse at 55% 20%,rgba(143,104,205,.34) 0 12%,transparent 13%),radial-gradient(ellipse at 25% 45%,rgba(143,104,205,.24) 0 11%,transparent 12%),radial-gradient(ellipse at 70% 55%,rgba(143,104,205,.22) 0 10%,transparent 11%);transform:rotate(-18deg)}
.mv-social-preview-content:after{right:-48px;bottom:-24px;width:180px;height:230px;background:radial-gradient(ellipse at 30% 28%,rgba(151,113,210,.26) 0 11%,transparent 12%),radial-gradient(ellipse at 72% 52%,rgba(151,113,210,.20) 0 10%,transparent 11%),radial-gradient(ellipse at 38% 78%,rgba(151,113,210,.18) 0 9%,transparent 10%);transform:rotate(17deg)}
.mv-social-preview-visual,.mv-social-preview-copy,.mv-social-preview-actions-row,.mv-social-preview-footer-card{position:relative;z-index:2}
.mv-social-preview-visual{grid-column:1!important;grid-row:1!important;min-height:0!important;align-self:stretch;display:flex!important;align-items:center!important;justify-content:center!important;padding:6px 0 0!important}
.mv-social-preview-frame{
  width:min(100%,205px)!important;
  height:318px!important;
  border:2px solid rgba(194,153,91,.72)!important;
  border-radius:50% 50% 18px 18px / 22% 22% 18px 18px!important;
  padding:5px!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:0 18px 30px rgba(130,101,153,.18)!important;
  overflow:hidden!important;
}
.mv-social-person-photo{width:100%;height:100%;overflow:hidden;border-radius:48% 48% 13px 13px / 21% 21% 13px 13px;background:#efe7f7}
.mv-social-person-photo img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:50% 28%!important;filter:none!important}
.mv-social-preview-flowers{left:-6px!important;bottom:12px!important;width:170px!important;height:125px!important;z-index:4!important;opacity:1!important;background:
  radial-gradient(ellipse at 19% 69%,#7a9452 0 5%,transparent 6%),
  radial-gradient(ellipse at 29% 57%,#8aa25f 0 5%,transparent 6%),
  radial-gradient(circle at 38% 61%,#fff 0 9%,#eee9ef 10% 12%,transparent 13%),
  radial-gradient(circle at 49% 48%,#fdfcff 0 10%,#efe6f5 11% 13%,transparent 14%),
  radial-gradient(circle at 61% 62%,#d9c1ef 0 8%,transparent 9%),
  radial-gradient(circle at 72% 47%,#b990df 0 7%,transparent 8%),
  radial-gradient(circle at 82% 66%,#c9a6e8 0 6%,transparent 7%)!important;
  filter:drop-shadow(0 9px 12px rgba(130,101,153,.15))!important;
}
.mv-social-preview-flowers:after{content:"";position:absolute;right:-22px;top:-6px;width:94px;height:118px;background:repeating-radial-gradient(ellipse at 50% 50%,rgba(136,93,196,.55) 0 3px,transparent 4px 15px);transform:rotate(-20deg);opacity:.55}
.mv-social-preview-copy{grid-column:2!important;grid-row:1!important;align-self:center!important;padding:2px 0 0!important;text-align:left!important}
.mv-social-preview-chip{background:linear-gradient(90deg,#eee4fb,#e7dcf7)!important;color:#7451c3!important;border-radius:999px!important;padding:8px 14px!important;margin:0 0 13px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.02em!important;box-shadow:none!important}
.mv-social-preview-topline{font-family:Georgia,"Times New Roman",serif!important;font-size:33px!important;line-height:1.03!important;font-weight:500!important;color:#272236!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.mv-social-preview-line{position:relative!important;width:78%!important;height:20px!important;margin:10px 0 7px!important;background:linear-gradient(90deg,transparent 0 3%,#c9a563 3% 44%,transparent 44% 56%,#c9a563 56% 97%,transparent 97%) center/100% 1px no-repeat!important}
.mv-social-preview-line:after{content:"♥"!important;width:auto!important;height:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-55%)!important;border:0!important;background:#fff7ef!important;color:#c9a563!important;font-size:14px!important;line-height:1!important;padding:0 5px!important}
.mv-social-preview h2{font-family:Georgia,"Times New Roman",serif!important;font-size:48px!important;line-height:1!important;font-weight:500!important;color:var(--mv-social-accent)!important;margin:2px 0 13px!important;text-shadow:none!important}
.mv-social-preview-dates{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;color:#41394c!important;font-size:12px!important;font-weight:600!important;opacity:1!important}
.mv-social-date-item{gap:6px!important}.mv-social-date-sep{display:none!important}
.mv-social-preview-dates .mv-date-dot{width:13px!important;height:13px!important;color:var(--mv-social-accent)!important}.mv-social-preview-dates .mv-date-dot svg{width:13px!important;height:13px!important}
.mv-social-preview p{max-width:100%!important;margin:12px 0 0!important;color:#574d62!important;font-size:13px!important;line-height:1.45!important}
.mv-social-preview-actions-row{grid-column:1 / -1!important;grid-row:2!important;display:flex!important;justify-content:center!important;padding:0!important;margin-top:0!important}
.mv-social-preview-cta-btn{min-width:280px!important;max-width:78%!important;padding:13px 28px!important;border-radius:999px!important;background:linear-gradient(90deg,#6949de,var(--mv-social-accent))!important;color:#fff!important;font-size:14px!important;font-weight:700!important;box-shadow:0 10px 22px rgba(105,73,222,.28)!important}
.mv-social-preview-cta-btn:after{content:"→";display:inline-block;margin-left:12px;font-size:17px;line-height:1;vertical-align:-1px}
.mv-social-preview-footer-card{grid-column:1 / -1!important;grid-row:3!important;min-height:72px!important;margin:4px 0 0!important;padding:9px 14px 9px 15px!important;border-radius:18px!important;border:1px solid rgba(219,202,235,.72)!important;background:rgba(255,255,255,.80)!important;box-shadow:0 7px 18px rgba(123,89,146,.08)!important;backdrop-filter:blur(8px)!important}
.mv-social-preview-footer-main{gap:9px!important}.mv-social-preview-mark{width:31px!important;height:31px!important;border-radius:999px!important;background:#f0e7fb!important;color:#7855cf!important}.mv-social-preview-mark svg{width:14px!important;height:14px!important}
.mv-social-preview-footer-copy span{max-width:360px!important;color:#6852bd!important;font-size:10px!important;font-weight:600!important}
.mv-social-preview-qr{padding:6px!important;border-radius:10px!important;background:#fff!important;border:1px solid #eadff4!important;box-shadow:0 6px 14px rgba(112,83,129,.12)!important}
.mv-social-preview-qr canvas,.mv-social-preview-qr img{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important}
.mv-social-preview.template-classico,.mv-social-preview.template-classico .mv-social-preview-content{background:linear-gradient(135deg,#faf5ff,#fffafc 52%,#f6eef9)!important}
.mv-social-preview.template-classico .mv-social-preview-topline,.mv-social-preview.template-classico h2,.mv-social-preview.template-classico p{color:inherit!important}

.mv-social-preview.is-story .mv-social-preview-content{grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto!important;padding:28px 24px!important;gap:16px!important}
.mv-social-preview.is-story .mv-social-preview-visual{grid-column:1!important;grid-row:1!important;min-height:440px!important;padding-top:16px!important}
.mv-social-preview.is-story .mv-social-preview-frame{width:250px!important;height:400px!important}
.mv-social-preview.is-story .mv-social-preview-copy{grid-column:1!important;grid-row:2!important;text-align:center!important;align-self:start!important}
.mv-social-preview.is-story .mv-social-preview-chip{align-self:center!important}
.mv-social-preview.is-story .mv-social-preview-topline{font-size:40px!important}
.mv-social-preview.is-story .mv-social-preview-line{margin-left:auto!important;margin-right:auto!important;width:66%!important}
.mv-social-preview.is-story h2{font-size:58px!important}.mv-social-preview.is-story .mv-social-preview-dates{justify-content:center!important}.mv-social-preview.is-story p{text-align:center!important;font-size:15px!important}
.mv-social-preview.is-story .mv-social-preview-actions-row{grid-column:1!important;grid-row:3!important}.mv-social-preview.is-story .mv-social-preview-footer-card{grid-column:1!important;grid-row:4!important}

@media(max-width:760px){
  .mv-social-preview-content{padding:18px!important;gap:10px 16px!important}
  .mv-social-preview-frame{width:160px!important;height:248px!important}
  .mv-social-preview-topline{font-size:27px!important}
  .mv-social-preview h2{font-size:39px!important}
  .mv-social-preview-dates{font-size:10px!important;gap:6px!important}
  .mv-social-preview p{font-size:11px!important;margin-top:8px!important}
  .mv-social-preview-cta-btn{min-width:230px!important;font-size:12px!important;padding:11px 22px!important}
  .mv-social-preview-footer-copy span{max-width:220px!important}
  .mv-social-preview-qr canvas,.mv-social-preview-qr img{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important}
}
@media(max-width:540px){
  .mv-social-preview-content{grid-template-columns:40% 60%!important;padding:12px!important;gap:8px 10px!important}
  .mv-social-preview-frame{width:128px!important;height:198px!important}
  .mv-social-preview-flowers{transform:scale(.72);transform-origin:left bottom}
  .mv-social-preview-chip{font-size:8px!important;padding:6px 9px!important;margin-bottom:7px!important}
  .mv-social-preview-topline{font-size:21px!important}
  .mv-social-preview-line{height:14px!important;margin:5px 0 3px!important}
  .mv-social-preview h2{font-size:31px!important;margin-bottom:8px!important}
  .mv-social-preview-dates{font-size:8.5px!important}
  .mv-social-preview p{font-size:9px!important;line-height:1.35!important;margin-top:6px!important}
  .mv-social-preview-cta-btn{min-width:190px!important;padding:9px 18px!important;font-size:10px!important}
  .mv-social-preview-footer-card{min-height:55px!important;padding:6px 8px!important}
  .mv-social-preview-mark{width:25px!important;height:25px!important}.mv-social-preview-footer-copy span{max-width:145px!important;font-size:8px!important}
  .mv-social-preview-qr canvas,.mv-social-preview-qr img{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  .mv-social-preview.is-story .mv-social-preview-content{grid-template-columns:1fr!important;padding:18px 14px!important}
  .mv-social-preview.is-story .mv-social-preview-visual{min-height:330px!important}.mv-social-preview.is-story .mv-social-preview-frame{width:190px!important;height:300px!important}
  .mv-social-preview.is-story .mv-social-preview-topline{font-size:31px!important}.mv-social-preview.is-story h2{font-size:44px!important}.mv-social-preview.is-story p{font-size:12px!important}
}

/* v1.9.23 — fundo salvo e sem efeitos visuais sobre a imagem */
.mv-social-card-background{
  transition:none!important;
}
.mv-social-card-background img{
  filter:none!important;
  opacity:1!important;
}
.mv-social-preview.bg-image-only:after{
  display:none!important;
  content:none!important;
}
.mv-social-preview.bg-image-only{
  background:#fff!important;
  box-shadow:none!important;
}
.mv-social-preview.bg-image-only .mv-social-preview-content{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.mv-social-preview.bg-image-only .mv-social-preview-content:before,
.mv-social-preview.bg-image-only .mv-social-preview-content:after,
.mv-social-preview.bg-image-only .mv-social-preview-deco{
  display:none!important;
  content:none!important;
}
.mv-social-preview-frame,
.mv-social-preview-cta-btn,
.mv-social-preview-footer-card,
.mv-social-preview-qr{
  box-shadow:none!important;
  filter:none!important;
}
.mv-social-preview-footer-card{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.mv-family-social-actions [data-social-save].is-saving{
  opacity:.65;
  cursor:wait;
}

/* v1.9.24 — remove somente os efeitos decorativos sobre/ao redor da foto da pessoa */
.mv-social-preview-flowers,
.mv-social-preview-flowers::before,
.mv-social-preview-flowers::after{
  display:none!important;
  content:none!important;
  background:none!important;
  box-shadow:none!important;
  filter:none!important;
}


/* v1.9.25 — alinhamento dos campos, conteúdo do Incart e QR visível no painel */
.mv-family-social-form .mv-grid-2{
  align-items:stretch!important;
}
.mv-family-social-form .mv-grid-2 > label,
.mv-family-social-form .mv-social-bg-grid > .mv-social-bg-upload-field,
.mv-family-social-form .mv-social-color-grid > label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
}
.mv-family-social-form .mv-grid-2 > label > .mv-field-label,
.mv-family-social-form .mv-social-bg-grid > .mv-social-bg-upload-field > .mv-field-label,
.mv-family-social-form .mv-social-color-grid > label > .mv-field-label{
  min-height:20px!important;
  margin:0 0 8px!important;
  display:flex!important;
  align-items:center!important;
}
.mv-family-social-form .mv-social-model-select,
.mv-family-social-form .mv-social-bg-upload-button,
.mv-family-social-form .mv-social-color-input-wrap,
.mv-family-social-form .mv-input-icon-wrap{
  width:100%!important;
}
.mv-family-social-form .mv-social-model-select select,
.mv-family-social-form .mv-social-bg-upload-button,
.mv-family-social-form .mv-social-color-input-wrap > input,
.mv-family-social-form .mv-grid-2 > label > input[type="text"],
.mv-family-social-form .mv-grid-2 > label > select{
  min-height:54px!important;
}
.mv-family-social-form .mv-social-background-upload-row{
  margin-top:0!important;
}
.mv-family-social-form .mv-social-background-upload-row .mv-social-bg-upload-button{
  min-height:54px!important;
}

/* Desce levemente o bloco de informações para alinhar com o centro da foto. */
.mv-social-preview:not(.is-story) .mv-social-preview-copy{
  align-self:center!important;
  transform:translateY(16px)!important;
}
.mv-social-preview:not(.is-story) .mv-social-preview-visual{
  align-self:center!important;
}

/* QR do Incart: área quadrada fixa e canvas sempre visível. */
.mv-social-preview-qr{
  width:72px!important;
  height:72px!important;
  min-width:72px!important;
  min-height:72px!important;
  padding:6px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  flex:0 0 72px!important;
}
.mv-social-preview-qr canvas,
.mv-social-preview-qr img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  max-width:58px!important;
  max-height:58px!important;
  margin:0!important;
}
.mv-social-preview-qr canvas + img,
.mv-social-preview-qr img + canvas{
  display:none!important;
}
@media(max-width:760px){
  .mv-social-preview:not(.is-story) .mv-social-preview-copy{transform:translateY(10px)!important}
  .mv-social-preview-qr{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;flex-basis:64px!important}
  .mv-social-preview-qr canvas,.mv-social-preview-qr img{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;max-width:50px!important;max-height:50px!important}
}
@media(max-width:540px){
  .mv-social-preview:not(.is-story) .mv-social-preview-copy{transform:translateY(6px)!important}
  .mv-social-preview-qr{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;flex-basis:52px!important}
  .mv-social-preview-qr canvas,.mv-social-preview-qr img{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important}
}


/* v1.9.26 — painel e imagem do Incart sem bordas boleadas e com preenchimento total */
.mv-family-social-preview-card{
  border-radius:0!important;
}
.mv-family-social-stage{
  padding:0!important;
  border-radius:0!important;
  border:0!important;
  background:transparent!important;
}
.mv-social-preview,
.mv-social-preview-content,
.mv-social-preview-shell,
.mv-social-card-background,
.mv-social-card-background img{
  border-radius:0!important;
}
.mv-social-preview{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
.mv-social-preview-shell{
  padding:0!important;
}
.mv-social-preview-content{
  min-height:100%!important;
}
.mv-social-preview.is-story{
  max-width:100%!important;
}


/* v1.9.27 — prévia realmente full width, sem cantos arredondados */
.mv-family-app .mv-family-social-layout .mv-family-panel-card.mv-family-social-preview-card{
  padding:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.mv-family-app .mv-family-social-preview-card .mv-family-social-preview-head{
  margin:0!important;
  padding:22px 22px 14px!important;
}
.mv-family-app .mv-family-social-preview-card .mv-family-social-stage{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:transparent!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-preview{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-preview-shell{
  inset:0!important;
  padding:0!important;
  border-radius:0!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-preview-content{
  width:100%!important;
  min-height:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-card-background{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-card-background img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:0!important;
}
.mv-family-app .mv-family-social-preview-card .mv-family-social-tip-box{
  margin:18px 22px 22px!important;
}
@media(max-width:760px){
  .mv-family-app .mv-family-social-preview-card .mv-family-social-preview-head{padding:18px 18px 12px!important}
  .mv-family-app .mv-family-social-preview-card .mv-family-social-tip-box{margin:16px 18px 18px!important}
}


/* v1.9.28 — corrige alinhamento vertical dos botões de upload da foto da pessoa e foto de fundo */
.mv-social-bg-upload-button{
  min-height:56px!important;
  padding:4px 16px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
}
.mv-social-bg-upload-button > i,
.mv-social-bg-upload-button > span{
  align-self:center!important;
  margin:0!important;
}
.mv-social-bg-upload-button > i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  line-height:1!important;
}
.mv-social-bg-upload-button > span{
  display:flex!important;
  align-items:center!important;
  line-height:1.2!important;
  min-height:20px!important;
}


/* v1.9.29 — somente a imagem/prévia sem cantos boleados; card de conteúdo pode continuar boleado */
.mv-family-social-preview-card{
  border-radius:28px!important;
}
.mv-family-social-stage{
  border-radius:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.mv-social-preview,
.mv-social-preview-shell,
.mv-social-card-background,
.mv-social-card-background img{
  border-radius:0!important;
}
/* Mantém o card interno de conteúdo arredondado */
.mv-social-preview-content{
  border-radius:22px!important;
}


/* v1.9.30 — corrige exatamente o pedido: painel pode ser boleado; imagem da prévia fica 100% quadrada */
.mv-family-app .mv-family-social-layout .mv-family-panel-card.mv-family-social-preview-card{
  border-radius:28px!important;
  overflow:visible!important;
}
.mv-family-app .mv-family-social-preview-card .mv-family-social-stage,
.mv-family-app .mv-family-social-preview-card .mv-social-preview,
.mv-family-app .mv-family-social-preview-card .mv-social-preview-shell,
.mv-family-app .mv-family-social-preview-card .mv-social-preview-content,
.mv-family-app .mv-family-social-preview-card .mv-social-card-background,
.mv-family-app .mv-family-social-preview-card .mv-social-card-background img{
  border-radius:0!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-preview,
.mv-family-app .mv-family-social-preview-card .mv-social-preview-content{
  clip-path:none!important;
  mask:none!important;
  -webkit-mask:none!important;
}
.mv-family-app .mv-family-social-preview-card .mv-social-preview{
  overflow:hidden!important;
}
