/* Request an Update: tag-style button on the listing hero, and its modal. */

.nova-lista-upd-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 10px; border: 1px solid rgb(17 24 39 / .14); border-radius: 6px;
	background: #fff; color: #374151; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.5;
	cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nova-lista-upd-btn:hover { border-color: #1d4ed8; color: #1d4ed8; background: rgb(29 78 216 / .05); }
.nova-lista-upd-btn:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.nova-lista-upd-btn svg { flex: none; }
.wms-tpl-premium-listing__update { margin-top: 12px; }

.nova-lista-upd {
	width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
	padding: 0; border: 0; border-radius: 16px; background: #fff; color: #111827;
	box-shadow: 0 24px 64px -12px rgb(17 24 39 / .35);
	overflow: hidden;
}
.nova-lista-upd[open] { display: flex; flex-direction: column; animation: nova-lista-upd-in .18s ease both; }
.nova-lista-upd::backdrop { background: rgb(17 24 39 / .5); }
@keyframes nova-lista-upd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.nova-lista-upd__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
	padding: 20px 24px 16px; border-bottom: 1px solid #eef0f3; flex: none;
}
.nova-lista-upd__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.nova-lista-upd__sub { margin: 4px 0 0; color: #6b7280; font-size: 14px; }
.nova-lista-upd__close {
	display: grid; place-items: center; width: 36px; height: 36px; flex: none;
	border: 0; border-radius: 10px; background: transparent; color: #6b7280; cursor: pointer;
}
.nova-lista-upd__close:hover { background: #f3f4f6; color: #111827; }
.nova-lista-upd__body { padding: 8px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }

html.nova-lista-upd-lock { overflow: hidden; }

@media (max-width: 640px) {
	.nova-lista-upd { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
	.nova-lista-upd__head { padding: 16px; }
	.nova-lista-upd__body { padding: 4px 16px 20px; }
}
