/*
 * Dvance Portal front-end styles.
 * Colours inherit Elementor global colours when available; override the --dvp-* tokens in your theme to restyle.
 */
.dvp {
	--dvp-accent: var(--e-global-color-primary, #2563eb);
	--dvp-accent-text: #fff;
	/* Fixed, not the Elementor kit's text colour: kits often use a light grey that's unreadable on cards. */
	--dvp-text: #1f2937;
	--dvp-muted: #6b7280;
	--dvp-surface: #fff;
	--dvp-border: #e5e7eb;
	--dvp-soft: #f9fafb;
	--dvp-alert: #b91c1c;
	--dvp-alert-soft: #fef2f2;
	--dvp-ok: #047857;
	--dvp-ok-soft: #ecfdf5;
	--dvp-info-soft: #eff6ff;
	--dvp-radius: 10px;

	color: var(--dvp-text);
	display: grid;
	gap: 1rem;
	max-width: 960px;
	margin-inline: auto;
	font-size: 1rem;
	line-height: 1.5;
}

.dvp *,
.dvp *::before,
.dvp *::after {
	box-sizing: border-box;
}

.dvp-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.dvp .dvp-header__title,
.dvp .dvp-card__title {
	margin: 0;
	line-height: 1.25;
	color: var(--dvp-text);
}

.dvp p,
.dvp label,
.dvp li {
	color: inherit;
}

.dvp-header__title {
	font-size: 1.6rem;
}

.dvp-card__title {
	font-size: 1.15rem;
}

.dvp-card {
	background: var(--dvp-surface);
	border: 1px solid var(--dvp-border);
	border-radius: var(--dvp-radius);
	padding: 1.25rem;
}

.dvp-card > p:last-child {
	margin-bottom: 0;
}

.dvp-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

/* Overview tiles */
.dvp-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.dvp-tile,
.dvp-bucket {
	background: var(--dvp-surface);
	border: 1px solid var(--dvp-border);
	border-radius: var(--dvp-radius);
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.dvp-tile--alert {
	border-color: var(--dvp-alert);
	background: var(--dvp-alert-soft);
}

.dvp-tile__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dvp-muted);
}

.dvp-tile__value {
	font-size: 1.6rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.dvp-tile__meta {
	font-size: 0.875rem;
	color: var(--dvp-muted);
}

.dvp-buckets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.dvp-bucket {
	background: var(--dvp-soft);
	padding: 0.75rem 1rem;
}

.dvp-bucket strong {
	font-size: 1.2rem;
	font-variant-numeric: tabular-nums;
}

/* Rows */
.dvp-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dvp-row {
	display: flex;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--dvp-border);
	flex-wrap: wrap;
}

.dvp-row:first-child {
	border-top: 0;
}

.dvp-row--alert {
	box-shadow: inset 3px 0 0 var(--dvp-alert);
	padding-left: 0.75rem;
}

.dvp-row__main {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow-wrap: anywhere;
}

.dvp-row__amount {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.dvp-list--compact .dvp-row {
	padding: 0.5rem 0;
}

/* Text */
.dvp-muted {
	color: var(--dvp-muted);
}

.dvp-small {
	font-size: 0.8rem;
	margin: 0.75rem 0 0;
}

.dvp-text-alert {
	color: var(--dvp-alert);
	font-weight: 600;
}

.dvp-link {
	color: var(--dvp-accent);
	text-decoration: none;
	font-weight: 500;
}

.dvp-link:hover,
.dvp-link:focus-visible {
	text-decoration: underline;
}

/* Buttons */
.dvp-button,
.dvp .dvp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--dvp-accent);
	border-radius: 8px;
	background: var(--dvp-accent);
	color: var(--dvp-accent-text);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.dvp-button:hover,
.dvp-button:focus-visible {
	filter: brightness(0.92);
	color: var(--dvp-accent-text);
}

.dvp-button--secondary,
.dvp .dvp-button--secondary {
	background: transparent;
	color: var(--dvp-accent);
}

.dvp-button--secondary:hover,
.dvp-button--secondary:focus-visible {
	background: var(--dvp-info-soft);
	color: var(--dvp-accent);
	filter: none;
}

/* Badges */
.dvp-badge {
	display: inline-block;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: var(--dvp-info-soft);
	color: var(--dvp-accent);
	text-decoration: none;
	white-space: nowrap;
	margin: 0;
}

.dvp-badge--ok,
.dvp-status--active {
	background: var(--dvp-ok-soft);
	color: var(--dvp-ok);
}

.dvp-badge--muted,
.dvp-status--pending {
	background: var(--dvp-soft);
	color: var(--dvp-muted);
}

.dvp-status--suspended,
.dvp-status--expired {
	background: var(--dvp-alert-soft);
	color: var(--dvp-alert);
}

.dvp-header .dvp-badge {
	margin-top: 0.35rem;
}

/* Notices */
.dvp-notice {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	border-left: 4px solid var(--dvp-accent);
	background: var(--dvp-info-soft);
	margin: 0;
}

.dvp-notice--success {
	border-color: var(--dvp-ok);
	background: var(--dvp-ok-soft);
}

.dvp-notice--error {
	border-color: var(--dvp-alert);
	background: var(--dvp-alert-soft);
}

.dvp-card .dvp-notice {
	margin-bottom: 0.75rem;
}

/* Forms */
.dvp-form {
	display: grid;
	gap: 0.4rem;
	margin-top: 0.75rem;
}

.dvp-form label {
	font-weight: 600;
}

.dvp-form__row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dvp-form input[type="email"],
.dvp-form input[type="text"] {
	flex: 1 1 220px;
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--dvp-border);
	border-radius: 8px;
	font: inherit;
	background: var(--dvp-surface);
	color: var(--dvp-text);
}

.dvp-form input:focus-visible {
	outline: 2px solid var(--dvp-accent);
	outline-offset: 1px;
}

#dvp-code {
	letter-spacing: 0.3em;
	font-variant-numeric: tabular-nums;
	max-width: 12rem;
}

.dvp-details {
	margin-top: 0.75rem;
}

.dvp-details summary {
	cursor: pointer;
	color: var(--dvp-accent);
	font-weight: 500;
}

.dvp-login {
	max-width: 420px;
	margin-inline: auto;
}

.dvp-login form p {
	display: grid;
	gap: 0.25rem;
}

.dvp-login input[type="text"],
.dvp-login input[type="email"],
.dvp-login input[type="password"] {
	width: 100%;
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--dvp-border);
	border-radius: 8px;
}

.dvp-login .login-remember {
	display: block;
}

.dvp-login input[type="submit"] {
	min-height: 40px;
	padding: 0.5rem 1.25rem;
	border: 0;
	border-radius: 8px;
	background: var(--dvp-accent);
	color: var(--dvp-accent-text);
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 600px) {
	.dvp-card {
		padding: 1rem;
	}

	.dvp-row .dvp-button {
		width: 100%;
	}

	.dvp-tile__value {
		font-size: 1.35rem;
	}
}

/* Inquiry form */
.dvp-inquiry__form {
	gap: 1rem;
}

.dvp-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dvp-fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
	min-width: 0;
}

.dvp-fieldset legend {
	font-weight: 600;
	padding: 0;
	margin-bottom: 0.4rem;
}

.dvp-choices {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dvp-choice {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--dvp-border);
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500 !important;
}

.dvp-choice:has(input:checked) {
	border-color: var(--dvp-accent);
	background: var(--dvp-info-soft);
}

.dvp-choice input {
	margin-top: 0.25rem;
	accent-color: var(--dvp-accent);
}

.dvp-grid {
	display: grid;
	gap: 0.75rem 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dvp-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dvp-field {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.dvp-form input[type="tel"],
.dvp-form input[type="number"],
.dvp-form input[type="file"],
.dvp-form select,
.dvp-form textarea {
	width: 100%;
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--dvp-border);
	border-radius: 8px;
	font: inherit;
	background: var(--dvp-surface);
	color: var(--dvp-text);
}

.dvp-form textarea {
	resize: vertical;
}

.dvp-dims {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dvp-dims input {
	flex: 1 1 80px !important;
	min-width: 0;
}

.dvp-dims select {
	width: auto;
	flex: 0 0 auto;
}

.dvp-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 400 !important;
	font-size: 0.9rem;
}

.dvp-consent input {
	margin-top: 0.25rem;
	accent-color: var(--dvp-accent);
}

.dvp-notice ul {
	margin: 0.4rem 0 0 1.2rem;
}

/* Projects */
.dvp-project {
	border-top: 1px solid var(--dvp-border);
	padding: 0.9rem 0;
}

.dvp-project:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.dvp-project__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	cursor: pointer;
	list-style: none;
}

.dvp-project__head::-webkit-details-marker {
	display: none;
}

.dvp-project__title {
	font-weight: 700;
	font-size: 1.05rem;
}

.dvp-project__summary {
	margin-top: 0.75rem;
}

.dvp-phases {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	counter-reset: dvp-phase;
}

.dvp-phase {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0 0.6rem 2.25rem;
	position: relative;
	counter-increment: dvp-phase;
	flex-wrap: wrap;
}

.dvp-phase::before {
	content: counter(dvp-phase);
	position: absolute;
	left: 0;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--dvp-soft);
	border: 1px solid var(--dvp-border);
	color: var(--dvp-muted);
}

.dvp-phase--in_progress::before {
	background: var(--dvp-accent);
	border-color: var(--dvp-accent);
	color: var(--dvp-accent-text);
}

.dvp-phase--complete::before {
	content: "✓";
	background: var(--dvp-ok-soft);
	border-color: var(--dvp-ok);
	color: var(--dvp-ok);
}

/* Quick actions */
.dvp-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
}

.dvp-action {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	background: var(--dvp-surface);
	border: 1px solid var(--dvp-border);
	border-radius: var(--dvp-radius);
	color: var(--dvp-text);
	text-decoration: none;
	font-weight: 600;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.dvp-action:hover,
.dvp-action:focus-visible {
	border-color: var(--dvp-accent);
	box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.35);
	color: var(--dvp-text);
}

.dvp-action__icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--dvp-info-soft);
	color: var(--dvp-accent);
	font-size: 1.1rem;
	line-height: 1;
}

.dvp-action__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.dvp-action__text small {
	font-weight: 400;
	color: var(--dvp-muted);
	font-size: 0.8rem;
}

/* Welcome (nothing yet) */
.dvp-welcome {
	text-align: center;
	padding: 2rem 1.25rem;
}

.dvp-welcome p {
	max-width: 520px;
	margin: 0.5rem auto 1.25rem;
	color: var(--dvp-muted);
}

/* Compact hosting connect bar */
.dvp-connect {
	padding: 0;
}

.dvp-connect > summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.25rem;
	cursor: pointer;
	list-style: none;
	flex-wrap: wrap;
}

.dvp-connect > summary::-webkit-details-marker {
	display: none;
}

.dvp-connect__title {
	font-weight: 600;
	flex: 1 1 auto;
}

.dvp-connect__toggle {
	color: var(--dvp-accent);
	font-weight: 600;
	font-size: 0.9rem;
}

.dvp-connect[open] .dvp-connect__toggle {
	display: none;
}

.dvp-connect__body {
	padding: 0 1.25rem 1.25rem;
}

/*
 * Readability guard: themes and Elementor kits often style labels and form fields globally
 * (light grey text, high-specificity :not() selectors). Keep portal forms crisp regardless.
 */
.dvp,
.dvp .dvp-card {
	color: var(--dvp-text) !important;
}

.dvp label,
.dvp legend,
.dvp .dvp-fieldset legend,
.dvp .dvp-choice span,
.dvp .dvp-consent span,
.dvp .dvp-card__title,
.dvp .dvp-header__title,
.dvp .dvp-row__main strong,
.dvp .dvp-tile__value {
	color: var(--dvp-text) !important;
	opacity: 1 !important;
}

.dvp .dvp-muted,
.dvp .dvp-tile__label,
.dvp .dvp-tile__meta {
	color: var(--dvp-muted) !important;
}

.dvp input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dvp select,
.dvp textarea {
	color: var(--dvp-text) !important;
	background-color: var(--dvp-surface) !important;
	border: 1px solid #cfd5df !important;
	opacity: 1 !important;
	-webkit-text-fill-color: var(--dvp-text);
}

.dvp input:focus,
.dvp select:focus,
.dvp textarea:focus {
	border-color: var(--dvp-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dvp-accent) 18%, transparent);
	outline: none;
}

.dvp input::placeholder,
.dvp textarea::placeholder {
	color: #9aa3b2 !important;
	-webkit-text-fill-color: #9aa3b2;
	opacity: 1;
}

.dvp .dvp-choice {
	border-color: #cfd5df;
	background: var(--dvp-surface);
}

.dvp .dvp-choice:has(input:checked) span {
	font-weight: 600;
}

.dvp .dvp-form label,
.dvp .dvp-fieldset legend {
	font-size: 0.95rem;
	font-weight: 600 !important;
}

/* Project progress updates */
.dvp-updates {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--dvp-border);
}

.dvp-updates__title {
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.dvp-update {
	position: relative;
	padding: 0 0 1rem 1.1rem;
	border-left: 2px solid var(--dvp-border);
}

.dvp-update::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 0.35rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--dvp-accent);
}

.dvp-update__date {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dvp-muted);
}

.dvp-update__text {
	margin: 0.25rem 0 0.5rem;
}

.dvp-update__media {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dvp-update__media img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* Inquiry form: its colors are fixed here, so a theme or Elementor kit's light text color (made for
   dark pages) can't wash out the labels and typed text on the white card. */
html body .dvp-inquiry .dvp-card {
	background: var(--dvp-surface);
	color: var(--dvp-text);
}

html body .dvp-inquiry .dvp-card__title,
html body .dvp-inquiry .dvp-form label,
html body .dvp-inquiry .dvp-form legend,
html body .dvp-inquiry .dvp-form p,
html body .dvp-inquiry .dvp-choice,
html body .dvp-inquiry .dvp-choice span,
html body .dvp-inquiry .dvp-consent {
	color: var(--dvp-text) !important;
	-webkit-text-fill-color: currentColor;
	opacity: 1;
}

html body .dvp-inquiry .dvp-form .dvp-muted,
html body .dvp-inquiry .dvp-form .dvp-small {
	color: var(--dvp-muted) !important;
	-webkit-text-fill-color: currentColor;
}

html body .dvp-inquiry .dvp-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
html body .dvp-inquiry .dvp-form select,
html body .dvp-inquiry .dvp-form textarea {
	background: var(--dvp-surface) !important;
	color: var(--dvp-text) !important;
	-webkit-text-fill-color: currentColor;
	opacity: 1;
}

html body .dvp-inquiry .dvp-form input::placeholder,
html body .dvp-inquiry .dvp-form textarea::placeholder {
	color: #9ca3af !important;
	-webkit-text-fill-color: #9ca3af;
	opacity: 1;
}

/* The picked choice uses a light tint of the accent color, not a fixed blue. */
html body .dvp-inquiry .dvp-choice:has(input:checked) {
	border-color: var(--dvp-accent);
	background: color-mix(in srgb, var(--dvp-accent) 9%, var(--dvp-surface));
}

html body .dvp-inquiry .dvp-form input:focus-visible,
html body .dvp-inquiry .dvp-form select:focus-visible,
html body .dvp-inquiry .dvp-form textarea:focus-visible {
	border-color: var(--dvp-accent);
	outline: 2px solid color-mix(in srgb, var(--dvp-accent) 35%, transparent);
	outline-offset: 0;
}

/* ==========================================================================
   Dvance.NET look: the portal is a light panel with Dvance.NET's cards, tiles
   and type, so it reads the same on dark and light pages. Accent is the red in
   the Dvance Development logo (#d22a2a), mostly in its lighter shade.
   ========================================================================== */
.dvp {
	--dvp-accent: #e04545;
	--dvp-accent-light: #ec5656;
	--dvp-accent-deep: #d22a2a;
	--dvp-accent-ink: #b42222;
	--dvp-accent-soft: #fdeded;
	--dvp-accent-text: #fff;
	--dvp-grad: linear-gradient(135deg, #d22a2a 0%, #ec5656 100%);
	--dvp-grad-hover: linear-gradient(135deg, #bf2424 0%, #e04545 100%);
	--dvp-grad-active: linear-gradient(135deg, #a81f1f 0%, #c93030 100%);
	--dvp-ink: #0f172a;
	--dvp-text: #334155;
	--dvp-muted: #64748b;
	--dvp-faint: #94a3b8;
	--dvp-border: #e5e7eb;
	--dvp-soft: #f1f5f9;
	--dvp-bg: #f6f7f9;
	--dvp-info-soft: #fdeded;
	--dvp-alert: #b91c1c;
	--dvp-alert-soft: #fde0e0;
	--dvp-ok: #15803d;
	--dvp-ok-soft: #d6f5e1;
	--dvp-radius: 14px;
	--dvp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.04);
	--dvp-shadow-lg: 0 18px 40px -18px rgba(15, 23, 42, 0.28);
	--dvp-ring: 0 0 0 3px rgba(210, 42, 42, 0.18);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* The panel (not around the project request form, which sits in its own layout). */
html body .dvp:not(.dvp-inquiry) {
	padding: 28px;
	border-radius: 20px;
	background:
		radial-gradient(70% 60% at 100% 0%, rgba(236, 86, 86, 0.08) 0%, rgba(236, 86, 86, 0) 70%),
		var(--dvp-bg);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
	color: var(--dvp-text);
	gap: 18px;
}

@media (max-width: 600px) {
	html body .dvp:not(.dvp-inquiry) {
		padding: 16px;
		border-radius: 16px;
	}
}

/* Header */
html body .dvp .dvp-header {
	align-items: center;
	padding: 0 0 4px;
}

html body .dvp .dvp-header__title {
	margin: 0;
	color: var(--dvp-ink) !important;
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

html body .dvp .dvp-header .dvp-badge {
	margin-top: 8px;
}

html body .dvp .dvp-header > .dvp-link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid var(--dvp-border);
	border-radius: 10px;
	background: linear-gradient(180deg, #fff, #f8fafc);
	color: var(--dvp-ink);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--dvp-shadow);
}

html body .dvp .dvp-header > .dvp-link:hover {
	border-color: #d1d5db;
	background: linear-gradient(180deg, #fff, #f1f5f9);
	color: var(--dvp-ink);
}

html body .dvp .dvp-header > .dvp-link:active {
	background: linear-gradient(180deg, #f1f5f9, #e8ebef);
	transform: translateY(1px);
}

/* Cards and tiles */
html body .dvp .dvp-card,
html body .dvp .dvp-tile,
html body .dvp .dvp-action {
	border: 1px solid var(--dvp-border);
	border-radius: var(--dvp-radius);
	background: #fff;
	box-shadow: var(--dvp-shadow);
}

html body .dvp .dvp-card {
	padding: 20px 22px;
}

html body .dvp .dvp-card__title {
	color: var(--dvp-ink) !important;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

html body .dvp .dvp-tiles {
	gap: 14px;
}

html body .dvp .dvp-tile {
	position: relative;
	overflow: hidden;
	padding: 18px 20px;
	gap: 4px;
}

html body .dvp .dvp-tile::before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--dvp-grad);
	opacity: 0.85;
	content: "";
}

html body .dvp .dvp-tile__label {
	color: var(--dvp-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

html body .dvp .dvp-tile__value {
	color: var(--dvp-ink);
	font-size: 1.85rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

html body .dvp .dvp-tile__meta {
	color: var(--dvp-muted);
	font-size: 0.85rem;
}

html body .dvp .dvp-tile--alert {
	border-color: #fecaca;
	background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

html body .dvp .dvp-tile--alert::before {
	background: linear-gradient(90deg, #b91c1c, #ef4444);
	opacity: 1;
}

html body .dvp .dvp-tile--alert .dvp-tile__value {
	color: var(--dvp-alert);
}

html body .dvp .dvp-bucket {
	border: 1px solid var(--dvp-border);
	border-radius: 10px;
	background: var(--dvp-soft);
}

/* Quick actions */
html body .dvp .dvp-actions {
	gap: 14px;
}

html body .dvp .dvp-action {
	padding: 14px 16px;
	color: var(--dvp-ink);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}

html body .dvp .dvp-action:hover,
html body .dvp .dvp-action:focus-visible {
	border-color: rgba(236, 86, 86, 0.45);
	box-shadow: var(--dvp-shadow-lg);
	color: var(--dvp-ink);
}

html body .dvp .dvp-action:active {
	transform: translateY(1px);
	box-shadow: var(--dvp-shadow);
}

html body .dvp .dvp-action__icon {
	border-radius: 10px;
	background: var(--dvp-accent-soft) !important;
	color: var(--dvp-accent-deep) !important;
}

html body .dvp .dvp-action__text small,
html body .dvp .dvp-action__text span:last-child {
	color: var(--dvp-muted);
}

/* Rows, lists and text */
html body .dvp .dvp-row {
	border-top-color: #eef0f3;
}

html body .dvp .dvp-row--alert {
	box-shadow: inset 3px 0 0 var(--dvp-accent-light);
}

html body .dvp .dvp-row__amount {
	color: var(--dvp-ink);
}

html body .dvp p,
html body .dvp li {
	color: var(--dvp-text);
}

html body .dvp .dvp-muted {
	color: var(--dvp-muted);
}

html body .dvp a:not(.dvp-button):not(.dvp-action):not(.dvp-badge),
html body .dvp .dvp-link,
html body .dvp .dvp-details summary {
	color: var(--dvp-accent-deep);
}

html body .dvp a:not(.dvp-button):not(.dvp-action):not(.dvp-badge):hover,
html body .dvp .dvp-link:hover {
	color: var(--dvp-accent-ink);
}

/* Buttons: red gradient, with Hover and Active */
html body .dvp .dvp-button,
html body .dvp input[type="submit"],
html body .dvp button[type="submit"] {
	min-height: 40px;
	padding: 9px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--dvp-grad);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 6px 14px -8px rgba(210, 42, 42, 0.7);
	filter: none;
	transition: background 0.15s, transform 0.05s;
}

html body .dvp .dvp-button:hover,
html body .dvp .dvp-button:focus-visible,
html body .dvp input[type="submit"]:hover,
html body .dvp button[type="submit"]:hover {
	background: var(--dvp-grad-hover);
	color: #fff;
	filter: none;
}

html body .dvp .dvp-button:active,
html body .dvp input[type="submit"]:active,
html body .dvp button[type="submit"]:active {
	background: var(--dvp-grad-active);
	transform: translateY(1px);
}

html body .dvp .dvp-button--secondary {
	border: 1px solid var(--dvp-border);
	background: linear-gradient(180deg, #fff, #f8fafc);
	color: var(--dvp-ink);
	box-shadow: var(--dvp-shadow);
}

html body .dvp .dvp-button--secondary:hover,
html body .dvp .dvp-button--secondary:focus-visible {
	border-color: rgba(236, 86, 86, 0.45);
	background: linear-gradient(180deg, #fff, #fdeded);
	color: var(--dvp-accent-ink);
}

html body .dvp .dvp-button--secondary:active {
	background: linear-gradient(180deg, #fdeded, #fbdcdc);
	color: var(--dvp-accent-ink);
}

/* Badges and notices */
html body .dvp .dvp-badge {
	padding: 3px 10px;
	background: var(--dvp-accent-soft);
	color: var(--dvp-accent-ink);
	font-size: 0.75rem;
}

html body .dvp .dvp-badge--ok,
html body .dvp .dvp-status--active {
	background: var(--dvp-ok-soft);
	color: var(--dvp-ok);
}

html body .dvp .dvp-badge--muted,
html body .dvp .dvp-status--pending {
	background: #e8ebef;
	color: var(--dvp-muted);
}

html body .dvp .dvp-notice {
	border: 1px solid #fbd5d5;
	border-left: 4px solid var(--dvp-accent-light);
	border-radius: 10px;
	background: var(--dvp-accent-soft);
	color: var(--dvp-ink);
}

html body .dvp .dvp-notice--success {
	border-color: #bbf7d0;
	border-left-color: var(--dvp-ok);
	background: #f0fdf4;
}

html body .dvp .dvp-notice--error {
	border-color: #fecaca;
	border-left-color: var(--dvp-alert);
	background: #fef2f2;
}

/* Fields */
html body .dvp input[type="text"],
html body .dvp input[type="email"],
html body .dvp input[type="password"],
html body .dvp input[type="tel"],
html body .dvp input[type="number"],
html body .dvp select,
html body .dvp textarea {
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	color: var(--dvp-ink);
}

html body .dvp input:focus,
html body .dvp select:focus,
html body .dvp textarea:focus {
	border-color: var(--dvp-accent-light);
	outline: none;
	box-shadow: var(--dvp-ring);
}

html body .dvp input[type="checkbox"],
html body .dvp input[type="radio"] {
	accent-color: var(--dvp-accent-deep);
}

/* Projects */
html body .dvp .dvp-phase--in_progress::before {
	border-color: transparent;
	background: var(--dvp-grad);
}

/* Sign-in card: centered in the panel */
html body .dvp .dvp-login {
	width: 100%;
	max-width: 420px;
	padding: 26px 26px 22px;
}

html body .dvp .dvp-login .dvp-card__title {
	font-size: 1.35rem;
	font-weight: 800;
}

html body .dvp .dvp-login label {
	color: var(--dvp-ink);
	font-size: 0.9rem;
	font-weight: 600;
}

html body .dvp .dvp-login .login-remember label {
	font-weight: 400;
}

html body .dvp .dvp-login input[type="submit"] {
	width: 100%;
	min-height: 44px;
}

/* Site cards: each hosted website with a live preview framed like a browser window and
   "Edit Site" over the preview, as on Dvance.NET's dashboard. */
html body .dvp .dvp-sites {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 4px;
}

html body .dvp .dvp-sites + .dvp-list {
	margin-top: 16px;
}

html body .dvp .dvp-site {
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--dvp-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--dvp-shadow-lg);
}

html body .dvp .dvp-site__preview {
	position: relative;
	margin: -4px -4px 14px;
	overflow: hidden;
	border: 1px solid var(--dvp-border);
	border-radius: 12px;
	background: var(--dvp-soft);
}

html body .dvp .dvp-site__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--dvp-border);
	background: #fff;
}

html body .dvp .dvp-site__bar span {
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dvp-border);
}

html body .dvp .dvp-site__bar em {
	flex: 1;
	min-width: 0;
	margin-left: 6px;
	padding: 2px 10px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--dvp-soft);
	color: var(--dvp-muted);
	font-size: 0.72rem;
	font-style: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
}

html body .dvp .dvp-site__shot {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(100deg, var(--dvp-soft) 30%, #fff 50%, var(--dvp-soft) 70%) 0 0 / 300% 100%;
	animation: dvp-shimmer 1.6s linear infinite;
}

html body .dvp .dvp-site__shot.is-loaded,
html body .dvp .dvp-site__shot.is-failed,
html body .dvp .dvp-site__shot.is-empty {
	animation: none;
	background: var(--dvp-soft);
}

html body .dvp .dvp-site__shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	opacity: 0;
	transition: opacity 0.4s, transform 0.4s;
}

html body .dvp .dvp-site__shot.is-loaded img {
	opacity: 1;
}

html body .dvp .dvp-site__shot.is-loaded:hover img {
	transform: scale(1.02);
}

html body .dvp .dvp-site__note {
	color: var(--dvp-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

html body .dvp .dvp-site__shot.is-loaded .dvp-site__note {
	display: none;
}

html body .dvp .dvp-site__edit {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px 8px 12px;
	border-radius: 999px;
	background: var(--dvp-grad);
	box-shadow: 0 8px 20px -6px rgba(210, 42, 42, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.85);
	color: #fff !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s, background 0.15s;
}

html body .dvp .dvp-site__edit svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

html body .dvp .dvp-site__edit:hover,
html body .dvp .dvp-site__edit:focus-visible {
	background: var(--dvp-grad-hover);
	transform: translateY(-1px);
}

html body .dvp .dvp-site__edit:active {
	background: var(--dvp-grad-active);
	transform: none;
}

html body .dvp .dvp-site__head small {
	display: block;
	color: var(--dvp-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

html body .dvp .dvp-site__head strong {
	display: block;
	overflow: hidden;
	color: var(--dvp-ink);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

html body .dvp .dvp-site__meta {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: space-between;
	gap: 10px;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid #eef0f3;
}

html body .dvp .dvp-site__meta dt {
	color: var(--dvp-faint);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

html body .dvp .dvp-site__meta dd {
	margin: 2px 0 0;
	color: var(--dvp-ink);
	font-size: 0.85rem;
	font-weight: 600;
}

html body .dvp .dvp-site__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 14px;
}

@keyframes dvp-shimmer {
	to {
		background-position: -300% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body .dvp .dvp-site__shot {
		animation: none;
	}
}

/* Questions hidden for the kind of project picked (inquiry form). */
.dvp [hidden] {
	display: none !important;
}
