:root {
  color-scheme: light;
  --lv-font: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --lv-mono: "IBM Plex Mono", Consolas, monospace;
  --lv-page: #f3f6fa;
  --lv-surface: #ffffff;
  --lv-surface-2: #f8fafc;
  --lv-surface-3: #f1f5f9;
  --lv-border: #d9e1ec;
  --lv-border-strong: #c5cfdd;
  --lv-text: #101828;
  --lv-muted: #667085;
  --lv-soft: #98a2b3;
  --lv-sidebar: #121a2a;
  --lv-sidebar-2: #172338;
  --lv-accent: #b42318;
  --lv-accent-2: #2563eb;
  --lv-accent-soft: rgba(180, 35, 24, .09);
  --lv-accent-border: rgba(180, 35, 24, .24);
  --lv-success: #047857;
  --lv-warning: #b45309;
  --lv-danger: #b42318;
  --lv-info: #1d4ed8;
  --lv-radius: 8px;
  --lv-shadow: 0 18px 46px rgba(16, 24, 40, .08);
  --lv-shadow-soft: 0 8px 22px rgba(16, 24, 40, .055);
}

html[data-palette="blue"] {
  --lv-accent: #0f5cc0;
  --lv-accent-2: #00a3a3;
  --lv-accent-soft: rgba(15, 92, 192, .09);
  --lv-accent-border: rgba(15, 92, 192, .24);
  --lv-sidebar: #0b1f3a;
  --lv-sidebar-2: #12365f;
}

html[data-palette="gray"] {
  --lv-accent: #475467;
  --lv-accent-2: #0f766e;
  --lv-accent-soft: rgba(71, 84, 103, .10);
  --lv-accent-border: rgba(71, 84, 103, .26);
  --lv-sidebar: #181d27;
  --lv-sidebar-2: #252b37;
}

html[data-appearance="dark"] {
  color-scheme: dark;
  --lv-page: #101827;
  --lv-surface: #151f31;
  --lv-surface-2: #1b273b;
  --lv-surface-3: #24324a;
  --lv-border: #31405a;
  --lv-border-strong: #42516b;
  --lv-text: #f8fafc;
  --lv-muted: #cbd5e1;
  --lv-soft: #94a3b8;
  --lv-sidebar: #0a1020;
  --lv-sidebar-2: #101a2f;
  --lv-shadow: 0 16px 38px rgba(0, 0, 0, .28);
  --lv-shadow-soft: 0 8px 20px rgba(0, 0, 0, .20);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--lv-font);
  background: var(--lv-page);
  color: var(--lv-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

.lv-app {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .48), transparent 280px),
    var(--lv-page);
}

html[data-appearance="dark"] .lv-app {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 280px),
    var(--lv-page);
}

.lv-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 276px minmax(0, 1fr);
}

.lv-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(180deg, var(--lv-sidebar), var(--lv-sidebar-2));
  color: #fff;
  z-index: 30;
}

.lv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  min-height: 78px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lv-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lv-accent), var(--lv-accent-2));
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px rgba(0,0,0,.24);
}

.lv-brand-copy {
  display: grid;
  min-width: 0;
}

.lv-brand-copy strong {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.01em;
}

.lv-brand-copy em {
  margin-top: 3px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 12px;
}

.lv-nav-scroll::-webkit-scrollbar {
  width: 0;
}

.lv-nav-section {
  margin-bottom: 18px;
}

.lv-nav-caption {
  padding: 10px 10px 7px;
  color: rgba(255, 255, 255, .38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lv-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.lv-nav-link:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.lv-nav-link.is-active {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

.lv-nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 700;
}

.lv-nav-link.is-active .lv-nav-icon {
  background: var(--lv-accent);
}

.lv-nav-link small {
  margin-left: auto;
  min-width: 22px;
  border-radius: 999px;
  background: var(--lv-accent);
  color: #fff;
  text-align: center;
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 20px;
}

.lv-sidebar-note {
  margin: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}

.lv-sidebar-note strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.lv-sidebar-note span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  line-height: 1.45;
}

.lv-main {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
}

.lv-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--lv-border);
  background: color-mix(in srgb, var(--lv-surface) 96%, transparent);
  backdrop-filter: blur(10px);
}

.lv-topbar-left,
.lv-topbar-right {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.lv-title-block {
  min-width: 0;
}

.lv-title-block span {
  display: block;
  color: var(--lv-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-title-block h1 {
  display: none;
}

.lv-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lv-border);
  border-radius: 8px;
  background: var(--lv-surface);
  color: var(--lv-text);
}

.lv-menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.lv-alert-pill,
.lv-user-pill,
.lv-logout-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--lv-border);
  border-radius: 8px;
  background: var(--lv-surface);
  color: var(--lv-muted);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.lv-alert-pill strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  background: var(--lv-accent);
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 10px;
}

.lv-logout-form {
  margin: 0;
}

.lv-logout-form button {
  cursor: pointer;
}

.lv-content {
  flex: 1;
  min-width: 0;
  padding: 18px;
}

.lv-workspace {
  width: 100%;
  min-height: calc(100vh - 94px);
  border: 1px solid var(--lv-border);
  border-radius: 14px;
  background: var(--lv-surface);
  box-shadow: var(--lv-shadow);
  overflow: clip;
}

.lv-mobile-backdrop {
  display: none;
}

body.lv-menu-open {
  overflow: hidden;
}

/* Legacy/Tailwind normalization layer */
.rounded-3xl,
.rounded-2xl,
.rounded-xl,
.rounded-lg,
.rounded-md {
  border-radius: var(--lv-radius) !important;
}

.shadow-sm,
.shadow,
.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: var(--lv-shadow-soft) !important;
}

.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-gray-50,
.bg-gray-100 {
  background-color: var(--lv-surface) !important;
}

.bg-slate-50,
.bg-gray-50 {
  background-color: var(--lv-surface-2) !important;
}

.border-slate-100,
.border-slate-200,
.border-slate-300,
.border-gray-100,
.border-gray-200,
.border-gray-300 {
  border-color: var(--lv-border) !important;
}

.text-slate-950,
.text-slate-900,
.text-slate-800,
.text-gray-950,
.text-gray-900,
.text-gray-800 {
  color: var(--lv-text) !important;
}

.text-slate-700,
.text-slate-600,
.text-slate-500,
.text-gray-700,
.text-gray-600,
.text-gray-500 {
  color: var(--lv-muted) !important;
}

.text-slate-400,
.text-gray-400 {
  color: var(--lv-soft) !important;
}

.bg-red-700,
.hover\:bg-red-800:hover,
.bg-slate-950 {
  background-color: var(--lv-accent) !important;
}

.text-red-700,
.text-red-800,
.text-red-900,
.hover\:text-red-700:hover {
  color: var(--lv-accent) !important;
}

.border-red-100,
.border-red-200,
.focus\:border-red-700:focus {
  border-color: var(--lv-accent-border) !important;
}

.bg-red-50,
.bg-red-100 {
  background-color: var(--lv-accent-soft) !important;
}

.accent-red-700 {
  accent-color: var(--lv-accent) !important;
}

section[class*="border"],
aside[class*="border"],
div[class*="border"][class*="shadow"],
form[class*="border"] {
  box-shadow: var(--lv-shadow-soft);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

thead,
table thead,
.sticky.top-0 {
  background: var(--lv-surface-2) !important;
}

tbody tr {
  transition: background .12s ease;
}

tbody tr:hover,
.hover\:bg-slate-50:hover {
  background: var(--lv-surface-2) !important;
}

input,
select,
textarea {
  border-color: var(--lv-border-strong) !important;
  background: var(--lv-surface) !important;
  color: var(--lv-text) !important;
  outline: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lv-accent) !important;
  box-shadow: 0 0 0 4px var(--lv-accent-soft) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--lv-soft) !important;
}

button,
a[class*="bg-"],
a[class*="border"],
button[class*="border"] {
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

button:hover,
a[class*="bg-"]:hover,
a[class*="border"]:hover,
button[class*="border"]:hover {
  transform: translateY(-1px);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--lv-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field input,
.field select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--lv-border-strong);
  border-radius: var(--lv-radius);
  padding: 10px 12px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  background: var(--lv-surface-2);
  padding: 14px;
}

.check-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--lv-accent);
}

.check-card span {
  display: grid;
  gap: 2px;
}

.check-card strong {
  color: var(--lv-text);
  font-size: .9rem;
}

.check-card em {
  color: var(--lv-muted);
  font-size: .78rem;
  font-style: normal;
  font-weight: 600;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--lv-border);
  padding-bottom: 12px;
}

.status-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-row span {
  color: var(--lv-muted);
  font-weight: 700;
}

.status-row strong {
  color: var(--lv-text);
  font-weight: 800;
}

.theme-shell-card {
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  color: var(--lv-text);
}

/* Unified product workspace */
.lv-workspace > main,
.lv-workspace > .space-y-6,
.lv-workspace > .mx-auto,
.lv-workspace > div:not(.validation-summary-errors) {
  max-width: none !important;
  margin: 0 !important;
  padding: 22px !important;
}

.lv-workspace > main {
  width: 100%;
}

.lv-workspace > main > .mx-auto {
  max-width: none !important;
  margin: 0 !important;
}

.lv-workspace > main.px-4,
.lv-workspace > main.py-5,
.lv-workspace > main.lg\:px-6 {
  padding: 22px !important;
}

.lv-workspace > .space-y-6 > section:first-child,
.lv-workspace > main > .mx-auto > section:first-child,
.lv-workspace > .mx-auto > section:first-child,
.lv-workspace > div > section:first-child {
  border: 0 !important;
  border-bottom: 1px solid var(--lv-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: -22px -22px 20px !important;
  padding: 22px !important;
}

.lv-workspace > .space-y-6 > section:first-child h1,
.lv-workspace > main > .mx-auto > section:first-child h1,
.lv-workspace > .mx-auto > section:first-child h1,
.lv-workspace > div > section:first-child h1 {
  margin-top: 4px !important;
  font-size: clamp(26px, 2.6vw, 34px) !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
}

.lv-workspace h1,
.lv-workspace h2,
.lv-workspace h3 {
  letter-spacing: -.01em !important;
}

.lv-workspace h2 {
  font-weight: 700 !important;
}

.font-black {
  font-weight: 700 !important;
}

.font-extrabold,
.font-bold {
  font-weight: 650 !important;
}

.tracking-tight {
  letter-spacing: -.01em !important;
}

[class*="tracking-["],
.tracking-wider,
.tracking-wide {
  letter-spacing: .075em !important;
}

.text-5xl {
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
}

.text-4xl,
.text-3xl {
  line-height: 1.12 !important;
}

.lv-workspace .text-3xl {
  font-size: clamp(1.75rem, 2.1vw, 2.25rem) !important;
}

.lv-workspace .text-2xl {
  font-size: clamp(1.35rem, 1.7vw, 1.7rem) !important;
}

.lv-workspace section[class*="grid"] > div[class*="rounded"],
.lv-workspace .grid > a[class*="rounded"],
.lv-workspace .divide-y > a,
.lv-workspace table,
.lv-workspace form[class*="rounded"],
.lv-workspace aside[class*="rounded"] {
  border-color: var(--lv-border) !important;
}

.lv-workspace section[class*="grid"] > div[class*="rounded"] {
  background: var(--lv-surface-2) !important;
  box-shadow: none !important;
}

.lv-workspace section[class*="grid"] > div[class*="rounded"] .text-3xl {
  font-weight: 700 !important;
}

.bg-amber-50,
.bg-yellow-50,
.bg-blue-50,
.bg-sky-50,
.bg-cyan-50,
.bg-indigo-50,
.bg-purple-50,
.bg-fuchsia-50,
.bg-emerald-50,
.bg-green-50 {
  background-color: color-mix(in srgb, var(--lv-surface-2) 78%, var(--lv-accent-soft)) !important;
}

.text-blue-700,
.text-blue-800,
.text-blue-900,
.text-sky-700,
.text-indigo-700,
.text-indigo-800,
.text-cyan-700,
.text-cyan-800 {
  color: var(--lv-info) !important;
}

.text-emerald-700,
.text-emerald-800,
.text-emerald-900,
.text-green-700,
.text-green-800 {
  color: var(--lv-success) !important;
}

.text-amber-700,
.text-amber-800,
.text-amber-900,
.text-yellow-700,
.text-yellow-800 {
  color: var(--lv-warning) !important;
}

.text-purple-700,
.text-purple-800,
.text-purple-900,
.text-fuchsia-700,
.text-fuchsia-800 {
  color: #7c3aed !important;
}

html[data-appearance="dark"] .lv-workspace .bg-white,
html[data-appearance="dark"] .lv-workspace .bg-slate-50,
html[data-appearance="dark"] .lv-workspace .bg-slate-100 {
  background-color: var(--lv-surface-2) !important;
}

html[data-appearance="dark"] .lv-workspace .divide-slate-100 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--lv-border) !important;
}

html[data-appearance="dark"] .lv-workspace a:hover,
html[data-appearance="dark"] .lv-workspace tbody tr:hover {
  background-color: var(--lv-surface-3) !important;
}

/* 2026 command-center shell */
.lv-frame {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -12%, color-mix(in srgb, var(--lv-accent) 18%, transparent) 0, transparent 34%),
    linear-gradient(180deg, #0f172a 0, #0f172a 116px, var(--lv-page) 116px);
}

html[data-appearance="dark"] .lv-frame {
  background:
    radial-gradient(circle at 18% -12%, color-mix(in srgb, var(--lv-accent-2) 20%, transparent) 0, transparent 34%),
    linear-gradient(180deg, #080d18 0, #080d18 116px, var(--lv-page) 116px);
}

.lv-commandbar {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 3vw, 40px);
  color: #fff;
}

.lv-brand-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.lv-brand-orb {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.20), transparent),
    linear-gradient(135deg, var(--lv-accent), var(--lv-accent-2));
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.lv-brand-v2 strong {
  display: block;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.01em;
}

.lv-brand-v2 em {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-command-center {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  justify-self: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  padding: 7px 12px;
  color: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
}

.lv-system-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lv-command-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.16);
}

.lv-command-title {
  max-width: min(42vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.lv-command-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 9px;
}

.lv-icon-pill,
.lv-account-pill,
.lv-command-actions .lv-logout-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.80);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.lv-icon-pill strong {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--lv-accent);
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 700;
}

.lv-command-actions .lv-logout-form button {
  cursor: pointer;
}

.lv-modulebar {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid var(--lv-border);
  background: color-mix(in srgb, var(--lv-surface) 92%, transparent);
  backdrop-filter: blur(16px);
}

.lv-module-track {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  max-width: 1780px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 10px clamp(18px, 3vw, 40px);
  scrollbar-width: none;
}

.lv-module-track::-webkit-scrollbar {
  display: none;
}

.lv-module-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--lv-muted);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.lv-module-link:hover {
  border-color: var(--lv-border);
  background: var(--lv-surface-2);
  color: var(--lv-text);
}

.lv-module-link.is-active {
  border-color: var(--lv-accent-border);
  background: var(--lv-accent-soft);
  color: var(--lv-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv-accent-border) 48%, transparent);
}

.lv-module-separator {
  flex: 0 0 auto;
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: var(--lv-border);
}

.lv-page-canvas {
  padding: clamp(16px, 2.6vw, 34px);
}

.lv-page-frame {
  max-width: 1780px;
  min-height: calc(100vh - 178px);
  margin: 0 auto;
  border: 1px solid var(--lv-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lv-surface) 96%, var(--lv-surface-2)) 0, var(--lv-surface) 240px),
    var(--lv-surface);
  box-shadow: var(--lv-shadow);
  overflow: clip;
}

.lv-page-frame > main,
.lv-page-frame > .space-y-6,
.lv-page-frame > .mx-auto,
.lv-page-frame > div:not(.validation-summary-errors) {
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 2vw, 30px) !important;
}

.lv-page-frame > main {
  width: 100%;
}

.lv-page-frame > main > .mx-auto {
  max-width: none !important;
  margin: 0 !important;
}

.lv-page-frame > main.px-4,
.lv-page-frame > main.py-5,
.lv-page-frame > main.lg\:px-6 {
  padding: clamp(18px, 2vw, 30px) !important;
}

.lv-page-frame > .space-y-6 > section:first-child,
.lv-page-frame > main > .mx-auto > section:first-child,
.lv-page-frame > .mx-auto > section:first-child,
.lv-page-frame > div > section:first-child {
  border: 0 !important;
  border-bottom: 1px solid var(--lv-border) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lv-accent-soft) 62%, transparent), transparent 58%),
    transparent !important;
  box-shadow: none !important;
  margin: calc(-1 * clamp(18px, 2vw, 30px)) calc(-1 * clamp(18px, 2vw, 30px)) clamp(18px, 2vw, 28px) !important;
  padding: clamp(22px, 2.6vw, 38px) clamp(18px, 2vw, 30px) !important;
}

.lv-page-frame > .space-y-6 > section:first-child h1,
.lv-page-frame > main > .mx-auto > section:first-child h1,
.lv-page-frame > .mx-auto > section:first-child h1,
.lv-page-frame > div > section:first-child h1 {
  margin-top: 6px !important;
  max-width: 960px;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -.018em !important;
}

.lv-page-frame > .space-y-6 > section:first-child p,
.lv-page-frame > main > .mx-auto > section:first-child p,
.lv-page-frame > .mx-auto > section:first-child p,
.lv-page-frame > div > section:first-child p {
  max-width: 980px !important;
  color: var(--lv-muted) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

.lv-page-frame section[class*="grid"] > div[class*="rounded"],
.lv-page-frame .grid > a[class*="rounded"],
.lv-page-frame .divide-y > a,
.lv-page-frame table,
.lv-page-frame form[class*="rounded"],
.lv-page-frame aside[class*="rounded"],
.lv-page-frame section[class*="border"] {
  border-color: var(--lv-border) !important;
}

.lv-page-frame section[class*="grid"] > div[class*="rounded"] {
  background: linear-gradient(180deg, var(--lv-surface), var(--lv-surface-2)) !important;
  box-shadow: none !important;
}

.lv-page-frame section[class*="border"],
.lv-page-frame div[class*="border"][class*="shadow"],
.lv-page-frame form[class*="border"] {
  box-shadow: none !important;
}

.lv-page-frame table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--lv-border);
  border-radius: 12px;
}

.lv-page-frame thead,
.lv-page-frame table thead,
.lv-page-frame .sticky.top-0 {
  background: color-mix(in srgb, var(--lv-surface-2) 82%, var(--lv-accent-soft)) !important;
}

.lv-page-frame th {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

.lv-page-frame td {
  vertical-align: top;
}

.lv-page-frame input,
.lv-page-frame select,
.lv-page-frame textarea {
  min-height: 42px;
  border-radius: 10px !important;
}

.lv-page-frame button,
.lv-page-frame a[class*="bg-"],
.lv-page-frame a[class*="border"],
.lv-page-frame button[class*="border"] {
  border-radius: 10px !important;
}

.lv-page-frame *,
.lv-commandbar *,
.lv-modulebar * {
  min-width: 0;
}

.lv-page-frame .overflow-x-auto,
.lv-page-frame [class*="overflow-x-auto"] {
  max-width: 100%;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.lv-page-frame .overflow-y-auto,
.lv-page-frame [class*="overflow-y-auto"],
.lv-page-frame .overflow-auto,
.lv-page-frame [class*="overflow-auto"] {
  max-width: 100%;
}

.lv-page-frame .truncate {
  max-width: 100%;
}

.lv-page-frame .break-words,
.lv-page-frame p,
.lv-page-frame h1,
.lv-page-frame h2,
.lv-page-frame h3,
.lv-page-frame td,
.lv-page-frame th {
  overflow-wrap: anywhere;
}

.lv-page-frame input,
.lv-page-frame select,
.lv-page-frame textarea,
.lv-page-frame button {
  max-width: 100%;
}

.lv-page-frame label {
  min-width: 0;
}

.lv-page-frame [class*="max-w-["],
.lv-page-frame [class*="max-w-7xl"],
.lv-page-frame [class*="max-w-screen"] {
  max-width: 100% !important;
}

@media (max-width: 1023px) {
  .lv-commandbar {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }

  .lv-command-center {
    justify-self: stretch;
    justify-content: space-between;
    width: 100%;
  }

  .lv-command-actions {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lv-account-pill {
    max-width: min(54vw, 340px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lv-frame {
    background:
      linear-gradient(180deg, #0f172a 0, #0f172a 176px, var(--lv-page) 176px);
  }
}

@media (max-width: 760px) {
  .lv-commandbar {
    padding: 14px 16px;
  }

  .lv-command-center {
    display: none;
  }

  .lv-module-track {
    padding-inline: 14px;
  }

  .lv-page-canvas {
    padding: 10px;
  }

  .lv-page-frame {
    border-radius: 14px;
  }

  .lv-brand-v2 strong {
    font-size: 17px;
  }

  .lv-brand-v2 em {
    font-size: 9px;
  }

  .lv-command-actions {
    gap: 6px;
  }

  .lv-icon-pill span {
    display: none;
  }

  .lv-account-pill {
    max-width: 52vw;
  }
}

@media (max-width: 1199px) {
  .lv-page-frame [class*="2xl:grid-cols"],
  .lv-page-frame [class*="xl:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1023px) {
  .lv-page-frame [class*="lg:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .lv-page-frame > main,
  .lv-page-frame > .space-y-6,
  .lv-page-frame > .mx-auto,
  .lv-page-frame > div:not(.validation-summary-errors) {
    padding: 18px !important;
  }

  .lv-page-frame > .space-y-6 > section:first-child,
  .lv-page-frame > main > .mx-auto > section:first-child,
  .lv-page-frame > .mx-auto > section:first-child,
  .lv-page-frame > div > section:first-child {
    margin: -18px -18px 18px !important;
    padding: 22px 18px !important;
  }

  .lv-page-frame > .space-y-6 > section:first-child .flex,
  .lv-page-frame > main > .mx-auto > section:first-child .flex,
  .lv-page-frame > .mx-auto > section:first-child .flex,
  .lv-page-frame > div > section:first-child .flex {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .lv-page-frame > .space-y-6 > section:first-child a,
  .lv-page-frame > main > .mx-auto > section:first-child a,
  .lv-page-frame > .mx-auto > section:first-child a,
  .lv-page-frame > div > section:first-child a {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .lv-page-frame [class*="md:grid-cols"],
  .lv-page-frame [class*="sm:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .lv-page-frame [class*="md:divide-x"] > :not([hidden]) ~ :not([hidden]),
  .lv-page-frame [class*="divide-x"] > :not([hidden]) ~ :not([hidden]) {
    border-left-width: 0 !important;
    border-top-width: 1px !important;
  }

  .lv-page-frame [class*="md:divide-y-0"] > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 1px !important;
  }

  .lv-page-frame table[class*="min-w-"],
  .lv-page-frame table[class*="table-fixed"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .lv-page-frame table[class*="table-fixed"] tbody,
  .lv-page-frame table[class*="table-fixed"] thead,
  .lv-page-frame table[class*="table-fixed"] tr {
    width: max-content;
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .lv-frame {
    background:
      linear-gradient(180deg, #0f172a 0, #0f172a 126px, var(--lv-page) 126px);
  }

  .lv-commandbar {
    min-height: auto;
  }

  .lv-brand-orb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .lv-module-link {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .lv-module-separator {
    display: none;
  }

  .lv-page-frame {
    min-height: calc(100vh - 142px);
    border-radius: 12px;
  }

  .lv-page-frame > main,
  .lv-page-frame > .space-y-6,
  .lv-page-frame > .mx-auto,
  .lv-page-frame > div:not(.validation-summary-errors) {
    padding: 14px !important;
  }

  .lv-page-frame > .space-y-6 > section:first-child,
  .lv-page-frame > main > .mx-auto > section:first-child,
  .lv-page-frame > .mx-auto > section:first-child,
  .lv-page-frame > div > section:first-child {
    margin: -14px -14px 14px !important;
    padding: 18px 14px !important;
  }

  .lv-page-frame > .space-y-6 > section:first-child h1,
  .lv-page-frame > main > .mx-auto > section:first-child h1,
  .lv-page-frame > .mx-auto > section:first-child h1,
  .lv-page-frame > div > section:first-child h1 {
    font-size: clamp(24px, 9vw, 32px) !important;
  }

  .lv-page-frame .text-3xl {
    font-size: 1.75rem !important;
  }

  .lv-page-frame .text-2xl {
    font-size: 1.35rem !important;
  }

  .lv-page-frame .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .lv-page-frame .py-4 {
    padding-top: .875rem !important;
    padding-bottom: .875rem !important;
  }

  .lv-page-frame .gap-5 {
    gap: 1rem !important;
  }

  .lv-page-frame .gap-4 {
    gap: .875rem !important;
  }

  .lv-page-frame .max-h-\[560px\],
  .lv-page-frame .max-h-\[620px\] {
    max-height: none !important;
  }

  .lv-page-frame input,
  .lv-page-frame select,
  .lv-page-frame textarea,
  .lv-page-frame button,
  .lv-page-frame a[class*="bg-"],
  .lv-page-frame a[class*="border"] {
    width: 100%;
  }

  .lv-page-frame .justify-self-end {
    justify-self: stretch !important;
  }
}

@media (max-width: 420px) {
  .lv-page-canvas {
    padding: 8px;
  }

  .lv-commandbar {
    padding: 12px;
  }

  .lv-brand-v2 {
    gap: 9px;
  }

  .lv-brand-v2 em {
    display: none;
  }

  .lv-account-pill {
    max-width: 46vw;
    padding-inline: 10px;
  }
}

@media (max-width: 1023px) {
  .lv-shell {
    grid-template-columns: 1fr;
  }

  .lv-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, calc(100vw - 44px));
    transform: translateX(-102%);
    transition: transform .22s ease;
  }

  .lv-sidebar.is-open {
    transform: translateX(0);
  }

  .lv-mobile-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(15, 23, 42, .52);
  }

  .lv-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .lv-topbar {
    padding: 10px 16px;
  }
}

@media (max-width: 760px) {
  .lv-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .lv-topbar-right {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lv-content main,
  .lv-content .space-y-6,
  .lv-content .mx-auto {
    max-width: 100% !important;
  }
}

/* Login */
.lv-login-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, #101828 0%, #1d2939 48%, #344054 100%);
  color: #101828;
}

.lv-login-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) 480px;
}

.lv-login-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #fff;
}

.lv-login-brand,
.lv-login-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lv-login-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.lv-login-brand-sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-login-copy {
  max-width: 680px;
}

.lv-login-copy span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: 7px 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-login-copy h1 {
  margin: 22px 0 0;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.06em;
}

.lv-login-copy p {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, .70);
  font-size: 16px;
  line-height: 1.7;
}

.lv-login-metrics {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lv-login-metrics div {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: 16px;
}

.lv-login-metrics strong {
  display: block;
  font-family: var(--lv-mono);
  font-size: 18px;
}

.lv-login-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  font-weight: 700;
}

.lv-login-form-wrap {
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--lv-page);
}

.lv-login-form {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--lv-border);
  border-radius: 8px;
  background: var(--lv-surface);
  padding: 28px;
  box-shadow: var(--lv-shadow);
}

.lv-login-form-head .lv-brand-mark {
  width: 40px;
  height: 40px;
}

.lv-login-form-head span {
  color: var(--lv-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lv-login-form-head h2 {
  margin: 1px 0 0;
  color: var(--lv-text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.lv-login-hint {
  margin: 14px 0 0;
  color: var(--lv-muted);
  font-size: 13px;
  font-weight: 600;
}

.lv-login-validation {
  margin-top: 14px;
  color: var(--lv-danger);
  font-size: 13px;
  font-weight: 800;
}

.lv-login-fields {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.lv-login-fields label {
  display: grid;
  gap: 7px;
}

.lv-login-fields label > span {
  color: var(--lv-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lv-login-fields input:not([type="checkbox"]) {
  min-height: 46px;
  border: 1px solid var(--lv-border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
}

.lv-login-fields em {
  color: var(--lv-danger);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.lv-login-remember {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  color: var(--lv-muted);
  font-size: 13px;
  font-weight: 700;
}

.lv-login-remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--lv-accent);
}

.lv-login-fields button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--lv-accent);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lv-login-seed {
  margin-top: 22px;
  border-top: 1px solid var(--lv-border);
  padding-top: 16px;
  color: var(--lv-muted);
  font-size: 12px;
  font-weight: 700;
}

.lv-login-seed strong {
  color: var(--lv-text);
}

@media (max-width: 980px) {
  .lv-login-shell {
    grid-template-columns: 1fr;
  }

  .lv-login-panel {
    display: none;
  }

  .lv-login-form-wrap {
    min-height: 100vh;
  }
}

/* Vodafone-inspired shell */
:root {
  --vf-red: #e60000;
  --vf-red-dark: #bd0000;
  --vf-red-soft: #fff1f1;
  --vf-ink: #1f1f1f;
  --vf-muted: #666f7a;
  --vf-line: #e2e6ea;
  --vf-page: #f2f4f7;
  --vf-card: #ffffff;
  --vf-card-2: #fafafa;
  --vf-radius: 14px;
  --vf-shadow: 0 16px 42px rgba(32, 36, 44, .08);
}

html[data-palette="blue"] {
  --vf-red: #005ea8;
  --vf-red-dark: #003f7d;
  --vf-red-soft: #eef7ff;
}

html[data-palette="gray"] {
  --vf-red: #4b5563;
  --vf-red-dark: #1f2937;
  --vf-red-soft: #f3f4f6;
}

html[data-appearance="dark"] {
  --vf-page: #151515;
  --vf-card: #202020;
  --vf-card-2: #282828;
  --vf-ink: #f7f7f7;
  --vf-muted: #c8c8c8;
  --vf-line: #3b3b3b;
  --vf-red-soft: color-mix(in srgb, var(--vf-red) 18%, transparent);
}

html[data-appearance="dark"][data-palette="blue"] {
  --vf-red-soft: rgba(0, 94, 168, .22);
}

html[data-appearance="dark"][data-palette="gray"] {
  --vf-red-soft: rgba(148, 163, 184, .18);
}

.lv-app {
  background: var(--vf-page) !important;
  color: var(--vf-ink);
}

.lv-vf-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 292px minmax(0, 1fr);
  background:
    linear-gradient(90deg, #fff 0, #fff 292px, transparent 292px),
    var(--vf-page);
}

html[data-appearance="dark"] .lv-vf-shell {
  background:
    linear-gradient(90deg, var(--vf-card) 0, var(--vf-card) 292px, transparent 292px),
    var(--vf-page);
}

.lv-vf-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  height: 100vh;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--vf-line);
  background: var(--vf-card);
}

.lv-vf-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 86px;
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--vf-red), var(--vf-red-dark));
  color: #fff;
  text-decoration: none;
}

.lv-vf-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 13px;
  font-weight: 700;
}

.lv-vf-brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.01em;
}

.lv-vf-brand em {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.lv-vf-menu {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px;
  scrollbar-width: thin;
}

.lv-vf-caption {
  margin: 16px 9px 8px;
  color: var(--vf-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lv-vf-caption:first-child {
  margin-top: 2px;
}

.lv-vf-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #303640;
  padding: 7px 11px;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}

html[data-appearance="dark"] .lv-vf-link {
  color: var(--vf-ink);
}

.lv-vf-link:hover {
  background: var(--vf-red-soft);
  border-color: color-mix(in srgb, var(--vf-red) 18%, transparent);
  color: var(--vf-red);
}

.lv-vf-link.is-active {
  background: var(--vf-red);
  border-color: var(--vf-red);
  color: #fff;
  box-shadow: 0 9px 22px color-mix(in srgb, var(--vf-red) 22%, transparent);
}

.lv-vf-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0f2f5;
  color: var(--vf-muted);
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 700;
}

.lv-vf-link:hover span {
  background: #fff;
  color: var(--vf-red);
}

.lv-vf-link.is-active span {
  background: #fff;
  color: var(--vf-red);
}

.lv-vf-link strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}

.lv-vf-link small {
  margin-left: auto;
  min-width: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--vf-red);
  text-align: center;
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 22px;
}

.lv-vf-help {
  margin: 14px;
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius);
  background: linear-gradient(180deg, #fff, #f8f8f8);
  padding: 14px;
}

html[data-appearance="dark"] .lv-vf-help {
  background: var(--vf-card-2);
}

.lv-vf-help strong {
  display: block;
  color: var(--vf-ink);
  font-size: 13px;
  font-weight: 700;
}

.lv-vf-help span {
  display: block;
  margin-top: 5px;
  color: var(--vf-muted);
  font-size: 12px;
  line-height: 1.45;
}

.lv-vf-main {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
}

.lv-vf-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  border-bottom: 1px solid var(--vf-line);
  background: color-mix(in srgb, var(--vf-card) 94%, transparent);
  padding: 14px clamp(18px, 2vw, 30px);
  backdrop-filter: blur(14px);
}

.lv-vf-top-left,
.lv-vf-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.lv-vf-title {
  min-width: 0;
}

.lv-vf-title span {
  display: block;
  color: var(--vf-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lv-vf-title h1 {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--vf-ink);
  font-size: clamp(20px, 1.6vw, 27px);
  font-weight: 700;
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lv-vf-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--vf-red);
  color: #fff;
  cursor: pointer;
}

.lv-vf-menu-button span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.lv-vf-alert,
.lv-vf-user,
.lv-vf-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--vf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vf-ink);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

html[data-appearance="dark"] .lv-vf-alert,
html[data-appearance="dark"] .lv-vf-user,
html[data-appearance="dark"] .lv-vf-logout {
  background: var(--vf-card-2);
}

.lv-vf-alert strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--vf-red);
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 10px;
  font-weight: 700;
}

.lv-vf-logout {
  border-color: var(--vf-red);
  background: var(--vf-red);
  color: #fff;
  cursor: pointer;
}

.lv-vf-content {
  flex: 1;
  min-width: 0;
  padding: clamp(14px, 2vw, 28px);
}

.lv-vf-page {
  min-height: calc(100vh - 130px);
  border: 1px solid var(--vf-line);
  border-radius: 22px;
  background: var(--vf-card);
  box-shadow: var(--vf-shadow);
  overflow: clip;
}

.lv-vf-page > main,
.lv-vf-page > .space-y-6,
.lv-vf-page > .mx-auto,
.lv-vf-page > div:not(.validation-summary-errors) {
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 2vw, 30px) !important;
}

.lv-vf-page > main {
  width: 100%;
}

.lv-vf-page > main > .mx-auto {
  max-width: none !important;
  margin: 0 !important;
}

.lv-vf-page > main.px-4,
.lv-vf-page > main.py-5,
.lv-vf-page > main.lg\:px-6 {
  padding: clamp(18px, 2vw, 30px) !important;
}

.lv-vf-page > .space-y-6 > section:first-child,
.lv-vf-page > main > .mx-auto > section:first-child,
.lv-vf-page > .mx-auto > section:first-child,
.lv-vf-page > div > section:first-child {
  border: 0 !important;
  border-bottom: 1px solid var(--vf-line) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at right top, color-mix(in srgb, var(--vf-red) 10%, transparent), transparent 36%),
    linear-gradient(180deg, #fff, #fff7f7) !important;
  box-shadow: none !important;
  margin: calc(-1 * clamp(18px, 2vw, 30px)) calc(-1 * clamp(18px, 2vw, 30px)) clamp(18px, 2vw, 28px) !important;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 2vw, 30px) !important;
}

html[data-appearance="dark"] .lv-vf-page > .space-y-6 > section:first-child,
html[data-appearance="dark"] .lv-vf-page > main > .mx-auto > section:first-child,
html[data-appearance="dark"] .lv-vf-page > .mx-auto > section:first-child,
html[data-appearance="dark"] .lv-vf-page > div > section:first-child {
  background:
    radial-gradient(circle at right top, color-mix(in srgb, var(--vf-red) 20%, transparent), transparent 36%),
    var(--vf-card) !important;
}

.lv-vf-page > .space-y-6 > section:first-child h1,
.lv-vf-page > main > .mx-auto > section:first-child h1,
.lv-vf-page > .mx-auto > section:first-child h1,
.lv-vf-page > div > section:first-child h1 {
  margin-top: 6px !important;
  color: var(--vf-ink) !important;
  font-size: clamp(30px, 3.2vw, 46px) !important;
  line-height: 1.02 !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
}

.lv-vf-page > .space-y-6 > section:first-child p,
.lv-vf-page > main > .mx-auto > section:first-child p,
.lv-vf-page > .mx-auto > section:first-child p,
.lv-vf-page > div > section:first-child p {
  color: var(--vf-muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.lv-vf-page section[class*="border"],
.lv-vf-page div[class*="border"][class*="shadow"],
.lv-vf-page form[class*="border"],
.lv-vf-page aside[class*="border"] {
  border-color: var(--vf-line) !important;
  box-shadow: none !important;
}

.lv-vf-page section[class*="grid"] > div[class*="rounded"] {
  background: linear-gradient(180deg, #fff, #fafafa) !important;
  border-color: var(--vf-line) !important;
  box-shadow: none !important;
}

html[data-appearance="dark"] .lv-vf-page section[class*="grid"] > div[class*="rounded"] {
  background: var(--vf-card-2) !important;
}

.lv-vf-page .bg-red-700,
.lv-vf-page .hover\:bg-red-800:hover,
.lv-vf-page .bg-slate-950 {
  background-color: var(--vf-red) !important;
}

.lv-vf-page .text-red-700,
.lv-vf-page .text-red-800,
.lv-vf-page .text-red-900 {
  color: var(--vf-red) !important;
}

.lv-vf-page .border-red-100,
.lv-vf-page .border-red-200 {
  border-color: color-mix(in srgb, var(--vf-red) 24%, transparent) !important;
}

.lv-vf-page .bg-red-50,
.lv-vf-page .bg-red-100 {
  background-color: var(--vf-red-soft) !important;
}

.lv-vf-page input,
.lv-vf-page select,
.lv-vf-page textarea {
  border-color: #cfd5dd !important;
  border-radius: 12px !important;
  background: #fff !important;
}

html[data-appearance="dark"] .lv-vf-page input,
html[data-appearance="dark"] .lv-vf-page select,
html[data-appearance="dark"] .lv-vf-page textarea {
  background: var(--vf-card-2) !important;
}

.lv-vf-page input:focus,
.lv-vf-page select:focus,
.lv-vf-page textarea:focus {
  border-color: var(--vf-red) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vf-red) 12%, transparent) !important;
}

.lv-vf-page table {
  border-color: var(--vf-line) !important;
}

.lv-vf-page thead,
.lv-vf-page table thead,
.lv-vf-page .sticky.top-0 {
  background: #f6f7f9 !important;
}

html[data-appearance="dark"] .lv-vf-page thead,
html[data-appearance="dark"] .lv-vf-page table thead,
html[data-appearance="dark"] .lv-vf-page .sticky.top-0 {
  background: var(--vf-card-2) !important;
}

.lv-vf-page *,
.lv-vf-topbar *,
.lv-vf-sidebar * {
  min-width: 0;
}

.lv-vf-page .overflow-x-auto,
.lv-vf-page [class*="overflow-x-auto"] {
  max-width: 100%;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.lv-vf-page .break-words,
.lv-vf-page p,
.lv-vf-page h1,
.lv-vf-page h2,
.lv-vf-page h3,
.lv-vf-page td,
.lv-vf-page th {
  overflow-wrap: anywhere;
}

body.lv-vf-menu-open {
  overflow: hidden;
}

.lv-vf-backdrop {
  display: none;
}

@media (max-width: 1199px) {
  .lv-vf-page [class*="2xl:grid-cols"],
  .lv-vf-page [class*="xl:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1099px) {
  .lv-vf-shell {
    grid-template-columns: 1fr;
    background: var(--vf-page);
  }

  .lv-vf-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(318px, calc(100vw - 44px));
    transform: translateX(-104%);
    transition: transform .22s ease;
  }

  .lv-vf-sidebar.is-open {
    transform: translateX(0);
  }

  .lv-vf-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(0,0,0,.45);
  }

  .lv-vf-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .lv-vf-page [class*="lg:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .lv-vf-page [class*="md:grid-cols"],
  .lv-vf-page [class*="sm:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .lv-vf-page table[class*="min-w-"],
  .lv-vf-page table[class*="table-fixed"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .lv-vf-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    padding: 12px 14px;
  }

  .lv-vf-top-left,
  .lv-vf-actions {
    width: 100%;
  }

  .lv-vf-actions {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lv-vf-title h1 {
    font-size: 22px;
  }

  .lv-vf-alert span {
    display: none;
  }

  .lv-vf-user {
    max-width: 55vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lv-vf-content {
    padding: 10px;
  }

  .lv-vf-page {
    min-height: calc(100vh - 142px);
    border-radius: 16px;
  }

  .lv-vf-page > main,
  .lv-vf-page > .space-y-6,
  .lv-vf-page > .mx-auto,
  .lv-vf-page > div:not(.validation-summary-errors) {
    padding: 14px !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child,
  .lv-vf-page > main > .mx-auto > section:first-child,
  .lv-vf-page > .mx-auto > section:first-child,
  .lv-vf-page > div > section:first-child {
    margin: -14px -14px 14px !important;
    padding: 19px 14px !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child .flex,
  .lv-vf-page > main > .mx-auto > section:first-child .flex,
  .lv-vf-page > .mx-auto > section:first-child .flex,
  .lv-vf-page > div > section:first-child .flex {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .lv-vf-page button,
  .lv-vf-page a[class*="bg-"],
  .lv-vf-page a[class*="border"],
  .lv-vf-page input,
  .lv-vf-page select,
  .lv-vf-page textarea {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .lv-vf-content {
    padding: 8px;
  }

  .lv-vf-brand {
    min-height: 78px;
    padding-inline: 16px;
  }

  .lv-vf-logo {
    width: 40px;
    height: 40px;
  }
}

/* Vodafone-inspired login */
.lv-login-page {
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,.22), transparent 32%),
    linear-gradient(135deg, var(--vf-red) 0%, var(--vf-red-dark) 52%, color-mix(in srgb, var(--vf-red-dark) 82%, #000) 100%) !important;
}

.lv-login-shell {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
}

.lv-login-panel {
  color: #fff;
}

.lv-login-form-wrap {
  background: #fff !important;
}

.lv-login-form {
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}

.lv-login-form-head .lv-brand-mark,
.lv-login-brand .lv-brand-mark {
  border-radius: 50%;
  background: var(--vf-red) !important;
}

.lv-login-fields button {
  border-radius: 999px;
  background: var(--vf-red) !important;
}

@media (max-width: 980px) {
  .lv-login-form-wrap {
    background: transparent !important;
    padding: 18px;
  }
}

/* User settings page */
.lv-settings-page {
  display: grid;
  gap: 22px;
}

.lv-settings-hero {
  border: 0 !important;
  border-bottom: 1px solid var(--vf-line) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--vf-red) 14%, transparent), transparent 30%),
    linear-gradient(180deg, #fff, #fff7f7) !important;
  margin: calc(-1 * clamp(18px, 2vw, 30px)) calc(-1 * clamp(18px, 2vw, 30px)) 0 !important;
  padding: clamp(26px, 3vw, 44px) clamp(18px, 2vw, 30px) !important;
}

html[data-appearance="dark"] .lv-settings-hero {
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--vf-red) 22%, transparent), transparent 30%),
    var(--vf-card) !important;
}

.lv-settings-hero span,
.lv-settings-card-head span,
.lv-settings-preview-top span {
  display: block;
  color: var(--vf-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lv-settings-hero h1 {
  margin: 8px 0 0;
  color: var(--vf-ink);
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lv-settings-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--vf-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.lv-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
}

.lv-settings-card,
.lv-settings-preview {
  border: 1px solid var(--vf-line);
  border-radius: 18px;
  background: var(--vf-card);
  box-shadow: none;
}

.lv-settings-card {
  padding: clamp(18px, 2vw, 26px);
}

.lv-settings-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lv-settings-card-head h2 {
  margin: 5px 0 0;
  color: var(--vf-ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -.015em;
}

.lv-settings-card-head strong {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--vf-red);
  color: #fff;
  font-family: var(--lv-mono);
  font-size: 13px;
}

.lv-settings-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.lv-settings-form label {
  display: grid;
  gap: 8px;
}

.lv-settings-form label > span {
  color: var(--vf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lv-settings-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd5dd;
  border-radius: 12px;
  background: #fff;
  color: var(--vf-ink);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 650;
}

html[data-appearance="dark"] .lv-settings-form select {
  background: var(--vf-card-2);
}

.lv-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lv-settings-primary,
.lv-settings-secondary {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lv-settings-primary {
  border: 1px solid var(--vf-red);
  background: var(--vf-red);
  color: #fff;
}

.lv-settings-secondary {
  border: 1px solid var(--vf-line);
  background: #fff;
  color: var(--vf-ink);
}

html[data-appearance="dark"] .lv-settings-secondary {
  background: var(--vf-card-2);
}

.lv-settings-preview {
  overflow: hidden;
}

.lv-settings-preview-top {
  padding: 20px;
  border-bottom: 1px solid var(--vf-line);
  background: linear-gradient(135deg, var(--vf-red), var(--vf-red-dark));
  color: #fff;
}

.lv-settings-preview-top span {
  color: rgba(255,255,255,.78);
}

.lv-settings-preview-top strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
}

.lv-settings-preview-top p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
}

.lv-settings-phone {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--vf-card-2);
}

.lv-settings-phone-bar {
  display: flex;
  gap: 6px;
}

.lv-settings-phone-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5dd;
}

.lv-settings-mini-card {
  border: 1px solid var(--vf-line);
  border-radius: 14px;
  background: var(--vf-card);
  padding: 14px;
}

.lv-settings-mini-card.is-hot {
  border-color: rgba(230,0,0,.25);
  background: var(--vf-red-soft);
}

.lv-settings-mini-card strong,
.lv-settings-mini-card em {
  display: block;
}

.lv-settings-mini-card strong {
  color: var(--vf-ink);
  font-size: 14px;
  font-weight: 700;
}

.lv-settings-mini-card em {
  margin-top: 5px;
  color: var(--vf-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.lv-settings-mini-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e7ec;
}

.lv-settings-mini-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--vf-red);
}

@media (max-width: 980px) {
  .lv-settings-layout {
    grid-template-columns: 1fr;
  }

  .lv-settings-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .lv-vf-page .lv-settings-page button,
  .lv-vf-page .lv-settings-page select {
    width: 100%;
  }

  .lv-settings-actions {
    display: grid;
  }

  .lv-settings-hero {
    margin: -14px -14px 0 !important;
    padding: 20px 14px !important;
  }

  .lv-settings-hero h1 {
    font-size: clamp(27px, 9vw, 36px);
  }
}

/* Calmer compact panel pass */
.lv-vf-shell {
  grid-template-columns: 256px minmax(0, 1fr);
  background:
    linear-gradient(90deg, #fff 0, #fff 256px, transparent 256px),
    var(--vf-page);
}

html[data-appearance="dark"] .lv-vf-shell {
  background:
    linear-gradient(90deg, var(--vf-card) 0, var(--vf-card) 256px, transparent 256px),
    var(--vf-page);
}

.lv-vf-brand {
  min-height: 70px;
  padding: 15px 18px;
}

.lv-vf-logo {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.lv-vf-brand strong {
  font-size: 18px;
}

.lv-vf-brand em {
  font-size: 9px;
  letter-spacing: .095em;
}

.lv-vf-menu {
  padding: 14px 12px;
}

.lv-vf-caption {
  margin: 13px 9px 7px;
  font-size: 9px;
}

.lv-vf-link {
  min-height: 39px;
  gap: 9px;
  border-radius: 12px;
  padding: 6px 9px;
}

.lv-vf-link span {
  width: 26px;
  height: 26px;
  font-size: 9px;
}

.lv-vf-link strong {
  font-size: 12.5px;
}

.lv-vf-link.is-active {
  background: var(--vf-red-soft);
  border-color: color-mix(in srgb, var(--vf-red) 26%, transparent);
  color: var(--vf-red);
  box-shadow: none;
}

.lv-vf-link.is-active span {
  background: var(--vf-red);
  color: #fff;
}

.lv-vf-help {
  margin: 12px;
  padding: 12px;
}

.lv-vf-help strong {
  font-size: 12px;
}

.lv-vf-help span {
  font-size: 11px;
}

.lv-vf-topbar {
  min-height: 64px;
  padding: 10px clamp(16px, 1.7vw, 24px);
}

.lv-vf-title span {
  font-size: 9px;
  letter-spacing: .12em;
}

.lv-vf-title h1 {
  font-size: clamp(18px, 1.35vw, 23px);
}

.lv-vf-alert,
.lv-vf-user,
.lv-vf-logout {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11.5px;
}

.lv-vf-alert strong {
  min-width: 19px;
  height: 19px;
}

.lv-vf-content {
  padding: clamp(12px, 1.45vw, 20px);
}

.lv-vf-page {
  min-height: calc(100vh - 104px);
  border-radius: 16px;
}

.lv-vf-page > main,
.lv-vf-page > .space-y-6,
.lv-vf-page > .mx-auto,
.lv-vf-page > div:not(.validation-summary-errors) {
  padding: clamp(14px, 1.5vw, 22px) !important;
}

.lv-vf-page > .space-y-6 > section:first-child,
.lv-vf-page > main > .mx-auto > section:first-child,
.lv-vf-page > .mx-auto > section:first-child,
.lv-vf-page > div > section:first-child {
  margin: calc(-1 * clamp(14px, 1.5vw, 22px)) calc(-1 * clamp(14px, 1.5vw, 22px)) 16px !important;
  padding: clamp(18px, 2vw, 28px) clamp(14px, 1.5vw, 22px) !important;
  background:
    linear-gradient(90deg, #fff 0%, #fff 68%, color-mix(in srgb, var(--vf-red) 7%, #fff) 100%) !important;
}

html[data-appearance="dark"] .lv-vf-page > .space-y-6 > section:first-child,
html[data-appearance="dark"] .lv-vf-page > main > .mx-auto > section:first-child,
html[data-appearance="dark"] .lv-vf-page > .mx-auto > section:first-child,
html[data-appearance="dark"] .lv-vf-page > div > section:first-child {
  background:
    linear-gradient(90deg, var(--vf-card) 0%, var(--vf-card) 70%, color-mix(in srgb, var(--vf-red) 12%, var(--vf-card)) 100%) !important;
}

.lv-vf-page > .space-y-6 > section:first-child h1,
.lv-vf-page > main > .mx-auto > section:first-child h1,
.lv-vf-page > .mx-auto > section:first-child h1,
.lv-vf-page > div > section:first-child h1 {
  font-size: clamp(26px, 2.35vw, 36px) !important;
  line-height: 1.08 !important;
}

.lv-vf-page > .space-y-6 > section:first-child p,
.lv-vf-page > main > .mx-auto > section:first-child p,
.lv-vf-page > .mx-auto > section:first-child p,
.lv-vf-page > div > section:first-child p {
  max-width: 820px !important;
  font-size: 14px !important;
}

.lv-vf-page section[class*="grid"] > div[class*="rounded"] {
  border-radius: 12px !important;
}

.lv-vf-page .text-3xl {
  font-size: clamp(1.45rem, 1.6vw, 1.9rem) !important;
}

.lv-vf-page .p-5 {
  padding: 1rem !important;
}

.lv-vf-page .px-5 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.lv-vf-page .py-16 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.lv-vf-page .mt-5 {
  margin-top: 1rem !important;
}

.lv-vf-page .space-y-6 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem !important;
}

@media (max-width: 1099px) {
  .lv-vf-shell {
    grid-template-columns: minmax(0, 1fr);
    background: var(--vf-page);
  }
}

@media (max-width: 760px) {
  .lv-vf-topbar {
    padding: 10px 12px;
  }

  .lv-vf-menu-button {
    width: 40px;
    height: 40px;
  }

  .lv-vf-title h1 {
    font-size: 21px;
  }

  .lv-vf-actions {
    gap: 8px;
  }

  .lv-vf-content {
    padding: 8px;
  }

  .lv-vf-page {
    border-radius: 12px;
  }

  .lv-vf-page > main,
  .lv-vf-page > .space-y-6,
  .lv-vf-page > .mx-auto,
  .lv-vf-page > div:not(.validation-summary-errors) {
    padding: 12px !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child,
  .lv-vf-page > main > .mx-auto > section:first-child,
  .lv-vf-page > .mx-auto > section:first-child,
  .lv-vf-page > div > section:first-child {
    margin: -12px -12px 12px !important;
    padding: 16px 14px !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child h1,
  .lv-vf-page > main > .mx-auto > section:first-child h1,
  .lv-vf-page > .mx-auto > section:first-child h1,
  .lv-vf-page > div > section:first-child h1 {
    font-size: clamp(24px, 7vw, 30px) !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child p,
  .lv-vf-page > main > .mx-auto > section:first-child p,
  .lv-vf-page > .mx-auto > section:first-child p,
  .lv-vf-page > div > section:first-child p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .lv-vf-page section.grid:has(.text-3xl) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
  }

  .lv-vf-page section.grid:has(.text-3xl) > div {
    min-height: 92px;
  }

  .lv-vf-page .text-3xl {
    font-size: 1.6rem !important;
  }

  .lv-vf-page .py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .lv-vf-page > .space-y-6 > section:first-child .flex,
  .lv-vf-page > main > .mx-auto > section:first-child .flex,
  .lv-vf-page > .mx-auto > section:first-child .flex,
  .lv-vf-page > div > section:first-child .flex {
    align-items: flex-end !important;
    flex-direction: row !important;
  }

  .lv-vf-page > .space-y-6 > section:first-child a,
  .lv-vf-page > main > .mx-auto > section:first-child a,
  .lv-vf-page > .mx-auto > section:first-child a,
  .lv-vf-page > div > section:first-child a {
    width: auto !important;
    flex: 0 0 auto;
  }

  .lv-vf-page section.grid:has(.text-3xl) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 420px) {
  .lv-vf-page section.grid:has(.text-3xl) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Environment inventory table */
.environment-list-panel {
  overflow: visible;
}

.environment-list-body {
  padding: 12px;
}

.environment-table,
.environment-table tbody {
  display: block;
  width: 100%;
  min-width: 0 !important;
}

.environment-table colgroup,
.environment-table thead {
  display: none;
}

.environment-table tbody {
  display: grid;
  gap: 12px;
}

.environment-table tr.source-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(110px, .7fr)) minmax(150px, .9fr) minmax(210px, 1fr);
  gap: 10px 12px;
  align-items: stretch;
  border: 1px solid var(--vf-border);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

html[data-appearance="dark"] .environment-table tr.source-row {
  background: var(--vf-card);
}

.environment-table tr.source-row:hover {
  background: color-mix(in srgb, var(--vf-red-soft) 34%, #fff);
}

html[data-appearance="dark"] .environment-table tr.source-row:hover {
  background: color-mix(in srgb, var(--vf-red-soft) 55%, var(--vf-card));
}

.environment-table td {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border: 0;
  padding: 0 !important;
  vertical-align: middle;
}

.environment-table td:nth-child(n+2)::before {
  margin-bottom: 5px;
  color: var(--vf-muted);
  content: "";
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.environment-table td:nth-child(2)::before { content: "Ortam"; }
.environment-table td:nth-child(3)::before { content: "Endpoint"; }
.environment-table td:nth-child(4)::before { content: "Owner"; }
.environment-table td:nth-child(5)::before { content: "Firewall"; }
.environment-table td:nth-child(6)::before { content: "User"; }
.environment-table td:nth-child(7)::before { content: "Test"; }
.environment-table td:nth-child(8)::before { content: "Hata"; }
.environment-table td:nth-child(9)::before { content: ""; display: none; }

.environment-table td:nth-child(1) {
  grid-row: span 2;
}

.environment-table td:nth-child(8) {
  grid-column: span 2;
}

.environment-table td:nth-child(9) {
  grid-column: span 2;
}

.environment-actions {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.environment-actions button {
  width: auto !important;
  min-width: 58px;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1;
  padding: 9px 11px !important;
}

.environment-actions .edit-source {
  min-width: 76px;
}

.environment-table .error-detail {
  display: block;
  max-width: 100%;
  border-radius: 10px !important;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.environment-table .source-name,
.environment-table .source-meta,
.environment-table .source-endpoint,
.environment-table .source-owner {
  min-width: 0;
}

.environment-table .firewall-status,
.environment-table .credential-status,
.environment-table .test-label,
.environment-table .source-environment {
  white-space: nowrap;
}

@media (max-width: 1350px) {
  .environment-table tr.source-row {
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(110px, .75fr)) minmax(190px, 1fr);
  }

  .environment-table td:nth-child(1) {
    grid-row: span 3;
  }

  .environment-table td:nth-child(8),
  .environment-table td:nth-child(9) {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .environment-table tr.source-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .environment-table td:nth-child(1),
  .environment-table td:nth-child(8),
  .environment-table td:nth-child(9) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .environment-list-body {
    padding: 10px;
  }

  .environment-table tr.source-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .environment-table td {
    grid-column: 1 / -1 !important;
  }

  .environment-actions {
    justify-content: stretch;
  }

  .environment-actions button {
    flex: 1 1 0;
  }
}
