/*
 * MINIVPS: tema da área do cliente.
 *
 * Todas as cores, fontes, tamanhos, raio e largura vêm das variáveis do site
 * (css/identity.css, gerado por tools/sync-identity.php). Não usar cor ou
 * fonte fixa aqui: a sincronização precisa conseguir mudar tudo.
 * Exceções: cores semânticas de erro/aviso do Bootstrap (o site não define).
 *
 * Cabeçalho: cartão do site (.site-header/.header__bar) com o menu do WHMCS
 * (.mvh-*). Rodapé e botões: mesmo CSS do tema WordPress
 * (~/minivps-theme/assets/css/main.css); .mv-badge no lugar de .badge.
 */

/* ------------------------------------------------------------------ */
/* Tokens derivados (só a partir das variáveis do site)               */
/* ------------------------------------------------------------------ */
:root {
	--gutter: 24px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--header-h: 64px;
	--mv-on-primary: var(--c-bg);
	--mv-radius-sm: calc(var(--radius) * .7);
	--shadow-sm: 0 1px 2px rgba(var(--c-dark-rgb), .05);
	--shadow: 0 1px 2px rgba(var(--c-dark-rgb), .04), 0 8px 24px -8px rgba(var(--c-dark-rgb), .08);
	--shadow-lg: 0 2px 4px rgba(var(--c-dark-rgb), .04), 0 24px 60px -20px rgba(var(--c-dark-rgb), .18);
	--shadow-primary: 0 8px 24px -8px rgba(var(--c-primary-rgb), .6);
	--mv-focus: 0 0 0 3px rgba(var(--c-primary-rgb), .18);
	--mv-field-focus: inset 0 0 0 3px rgba(var(--c-primary-rgb), .06); /* foco de campo: só por dentro */
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }
body.mv {
	background: var(--c-bg-alt);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: var(--lh);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.mv input, .mv button, .mv select, .mv textarea { font-family: var(--f-body); }
.mv h1, .mv h2, .mv h3, .mv h4, .mv h5, .mv h6,
.mv .h1, .mv .h2, .mv .h3, .mv .h4, .mv .h5, .mv .h6 {
	font-family: var(--f-heading);
	font-weight: var(--fw-heading);
	letter-spacing: var(--ls-heading);
	color: var(--c-heading);
	line-height: 1.15;
}
.mv h1 { font-size: calc(var(--fs-h1) * .55); }
.mv h2 { font-size: calc(var(--fs-h2) * .55); }
.mv h3 { font-size: var(--fs-h3); }
.mv a { color: var(--c-primary); transition: color .2s var(--ease); }
.mv a:hover, .mv a:focus { color: var(--c-primary-dark); }
.mv strong, .mv b { font-weight: 600; }
.mv code, .mv pre, .mv kbd { font-family: var(--f-mono); }
.mv :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.mv ::selection { background: rgba(var(--c-primary-rgb), .18); }
.mv .text-muted, .mv .help-block { color: var(--c-muted); }
.mv .text-primary { color: var(--c-primary); }
.mv .text-success { color: var(--c-success); }
.mv hr { border-top-color: var(--c-border); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-primary); color: var(--mv-on-primary); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--mv-on-primary); }

/* Container do site no lugar das larguras fixas do Bootstrap. */
.mv .container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* ------------------------------------------------------------------ */
/* Botões (site) — também aplicados aos botões do Bootstrap           */
/* ------------------------------------------------------------------ */
.mv .btn {
	--btn-bg: var(--c-surface);
	--btn-fg: var(--c-heading);
	--btn-bd: var(--c-border);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px;
	border-radius: var(--mv-radius-sm);
	border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg);
	font: 500 15px/1.2 var(--f-body);
	letter-spacing: -.01em;
	text-shadow: none;
	cursor: pointer; white-space: nowrap;
	box-shadow: var(--shadow-sm);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.mv .btn:hover, .mv .btn:focus { color: var(--btn-fg); transform: translateY(-1px); }
.mv .btn:active, .mv .btn.active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.mv .btn.disabled, .mv .btn[disabled] { opacity: .55; transform: none; }
.mv .btn--primary, .mv .btn-primary, .mv .btn-success {
	--btn-bg: var(--c-primary); --btn-fg: var(--mv-on-primary); --btn-bd: transparent;
	box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(var(--c-primary-rgb), .1);
}
.mv .btn--primary:hover, .mv .btn-primary:hover, .mv .btn-primary:focus,
.mv .btn-success:hover, .mv .btn-success:focus {
	--btn-bg: var(--c-primary-dark); box-shadow: 0 12px 28px -10px rgba(var(--c-primary-rgb), .8);
}
.mv .btn--ghost, .mv .btn-default, .mv .btn-info, .mv .btn-secondary { --btn-bg: var(--c-surface); --btn-fg: var(--c-heading); --btn-bd: var(--c-border); }
.mv .btn--ghost:hover, .mv .btn-default:hover, .mv .btn-default:focus { --btn-bd: rgba(var(--c-primary-rgb), .35); --btn-bg: var(--c-surface); }
.mv .btn--outline { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: rgba(var(--c-primary-rgb), .35); box-shadow: none; }
.mv .btn--outline:hover { --btn-bg: var(--c-primary); --btn-fg: var(--mv-on-primary); --btn-bd: var(--c-primary); }
.mv .btn-link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--c-primary); box-shadow: none; }
.mv .btn-danger, .mv .btn-warning { box-shadow: none; }
.mv .btn--sm, .mv .btn-sm, .mv .btn-xs { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.mv .btn-xs { min-height: 26px; padding: 0 10px; font-size: 12.5px; }
.mv .btn--lg, .mv .btn-lg { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.mv .btn-block, .mv .btn--block { display: flex; width: 100%; }
.mv .btn-group > .btn, .mv .input-group-btn > .btn { box-shadow: none; transform: none; }
.mv .input-group-btn > .btn { min-height: 0; height: 100%; }

.mv-badge {
	display: inline-flex; align-items: center;
	padding: 3px 8px; border-radius: 6px;
	font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
	background: var(--c-primary-soft); color: var(--c-primary);
	vertical-align: middle; white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Cabeçalho (site)                                                   */
/* ------------------------------------------------------------------ */
.site-header { position: relative; z-index: 50; padding: 12px 0; }
.header__bar {
	display: flex; align-items: center; gap: 24px;
	height: var(--header-h); padding: 0 12px 0 20px;
	border-radius: calc(var(--radius) + 2px);
	background-color: var(--c-surface);
	border: 1px solid rgba(var(--c-primary-rgb), .12);
	box-shadow: 0 1px 2px rgba(var(--c-dark-rgb), .03), 0 10px 30px -18px rgba(var(--c-primary-rgb), .35);
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-heading); font-family: var(--f-heading); font-size: 19px; letter-spacing: -.02em; flex: none; }
.brand:hover, .brand:focus { color: var(--c-heading); text-decoration: none; }
.brand img { display: block; max-width: none; }
.brand__text { font-weight: 600; }


.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-heading); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.lang-switch__btn:hover, .lang-switch.is-open .lang-switch__btn { border-color: rgba(var(--c-primary-rgb), .35); background: var(--c-bg-alt); }
.flag { width: 18px; height: 12px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(var(--c-dark-rgb), .08); flex: none; display: inline-block; vertical-align: middle; }
.lang-switch__chev { color: var(--c-muted); transition: transform .2s var(--ease); }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 95; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.mv .lang-switch__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--c-heading); font-size: 14px; }
.mv .lang-switch__item:hover, .mv .lang-switch__item:focus { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.lang-switch__item.is-current { font-weight: 600; }
.lang-switch__check { margin-left: auto; color: var(--c-primary); }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--c-border); background: var(--c-surface); cursor: pointer; padding: 0; position: relative; flex: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--c-heading); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Cabeçalho único da área do cliente: menu do WHMCS (.mvh-*) */
.mvh-nav { flex: 1; display: flex; align-items: center; min-width: 0; }
.mvh-nav__head, .mvh-nav__foot { display: none; }
.mvh-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mvh-item { position: relative; }
.mv .mvh-link {
	display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: none;
	color: var(--c-muted); font: 500 14.5px/1 var(--f-body); white-space: nowrap; cursor: pointer; text-decoration: none;
}
.mv .mvh-link:hover, .mv .mvh-link:focus-visible, .mvh-dd.is-open > .mvh-link, .mvh-item.is-active > .mvh-link { color: var(--c-heading); background: rgba(var(--c-primary-rgb), .06); text-decoration: none; }
.mvh-item.is-active > .mvh-link { color: var(--c-primary); }
.mv .mvh-link:focus-visible, .mvh-icon-btn:focus-visible, .mv .mvh-sublink:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.mv .mvh-link:focus:not(:focus-visible), .mvh-icon-btn:focus:not(:focus-visible), .mvh-user__btn:focus:not(:focus-visible) { outline: 0; }
.mvh-chev { flex: none; opacity: .7; transition: transform .2s var(--ease); }
.mvh-dd.is-open > .mvh-dd__btn .mvh-chev { transform: rotate(180deg); }
.mvh-panel {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 95; min-width: 230px; max-width: calc(100vw - 24px); padding: 6px;
	background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.mvh-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* ponte para o hover */
.mvh-panel--right, .mvh-panel.is-flipped { left: auto; right: 0; }
.mvh-dd.is-open > .mvh-panel { opacity: 1; visibility: visible; transform: none; }
.mvh-sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mv .mvh-sublink {
	display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px;
	color: var(--c-heading); font-size: 14.5px; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.mv .mvh-sublink:hover, .mv .mvh-sublink:focus { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.mv .mvh-sublink[aria-current="page"] { background: var(--c-primary-soft); color: var(--c-primary); }
.mv .mvh-sublink--logout { color: var(--c-muted); }
.mvh-sep { height: 1px; margin: 5px 6px; background: var(--c-border); }
.mvh-badge, .mvh-count {
	display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
	background: var(--c-primary); color: var(--mv-on-primary); font: 600 11px/1 var(--f-body);
}
.mvh-sublink .mvh-badge { margin-left: auto; }
.mvh-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 38px; height: 36px; padding: 0;
	border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-heading); cursor: pointer; transition: border-color .2s, background .2s;
}
.mv a.mvh-icon-btn { color: var(--c-heading); }
.mvh-icon-btn:hover, .mvh-dd.is-open > .mvh-icon-btn { border-color: rgba(var(--c-primary-rgb), .35); background: var(--c-bg-alt); }
.mvh-count { position: absolute; top: -6px; right: -6px; box-shadow: 0 0 0 2px var(--c-surface); }
.mvh-panel__title { margin: 4px 8px 6px; color: var(--c-muted); font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.mvh-notify__panel { width: 340px; }
.mvh-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mv .mvh-alert a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--c-text); font-size: 14px; line-height: 1.4; text-decoration: none; }
.mv .mvh-alert a:hover, .mv .mvh-alert a:focus { background: var(--c-bg-alt); color: var(--c-heading); }
.mvh-alert__dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--c-primary); }
.mvh-alert--warning .mvh-alert__dot { background: var(--warning); }
.mvh-alert--danger .mvh-alert__dot { background: var(--danger); }
.mvh-alert--success .mvh-alert__dot { background: var(--c-success); }
.mvh-alerts__none { padding: 10px; color: var(--c-muted); font-size: 14px; }
.mvh-user__btn .btn__label { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.mvh-user .mvh-panel { min-width: 260px; }
.mvh-who { display: grid; gap: 2px; padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--c-border); min-width: 0; }
.mvh-who__name { color: var(--c-heading); font-size: 14.5px; }
.mvh-who__line { color: var(--c-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvh-notify, .mvh-user { position: relative; }
.mvh-burger { display: none; }

@media (max-width: 991px) {
	.mvh-desktop { display: none !important; }
	.mvh-burger { display: block; }
	.mvh-nav {
		position: fixed; inset: 0 0 0 auto; z-index: 1050; width: min(380px, 100%);
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 18px 24px; overflow-y: auto;
		background: var(--c-surface); box-shadow: var(--shadow-lg);
		transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	}
	.mvh-open .mvh-nav { transform: none; visibility: visible; }
	.mvh-open::after { content: ""; position: fixed; inset: 0; z-index: 1040; background: rgba(var(--c-dark-rgb), .35); }
	.mvh-open { overflow: hidden; }
	.mvh-nav__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; padding: 14px 0; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
	.mvh-nav__title { color: var(--c-heading); font: 600 16px/1 var(--f-heading); }
	.mvh-list { flex-direction: column; align-items: stretch; gap: 0; }
	.mvh-item { border-bottom: 1px solid var(--c-border); }
	.mv .mvh-link { width: 100%; height: auto; justify-content: flex-start; padding: 15px 4px; font-size: 16px; color: var(--c-heading); border-radius: 0; background: none !important; }
	.mvh-link .mvh-chev { margin-left: auto; }
	.mvh-panel { position: static; display: none; min-width: 0; max-width: none; padding: 0 0 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
	.mvh-panel::before { display: none; }
	.mvh-dd.is-open > .mvh-panel { display: block; }
	.mv .mvh-sublink { padding: 11px 12px; white-space: normal; }
	.mvh-nav__foot { display: grid; gap: 12px; margin-top: 16px; }
	.mvh-nav__account { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0 12px; }
	.mvh-nav__account .mvh-who { padding-left: 4px; padding-right: 4px; }
	.mvh-nav__account .mvh-who__name { display: none; }
	.mvh-nav__langs { display: flex; gap: 8px; }
	.mv .mvh-lang { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 1px solid var(--c-border); border-radius: 10px; color: var(--c-heading); font-size: 14px; text-decoration: none; }
	.mv .mvh-lang.is-current { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; }
	.mvh-nav__foot .btn { width: 100%; justify-content: center; }
	.mvh-notify__panel { position: fixed; top: calc(var(--header-h) + 22px); left: 12px; right: 12px; display: block; width: auto; opacity: 0; visibility: hidden; padding: 6px; border: 1px solid var(--c-border); box-shadow: var(--shadow-lg); }
	.mvh-notify.is-open > .mvh-notify__panel { opacity: 1; visibility: visible; }
}

.mv .dropdown-menu {
	padding: 6px; border: 1px solid var(--c-border); border-radius: 12px;
	background: var(--c-surface); box-shadow: var(--shadow-lg); font-size: 14px;
}
.mv .dropdown-menu li.dropdown-item { padding: 0; background: none; }
.mv .dropdown-item, .mv .dropdown-menu a { padding: 8px 12px; border-radius: 8px; color: var(--c-heading); }
.mv .dropdown-item:hover, .mv .dropdown-item:focus, .mv .dropdown-menu a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.mv .dropdown-item.active, .mv .dropdown-item:active { background: var(--c-primary-soft); color: var(--c-primary); }
.mv .dropdown-divider { border-top-color: var(--c-border); margin: 6px 0; }
.mv .popover { border-color: var(--c-border); border-radius: 12px; box-shadow: var(--shadow-lg); font-family: var(--f-body); }

/* Migalhas: pílula clara; casa no primeiro item; atual destacada e não clicável */
.mv-crumbs { padding: 6px 0 0; }
.mv-crumbs__list {
	display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 2px; max-width: 100%; margin: 0; padding: 4px; list-style: none;
	background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 13.5px; line-height: 1.2;
}
.mv-crumbs__item { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.mv .mv-crumbs__link { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 8px; border-radius: calc(var(--radius) - 4px); color: var(--c-muted); text-decoration: none; }
.mv .mv-crumbs__link:hover, .mv .mv-crumbs__link:focus-visible { color: var(--c-primary); background: var(--c-surface); text-decoration: none; }
.mv-crumbs__here { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 10px; border-radius: calc(var(--radius) - 4px); background: var(--c-primary-soft); color: var(--c-text); font-weight: 600; }
.mv-crumbs__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.is-current .mv-crumbs__text { max-width: 40ch; }
.mv-crumbs__text--home { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mv-crumbs__home { flex: none; }
.mv-crumbs__sep { flex: none; color: var(--c-muted); opacity: .6; }
.mv-crumbs__back { display: none; flex: none; }
@media (max-width: 639px) {
	.mv-crumbs__item:not(.is-prev):not(.is-current) { display: none; }
	.mv-crumbs__item.is-prev .mv-crumbs__sep { display: none; }
	.mv-crumbs__item.is-prev .mv-crumbs__back { display: inline-block; }
	.mv-crumbs__item.is-prev .mv-crumbs__home { display: none; }
	.mv-crumbs__item.is-prev .mv-crumbs__text--home { position: static; width: auto; height: auto; clip: auto; }
	.mv-crumbs__item.is-prev .mv-crumbs__text { max-width: 14ch; }
	.mv-crumbs__item.is-current .mv-crumbs__text { max-width: 24ch; }
	.mv-crumbs__item.is-current .mv-crumbs__home { display: none; }
}

/* ------------------------------------------------------------------ */
/* Conteúdo                                                           */
/* ------------------------------------------------------------------ */
body.mv.primary-bg-color, .mv #main-body { background: var(--c-bg-alt); }
.mv #main-body { padding: 24px 0 56px; min-height: 50vh; }
.mv .header-lined { margin: 0 0 24px; padding: 0; border: 0; }
.mv .header-lined h1 { margin: 0 0 6px; font-size: calc(var(--fs-h1) * .55); }

/* Cartões (cards e barras laterais) */
.mv .card, .mv .well, .mv .boxed {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.mv .card { overflow: hidden; }
.mv .card-header {
	background: var(--c-surface); color: var(--c-heading);
	border-bottom: 1px solid var(--c-border); padding: 14px 18px;
}
.mv .card-title, .mv .card-header .card-title { font-family: var(--f-body); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; color: var(--c-heading); }
.mv .card-body { padding: 18px; }
.mv .card-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-border); }
.mv .card-sidebar { font-size: 14.5px; }
.mv .card-sidebar .card-minimise { color: var(--c-muted); }
.mv .card-sidebar .card-header i:not(.card-minimise) { color: var(--c-primary); }
.mv .list-group-item { border-color: var(--c-border); color: var(--c-text); background: var(--c-surface); }
.mv .list-group-item-action:hover, .mv .list-group-item-action:focus { background: var(--c-bg-alt); color: var(--c-primary); }
.mv .list-group-item.active, .mv .list-group-item.active:hover, .mv .list-group-item.active:focus {
	background: var(--c-primary-soft); border-color: var(--c-border); color: var(--c-primary); font-weight: 500;
}
.mv .list-group-item .badge { background: var(--c-primary-soft); color: var(--c-primary); }
/* Botões nos cabeçalhos dos cartões do painel (o Twenty-One aplica .bg-color-*). */
.mv .card-header .btn, .mv .card-header .btn[class*="bg-color-"] {
	min-height: 30px; padding: 0 12px; font-size: 13px; box-shadow: none; transform: none;
	background: var(--c-primary-soft) !important; color: var(--c-primary) !important; border: 0 !important; opacity: 1;
}
.mv .card-header .btn:hover { background: var(--c-primary) !important; color: var(--mv-on-primary) !important; }
.mv .card-header .btn i { color: inherit; }

/* Atalhos do painel (tiles) */
.mv .tiles { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-surface); box-shadow: var(--shadow-sm); }
.mv .tiles .tile { background: var(--c-surface); border-color: var(--c-border); padding: 18px 22px; }
.mv .tiles .tile:hover { background: var(--c-bg-alt); }
.mv .tiles .tile .stat { font-family: var(--f-heading); font-weight: var(--fw-heading); letter-spacing: -.03em; color: var(--c-heading); }
.mv .tiles .tile .title { color: var(--c-muted); font: 500 11.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.mv .tiles .tile .highlight { background: var(--c-primary) !important; }
.mv .tile i { color: var(--c-primary); opacity: .14; }

/* Tabelas */
.mv .table-container { padding-bottom: 16px; }
.mv .table { color: var(--c-text); background: var(--c-surface); }
.mv .table thead th, .mv table.table-list thead th {
	background: var(--c-bg-alt); color: var(--c-muted);
	font: 500 11.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
	border-bottom: 1px solid var(--c-border); border-top: 0;
}
.mv .table td, .mv .table th { border-top-color: var(--c-border); }
.mv .table-list > tbody > tr > td { background: var(--c-surface); }
.mv .table-list > tbody > tr:hover > td { background: var(--c-bg-alt); }
.mv .dataTables_wrapper { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.mv .dataTables_wrapper .dataTables_info, .mv .dataTables_wrapper .dataTables_length { color: var(--c-muted); font-size: 13px; }
.mv .dataTables_wrapper .dataTables_filter input { border-radius: var(--mv-radius-sm); border: 1px solid var(--c-border); }
.mv .page-link { color: var(--c-heading); border-color: var(--c-border); background: var(--c-surface); }
.mv .page-item.active .page-link { background: var(--c-primary); border-color: var(--c-primary); color: var(--mv-on-primary); }
.mv .page-item:first-child .page-link { border-radius: var(--mv-radius-sm) 0 0 var(--mv-radius-sm); }
.mv .page-item:last-child .page-link { border-radius: 0 var(--mv-radius-sm) var(--mv-radius-sm) 0; }

/* Situação (rótulos) */
.mv .label, .mv .badge, .mv .status { border-radius: 6px; font: 600 10.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; }
.mv .label-success, .mv .badge-success, .mv .status-active, .mv .status-paid, .mv .status-completed, .mv .status-open, .mv .status-accepted { background-color: var(--c-success); color: var(--mv-on-primary); }
.mv .label-info, .mv .badge-info, .mv .label-primary, .mv .badge-primary, .mv .status-pending, .mv .status-answered, .mv .status-customer-reply, .mv .status-delivered { background-color: var(--c-primary-soft); color: var(--c-primary); }
.mv .label-default, .mv .badge-secondary, .mv .status-cancelled, .mv .status-closed, .mv .status-expired, .mv .status-terminated, .mv .status-fraud, .mv .status-dead {
	background-color: var(--c-bg-alt); color: var(--c-muted); box-shadow: inset 0 0 0 1px var(--c-border);
}

/* Situação: tons suaves derivados (sucesso, aviso, erro), legíveis em texto pequeno */
.mv .label-success, .mv .badge-success, .mv .status-active, .mv .status-paid, .mv .status-completed, .mv .status-open, .mv .status-accepted {
	background-color: color-mix(in srgb, var(--c-success) 14%, var(--c-surface)); color: color-mix(in srgb, var(--c-success) 70%, var(--c-dark));
}
.mv .label-warning, .mv .badge-warning, .mv .status-suspended, .mv .status-pending-transfer, .mv .status-on-hold, .mv .status-in-progress, .mv .status-grace, .mv .status-draft {
	background-color: color-mix(in srgb, var(--warning) 22%, var(--c-surface)); color: color-mix(in srgb, var(--warning) 35%, var(--c-dark));
}
.mv .label-danger, .mv .badge-danger, .mv .status-unpaid, .mv .status-overdue, .mv .status-collections, .mv .status-redemption, .mv .status-payment-pending {
	background-color: color-mix(in srgb, var(--danger) 12%, var(--c-surface)); color: color-mix(in srgb, var(--danger) 80%, var(--c-dark));
}
/* Rótulos com cor fixa do WHMCS (status de ticket no Painel): o js/minivps.js troca pela classe de situação. */
.mv .label.mv-status-fixed { background-image: none; }

/* Tabelas: cabeçalho claro e listras do tema (sem o cinza do Bootstrap); rolagem própria no celular */
.mv .table .thead-light th, .mv .table thead.thead-light th, .mv .table-bordered thead th {
	background: var(--c-bg-alt); color: var(--c-muted); border-color: var(--c-border);
	font: 500 11.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
}
.mv .table-striped tbody tr:nth-of-type(odd), .mv .table-striped > tbody > tr:nth-of-type(odd) > td { background-color: var(--c-bg-alt); }
.mv .table-bordered, .mv .table-bordered td, .mv .table-bordered th { border-color: var(--c-border); }
.mv-table-scroll { clear: both; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; } /* clear: a busca do DataTables flutua à direita */
.mv-table-scroll > table { margin-bottom: 0; }
.mv .dataTables_wrapper > .mv-table-scroll { flex: 0 0 100%; width: 100%; clear: both; }
.mv #tableTicketsList a.border-left { border-left: 0 !important; padding-left: 0 !important; }
/* Meus serviços: sem a coluna de status do SSL (primeira coluna; célula com data-type="service") */
.mv #tableServicesList > thead > tr > th:first-child,
.mv #tableServicesList > tbody > tr > td[data-type="service"] { display: none !important; }
/* Listas: cabeçalho e valores alinhados (o Twenty-One centraliza só os títulos e algumas células) */
.mv table.table-list thead th, .mv table.table-list > tbody > tr > td, .mv table.table-list > tbody > tr > td .text-center { text-align: left !important; }
.mv table.table-list thead th { padding-left: 14px; padding-right: 22px; }
.mv #tableTicketsList > tbody > tr > td:last-child { white-space: nowrap; }
.mv table.table-list > tbody > tr > td { padding-left: 14px; padding-right: 14px; }
/* Informação, busca, quantidade e paginação com o mesmo respiro do cartão */
.mv .dataTables_wrapper .dataTables_info { padding: 16px 16px 12px; }
.mv .dataTables_wrapper .dataTables_filter { margin: 10px 12px 8px 0; }
/* Busca das listas: compacta, com lupa no traço do site (cor por variável; sem a imagem search.png do WHMCS) */
.mv .dataTables_wrapper .dataTables_filter label { position: relative; display: inline-block; margin: 0; }
.mv .dataTables_wrapper .dataTables_filter label::before {
	content: ""; position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; background-color: var(--c-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mv .dataTables_wrapper .dataTables_filter input {
	width: 220px; min-height: 0; height: 36px; margin: 0; padding: 6px 12px 6px 34px !important; font-size: 14px;
	background-image: none !important; border-radius: var(--mv-radius-sm);
}
@media (max-width: 639px) {
	.mv .dataTables_wrapper .dataTables_filter { float: none; width: auto !important; margin: 12px 12px 4px; text-align: left; }
	.mv .dataTables_wrapper .dataTables_filter label { display: block; width: auto; }
	.mv .dataTables_wrapper .dataTables_filter input { width: 100%; }
}
.mv .dataTables_wrapper .dataTables_length { padding: 12px 16px; }
/* "Exibir N entradas": seletor compacto, na altura da paginação */
.mv .dataTables_wrapper .dataTables_length label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--c-muted); font-size: 13.5px; font-weight: 400; }
.mv .dataTables_wrapper .dataTables_length select {
	width: auto; min-width: 0; min-height: 0; height: 34px; margin: 0; padding: 4px 28px 4px 10px; font-size: 14px; line-height: 1.2;
	background-position: right 8px center; border-radius: var(--mv-radius-sm);
}
.mv .dataTables_wrapper .dataTables_paginate { margin: 10px 12px; }
/* Botões lado a lado nos cartões da barra lateral (col-xs-6 do Bootstrap 3 não tem largura no 4) */
.mv .card-footer:has(> .col-button-left) { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; } /* empilha quando não cabem lado a lado */
.mv .card-footer > .col-button-left, .mv .card-footer > .col-button-right { float: none !important; width: auto; max-width: none; padding: 0; }
.mv .card-footer > .col-button-left .btn, .mv .card-footer > .col-button-right .btn { width: 100%; justify-content: center; }

/* Barras de botões (ex.: ações em lote de Domínios): quebram linha em vez de estourar a tela */
.mv #main-body .btn-group[role="group"] { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 767px) {
	.mv #main-body .btn-group[role="group"]:not(.btn-group-toggle) { display: flex; gap: 6px; }
	.mv #main-body .btn-group[role="group"]:not(.btn-group-toggle) > .btn,
	.mv #main-body .btn-group[role="group"]:not(.btn-group-toggle) > .btn-group > .btn { border-radius: var(--mv-radius-sm) !important; margin: 0; }
}

/* Botões de ação destrutiva: contorno e texto de erro */
.mv .btn-danger, .mv .btn-danger:not(:disabled):not(.disabled) {
	--btn-bg: var(--c-surface); --btn-fg: color-mix(in srgb, var(--danger) 85%, var(--c-dark)); --btn-bd: color-mix(in srgb, var(--danger) 35%, var(--c-surface));
	background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bd); box-shadow: none;
}
.mv .btn-danger:hover, .mv .btn-danger:focus { background: color-mix(in srgb, var(--danger) 8%, var(--c-surface)); color: var(--btn-fg); border-color: var(--btn-fg); }

/* Anexos (Abrir ticket): campo de arquivo na altura dos botões, texto em português */
.mv .custom-file { height: 46px; }
.mv .custom-file-input { height: 46px; }
.mv .custom-file-label {
	height: 46px; padding: 12px 14px; line-height: 1.4; border: 1px solid var(--c-border); border-radius: var(--mv-radius-sm);
	background: var(--c-surface); color: var(--c-text); box-shadow: none;
}
.mv .custom-file-label::after { height: 44px; padding: 12px 14px; line-height: 1.4; background: var(--c-bg-alt); color: var(--c-heading); border-left: 1px solid var(--c-border); content: "Escolher"; }
html[data-mv-lang="en"] .mv .custom-file-label::after { content: "Browse"; }
.mv .attachment-group .input-group-append .btn { min-height: 46px; height: 46px; }
.mv .attachment-group .custom-file-label { border-top-right-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 575px) {
	.mv .attachment-group { flex-wrap: wrap; gap: 8px; }
	.mv .attachment-group .custom-file { flex: 1 1 100%; }
	.mv .attachment-group .custom-file-label { border-radius: var(--mv-radius-sm); }
	.mv .attachment-group .input-group-append { margin: 0; width: 100%; }
	.mv .attachment-group .input-group-append .btn { width: 100%; justify-content: center; border-radius: var(--mv-radius-sm) !important; }
}

/* Afiliados: estatísticas como cartões do tema */
.mv .affiliate-stat {
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
	min-height: 0; margin-bottom: 16px; padding: 18px 20px; text-align: left;
	background: var(--c-surface) !important; color: var(--c-muted) !important; border: 1px solid var(--c-border) !important; border-radius: var(--radius);
	box-shadow: var(--shadow-sm) !important; font-size: 13px; font-weight: 500;
}
.mv .affiliate-stat i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 12px; font-size: 20px; background: var(--c-primary-soft); color: var(--c-primary); float: none; }
.mv .affiliate-stat span { display: block; margin: 0; color: var(--c-heading); font: var(--fw-heading) 26px/1.1 var(--f-heading); letter-spacing: -.02em; }

.mv #payMethodList > tbody > tr:first-child > th { background: var(--c-bg-alt); color: var(--c-muted); border-color: var(--c-border); font: 500 11.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }

/* Lista vazia (domínios, cotações, indicados): chamada no lugar da tabela, busca e ações */
.mv .mv-empty { display: grid; justify-items: center; gap: 10px; margin: 0 0 20px; padding: 36px 20px; text-align: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mv .mv-empty__title { margin: 0; font-family: var(--f-heading); font-weight: var(--fw-heading); font-size: 20px; color: var(--c-heading); }
.mv .mv-empty__text { margin: 0; max-width: 440px; color: var(--c-muted); }
.mv .mv-empty .btn { margin-top: 6px; }

/* Elementos ocultos do Twenty-One (.w-hidden) que o tema estiliza com display próprio */
.mv .btn.w-hidden, .mv .label.w-hidden, .mv .badge.w-hidden { display: none; }

/* Painel: título do cartão e botão na mesma linha; ícones dos blocos menores */
.mv .card-header .card-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mv .card-header .card-title > .float-right { order: 2; float: none !important; margin-left: auto; flex: none; }
.mv .tiles .tile i { font-size: 30px; top: 18px; right: 18px; }

/* Painel: listas dos cartões sem rolagem interna (o Twenty-One fixa 170px com overflow:auto).
   Tickets e notícias mostram 3 itens inteiros; "Ver todos" fica no cabeçalho do cartão. */
.mv .client-home-cards .list-group { max-height: none; overflow: visible; }
.mv .client-home-cards div[menuitemname="Recent Support Tickets"] .list-group-item:nth-child(n+4),
.mv .client-home-cards div[menuitemname="Recent News"] .list-group-item:nth-child(n+4) { display: none; }
.mv .client-home-cards .card-footer .mv-card-foot-link { font-size: 13px; font-weight: 500; }

/* Painel: serviço com status em badge sem largura fixa (o JS do Twenty-One fixa a largura
   do status pelo maior rótulo) e nome em até 2 linhas. No celular o status fica acima do nome. */
.mv .div-service-status { width: auto !important; flex: none; }
.mv .div-service-status .label:not(.label-placeholder) { width: auto !important; max-width: none; overflow: visible; text-overflow: clip; }
.mv .div-service-name > span.font-weight-bold {
	white-space: normal; overflow-wrap: anywhere;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 767.98px) {
	.mv .div-service-item {
		display: grid; grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "status buttons" "name buttons"; gap: 6px 10px; align-items: center;
	}
	.mv .div-service-status { grid-area: status; text-align: left; }
	.mv .div-service-name { grid-area: name; margin: 0; }
	.mv .div-service-buttons { grid-area: buttons; }
}

/* Tickets: não lido = negrito com marcador */
.mv #tableTicketsList .ticket-subject.unread::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--c-primary); vertical-align: middle; }

/* Adicionar fundos: largura total da coluna */
body[data-mv-page="clientareaaddfunds"] .primary-content .offset-md-2 { flex: 0 0 100%; max-width: 100%; margin-left: 0; }

/* Barra de ações fora dos cartões (Detalhes da conta, Contatos): como cartão */
.mv .primary-content > .form-group.text-center, .mv .primary-content form > .form-group.text-center {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px; margin-top: 0;
	background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.mv .primary-content > .form-group.text-center > .btn, .mv .primary-content form > .form-group.text-center > .btn { margin: 0; }

/* Afiliados: "Solicitar retirada" é a ação principal da página, não destrutiva */
body[data-mv-page="affiliates"] .btn-danger { --btn-bg: var(--c-primary); --btn-fg: var(--mv-on-primary); --btn-bd: transparent; }

/* Caixas de seleção e rádios nativos nas cores do tema */
.mv input[type="checkbox"]:not(.no-icheck):not([style*="opacity"]), .mv input[type="radio"]:not([style*="opacity"]) { accent-color: var(--c-primary); width: 17px; height: 17px; vertical-align: -3px; }

/* Listas (DataTables) no celular: uma linha por item, em duas linhas de texto
   (título + status; detalhes separados por "·"), sem rótulos; a linha inteira abre o item.
   Papéis das colunas definidos pelo js/minivps.js (mv-r-title, mv-r-status, mv-r-meta…). */
.mv-chips, .mv-sumbar, .mv-pager { display: none; }
@media (max-width: 639px) {
	.mv table.mv-list { width: 100% !important; border: 0; }
	.mv table.mv-list thead { display: none; }
	.mv table.mv-list > tbody { display: block; }
	.mv table.mv-list > tbody > tr {
		position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px;
		padding: 12px 38px 12px 14px; border-bottom: 1px solid var(--c-border); background: var(--c-surface) !important;
	}
	.mv table.mv-list > tbody > tr:last-child { border-bottom: 0; }
	.mv table.mv-list > tbody > tr::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
	.mv table.mv-list > tbody > tr > td { display: block; min-width: 0; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
	.mv table.mv-list td.mv-r-check { order: 0; flex: none; }
	.mv table.mv-list td.mv-r-title, .mv table.mv-list .mv-r-name { order: 1; flex: 1 1 0; color: var(--c-heading); font-size: 15px; font-weight: 600; line-height: 1.35; }
	.mv table.mv-list td.mv-r-title > .mv-cell { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.mv table.mv-list td.mv-r-title a, .mv table.mv-list .mv-r-name a { color: inherit; }
	.mv table.mv-list td.mv-r-status { margin-left: 4px; }
	/* Tickets: lidos com peso médio; não lidos em negrito com o marcador */
	.mv #tableTicketsList.mv-list td.mv-r-title { font-weight: 500; }
	.mv #tableTicketsList.mv-list .ticket-subject.unread { font-weight: 700; }
	.mv table.mv-list td.mv-r-status { order: 2; flex: none; }
	.mv table.mv-list td.mv-r-meta .mv-cell { white-space: nowrap; }
	.mv table.mv-list td.mv-r-meta, .mv table.mv-list .mv-r-sub { order: var(--mv-o, 7); color: var(--c-muted); font-size: 13px; font-weight: 400; line-height: 1.45; }
	.mv table.mv-list .mv-r-sub { order: 4; }
	.mv table.mv-list td.mv-r-meta small { font-size: inherit; color: inherit; }
	.mv table.mv-list td.mv-r-sep::before { content: "·"; margin-right: 6px; }
	.mv table.mv-list .mv-cell[data-prefix]::before { content: attr(data-prefix); }
	.mv table.mv-list td.mv-r-hide, .mv table.mv-list td.mv-r-more, .mv table.mv-list .w-hidden { display: none !important; }
	.mv table.mv-list td.mv-r-split, .mv table.mv-list td.mv-r-split > .mv-cell { display: contents; }
	.mv table.mv-list td.mv-r-split br { display: none; }
	.mv table.mv-list > tbody > tr.mv-r-click { cursor: pointer; }
	.mv table.mv-list > tbody > tr.mv-r-click::before {
		content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background-color: var(--c-muted);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.mv table.mv-list > tbody > tr > td.dataTables_empty { width: 100%; padding: 18px 0 !important; text-align: center !important; color: var(--c-muted); }
	.mv table.mv-list > tbody > tr:has(> td.dataTables_empty) { padding-right: 14px; }

	/* Em volta da lista: só o essencial */
	.mv .dataTables_wrapper:has(table.mv-list) .dataTables_info,
	.mv .dataTables_wrapper:has(table.mv-list) .dataTables_length,
	.mv .dataTables_wrapper:has(table.mv-list) .dataTables_paginate { display: none !important; }
	.mv-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-top: 1px solid var(--c-border); }
	.mv-pager[hidden] { display: none; }
	.mv-pager__btn { display: inline-grid; place-items: center; width: 38px; height: 34px; padding: 0; border: 1px solid var(--c-border); border-radius: var(--mv-radius-sm); background: var(--c-surface); color: var(--c-heading); font-size: 18px; line-height: 1; cursor: pointer; }
	.mv-pager__btn:disabled { color: var(--c-border); cursor: default; }
	.mv-pager__text { color: var(--c-muted); font-size: 13.5px; min-width: 64px; text-align: center; }
	.mv-chips { display: flex; gap: 8px; margin: 0 0 12px; padding: 2px 2px 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.mv-chips::-webkit-scrollbar { display: none; }
	.mv-chip {
		flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 99px;
		background: var(--c-surface); color: var(--c-heading); font: 500 13.5px/1 var(--f-body); white-space: nowrap; cursor: pointer;
	}
	.mv-chip__n { color: var(--c-muted); font-size: 12px; }
	.mv-chip[aria-pressed="true"] { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary); }
	.mv-chip[aria-pressed="true"] .mv-chip__n { color: inherit; }
	.mv-sumbar {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 10px 10px 10px 14px;
		border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--shadow-sm);
	}
	.mv-sumbar__text { color: var(--c-heading); font-size: 14px; font-weight: 500; line-height: 1.3; }
	.mv-sumbar__text span { display: block; color: var(--c-muted); font-size: 12.5px; font-weight: 400; }
	.mv-sumbar .btn { flex: none; }
	body.mv-has-list .mv-moved-sidebar { display: none !important; }
	/* Demais cartões da lateral depois da lista */
	body.mv-has-list #main-body .primary-content { order: -1; }
}

/* Formulários */
.mv label, .mv .form-control-label, .mv .col-form-label { font-weight: 500; color: var(--c-heading); font-size: 14px; }
.mv .form-control, .mv .custom-select {
	height: auto; min-height: 44px; padding: 10px 12px;
	border: 1px solid var(--c-border); border-radius: var(--mv-radius-sm);
	background-color: var(--c-surface); color: var(--c-text);
	font-size: 15px; box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.mv textarea.form-control { min-height: 96px; }
/* Selects com a mesma altura dos inputs em qualquer navegador (o Safari ignora altura
   no select nativo): aparência própria e seta em SVG inline. */
.mv select.form-control:not([multiple]):not([size]):not(.form-control-sm) {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	height: auto; min-height: 44px; line-height: 1.4; padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px;
}
.mv select.form-control::-ms-expand { display: none; }
.mv .dataTables_wrapper .dataTables_length select { min-height: 0 !important; line-height: 1.2 !important; padding-right: 28px !important; } /* a regra acima é mais específica */
.mv .form-control:focus, .mv .custom-select:focus { border-color: var(--c-primary); box-shadow: var(--mv-field-focus); }
/* Campos de texto: foco contido (borda azul + sombreado interno leve), sem contorno por fora, também
   no clique (o :focus-visible geral bate em campo de texto). Botões e links mantêm o contorno. */
.mv input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="file"]):not([type="color"]):focus,
.mv select:focus, .mv textarea:focus, .mv .form-control:focus, .mv .custom-select:focus, .mv .field:focus { outline: none; }
/* Grupo (ícone + campo, campo + botão do olho): no foco, a borda do grupo inteiro fica azul. */
.mv .input-group:focus-within > .input-group-prepend > .input-group-text,
.mv .input-group:focus-within > .input-group-append > .input-group-text,
.mv .input-group:focus-within > .input-group-append > .btn,
.mv .input-group:focus-within > .input-group-prepend > .btn { border-color: var(--c-primary); }
/* Editor de mensagem do ticket (bootstrap-markdown): a moldura do editor faz o papel da borda. */
.mv .md-editor.active { border-color: var(--c-primary); box-shadow: var(--mv-field-focus); }
.mv .md-editor .md-input:focus { box-shadow: none; }
.mv .form-control::placeholder { color: var(--c-muted); opacity: .8; }
.mv .form-control[disabled], .mv .form-control[readonly] { background: var(--c-bg-alt); }
.mv .input-group-text { background: var(--c-bg-alt); border-color: var(--c-border); color: var(--c-muted); border-radius: var(--mv-radius-sm); }
.mv .input-group > .form-control:not(:first-child), .mv .input-group > .input-group-prepend + .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.mv .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mv .input-group-prepend .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mv .input-group-append .btn, .mv .input-group-append .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.mv .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--c-primary); border-color: var(--c-primary); }
.mv input[type="checkbox"], .mv input[type="radio"] { accent-color: var(--c-primary); }

/* Alertas: forma do site, cores semânticas do Bootstrap */
.mv .alert { border-radius: var(--mv-radius-sm); box-shadow: var(--shadow-sm); }
.mv .alert-info { background: var(--c-primary-soft); border-color: rgba(var(--c-primary-rgb), .2); color: var(--c-heading); }
.mv .alert-success { background: var(--c-surface); border-color: var(--c-success); color: var(--c-heading); box-shadow: inset 4px 0 0 var(--c-success), var(--shadow-sm); }
.mv .alert-warning { background: color-mix(in srgb, var(--warning) 12%, var(--c-surface)); border-color: color-mix(in srgb, var(--warning) 40%, var(--c-surface)); color: var(--c-heading); }
.mv .alert-danger { background: color-mix(in srgb, var(--danger) 8%, var(--c-surface)); border-color: color-mix(in srgb, var(--danger) 30%, var(--c-surface)); color: var(--c-heading); }
/* Interruptores (bootstrap-switch do WHMCS) nas cores do tema */
.mv .bootstrap-switch { border-color: var(--c-border); border-radius: 99px; overflow: hidden; }
.mv .bootstrap-switch .bootstrap-switch-handle-on { background: var(--c-primary) !important; color: var(--mv-on-primary) !important; }
.mv .bootstrap-switch .bootstrap-switch-handle-off { background: var(--c-bg-alt) !important; color: var(--c-muted) !important; }
.mv .bootstrap-switch .bootstrap-switch-label { background: var(--c-surface); }
/* Linhas de total (Pagamento em massa, faturas): fundo do tema */
.mv .table tr.bg-light > td, .mv .table tr.table-active > td, .mv .table .bg-light, .mv .table .table-active { background-color: var(--c-bg-alt) !important; }

/* Modais, abas, progresso */
.mv .modal-content { border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.mv .modal-header { background: var(--c-surface); color: var(--c-heading); border-bottom: 1px solid var(--c-border); }
.mv .modal-title { font-family: var(--f-body); font-weight: 600; }
.mv .modal-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-border); }
.mv .nav-tabs { border-bottom-color: var(--c-border); }
.mv .nav-tabs .nav-link { border-radius: 10px 10px 0 0; color: var(--c-muted); }
.mv .nav-tabs .nav-link.active { color: var(--c-heading); border-color: var(--c-border); border-bottom-color: transparent; background: var(--c-surface); }
.mv .progress { border-radius: 99px; background: var(--c-bg-alt); box-shadow: none; }
.mv .progress-bar { background: var(--c-primary); box-shadow: none; }
.mv .text-primary { color: var(--c-primary) !important; }
.mv .bg-primary { background-color: var(--c-primary) !important; }

/* Login */
.mv .login-form { max-width: 480px; margin: 0 auto; }
.mv .login-form .card { position: relative; z-index: 1; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); margin-top: 0 !important; }
.mv .login-form .h3 { font-family: var(--f-heading); font-weight: var(--fw-heading); letter-spacing: var(--ls-heading); color: var(--c-heading); }
.mv .login-form .btn-primary { width: 100%; }
/* Botão "Entrar" e "Lembre de mim" na mesma linha, centrados na altura (o js/minivps.js junta os dois em .mv-login-actions) */
.mv .mv-login-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mv .mv-login-actions > .float-left { float: none !important; }
.mv .mv-login-actions > .text-right label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; color: var(--c-text); cursor: pointer; }
.mv .mv-login-actions .form-check-input { position: static; margin: 0; }
/* "Esqueceu a senha?": 14 px na cor do link principal (o Twenty-One usa .small.text-muted) */
.mv .login-form .d-flex a.small.text-muted { font-size: 14px; color: var(--c-primary) !important; }
.mv .login-form .d-flex a.small.text-muted:hover { text-decoration: underline; }
/* Redefinir senha: "Enviar" sem a moldura de barra de ações (ela é para fora dos cartões) */
.mv .primary-content .card form > .form-group.text-center { display: block; padding: 0; margin-top: 8px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.mv .primary-content .card form > .form-group.text-center > .btn-primary { width: 100%; }

/* Cadastro: mesmo campo do login (rótulo acima, raio do tema, sem ícone dentro do campo).
   O Twenty-One estiliza #registration com id (altura 36 px, raio 3 px): daí o #registration aqui. */
.mv #registration .field, .mv #registration .form-control {
	height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; padding-right: 12px; font-size: 15px;
	border: 1px solid var(--c-border); border-radius: var(--mv-radius-sm);
	background-color: var(--c-surface); color: var(--c-text);
}
.mv #registration .field:not(#inputPhone), .mv #registration .form-control:not(#inputPhone) { padding-left: 12px; }
.mv #registration select.field:not([multiple]) {
	padding-right: 36px; line-height: 1.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px;
}
.mv #registration .field:focus, .mv #registration .form-control:focus { border-color: var(--c-primary); box-shadow: var(--mv-field-focus); outline: none; }
.mv #registration .prepend-icon.mv-field .field-icon { display: none !important; }
.mv #registration .iti { width: 100%; }
.mv .mv-field-label { display: block; margin: 0 0 6px; }
.mv .mv-req { color: var(--danger); }
.mv .mv-opt { color: var(--c-muted); font-weight: 400; font-size: 13px; }
.mv #registration .card-title { margin-bottom: 18px; }
.mv #registration .mv-field-label, .mv #registration .form-group > label:not(.field-icon) { color: var(--c-heading); font-weight: 500; font-size: 14px; }
.mv #registration .accepttos { position: static; margin: 0 8px 0 0; vertical-align: -3px; }
.mv #registration .form-check { padding-left: 0; }
/* Google no primeiro cartão, com o divisor "ou" (como no checkout) */
.mv .mv-google .providerPreLinking, .mv .mv-google .social-signin-btns { display: flex; justify-content: center; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.mv .mv-google .g_id_signin, .mv .mv-google .btn-social { margin: 0 auto; padding: 0; border: 0; background: none; box-shadow: none; }
.mv .mv-google .providerLinkingFeedback:empty { display: none; }
.mv .mv-google--after { margin-top: 4px; } /* login: Google abaixo do "Entrar" */
.mv .mv-google--after .mv-or { margin-top: 20px; }
.mv .mv-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--c-muted); font-size: 13px; }
.mv .mv-or::before, .mv .mv-or::after { content: ""; flex: 1; height: 1px; background: var(--c-border); }

.mv-show-pw { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 14px; font-weight: 400; color: var(--c-muted); }

/* Erros / 404 */
.mv .mv-error { max-width: 640px; margin: 24px auto; padding: 32px 24px !important; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mv .mv-error > .fa-exclamation-circle { display: none; }
.mv .mv-error h1 { font-size: calc(var(--fs-h1) * .9) !important; color: var(--c-heading) !important; margin-bottom: 16px !important; }
.mv .mv-error .buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ------------------------------------------------------------------ */
/* Rodapé (site)                                                      */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); border-top: 1px solid var(--c-border); padding: 72px 0 32px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__text { margin: 16px 0 18px; max-width: 290px; }
.mv .footer__title { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin: 6px 0 18px; }
.footer__links, .footer__legal { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mv .footer__links a, .mv .footer__legal a { color: var(--c-footer-text); }
.mv .footer__links a:hover, .mv .footer__legal a:hover { color: var(--c-primary); text-decoration: none; }
.socials { display: flex; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.mv .socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c-footer-text); background: var(--c-surface); border: 1px solid var(--c-border); transition: color .2s, border-color .2s, transform .2s; }
.mv .socials a:hover { color: var(--c-primary); border-color: rgba(var(--c-primary-rgb), .4); transform: translateY(-2px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--c-border); font-size: 13px; }
.footer__bottom p { margin: 0 0 4px; }
.footer__company { color: var(--c-muted); font-size: 12px; }
.footer__legal { display: flex; gap: 18px; }

/* ------------------------------------------------------------------ */
/* Fluxo de compra: cabeçalho, etapas e rodapé mínimos                */
/* ------------------------------------------------------------------ */
.mv-checkout-header .header__bar { gap: 16px; }
.mv-secure {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 10px; border-radius: 99px;
	font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
	color: var(--c-success); background: rgba(var(--c-dark-rgb), .03);
	box-shadow: inset 0 0 0 1px var(--c-border);
}
.mv-steps { padding: 4px 0 8px; }
.mv-steps__list { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.mv-steps__item { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: 14px; font-weight: 500; }
.mv-steps__item + .mv-steps__item::before { content: ""; width: 32px; height: 1px; background: var(--c-border); margin-right: 4px; }
.mv-steps__num {
	width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
	font: 600 12px/1 var(--f-mono); background: var(--c-surface); color: var(--c-muted);
	box-shadow: inset 0 0 0 1px var(--c-border);
}
.mv-steps__item.is-current { color: var(--c-heading); }
.mv-steps__item.is-current .mv-steps__num { background: var(--c-primary); color: var(--mv-on-primary); box-shadow: var(--shadow-primary); }
.mv-steps__item.is-done .mv-steps__num { background: var(--c-primary-soft); color: var(--c-primary); box-shadow: none; }
.mv-checkout-footer { padding: 24px 0; }
/* Sem barras de categorias, ações e moeda do carrinho (vale para qualquer order form baseado no standard_cart). */
.mv-checkout #order-standard_cart .cart-sidebar,
.mv-checkout #order-standard_cart .sidebar-collapsed,
.mv-checkout #order-standard_cart #continueShopping { display: none !important; }
.mv-checkout #order-standard_cart .cart-body { width: 100%; float: none; }
.mv .mv-hide { display: none !important; }
/* Campos de servidor (host, senha de root, ns1/ns2): preenchidos pelo checkout.js e ocultos desde o primeiro desenho. */
.mv-checkout #order-standard_cart .field-container:has(#inputHostname, #inputRootpw),
.mv-checkout #order-standard_cart .sub-heading:has(+ .field-container #inputHostname),
.mv-checkout #order-standard_cart .sub-heading:has(+ .field-container #inputRootpw) { display: none !important; }
.mv-checkout-footer .footer__bottom { border-top: 0; padding-top: 0; align-items: center; }

/* ------------------------------------------------------------------ */
/* Loja (lista de produtos do standard_cart e filhos)                 */
/* ------------------------------------------------------------------ */
/* Preço e "Faça seu pedido agora" dentro do cartão: a coluna do preço (40%) ganha respiro
   e o botão quebra linha em vez de passar da borda. Abaixo de 576 px, empilhados a 100%. */
.mv #order-standard_cart .products .product footer { width: 40%; padding: 0 14px 0 6px; box-sizing: border-box; }
.mv #order-standard_cart .products .product .btn-order-now {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	max-width: 100%; padding: 8px 12px; white-space: normal; line-height: 1.25; text-align: center;
}
@media (max-width: 575px) {
	.mv #order-standard_cart .products .product div.product-desc { float: none; width: 100%; }
	.mv #order-standard_cart .products .product footer {
		float: none; width: 100%; margin: 4px 0 0; padding: 0 14px;
		display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: left;
	}
	.mv #order-standard_cart .products .product div.product-pricing { margin: 0; }
	.mv #order-standard_cart .products .product .btn-order-now { width: 100%; min-height: 44px; }
}
/* Abaixo de 1200 px o standard_cart troca a lateral por dois selects (Categorias, Ações) antes
   dos produtos: os produtos vêm primeiro e os selects depois deles. */
@media (max-width: 1199px) {
	.mv #order-standard_cart .cart-body:has(> #products) { display: flex; flex-direction: column; }
	.mv #order-standard_cart .cart-body:has(> #products) > * { order: 0; }
	.mv #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed { order: 1; margin: 8px 0 24px; }
}

/* Botão flutuante do CookieYes (preferências de cookies, canto inferior esquerdo): no celular
   fica menor e mais junto do canto, e o rodapé ganha espaço para ele não cobrir os links. */
@media (max-width: 575px) {
	.cky-btn-revisit-wrapper { width: 36px !important; height: 36px !important; left: 8px !important; bottom: 8px !important; }
	.cky-btn-revisit-wrapper .cky-btn-revisit, .cky-btn-revisit-wrapper .cky-btn-revisit img { width: 24px !important; height: 24px !important; }
	body.mv .site-footer, body.mv .mv-checkout-footer { padding-bottom: 56px; }
}

/* ------------------------------------------------------------------ */
/* Responsivo                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: span 2; }
}
@media (max-width: 767px) {
	:root { --gutter: 16px; --header-h: 60px; }
	.site-header { padding: 8px 0; }
	.header__bar { padding: 0 8px 0 14px; gap: 10px; }
	.site-footer { padding: 48px 0 28px; }
	.footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
	.footer__brand { grid-column: auto; }
	.mv-secure span { display: none; }
	.mv-secure { padding: 7px; }
	.mv-steps__item + .mv-steps__item::before { width: 14px; }
	.mv-steps__label { font-size: 13px; }
	.mv h1, .mv div.header-lined h1 { font-size: calc(var(--fs-h1) * .45); }
}
@media (prefers-reduced-motion: reduce) {
	.mv *, .mv *::before, .mv *::after { transition: none !important; animation: none !important; }
}

/* Dev: oculta a faixa "Dev License" que o WHMCS injeta no conteúdo (div com estilo inline,
   sem classe). O dev é fechado por IP; na produção (licença normal) a faixa não existe. */
div[style*="background-color:#ffffd2"][style*="padding:10px 35px"] { display: none !important; }

/* Rodapé da área do cliente: faixa única compacta (wireframe A). */
.site-footer--compact { padding: 18px 0; font-size: 13px; }
.site-footer--compact .footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.site-footer--compact .footer__logo { display: inline-flex; align-items: center; flex: none; }
.site-footer--compact .footer__copy { margin: 0; color: var(--c-footer-text); }
.site-footer--compact .footer__nav { margin-left: auto; }
.site-footer--compact .footer__inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mv .site-footer--compact .footer__inline a { color: var(--c-footer-text); }
.mv .site-footer--compact .footer__inline a:hover { color: var(--c-primary); text-decoration: none; }
.site-footer--compact .footer__socials { margin: 0; flex: none; }
.site-footer--compact .footer__socials a { width: 32px; height: 32px; }
/* Rodapé escuro (.site-footer--dark, decidido no servidor: luminância WCAG do --c-footer-bg < 0,179,
   a mesma regra do tema do site). Texto na cor do rodapé; divisórias e redes em branco translúcido;
   foco na cor do texto (o azul primário some no fundo escuro). Rodapé claro: nada muda. */
.site-footer--dark { border-top-color: rgba(255, 255, 255, .15); }
.site-footer--dark .footer__bottom { border-top-color: rgba(255, 255, 255, .15); }
.mv .site-footer--dark .footer__copy, .mv .site-footer--dark .footer__company, .mv .site-footer--dark .footer__title,
.mv .site-footer--dark .footer__inline a, .mv .site-footer--dark .footer__legal a, .mv .site-footer--dark .footer__links a { color: var(--c-footer-text); }
.mv .site-footer--dark .footer__inline a:hover, .mv .site-footer--dark .footer__legal a:hover, .mv .site-footer--dark .footer__links a:hover { color: var(--c-footer-text); text-decoration: underline; text-underline-offset: 3px; }
.mv .site-footer--dark a:focus-visible, .mv .site-footer--dark button:focus-visible { outline: 2px solid var(--c-footer-text); outline-offset: 2px; }
.mv .site-footer--dark .socials a { color: var(--c-footer-text); background: transparent; border-color: rgba(255, 255, 255, .22); }
.mv .site-footer--dark .socials a:hover { color: var(--c-footer-text); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); transform: none; }
/* Sem logo.dark na identidade: o logo normal vira branco (fallback até a sincronização trazê-lo). */
.site-footer--dark .footer__logo img.mv-logo-invert, .site-footer--dark .brand img.mv-logo-invert { filter: brightness(0) invert(1); }
@media (max-width: 767px) {
	/* Celular: logo e redes numa linha; copyright; links. */
	.site-footer--compact { padding-top: 20px; }
	.site-footer--compact .footer__bar { gap: 12px 16px; }
	.site-footer--compact .footer__logo { order: 1; }
	.site-footer--compact .footer__socials { order: 2; margin-left: auto; }
	.site-footer--compact .footer__copy { order: 3; flex-basis: 100%; font-size: 12.5px; }
	.site-footer--compact .footer__nav { order: 4; margin-left: 0; flex-basis: 100%; }
	.site-footer--compact .footer__inline { gap: 6px 16px; }
}


/* CookieYes: a caixa do aviso (layout cky-box-*) vira uma barra fina no rodapé. Só o tema;
   o centro de preferências e o botão de reabrir não mudam. Outro layout no painel: sem efeito. */
.cky-consent-container[class*="cky-box-"] { left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; max-width: none !important; }
.cky-consent-container[class*="cky-box-"] .cky-consent-bar { border-radius: 0 !important; border-width: 1px 0 0 !important; box-shadow: 0 -8px 24px -12px rgba(22, 22, 28, .18) !important; }
.cky-consent-container[class*="cky-box-"] .cky-title,
.cky-consent-container[class*="cky-box-"] .cky-notice-des,
.cky-consent-container[class*="cky-box-"] .cky-notice-des p,
.cky-consent-container[class*="cky-box-"] .cky-btn { margin: 0 !important; }
.cky-consent-container[class*="cky-box-"] .cky-notice-des { max-height: none !important; overflow: visible !important; }
.cky-consent-container[class*="cky-box-"] .cky-notice-btn-wrapper { margin: 0 !important; display: flex !important; gap: 8px !important; }
@media (min-width: 1024px) {
	/* Uma linha só. À direita, o espaço da aba do Tawk ("Chat de vendas"), para ela não cobrir o "Aceitar". */
	.cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding: 6px max(250px, calc((100vw - 1200px) / 2)) 6px max(24px, calc((100vw - 1200px) / 2)) !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice,
	.cky-consent-container[class*="cky-box-"] .cky-notice-group { display: flex !important; align-items: center !important; gap: 16px !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice-group { flex: 1 1 auto !important; min-width: 0 !important; }
	.cky-consent-container[class*="cky-box-"] .cky-title { font-size: 12.5px !important; white-space: nowrap !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice-des p { font-size: 11.5px !important; line-height: 1.35 !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice-btn-wrapper { flex: none !important; }
	.cky-consent-container[class*="cky-box-"] .cky-btn { padding: 4px 12px !important; font-size: 12px !important; line-height: 1.3 !important; width: auto !important; min-height: 30px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	/* Tablet: empilhado, com a coluna à esquerda da aba do Tawk. */
	.cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding: 8px 230px 8px 24px !important; }
}
@media (max-width: 1023px) {
	.cky-consent-container[class*="cky-box-"] .cky-notice,
	.cky-consent-container[class*="cky-box-"] .cky-notice-group { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; }
	.cky-consent-container[class*="cky-box-"] .cky-title { font-size: 12.5px !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice-des p { font-size: 11.5px !important; line-height: 1.35 !important; }
	.cky-consent-container[class*="cky-box-"] .cky-notice-btn-wrapper { flex-direction: row !important; }
	.cky-consent-container[class*="cky-box-"] .cky-btn { flex: 1 1 0 !important; padding: 6px 10px !important; font-size: 12px !important; line-height: 1.3 !important; min-height: 36px !important; }
}
@media (max-width: 767px) {
	.cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding: 8px 14px !important; }
	/* Onde a aba do Tawk aparece no celular (fora da loja e do checkout): os botões não ficam sob ela. */
	body:not(.mv-checkout) .cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding-bottom: 72px !important; }
}
/* Loja com a barra do Continuar (existe até 919 px, store.css): o aviso fica acima dela e a barra
   segue clicável. Nessa faixa o Tawk fica oculto na loja, então sem a reserva à direita. */
@media (max-width: 919px) {
	body.mvs-has-bar .cky-consent-container[class*="cky-box-"] { bottom: var(--mvs-bar-h, 70px) !important; }
	body.mv-store .cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding-right: 24px !important; }
}
@media (max-width: 767px) {
	body.mv-store .cky-consent-container[class*="cky-box-"] .cky-consent-bar { padding-right: 14px !important; }
}


/* CookieYes na identidade do tema: só cores, tipografia, cantos e estados (o CookieYes põe as
   cores inline, daí o !important). Tamanhos e layout ficam como na barra fina. */
.cky-consent-container[class*="cky-box-"] .cky-consent-bar { border-top-color: var(--c-border) !important; }
.cky-consent-container[class*="cky-box-"] .cky-title { color: var(--c-heading) !important; font-weight: 600 !important; }
.cky-consent-container[class*="cky-box-"] .cky-notice-des,
.cky-consent-container[class*="cky-box-"] .cky-notice-des p { color: var(--c-muted) !important; } /* 4,8:1 sobre o branco */
.cky-consent-container[class*="cky-box-"] .cky-btn,
.cky-preference-center .cky-btn {
	border-radius: var(--mv-radius-sm) !important; border-width: 1px !important; border-style: solid !important;
	font-family: var(--f-body) !important; font-weight: 500 !important;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, box-shadow .2s var(--ease) !important;
}
/* Aceitar: o primário do tema. */
.cky-consent-container[class*="cky-box-"] .cky-btn-accept,
.cky-preference-center .cky-btn-accept {
	background-color: var(--c-primary) !important; color: var(--mv-on-primary) !important; border-color: transparent !important;
}
.cky-consent-container[class*="cky-box-"] .cky-btn-accept:hover,
.cky-preference-center .cky-btn-accept:hover { background-color: var(--c-primary-dark) !important; box-shadow: 0 8px 20px -10px rgba(var(--c-primary-rgb), .8) !important; }
/* Rejeitar e Salvar preferências: contorno azul, tão visível quanto o Aceitar (sem padrão enganoso). */
.cky-consent-container[class*="cky-box-"] .cky-btn-reject,
.cky-preference-center .cky-btn-reject,
.cky-preference-center .cky-btn-preferences {
	background-color: var(--c-surface) !important; color: var(--c-primary) !important; border-color: var(--c-primary) !important;
}
.cky-consent-container[class*="cky-box-"] .cky-btn-reject:hover,
.cky-preference-center .cky-btn-reject:hover,
.cky-preference-center .cky-btn-preferences:hover { background-color: var(--c-primary-soft) !important; }
/* Foco pelo teclado visível em todos os botões do aviso e do centro de preferências. */
.cky-consent-container[class*="cky-box-"] .cky-btn:focus-visible,
.cky-preference-center button:focus-visible,
.cky-preference-center .cky-switch input:focus-visible,
.cky-btn-revisit-wrapper .cky-btn-revisit:focus-visible {
	outline: 2px solid var(--c-primary) !important; outline-offset: 2px !important; box-shadow: var(--mv-focus) !important;
}
/* Centro de preferências: chaves e links no azul do tema (layout do CookieYes). */
.cky-preference-center .cky-switch input[type="checkbox"]:checked { background-color: var(--c-primary) !important; }
.cky-preference-center .cky-show-desc-btn { color: var(--c-primary) !important; }
.cky-preference-center .cky-preference-title,
.cky-preference-center .cky-accordion-btn { color: var(--c-heading) !important; }
/* Botão de reabrir (círculo no canto): primário do tema, mantém os 36 px. */
.cky-btn-revisit-wrapper { background-color: var(--c-primary) !important; }

/* Contraste (paleta cloud, 2.10.2): cinzas fixos do Twenty-One e do editor ficavam abaixo de 4,5:1
   (#888 sobre branco 3,5:1; #959694 sobre #f5f5f5 2,7:1; "Veja mais" 4,3:1). Passam ao texto
   secundário do tema (--c-muted). */
.mv .client-home-cards small, .mv .recent-ticket small, .mv .recent-ticket small span,
.mv .btn-view-more, .mv .btn-view-more.disabled,
.mv .md-editor .small-font, .mv .md-editor .markdown-save { color: var(--c-muted); }
.mv div[menuitemname] .btn-view-more, .mv div[menuitemname] .btn-view-more.disabled { color: var(--c-muted); }
/* "Fechado" e outros status em cinza #888 vêm com cor inline do WHMCS (Status de tickets);
   só o cinza é trocado, as demais cores de status ficam. */
.mv .recent-ticket span[style*="#888888" i] { color: var(--c-muted) !important; }

/* ------------------------------------------------------------------ */
/* Tela de entrada (login e esqueci a senha; versão D, 29/10/2026)     */
/* Painel com as cores do rodapé da identidade + coluna do formulário. */
/* Moldura: header.tpl/footer.tpl ($mvAuth) e includes/mv-auth-*.tpl.  */
/* ------------------------------------------------------------------ */
body.mv-auth-page { background: var(--c-surface); }
.mv-auth { display: flex; min-height: 100vh; min-height: 100dvh; background: var(--c-surface); }
.mv-auth__side {
	position: relative; overflow: hidden; flex: 0 0 44%; max-width: 44%; box-sizing: border-box;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 48px 52px;
	background: var(--c-footer-bg); color: var(--c-footer-text);
}
/* Contorno do ícone ao fundo: decorativo, cortado no canto superior direito, por trás de tudo. */
.mv-auth__mark { position: absolute; top: -150px; right: -150px; width: 520px; height: 520px; opacity: .14; stroke: currentColor; stroke-width: 1.6; pointer-events: none; }
.mv-auth__logo, .mv-auth__hello, .mv-auth__side-foot { position: relative; z-index: 1; }
.mv-auth__logo { align-self: flex-start; display: block; line-height: 0; }
.mv-auth__logo img { display: block; height: 30px; width: auto; }
.mv-auth__logo img.mv-logo-invert { filter: brightness(0) invert(1); }
.mv-auth__hello { display: flex; flex-direction: column; gap: 10px; }
.mv .mv-auth__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-footer-text); opacity: .82; }
.mv .mv-auth__welcome { margin: 0; max-width: 15ch; font-family: var(--f-heading); font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--c-heading); }
.mv .mv-auth__side--dark .mv-auth__welcome { color: #fff; }
.mv-auth__side-foot { display: flex; flex-direction: column; gap: 14px; max-width: 400px; }
.mv .mv-auth__copy { margin: 6px 0 0; font-size: 13px; color: var(--c-footer-text); opacity: .82; }

/* Cartão "Falar com o suporte": no painel (--side) e, no celular, abaixo do formulário (--light). */
.mv .mv-auth-help { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.mv .mv-auth-help:hover, .mv .mv-auth-help:focus { text-decoration: none; }
.mv-auth-help__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; }
.mv-auth-help__text { display: flex; flex-direction: column; line-height: 1.35; }
.mv-auth-help__title { font-size: 14px; font-weight: 600; }
.mv-auth-help__sub { font-size: 13px; }
/* No painel: um tom acima do fundo (o próprio --c-footer-bg com um véu claro), sem borda. */
.mv .mv-auth-help--side { color: var(--c-heading); background: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.04)), var(--c-footer-bg); box-shadow: 0 12px 28px -18px rgba(0,0,0,.6); }
.mv .mv-auth__side--dark .mv-auth-help--side { color: #fff; background: linear-gradient(rgba(255,255,255,.075), rgba(255,255,255,.075)), var(--c-footer-bg); }
.mv .mv-auth__side--dark .mv-auth-help--side:hover { background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)), var(--c-footer-bg); color: #fff; }
.mv-auth-help--side .mv-auth-help__icon { background: rgba(0,0,0,.06); color: var(--c-footer-text); }
.mv-auth__side--dark .mv-auth-help--side .mv-auth-help__icon { background: rgba(255,255,255,.1); }
.mv-auth-help--side .mv-auth-help__sub { color: var(--c-footer-text); opacity: .85; }
.mv .mv-auth__side--dark .mv-auth-help--side:focus-visible { outline: 2px solid var(--c-footer-text); outline-offset: 2px; }
.mv .mv-auth-help--light { display: none; order: 6; position: relative; margin-top: 40px; padding: 12px 14px; color: var(--c-heading); background: var(--c-bg-alt); border: 1px solid var(--c-border); }
.mv .mv-auth-help--light::before { content: ""; position: absolute; left: -1px; right: -1px; top: -21px; height: 1px; background: var(--c-border); }
.mv .mv-auth-help--light:hover { color: var(--c-heading); border-color: rgba(var(--c-primary-rgb), .35); }
.mv-auth-help--light .mv-auth-help__icon { background: rgba(var(--c-primary-rgb), .1); color: var(--c-primary); }
.mv-auth-help--light .mv-auth-help__sub { color: var(--c-muted); }

/* Coluna do formulário */
.mv-auth__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; box-sizing: border-box; padding: 28px 40px; background: var(--c-surface); }
.mv-auth__top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.mv-auth__top .lang-switch__btn { height: 40px; }
.mv .mv-auth__contact { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; box-sizing: border-box; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.mv .mv-auth__contact:hover, .mv .mv-auth__contact:focus { border-color: rgba(var(--c-primary-rgb), .35); background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.mv #main-body.mv-auth__body { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 24px 0; background: none; }
.mv-auth__box { width: 100%; max-width: 380px; display: flex; flex-direction: column; }
.mv-auth__box > * { min-width: 0; }
.mv-auth__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.mv .mv-auth__legal a { color: var(--c-muted); }
.mv .mv-auth__legal a:hover { color: var(--c-primary); }

/* Formulário (login.tpl) e o miolo do WHMCS no esqueci a senha (password-reset-*.tpl, sem sobrescrever) */
.mv-auth-form__head { margin-bottom: 24px; }
.mv .mv-auth-form__title, .mv .mv-auth__box .card-body .h3 { margin: 0; font-family: var(--f-heading); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--c-heading); }
.mv .mv-auth-form__lead, .mv .mv-auth__box .card-body .h3 + .text-muted { margin: 4px 0 0; font-size: 14px; color: var(--c-muted) !important; }
.mv .mv-auth__box .alert { border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.mv .mv-auth__box .form-group { margin-bottom: 18px; }
.mv .mv-auth__box .form-control-label, .mv .mv-auth__box .form-group > label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--c-heading); }
.mv .mv-auth__box .form-control { height: 48px; padding: 0 14px; border-radius: 12px !important; font-size: 15px; }
.mv-auth-form__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.mv .mv-auth-form__label-row .form-control-label { margin: 0; }
.mv .mv-auth-form__forgot { font-size: 13px; font-weight: 500; color: var(--c-primary); }
.mv .login-form.mv-auth-form__form { max-width: none; margin: 0; }
.mv-pw { position: relative; }
.mv .mv-pw .form-control { padding-right: 52px; }
.mv-pw__toggle { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); cursor: pointer; }
.mv-pw__toggle:hover { background: var(--c-bg-alt); color: var(--c-heading); }
.mv-pw__toggle:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 0; }
.mv-pw__eye-off, .mv-pw__toggle[aria-pressed="true"] .mv-pw__eye { display: none; }
.mv-pw__toggle[aria-pressed="true"] .mv-pw__eye-off { display: block; }
.mv .mv-auth-form__remember { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 400; color: var(--c-muted); cursor: pointer; }
.mv-auth-form__remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); }
.mv .mv-auth-form__submit, .mv .mv-auth__box .card form > .form-group.text-center > .btn-primary { width: 100%; height: 50px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.mv .mv-auth-form__social .mv-or { margin: 20px 0 16px; }
.mv .mv-auth-form__social .providerPreLinking, .mv .mv-auth-form__social .social-signin-btns, .mv .mv-reg__social .providerPreLinking, .mv .mv-reg__social .social-signin-btns { display: flex; justify-content: center; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.mv .mv-auth-form__social .g_id_signin, .mv .mv-auth-form__social .btn-social, .mv .mv-reg__social .g_id_signin, .mv .mv-reg__social .btn-social { margin: 0 auto; padding: 0; border: 0; background: none; box-shadow: none; }
.mv .mv-auth-form__signup { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--c-muted); }
.mv .mv-auth-form__signup a { font-weight: 600; color: var(--c-primary); }
/* Esqueci a senha: o cartão do Twenty-One vira a própria coluna (sem moldura), campos sem ícone. */
.mv .mv-auth__box > .row { display: block; margin: 0; }
.mv .mv-auth__box .card { max-width: none; margin: 0 !important; overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
.mv .mv-auth__box .card-body { padding: 0 !important; overflow: visible; }
.mv .mv-auth__box .card-body > .mb-4:first-child { margin-bottom: 24px !important; }
.mv .mv-auth__box .input-group-merge .input-group-prepend { display: none; }
.mv .mv-auth__box .input-group-merge > .form-control { border-left: 1px solid var(--c-border); }
.mv .mv-auth__box .input-group-merge > .form-control:focus { border-color: var(--c-primary); }

@media (max-width: 1023px) {
	.mv-auth__side { padding: 36px 32px; }
	.mv-auth__mark { top: -120px; right: -120px; width: 400px; height: 400px; }
	.mv-auth__main { padding: 24px; }
}
/* Celular: o painel vira uma faixa só com o logo; o suporte vai para baixo do formulário. */
@media (max-width: 767px) {
	.mv-auth { flex-direction: column; }
	.mv-auth__side { flex: none; max-width: none; min-height: 60px; padding: 16px 20px; justify-content: center; gap: 0; }
	.mv-auth__mark { top: -60px; right: -60px; width: 180px; height: 180px; }
	.mv-auth__logo img { height: 24px; }
	.mv-auth__hello, .mv-auth__side-foot { display: none; }
	.mv-auth__main { padding: 16px 16px 20px; }
	.mv #main-body.mv-auth__body { align-items: flex-start; padding: 24px 4px; }
	.mv .mv-auth-help--light { display: flex; }
	.mv .mv-auth-form__title, .mv .mv-auth__box .card-body .h3 { font-size: 26px; }
}
/* Crédito do WHMCS (licença sem remoção de marca), que ele injeta logo após o conteúdo: discreto, sem esconder. */
.mv .mv-auth__box > p[style*="text-align:center"] { order: 5; margin: 28px 0 0; font-size: 12px; color: var(--c-muted); }
.mv .mv-auth__box > p[style*="text-align:center"] a { color: var(--c-muted); }

/* ------------------------------------------------------------------ */
/* Cadastro na tela de entrada (js/register.js reorganiza o           */
/* clientregister.tpl original; sem JS fica o formulário do WHMCS).    */
/* ------------------------------------------------------------------ */
@media (min-width: 768px) {
	/* Painel parado enquanto a coluna do formulário rola. */
	.mv-auth__side { position: sticky; top: 0; align-self: flex-start; height: 100vh; height: 100dvh; }
	body[data-mv-page="clientregister"] .mv-auth__side { flex-basis: 40%; max-width: 40%; }
}
.mv .mv-auth__lead { margin: 4px 0 0; max-width: 34ch; font-size: 15px; color: var(--c-footer-text); opacity: .82; }
body[data-mv-page="clientregister"] .mv-auth__box { max-width: 560px; }
body[data-mv-page="clientregister"] #main-body.mv-auth__body { align-items: flex-start; padding: 32px 0 40px; }
.mv .mv-auth-form__head .mv-auth-form__lead a { font-weight: 600; color: var(--c-primary); }
.mv .mv-auth__box > .alert { margin-bottom: 20px; }

.mv-reg { display: flex; flex-direction: column; gap: 26px; margin-bottom: 26px; }
.mv-reg__social .mv-or { margin: 18px 0 0; }
.mv-reg__set { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mv .mv-reg__legend { float: none; width: auto; margin: 0 0 14px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--c-muted); }
.mv-reg__row { display: flex; gap: 14px; }
.mv-reg__row > * { flex: 1 1 0; min-width: 0; }
.mv-rf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mv-rf__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mv .mv-rf__label, .mv #registration .mv-rf__label { margin: 0; padding: 0; font-size: 14px; font-weight: 500; color: var(--c-heading); }
.mv .mv-rf__opt { font-size: 13px; font-weight: 400; color: var(--c-muted); }
.mv #registration .mv-reg .form-control, .mv #registration .mv-reg .field {
	height: 48px; min-height: 48px; padding-top: 0; padding-bottom: 0; padding-right: 14px; border-radius: 12px; font-size: 15px;
}
.mv #registration .mv-reg .form-control:not([type="tel"]), .mv #registration .mv-reg .field:not([type="tel"]) { padding-left: 14px; }
.mv #registration .mv-reg select.form-control:not([multiple]) { padding-right: 36px; }
.mv #registration .mv-reg .form-control::placeholder { color: var(--c-muted); opacity: .8; }
.mv-rf.is-invalid .form-control, .mv-rf.is-invalid .field { border-color: var(--danger) !important; }
.mv .mv-rf__error { margin: 0; font-size: 13px; color: var(--danger); }
/* Celular: o intl-tel-input do WHMCS (bandeira e +55 separados, dentro do campo). */
.mv #registration .mv-reg .intl-tel-input, .mv #registration .mv-reg .iti { display: block; width: 100%; }
.mv #registration .mv-reg .intl-tel-input .flag-container, .mv #registration .mv-reg .iti__flag-container { border-radius: 12px 0 0 12px; }
.mv #registration .mv-reg .selected-flag { border-radius: 12px 0 0 12px; }
/* CEP + Buscar + "Não sei meu CEP". */
.mv-rf--cep .mv-rf__control { display: flex; gap: 8px; }
.mv #registration .mv-rf--cep .form-control { flex: 0 1 200px; }
.mv .mv-reg__cep-btn { flex: none; height: 48px; padding: 0 16px; border: 1px solid var(--c-border); border-radius: 12px; background: var(--c-surface); color: var(--c-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.mv .mv-reg__cep-btn:hover { border-color: rgba(var(--c-primary-rgb), .35); background: var(--c-bg-alt); }
.mv .mv-reg__cep-btn:disabled { cursor: progress; color: var(--c-muted); }
.mv .mv-reg__cep-btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.mv .mv-reg__cep-link { align-self: flex-start; font-size: 13px; color: var(--c-primary); }
/* Endereço do CEP em texto. */
.mv-reg-addr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 12px; background: var(--c-bg-alt); color: var(--c-primary); }
.mv-reg-addr > svg { flex: none; }
.mv-reg-addr__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.mv .mv-reg-addr__street { font-size: 15px; font-weight: 600; color: var(--c-heading); }
.mv .mv-reg-addr__place { font-size: 13px; color: var(--c-muted); }
.mv .mv-reg-addr__change { flex: none; margin-left: auto; padding: 6px 4px; border: 0; background: none; color: var(--c-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mv .mv-reg-addr__change:hover { text-decoration: underline; }
.mv .mv-reg__notice { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--c-heading); background: color-mix(in srgb, var(--warning) 14%, var(--c-surface)); border: 1px solid color-mix(in srgb, var(--warning) 40%, var(--c-surface)); }
/* Empresa e "Gerar senha" como links. */
.mv .mv-reg__company-btn, .mv .mv-reg__gen { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; box-shadow: none; color: var(--c-primary); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.mv .mv-reg__gen { min-height: 0; font-size: 13px; }
.mv .mv-reg__company-btn:hover, .mv .mv-reg__gen:hover { text-decoration: underline; }
/* Senha: medidor do WHMCS discreto, abaixo do campo. */
.mv .mv-reg__meter { margin: 2px 0 0; }
.mv .mv-reg__meter .progress { height: 4px; margin: 0 0 6px; background: var(--c-border); }
.mv .mv-reg__meter #passwordStrengthTextLabel { margin: 0; text-align: left !important; font-size: 13px; color: var(--c-muted) !important; }
.mv .mv-rf #passwdFeedback { margin: 4px 0 0; font-size: 13px; text-align: left !important; }
/* Termos e envio. */
.mv #registration .mv-reg__tos { margin: 0 0 18px; text-align: left; }
.mv .mv-reg__tos-label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: 14px; font-weight: 400; color: var(--c-muted); cursor: pointer; }
.mv .mv-reg__tos-label input { flex: none; position: static; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c-primary); }
.mv .mv-reg__tos-label a { color: var(--c-primary); font-weight: 500; }
.mv-reg__tos.is-invalid .mv-reg__tos-label { color: var(--c-heading); }
.mv-reg__tos .mv-rf__error { margin: 6px 0 0 28px; }
.mv .mv-reg__submit-row { margin: 0; }
.mv #registration .mv-reg__submit { width: 100%; height: 50px; border-radius: 12px; font-size: 15px; font-weight: 600; }
/* Cartões do WHMCS que sobraram (moeda, outros campos, marketing). */
.mv #registration .mv-reg__extra { margin: 0 0 18px !important; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: none; }
.mv #registration .mv-reg__extra .card-body { padding: 16px !important; }
.mv #registration .mv-reg__extra .card-title { font-size: 15px; }

@media (max-width: 767px) {
	.mv-reg__row { flex-direction: column; }
	.mv #registration .mv-rf--cep .form-control { flex: 1 1 auto; }
	body[data-mv-page="clientregister"] #main-body.mv-auth__body { padding: 24px 4px; }
}

/* ------------------------------------------------------------------ */
/* Cabeçalho versão C: faixa escura da marca (29/10/2026)             */
/* includes/mv-header-client.tpl (área do cliente: barra, migalhas e  */
/* título; o conteúdo sobe sobre a faixa) e mv-header-checkout.tpl    */
/* (loja e checkout: só a barra). Cor: --c-primary-dark (#000066).    */
/* Faixa clara demais ($mvBandDark falso): .mvx-band--light.          */
/* ------------------------------------------------------------------ */
.mvx-band, .mvx-solo {
	--mvx-bg: var(--c-primary-dark, #000066); --mvx-ink: #fff; --mvx-soft: #dfe6ff; --mvx-crumb: #b9c4ee;
	--mvx-line: rgba(255,255,255,.12); --mvx-hover: rgba(255,255,255,.1); --mvx-edge: rgba(255,255,255,.45);
	--mvx-pill-bg: #fff; --mvx-pill-ink: var(--c-primary-dark, #000066); --mvx-yellow: #ffd24a; --mvx-focus: rgba(255,255,255,.75);
}
.mvx-band--light, .mvx-solo--light {
	--mvx-ink: var(--c-heading); --mvx-soft: var(--c-muted); --mvx-crumb: var(--c-muted); --mvx-line: var(--c-border);
	--mvx-hover: rgba(var(--c-dark-rgb), .06); --mvx-edge: var(--c-border); --mvx-pill-bg: var(--c-primary); --mvx-pill-ink: var(--mv-on-primary); --mvx-focus: var(--c-primary);
}
.mvx-band { position: relative; background: var(--mvx-bg); color: var(--mvx-ink); padding-bottom: 56px; }
.mvx-band--bar { padding-bottom: 0; }
.mv .mvx.site-header { position: relative; z-index: 50; padding: 0; background: none; }
.mvx-bar { display: flex; align-items: center; gap: 8px; height: 70px; border-bottom: 1px solid var(--mvx-line); }
.mv .mvx-brand { display: inline-flex; align-items: center; flex: none; margin-right: 22px; color: var(--mvx-ink); text-decoration: none; }
.mvx-brand img { display: block; height: 28px; width: auto; max-width: none; }
.mvx-brand img.mv-logo-invert, .mvx-solo .brand img.mv-logo-invert { filter: brightness(0) invert(1); }
.mvx-nav { display: flex; flex: 1 1 auto; min-width: 0; }
.mvx .mvh-list { gap: 4px; }
.mv .mvx .mvh-link { height: 36px; padding: 0 14px; border-radius: 999px; color: var(--mvx-soft); font-size: 14.5px; font-weight: 500; }
.mv .mvx .mvh-link:hover, .mv .mvx .mvh-dd.is-open > .mvh-link { color: var(--mvx-ink); background: var(--mvx-hover); }
.mv .mvx .mvh-item.is-active > .mvh-link { color: var(--mvx-pill-ink); background: var(--mvx-pill-bg); font-weight: 600; }
.mvx .mvh-chev { opacity: .8; }
.mvx-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--mvx-yellow); color: var(--c-primary-dark, #000066); font: 700 11px/1 var(--f-body); }
.mvx-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mv .mvx-pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; box-sizing: border-box; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .2s, border-color .2s; }
.mv .mvx-pill--outline { margin-right: 6px; color: var(--mvx-ink); border: 1px solid var(--mvx-edge); background: transparent; font-weight: 500; }
.mv .mvx-pill--outline:hover { color: var(--mvx-ink); background: var(--mvx-hover); text-decoration: none; }
.mv .mvx-actions .mvx-pill--outline:first-child { font-weight: 600; }
.mv .mvx-pill--solid { padding: 0 20px; margin-left: 4px; color: var(--mvx-pill-ink); background: var(--mvx-pill-bg); border: 0; }
.mv .mvx-pill--solid:hover { color: var(--mvx-pill-ink); background: var(--mvx-pill-bg); opacity: .92; text-decoration: none; }
.mv .mvx-icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--mvx-ink); cursor: pointer; }
.mv .mvx-icon-btn:hover, .mv .mvh-dd.is-open > .mvx-icon-btn { background: var(--mvx-hover); color: var(--mvx-ink); }
.mvx-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--mvx-yellow); box-shadow: 0 0 0 2px var(--mvx-bg); }
.mvx-dot--count { top: 2px; right: 0; width: auto; min-width: 17px; height: 17px; padding: 0 4px; color: var(--c-primary-dark, #000066); font: 700 10px/17px var(--f-body); text-align: center; }
.mvx-user { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: 4px; padding: 0 12px 0 4px; border: 0; border-radius: 999px; background: var(--mvx-hover); color: var(--mvx-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.mvx-user__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvx-avatar { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mvx-pill-bg); color: var(--mvx-pill-ink); font-size: 13px; font-weight: 700; line-height: 1; }
.mvx-user__panel { min-width: 260px; }
.mv .mvx .mvh-sublink--logout { color: var(--danger); }
.mvh-langrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; color: var(--c-heading); font-size: 14.5px; font-weight: 500; }
.mvh-langrow__opts { display: inline-flex; gap: 10px; font-size: 13.5px; }
.mvh-langrow__on { color: var(--c-muted); }
.mv .mvh-langrow__opts a { color: var(--c-primary); font-weight: 600; }
/* Idioma do visitante: só o código, sem moldura. */
.mvx .mvx-lang .lang-switch__btn { height: 40px; border: 0; background: transparent; color: var(--mvx-soft); border-radius: 999px; }
.mvx .mvx-lang .lang-switch__btn:hover, .mvx .mvx-lang.is-open .lang-switch__btn { background: var(--mvx-hover); color: var(--mvx-ink); }
.mvx .mvx-lang .lang-switch__chev { color: currentColor; }
/* Foco na faixa: contorno fino claro, sem brilho; nos painéis brancos, o do tema. */
.mv .mvx-band a:focus-visible, .mv .mvx-band button:focus-visible, .mv .mvx-solo a:focus-visible, .mv .mvx-solo button:focus-visible { outline: 2px solid var(--mvx-focus); outline-offset: 2px; box-shadow: none; }
.mv .mvx .mvh-panel a:focus-visible, .mv .mvx .mvh-panel button:focus-visible { outline-color: var(--c-primary); outline-offset: -2px; }
.mv .mvx-band a:focus:not(:focus-visible), .mv .mvx-band button:focus:not(:focus-visible) { outline: 0; }
/* Botão do menu (celular) e o menu dentro da faixa. */
.mvx-burger { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: var(--mvx-hover); color: var(--mvx-ink); cursor: pointer; }
.mvx-burger__close, body.mvh-open .mvx-burger__open { display: none; }
body.mvh-open .mvx-burger__close { display: block; }
.mvx-drawer { display: none; }
.mvx-drawer__list { list-style: none; margin: 0; padding: 0; }
.mv .mvx-drawer__link { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px; color: var(--mvx-ink); font-size: 15px; text-decoration: none; }
.mv .mvx-drawer__link:hover { background: var(--mvx-hover); color: var(--mvx-ink); text-decoration: none; }
.mv .mvx-drawer__link.is-active { background: var(--mvx-pill-bg); color: var(--mvx-pill-ink); font-weight: 600; }
.mv .mvx-drawer__cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; margin-top: 8px; box-sizing: border-box; border: 1px solid var(--mvx-edge); border-radius: 12px; color: var(--mvx-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.mv .mvx-drawer__cta--solid { margin: 0 0 8px; border: 0; background: var(--mvx-pill-bg); color: var(--mvx-pill-ink); }
.mv .mvx-drawer__cta:hover { color: var(--mvx-ink); text-decoration: none; background: var(--mvx-hover); }
.mv .mvx-drawer__cta--solid:hover { color: var(--mvx-pill-ink); background: var(--mvx-pill-bg); }
.mvx-drawer__user { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px 8px; border-top: 1px solid var(--mvx-line); }
.mvx-drawer__who { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mvx-drawer__who strong { color: var(--mvx-ink); font-size: 14px; font-weight: 600; }
.mvx-drawer__who > span { color: var(--mvx-crumb); font-size: 12.5px; }
.mv .mvx-drawer__who a, .mv .mvx-drawer__lang { color: var(--mvx-crumb); text-decoration: none; }
.mv .mvx-drawer__who a:hover, .mv .mvx-drawer__lang:hover { color: var(--mvx-ink); text-decoration: underline; }
.mv .mvx-drawer__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 13px; }
.mvx-drawer__lang-to { opacity: .8; }

/* Migalhas e título dentro da faixa. */
.mvx-title .container { display: flex; flex-direction: column; gap: 6px; padding-top: 26px; }
.mv .mvx-title__h1 { margin: 0; color: var(--mvx-ink); font-family: var(--f-heading); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.mvx-band .mv-crumbs { padding: 0; }
.mvx-band .mv-crumbs__list { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; }
.mv .mvx-band .mv-crumbs__link { padding: 2px 0; border-radius: 4px; color: var(--mvx-crumb); }
.mv .mvx-band .mv-crumbs__link:hover, .mv .mvx-band .mv-crumbs__link:focus-visible { color: var(--mvx-ink); background: none; text-decoration: underline; }
.mvx-band .mv-crumbs__here { padding: 2px 0; background: none; color: var(--mvx-crumb); font-weight: 400; }
.mvx-band .mv-crumbs__sep { color: var(--mvx-crumb); opacity: .8; }
.mvx-band .mv-crumbs__text { max-width: 32ch; }
.mvx-notices:empty { display: none; }
.mvx-notices { position: relative; }
/* Conteúdo sobre a faixa. */
body.mvx-overlap #main-body { position: relative; z-index: 41; margin-top: -34px; padding-top: 0; background: transparent; }

/* Loja e checkout: só a barra escura (conteúdo do cabeçalho mínimo igual). */
.mv .mv-checkout-header.mvx-solo { padding: 0; background: var(--mvx-bg); color: var(--mvx-ink); border-bottom: 1px solid var(--mvx-line); }
.mv .mvx-solo .header__bar { height: 70px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.mvx-solo .brand img { height: 28px; width: auto; }
.mv .mvx-solo .mv-secure { color: var(--mvx-soft); }
.mv .mvx-solo .mv-help { color: var(--mvx-ink); background: transparent; border-color: var(--mvx-edge); border-radius: 999px; }
.mv .mvx-solo .mv-help:hover { color: var(--mvx-ink); background: var(--mvx-hover); }

@media (max-width: 991px) {
	.mvx-desktop, .mvx-nav { display: none !important; }
	.mvx-bar { height: 60px; gap: 4px; }
	.mvx-brand img, .mvx-solo .brand img { height: 24px; }
	.mv .mvx-solo .header__bar { height: 60px; }
	.mvx-burger { display: inline-grid; }
	body.mvh-open .mvx-drawer { display: block; }
	body.mv.mvh-open { overflow: visible; }
	body.mv.mvh-open::after { content: none; display: none; }
	.mvx-drawer .container { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--mvx-line); }
	.mvx .mvh-notify__panel { top: 64px; }
	.mvx-band { padding-bottom: 44px; }
	.mvx-title .container { padding-top: 18px; }
	/* Celular: a migalha atual é o próprio título; fica só o "voltar". */
	.mvx-band .mv-crumbs__item.is-current, .mvx-band .mv-crumbs__item.is-prev .mv-crumbs__sep { display: none; }
	.mv .mvx-title__h1 { font-size: 24px; }
	body.mvx-overlap #main-body { margin-top: -28px; }
}

/* Contraste (2.10.x): cinzas e rosa fixos do Twenty-One/Bootstrap abaixo de 4,5:1 nas telas
   de Base de conhecimento, Downloads (#87939f, 3,1:1), Afiliados (.text-muted com !important,
   4,3:1) e Alterar senha (code #e83e8c, 3,3:1). Passam aos tokens do tema. */
.mv .kb-article-item small, .mv .kb-article-item small strong { color: var(--c-muted); }
.mv .text-muted { color: var(--c-muted) !important; }
.mv code { color: var(--c-primary); }

/* ------------------------------------------------------------------ */
/* Abrir ticket, versão A (supportticketsubmit-steptwo.tpl, 29/10/26) */
/* Sem barras laterais; coluna de 840 px alinhada com a faixa.        */
/* ------------------------------------------------------------------ */
@media (min-width: 768px) {
	body.mv-narrow .mvx-title .container, body.mv-narrow #main-body > .container { max-width: calc(840px + 2 * var(--mv-gutter, 16px)); }
}
.mv-tk__card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; box-shadow: 0 16px 32px -24px rgba(var(--c-dark-rgb), .35); }
.mv .mv-tk__card > .alert { margin: 0; border-radius: 12px; }
.mv-tk__who { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--c-bg-alt); color: var(--c-muted); font-size: 14px; }
.mv .mv-tk__who strong { color: var(--c-heading); font-weight: 600; }
.mv-tk__avatar { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: var(--mv-on-primary); font-size: 13px; font-weight: 700; }
.mv-tk__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; }
.mv-tk__row--subject { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.mv-tk__row--subject > :only-child { grid-column: 1 / -1; }
.mv-tk__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.mv .mv-tk__field > label, .mv .mv-tk__label { margin: 0; color: var(--c-heading); font-size: 14px; font-weight: 600; }
.mv .mv-tk__opt { color: var(--c-muted); font-weight: 400; }
.mv .mv-tk .form-control:not(textarea) { height: 46px; border-radius: 10px; font-size: 15px; }
/* Editor: abas à esquerda; à direita só negrito, itálico, link, lista e código. */
.mv .mv-tk .md-editor { border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; background: var(--c-surface); }
.mv .mv-tk .md-editor.active { border-color: var(--c-primary); box-shadow: var(--mv-field-focus); }
.mv .mv-tk .md-header { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 6px 8px; background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.mv .mv-tk .md-header > .btn-group { margin: 0; }
.mv .mv-tk .md-header > .mv-md-tabs + .btn-group { margin-left: auto; }
.mv .mv-tk [data-handler="bootstrap-markdown-cmdHeading"], .mv .mv-tk [data-handler="bootstrap-markdown-cmdImage"],
.mv .mv-tk [data-handler="bootstrap-markdown-cmdListO"], .mv .mv-tk [data-handler="bootstrap-markdown-cmdQuote"],
.mv .mv-tk [data-handler="bootstrap-markdown-cmdHelp"], .mv .mv-tk [data-handler="bootstrap-markdown-cmdPreview"],
.mv .mv-tk .md-controls, .mv .mv-tk .md-footer, .mv .mv-tk .md-fullscreen-controls { display: none !important; }
.mv .mv-tk .md-header .btn { width: 32px; height: 32px; padding: 0; border: 0 !important; border-radius: 8px !important; background: transparent; color: var(--c-muted); box-shadow: none; }
.mv .mv-tk .md-header .btn:hover:not(:disabled) { background: rgba(var(--c-primary-rgb), .08); color: var(--c-primary); }
.mv-md-tabs { display: flex; gap: 2px; }
.mv .mv-md-tab { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mv .mv-md-tab[aria-selected="true"] { background: var(--c-primary-soft); color: var(--c-primary); }
.mv .mv-tk .md-header .btn:focus-visible, .mv .mv-md-tab:focus-visible { outline: 2px solid var(--c-primary); outline-offset: -2px; }
.mv .mv-tk textarea.md-input, .mv .mv-tk #inputMessage { height: 200px; min-height: 140px; padding: 14px; border: 0; border-radius: 0; box-shadow: none; resize: vertical; font-size: 15px; }
.mv .mv-tk .md-preview { min-height: 200px; padding: 14px; }
/* Anexos: área tracejada com o input de arquivo por cima (clique e arrastar nativos). */
.mv .mv-tk__drop { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; min-height: 60px; margin: 0; padding: 10px 14px; border: 1.5px dashed var(--c-border); border-radius: 12px; background: var(--c-bg-alt); color: var(--c-muted); font-size: 14px; font-weight: 400; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.mv-tk__drop > svg { color: var(--c-primary); flex: none; }
.mv-tk__drop:hover, .mv-tk__drop.is-over { border-color: var(--c-primary); background: var(--c-primary-soft); }
.mv-tk__drop:focus-within { border-color: var(--c-primary); box-shadow: var(--mv-field-focus); }
.mv .mv-tk__drop > span { color: var(--c-muted); font-weight: 400; }
.mv .mv-tk__choose { color: var(--c-primary) !important; font-weight: 600 !important; }
.mv-tk__drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mv-tk__files { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--c-heading); }
.mv .mv-tk__rm { padding: 0; border: 0; background: none; color: var(--c-primary); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.mv-tk__hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; color: var(--c-muted); font-size: 12.5px; }
.mv-tk__formats summary { color: var(--c-primary); cursor: pointer; }
.mv-tk__formats[open] span { display: block; margin-top: 4px; word-break: break-word; }
.mv .mv-tk #customFieldsContainer:empty, .mv .mv-tk__captcha:empty { display: none; }
.mv .mv-tk #customFieldsContainer .form-group { margin: 0 0 14px; }
/* Ações e nota. */
.mv-tk__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.mv .mv-tk__cancel { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; color: var(--c-muted); font-size: 14.5px; font-weight: 500; }
.mv .mv-tk__cancel:hover { color: var(--c-heading); }
.mv .mv-tk__send { height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.mv .mv-tk__note { margin: 14px 4px 0; text-align: center; color: var(--c-muted); font-size: 13px; }
@media (max-width: 767px) {
	.mv-tk__card { padding: 16px; }
	.mv-tk__row, .mv-tk__row--subject { grid-template-columns: minmax(0, 1fr); }
	.mv .mv-tk textarea.md-input, .mv .mv-tk #inputMessage { height: 180px; }
	/* Celular: abas + negrito, itálico e link numa linha só. */
	.mv .mv-tk [data-handler="bootstrap-markdown-cmdList"], .mv .mv-tk [data-handler="bootstrap-markdown-cmdCode"] { display: none !important; }
	.mv .mv-md-tab { padding: 0 10px; }
	.mv .mv-tk__send { flex: 1 1 auto; }
}
.mv-tk__who > span:last-child { min-width: 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ */
/* Ver ticket, versão A (viewticket.tpl, 29/10/2026)                   */
/* ------------------------------------------------------------------ */
.mvx-ticket { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; color: var(--mvx-soft); font-size: 13.5px; }
.mvx-ticket__id { color: var(--mvx-ink); font-weight: 600; }
.mvx-status { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.mvx-status--open { background: #cfe0ff; color: #0b2a7a; }
.mvx-status--ok { background: #9be3b5; color: #0b3d1e; }
.mvx-status--wait { background: #ffd98a; color: #5c3b00; }
.mvx-status--closed { background: rgba(255,255,255,.14); color: var(--mvx-soft); }
.mvx-band--light .mvx-status--closed { background: var(--c-bg-alt); color: var(--c-muted); }
.mv .mvx-ticket__close { margin-left: auto; color: var(--mvx-soft); text-decoration: underline; text-underline-offset: 3px; }
.mv .mvx-ticket__close:hover { color: var(--mvx-ink); }
.mv-vt { display: flex; flex-direction: column; gap: 12px; }
.mv-msg { padding: 18px 22px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; box-shadow: 0 16px 32px -24px rgba(var(--c-dark-rgb), .35); min-width: 0; }
.mv-msg--staff { background: #f5f8ff; border-color: #cdd9f5; border-left: 3px solid var(--c-primary); box-shadow: none; }
.mv-msg__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.mv-msg__avatar { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); font-size: 13px; font-weight: 700; }
.mv-msg--staff .mv-msg__avatar { background: var(--c-primary-dark, #000066); color: #fff; }
.mv-msg__who { color: var(--c-heading); font-weight: 600; }
.mv-msg__tag { padding: 0 8px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary); font-size: 11.5px; font-weight: 600; line-height: 1.7; }
.mv-msg__date { margin-left: auto; color: var(--c-muted); font-size: 13px; }
.mv .mv-msg__body { color: var(--c-text); overflow-wrap: anywhere; }
.mv .mv-msg__body > :last-child { margin-bottom: 0; }
.mv .mv-msg__body pre { max-width: 100%; overflow-x: auto; }
.mv .mv-msg__body img { max-width: 100%; height: auto; }
.mv-msg__files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mv .mv-file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px 6px 6px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-heading); font-size: 13.5px; text-decoration: none; }
.mv a.mv-file:hover { border-color: rgba(var(--c-primary-rgb), .35); color: var(--c-primary); text-decoration: none; }
.mv-file__icon { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--c-bg-alt); color: var(--c-muted); }
.mv-file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mv-file.is-removed { color: var(--c-muted); }
.mv-file.is-removed .mv-file__name { font-weight: 400; }
.mv-msg__rating { margin-top: 10px; padding: 0; background: none; border: 0; }
.mv .mv-msg__rating .rated { color: var(--c-muted); font-size: 13px; }
.mv .mv-vt__closed { display: flex; align-items: center; gap: 8px; margin: 4px 4px 0; color: var(--c-muted); font-size: 14px; }
.mv-vt__reply { margin-top: 6px; }
.mv-vt__reply .mv-tk__card { gap: 14px; padding: 24px; }
.mv .mv-vt__title { margin: 0; color: var(--c-heading); font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.mv .mv-vt__reply textarea.md-input, .mv .mv-vt__reply #inputMessage { height: 150px; }
.mv .mv-tk__drop--compact { min-height: 48px; padding: 8px 14px; }
.mv-vt__actions { justify-content: space-between; align-items: flex-start; padding-top: 14px; }
.mv-vt__actions .mv-tk__send { margin-left: auto; }
/* Pessoas em cópia */
.mv-cc { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mv .mv-cc__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--c-muted); font: inherit; font-size: 14px; cursor: pointer; }
.mv .mv-cc__toggle strong { color: var(--c-heading); }
.mv-cc__chev { transition: transform .2s var(--ease); }
.mv-cc__toggle[aria-expanded="true"] .mv-cc__chev { transform: rotate(90deg); }
.mv .mv-cc__toggle:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.mv-cc__panel { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--c-bg-alt); }
.mv-cc__panel[hidden] { display: none; }
.mv-cc__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mv-cc__list:empty { display: none; }
.mv-cc__item { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 4px 2px 12px; border: 1px solid var(--c-border); border-radius: 999px; background: var(--c-surface); font-size: 13.5px; }
.mv-cc__item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv .mv-cc__rm { flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.mv .mv-cc__rm:hover { background: var(--c-bg-alt); color: var(--danger); }
.mv-cc__add { display: flex; gap: 8px; }
.mv .mv-cc__add .form-control { flex: 1 1 auto; min-width: 0; height: 40px; border-radius: 10px; font-size: 14px; }
.mv .mv-cc__btn { flex: none; height: 40px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); color: var(--c-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mv .mv-cc__btn:hover { border-color: rgba(var(--c-primary-rgb), .35); }
.mv .mv-cc__msg { margin: 0; color: var(--c-success); font-size: 13px; }
.mv .mv-cc__msg.is-bad { color: var(--danger); }
@media (max-width: 767px) {
	.mv-msg { padding: 14px 16px; }
	.mv-vt__reply .mv-tk__card { padding: 16px; }
	.mv .mv-vt__reply textarea.md-input, .mv .mv-vt__reply #inputMessage { height: 130px; }
	.mv-vt__actions { flex-direction: column; align-items: stretch; }
	.mv-vt__actions .mv-tk__send { margin-left: 0; width: 100%; }
	.mv-cc { flex: 0 0 auto; }
	.mv .mvx-ticket__close { margin-left: 0; }
}
