/* Carmatix marketplace: seller dashboard and pricing plans.
 * Colours follow the active theme through the --crmtx-* design tokens. */

.cvm,
.cvm-plans {
	--cvm-accent: var(--crmtx-primary, #cc2027);
	--cvm-accent-rgb: var(--crmtx-primary-rgb, 204, 32, 39);
	--cvm-ink: var(--crmtx-heading, #121418);
	--cvm-muted: var(--crmtx-muted, #64748b);
	--cvm-line: var(--crmtx-border, #e2e8f0);
	--cvm-surface: var(--crmtx-surface, #f5f6f8);
	--cvm-card: var(--crmtx-card, #fff);
	--cvm-success: var(--crmtx-success, #059669);
	--cvm-warning: var(--crmtx-warning, #d97706);
	--cvm-danger: var(--crmtx-danger, #dc2626);
	--cvm-radius: var(--crmtx-radius, 16px);
	--cvm-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06);
	color: var(--cvm-ink);
	font-size: 15px;
	line-height: 1.55;
}

.cvm *,
.cvm-plans * { box-sizing: border-box; }

.cvm { max-width: 1280px; margin: 0 auto; padding: 32px 0 64px; }
.cvm h2, .cvm h3, .cvm h4 { margin: 0; color: var(--cvm-ink); letter-spacing: -.01em; }
.cvm p { margin: 0; }
.cvm a { color: var(--cvm-accent); }
.cvm-muted { color: var(--cvm-muted); }
.cvm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons ---------------------------------------------------------------- */
.cvm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--cvm-accent);
	border-radius: 12px;
	background: var(--cvm-accent);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cvm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(var(--cvm-accent-rgb), .28); }
.cvm-btn--ghost { background: transparent; border-color: var(--cvm-line); color: var(--cvm-ink) !important; }
.cvm-btn--ghost:hover { border-color: var(--cvm-accent); color: var(--cvm-accent) !important; box-shadow: none; }
.cvm-btn--sm { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.cvm-btn--block { width: 100%; }
.cvm-btn.is-danger:hover { border-color: var(--cvm-danger); color: var(--cvm-danger) !important; }

/* Alerts ----------------------------------------------------------------- */
.cvm-alert { margin-bottom: 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid; font-weight: 600; }
.cvm-alert.is-success { border-color: rgba(16, 185, 129, .3); background: rgba(16, 185, 129, .08); color: #047857; }
.cvm-alert.is-error { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .07); color: #b42318; }
.cvm-alert a { margin-left: 6px; color: inherit; text-decoration: underline; }
.cvm-notice { padding: 16px 20px; border: 1px dashed var(--cvm-line, #e8e9ee); border-radius: 14px; color: var(--cvm-muted, #667085); }

/* Cards ------------------------------------------------------------------ */
.cvm-card { margin-bottom: 22px; padding: 26px; border: 1px solid var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-card); box-shadow: var(--cvm-shadow); }
.cvm-card--plain { padding: 0; border: 0; background: none; box-shadow: none; }
.cvm-card > h3 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; font-size: 18px; }
.cvm-card > h3 small { color: var(--cvm-muted); font-size: 13px; font-weight: 500; }
.cvm-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cvm-card__head h3 { font-size: 18px; }
.cvm-card__head a { font-weight: 600; text-decoration: none; }
.cvm-empty { padding: 56px 24px; border: 1px dashed var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-surface); text-align: center; }
.cvm-empty h3 { margin-bottom: 8px; }
.cvm-empty p { margin-bottom: 20px; color: var(--cvm-muted); }
.cvm-empty--inline { padding: 36px 20px; }

/* Auth ------------------------------------------------------------------- */
.cvm-auth { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 48px; align-items: center; }
.cvm-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--cvm-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cvm-auth__intro h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.cvm-auth__intro p { max-width: 440px; color: var(--cvm-muted); font-size: 17px; }
.cvm-switch { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 14px; background: var(--cvm-surface); }
.cvm-switch a { padding: 10px 18px; border-radius: 10px; color: var(--cvm-muted); font-weight: 700; text-decoration: none; }
.cvm-switch a.is-active { background: var(--cvm-card); color: var(--cvm-ink); box-shadow: 0 2px 8px rgba(16, 24, 40, .08); }
.cvm-auth__form { padding: 32px; }
.cvm-auth__form #cvm-login p { margin-bottom: 16px; }
.cvm-auth__form #cvm-login label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.cvm-auth__form #cvm-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.cvm-auth__form #cvm-login input[type="submit"] { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--cvm-accent); color: #fff; font-weight: 700; cursor: pointer; }
.cvm-link { display: inline-block; margin-top: 6px; font-size: 14px; }

/* Forms ------------------------------------------------------------------ */
.cvm-form { display: block; }
.cvm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cvm-field > span { font-size: 13px; font-weight: 700; }
.cvm input[type="text"], .cvm input[type="email"], .cvm input[type="tel"], .cvm input[type="url"],
.cvm input[type="password"], .cvm input[type="number"], .cvm select, .cvm textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--cvm-line);
	border-radius: 12px;
	background: var(--cvm-card);
	color: var(--cvm-ink);
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.cvm textarea { min-height: 140px; resize: vertical; }
.cvm input:focus, .cvm select:focus, .cvm textarea:focus { border-color: var(--cvm-accent); outline: 0; box-shadow: 0 0 0 4px rgba(var(--cvm-accent-rgb), .14); }
.cvm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.cvm-segment { display: grid; grid-auto-flow: column; gap: 8px; margin-bottom: 18px; padding: 5px; border-radius: 14px; background: var(--cvm-surface); }
.cvm-segment label { cursor: pointer; }
.cvm-segment input { position: absolute; opacity: 0; pointer-events: none; }
.cvm-segment span { display: block; padding: 10px; border-radius: 10px; color: var(--cvm-muted); font-weight: 700; text-align: center; }
.cvm-segment input:checked + span { background: var(--cvm-card); color: var(--cvm-ink); box-shadow: 0 2px 8px rgba(16, 24, 40, .08); }
.cvm-submit { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: flex-end; gap: 12px; padding: 14px; border: 1px solid var(--cvm-line); border-radius: var(--cvm-radius); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: var(--cvm-shadow); }

.cvm-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cvm-features fieldset { margin: 0; padding: 18px; border: 1px solid var(--cvm-line); border-radius: 14px; }
.cvm-features legend { padding: 0 6px; font-weight: 800; }
.cvm-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.cvm-check input { width: 18px; height: 18px; accent-color: var(--cvm-accent); }

/* Photos ----------------------------------------------------------------- */
.cvm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.cvm-photo { position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--cvm-surface); }
.cvm-photo img { width: 100%; height: 100%; object-fit: cover; }
.cvm-photo label { position: absolute; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgba(15, 23, 42, .72); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.cvm-photo__cover { top: 8px; left: 8px; }
.cvm-photo__remove { right: 8px; bottom: 8px; }
.cvm-photo input { margin: 0; accent-color: var(--cvm-accent); }
.cvm-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-surface); text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.cvm-drop.is-over, .cvm-drop:hover { border-color: var(--cvm-accent); background: rgba(var(--cvm-accent-rgb), .05); }
.cvm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cvm-drop span { color: var(--cvm-muted); font-size: 13px; }
.cvm-drop output { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.cvm-drop__item { width: 64px; height: 48px; overflow: hidden; border-radius: 8px; background: var(--cvm-card); }
.cvm-drop__item img { width: 100%; height: 100%; object-fit: cover; }
.cvm-drop__item.is-over { opacity: .35; outline: 2px solid var(--cvm-danger); }

/* App shell -------------------------------------------------------------- */
.cvm-app { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.cvm-side { position: sticky; top: 24px; padding: 18px; border: 1px solid var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-card); box-shadow: var(--cvm-shadow); }
.cvm-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 18px; border-bottom: 1px solid var(--cvm-line); }
.cvm-user strong { display: block; line-height: 1.25; }
.cvm-user small { color: var(--cvm-muted); }
.cvm-avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.cvm-avatar--lg { width: 88px; height: 88px; border-radius: 22px; }
.cvm-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.cvm-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--cvm-muted); font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease; }
.cvm-nav a:hover { background: var(--cvm-surface); color: var(--cvm-ink); }
.cvm-nav a.is-active { background: rgba(var(--cvm-accent-rgb), .1); color: var(--cvm-accent); }
.cvm-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cvm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.cvm-head h2 { font-size: clamp(24px, 3vw, 32px); }
.cvm-head p { margin-top: 4px; color: var(--cvm-muted); }

.cvm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.cvm-stat { padding: 20px; border: 1px solid var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-card); box-shadow: var(--cvm-shadow); }
.cvm-stat span { display: block; color: var(--cvm-muted); font-size: 13px; font-weight: 600; }
.cvm-stat strong { display: block; margin-top: 6px; font-size: 30px; line-height: 1.1; }
.cvm-stat a { display: inline-block; margin-top: 8px; color: inherit; font-size: 13px; font-weight: 700; text-decoration: none; opacity: .9; }
.cvm-stat.is-accent { border-color: transparent; background: linear-gradient(140deg, var(--cvm-accent), rgba(var(--cvm-accent-rgb), .78)); color: #fff; }
.cvm-stat.is-accent span, .cvm-stat.is-accent strong { color: #fff; }

/* Listing rows ----------------------------------------------------------- */
.cvm-list { display: flex; flex-direction: column; }
.cvm-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--cvm-line); }
.cvm-row:first-child { border-top: 0; padding-top: 0; }
.cvm-row__media { overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--cvm-surface); }
.cvm-row__media img { width: 100%; height: 100%; object-fit: cover; }
.cvm-row__placeholder { display: block; width: 100%; height: 100%; }
.cvm-row h4 { margin: 6px 0 4px; font-size: 17px; }
.cvm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--cvm-muted); font-size: 13px; }
.cvm-meta strong { color: var(--cvm-ink); font-size: 15px; }
.cvm-row__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 360px; }
.cvm-row__actions form { margin: 0; }
.cvm-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cvm-badge { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--cvm-surface); color: var(--cvm-muted); font-size: 12px; font-weight: 700; }
.cvm-badge.is-publish { background: rgba(16, 185, 129, .12); color: #047857; }
.cvm-badge.is-pending { background: rgba(245, 158, 11, .14); color: #b45309; }
.cvm-badge.is-carmatix_expired, .cvm-badge.is-sold { background: rgba(239, 68, 68, .1); color: #b42318; }
.cvm-badge.is-featured { background: rgba(var(--cvm-accent-rgb), .12); color: var(--cvm-accent); }

.cvm-table-wrap { overflow-x: auto; }
.cvm-table { width: 100%; border-collapse: collapse; }
.cvm-table th, .cvm-table td { padding: 12px 10px; border-bottom: 1px solid var(--cvm-line); text-align: left; }
.cvm-table th { color: var(--cvm-muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cvm-table tr.is-expired { opacity: .5; }
.cvm-profile-logo { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.cvm-profile-logo label { cursor: pointer; }

/* Pricing plans ---------------------------------------------------------- */
.cvm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.cvm-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--cvm-line); border-radius: 22px; background: var(--cvm-card); box-shadow: var(--cvm-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.cvm-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16, 24, 40, .1); }
.cvm-plan.is-featured { border-color: var(--cvm-accent); box-shadow: 0 0 0 1px var(--cvm-accent), 0 24px 50px rgba(var(--cvm-accent-rgb), .18); }
.cvm-plan__badge { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--cvm-accent); color: #fff; font-size: 12px; font-weight: 800; }
.cvm-plan h3 { margin: 0 0 10px; color: var(--cvm-ink); font-size: 20px; }
.cvm-plan__price { color: var(--cvm-ink); font-size: 34px; font-weight: 800; line-height: 1.1; }
.cvm-plan__price del { color: var(--cvm-muted); font-size: 18px; font-weight: 500; }
.cvm-plan__price ins { text-decoration: none; }
.cvm-plan__desc { margin: 10px 0 0; color: var(--cvm-muted); }
.cvm-plan ul { flex: 1; margin: 22px 0 26px; padding: 0; list-style: none; }
.cvm-plan li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--cvm-line); color: var(--cvm-muted); }
.cvm-plan li::before { content: ""; position: absolute; top: 14px; left: 2px; width: 14px; height: 8px; border-bottom: 2px solid var(--cvm-accent); border-left: 2px solid var(--cvm-accent); transform: rotate(-45deg); }
.cvm-plan li strong { color: var(--cvm-ink); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.cvm-app { grid-template-columns: 1fr; }
	.cvm-side { position: static; }
	.cvm-nav { flex-direction: row; overflow-x: auto; }
	.cvm-nav a { flex: 0 0 auto; }
	.cvm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cvm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.cvm { padding: 20px 0 40px; }
	.cvm-auth { grid-template-columns: 1fr; gap: 24px; }
	.cvm-grid, .cvm-features { grid-template-columns: 1fr; }
	.cvm-row { grid-template-columns: 96px minmax(0, 1fr); }
	.cvm-row__actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
	.cvm-head { flex-direction: column; align-items: flex-start; }
	.cvm-card { padding: 20px; }
}

/* Listing types, leads -------------------------------------------- */
.cvm-segment--types { display: flex; flex-wrap: wrap; grid-auto-flow: unset; }
.cvm-segment--types label { flex: 1 1 120px; }
.cvm-segment--types span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cvm-segment--types .crmtx-icon { width: 20px; height: 20px; }
.cvm-leads { display: flex; flex-direction: column; gap: 10px; }
.cvm-lead { border: 1px solid var(--cvm-line); border-radius: var(--cvm-radius); background: var(--cvm-card); box-shadow: var(--cvm-shadow); }
.cvm-lead.is-new { border-color: rgba(var(--cvm-accent-rgb), .45); }
.cvm-lead summary { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 16px 20px; list-style: none; cursor: pointer; }
.cvm-lead summary::-webkit-details-marker { display: none; }
.cvm-lead summary time { color: var(--cvm-muted); font-size: 13px; }
.cvm-lead__body { padding: 0 20px 20px; border-top: 1px solid var(--cvm-line); }
.cvm-lead__body > p { margin: 16px 0; }
.cvm-lead__extra { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.cvm-lead__extra li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--cvm-surface); }
.cvm-lead__extra span { color: var(--cvm-muted); font-size: 12px; }
.cvm-lead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cvm-lead__status { margin-inline-start: auto; }
.cvm-lead__status select { min-height: 36px; }
[data-types][hidden], .cvm [data-cvm-rent][hidden] { display: none !important; }
@media (max-width: 720px) { .cvm-lead summary { grid-template-columns: auto 1fr; } .cvm-lead summary .cvm-muted, .cvm-lead summary time { grid-column: 1 / -1; } }
/* Listing row actions: compact outline buttons with icons (theme button styles must not leak in) */
.cvm-row__actions { max-width: 420px; gap: 6px; }
.cvm-row__actions .cvm-btn--ghost, .cvm-row__actions button.cvm-btn--ghost { min-height: 34px; padding: 0 12px; border: 1px solid var(--cvm-line) !important; background: #fff !important; color: var(--cvm-ink) !important; box-shadow: none !important; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.cvm-row__actions .cvm-btn--ghost:hover { border-color: var(--cvm-accent) !important; color: var(--cvm-accent) !important; }
.cvm-row__actions .cvm-btn.is-danger { color: var(--cvm-danger) !important; }
.cvm-row__actions .cvm-btn.is-danger:hover { border-color: var(--cvm-danger) !important; background: rgba(220, 38, 38, .06) !important; }
.cvm-row__actions .cvm-btn .crmtx-icon { width: 16px; height: 16px; flex: 0 0 16px; }
/* Mobile: the dashboard never grows wider than the screen */
.cvm, .cvm * { min-width: 0; }
.cvm img, .cvm video, .cvm iframe { max-width: 100%; }
@media (max-width: 1024px) {
	.cvm-app { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.cvm-side, .cvm-main { min-width: 0; max-width: 100%; }
	.cvm-side { padding: 14px; }
	.cvm-nav { margin: 12px -14px 0; padding: 0 14px 4px; gap: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
	.cvm-nav::-webkit-scrollbar { display: none; }
	.cvm-nav a { flex: 0 0 auto; padding: 9px 12px; white-space: nowrap; scroll-snap-align: start; }
}
@media (max-width: 720px) {
	.cvm-user { gap: 12px; }
	.cvm-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.cvm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cvm-stat { padding: 14px; }
	.cvm-stat strong { font-size: 24px; }
	.cvm-head .cvm-btn { width: 100%; }
	.cvm-card { padding: 16px; border-radius: 16px; }
	.cvm-form .cvm-grid, .cvm-grid--2, .cvm-grid--3, .cvm-grid--4 { grid-template-columns: minmax(0, 1fr) !important; }
	.cvm-field input, .cvm-field select, .cvm-field textarea { width: 100%; max-width: 100%; font-size: 16px; }
	.cvm-segment { display: flex; flex-wrap: wrap; }
	.cvm-segment label { flex: 1 1 calc(50% - 6px); }
	.cvm-features { grid-template-columns: minmax(0, 1fr) !important; }
	.cvm-uploader, .cvm-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.cvm-actions, .cvm-form__actions { flex-direction: column; align-items: stretch; }
	.cvm-actions .cvm-btn, .cvm-form__actions .cvm-btn { width: 100%; }
	.cvm-table { font-size: 14px; }
	.cvm-plans { grid-template-columns: minmax(0, 1fr); }
	.cvm-lead__extra { grid-template-columns: minmax(0, 1fr); }
	.cvm-lead__status { margin-inline-start: 0; width: 100%; }
}@media (max-width: 720px) {
	.cvm-grid { grid-template-columns: minmax(0, 1fr) !important; }
	.cvm-photos { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
	.cvm-drop { padding: 22px 14px; }
	.cvm-submit { position: static; flex-direction: column; align-items: stretch; gap: 10px; }
	.cvm-submit .cvm-btn { width: 100%; }
	.cvm-card__head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.cvm-switch { display: flex; width: 100%; }
	.cvm-switch a { flex: 1; text-align: center; }
}
/* Dashboard tabs: swipeable without a visible scrollbar */
.cvm .cvm-nav { scrollbar-width: none; -ms-overflow-style: none; }
.cvm .cvm-nav::-webkit-scrollbar { display: none; width: 0; height: 0; background: transparent; }
/* Very narrow phones (≤400px) */
@media (max-width: 400px) {
	.cvm-side { padding: 12px; }
	.cvm-user .cvm-avatar { width: 40px; height: 40px; }
	.cvm-nav a { padding: 8px 10px; font-size: 14px; gap: 8px; }
	.cvm-nav svg { width: 18px; height: 18px; }
	.cvm-head h2 { font-size: 22px; }
	.cvm-stats { gap: 8px; }
	.cvm-stat { padding: 12px; border-radius: 12px; }
	.cvm-stat span { font-size: 12px; }
	.cvm-stat strong { font-size: 20px; }
	.cvm-card { padding: 14px; }
	.cvm-row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
	.cvm-row h4 { font-size: 15px; }
	.cvm-photos { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.cvm-segment label { flex-basis: 100%; }
}