/* The button takes the store's text colour; the window is drawn the same in every theme. */
.mymetri-provador { clear: both; margin: 0 0 12px; width: 100%; }
/* The class is repeated so that a theme's rule for every button does not repaint ours. */
.mymetri-provador .mymetri-provador-open.mymetri-provador-open.mymetri-provador-open {
	display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0;
	min-height: 44px; border: 0; background: transparent; box-shadow: none; color: inherit;
	font: inherit; line-height: 1.2; text-transform: none; cursor: pointer;
}
.mymetri-provador .mymetri-provador-open.mymetri-provador-open.mymetri-provador-open:hover,
.mymetri-provador .mymetri-provador-open.mymetri-provador-open.mymetri-provador-open:focus { background: transparent; color: inherit; }
.mymetri-provador .mymetri-provador-open.mymetri-provador-open.mymetri-provador-open:focus-visible { outline: 2px solid #326aff; outline-offset: 2px; }
.mymetri-provador svg, .mymetri-provador-mark svg { flex: none; display: block; }

html.mymetri-provador-on { overflow: hidden; }
dialog.mymetri-provador-window {
	position: fixed; inset: 0 0 0 auto; box-sizing: border-box; width: 420px; max-width: 100%;
	height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
	background: #fff; color: #0b1631; box-shadow: -8px 0 32px rgba(11, 22, 49, .25);
}
dialog.mymetri-provador-window[open] { display: flex; flex-direction: column; }
dialog.mymetri-provador-window::backdrop { background: rgba(11, 22, 49, .45); }
.mymetri-provador-window .mymetri-provador-bar {
	display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 4px 16px;
	border-bottom: 1px solid #e3e7ef;
}
.mymetri-provador-window .mymetri-provador-mark { display: flex; align-items: center; gap: 8px; color: #0b1631; }
.mymetri-provador-window .mymetri-provador-close.mymetri-provador-close.mymetri-provador-close {
	width: 44px; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; background: transparent;
	box-shadow: none; color: #0b1631; font: 28px/1 system-ui, sans-serif; cursor: pointer;
}
.mymetri-provador-window .mymetri-provador-close.mymetri-provador-close.mymetri-provador-close:focus-visible { outline: 2px solid #326aff; outline-offset: -4px; }
.mymetri-provador-window iframe { flex: 1; width: 100%; min-height: 0; border: 0; }
@media (max-width: 600px) {
	dialog.mymetri-provador-window { width: 100%; box-shadow: none; }
}
