@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Inter:wght@400;500;600;700&family=Lato:wght@400;700&family=Lora:wght@400;600;700&family=Manrope:wght@400;500;700&family=Merriweather:wght@400;700&family=Montserrat:wght@400;600;700&family=Nunito:wght@400;600;700&family=Open+Sans:wght@400;600;700&family=Outfit:wght@500;700&family=Playfair+Display:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Raleway:wght@400;600;700&family=Roboto+Slab:wght@400;600;700&family=Roboto:wght@400;500;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --bg-a: #eef5f8;
  --bg-b: #f8f3ec;
  --bg-c: #effaf4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(20, 56, 78, 0.14);
  --ink: #123047;
  --ink-soft: #537082;
  --brand-500: #0088b8;
  --brand-600: #036f97;
  --accent: #ff8d4d;
  --success-bg: #e5faee;
  --success-text: #0f7b4e;
  --danger-bg: #ffe9e6;
  --danger-text: #b1362b;
  --shadow-soft: 0 16px 34px rgba(10, 52, 79, 0.08);
  --shadow-card: 0 10px 24px rgba(21, 44, 68, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 92% -8%, rgba(255, 143, 77, 0.18), transparent 32%),
    radial-gradient(circle at -8% 20%, rgba(0, 136, 184, 0.2), transparent 38%),
    linear-gradient(160deg, var(--bg-a) 0%, var(--bg-b) 52%, var(--bg-c) 100%);
  line-height: 1.45;
}

body.app-body--public {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 209, 128, 0.34), transparent 38%),
    radial-gradient(circle at 84% 0%, rgba(0, 136, 184, 0.2), transparent 42%),
    linear-gradient(170deg, #f5efe7 0%, #faf8f2 48%, #edf5f6 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}

body::before {
  width: 360px;
  height: 360px;
  top: -140px;
  right: -100px;
  background: rgba(0, 136, 184, 0.11);
}

body::after {
  width: 460px;
  height: 460px;
  left: -170px;
  bottom: -210px;
  background: rgba(255, 141, 77, 0.09);
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1.1rem 1rem 2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.card--blur {
  backdrop-filter: blur(12px);
}

.card--content {
  background: var(--surface-strong);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
}

.topbar__title {
  margin: 0;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.55rem);
  letter-spacing: 0.01em;
}

.topbar__right {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.topbar__nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.46rem 0.78rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.topbar__nav a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(0, 136, 184, 0.35);
  background: rgba(232, 250, 255, 0.9);
}

.inline-form {
  display: inline;
}

.eyebrow {
  margin: 0 0 0.2rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  font-weight: 700;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 58ch;
}

.user-chip {
  margin: 0;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: right;
}

.user-chip strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
}

.flash-stack {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
}

.flash-stack:empty {
  display: none;
}

.flash {
  margin: 0;
  border-radius: var(--radius-md);
  padding: 0.76rem 0.95rem;
  border: 1px solid transparent;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.flash ul {
  margin: 0.35rem 0 0;
}

.flash__content {
  min-width: 0;
}

.flash__close {
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1;
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.72;
}

.flash__close:hover {
  opacity: 1;
}

.flash--closing {
  opacity: 0;
  transform: translateY(-3px);
}

.flash--notice {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(16, 140, 90, 0.2);
}

.flash--alert {
  background: var(--danger-bg);
  color: var(--danger-text);
  border-color: rgba(177, 54, 43, 0.22);
}

.content {
  margin-top: 0.95rem;
  padding: 1.2rem;
}

.content > * {
  animation: rise-in 420ms ease both;
}

.content > *:nth-child(2) {
  animation-delay: 55ms;
}

.content > *:nth-child(3) {
  animation-delay: 100ms;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 0.2rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.hero--compact {
  margin-bottom: 0.95rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.9rem;
}

.metric {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 136, 184, 0.2);
  background: linear-gradient(145deg, rgba(236, 250, 255, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.metric__label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.metric__value {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 1.65rem;
}

.metric__value--small {
  font-size: 1.1rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.95rem;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.tab:hover {
  text-decoration: none;
  color: var(--ink);
  border-color: rgba(0, 136, 184, 0.3);
}

.tab--active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 8px 15px rgba(0, 116, 158, 0.24);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.panel-head h3 {
  margin: 0;
}

.tab-panel h3 {
  margin-top: 0;
}

.panel {
  margin: 0.95rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.table-wrap {
  width: 100%;
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.data-table th,
.data-table td {
  text-align: left;
  border-bottom: 1px solid rgba(18, 48, 71, 0.1);
  padding: 0.6rem 0.45rem;
}

.data-table th {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.data-table tbody tr {
  transition: background-color 140ms ease;
}

.data-table tbody tr:hover {
  background-color: rgba(236, 250, 255, 0.68);
}

.admin-order-lines-table {
  min-width: 1880px;
  table-layout: fixed;
}

.admin-order-lines-table th,
.admin-order-lines-table td {
  vertical-align: top;
}

.admin-order-lines-table th:nth-child(1),
.admin-order-lines-table td:nth-child(1) {
  width: 180px;
}

.admin-order-lines-table th:nth-child(2),
.admin-order-lines-table td:nth-child(2) {
  width: 250px;
}

.admin-order-lines-table th:nth-child(3),
.admin-order-lines-table td:nth-child(3),
.admin-order-lines-table th:nth-child(4),
.admin-order-lines-table td:nth-child(4) {
  width: 120px;
}

.admin-order-lines-table th:nth-child(5),
.admin-order-lines-table td:nth-child(5),
.admin-order-lines-table th:nth-child(6),
.admin-order-lines-table td:nth-child(6),
.admin-order-lines-table th:nth-child(7),
.admin-order-lines-table td:nth-child(7) {
  width: 135px;
}

.admin-order-lines-table th:nth-child(8),
.admin-order-lines-table td:nth-child(8),
.admin-order-lines-table th:nth-child(9),
.admin-order-lines-table td:nth-child(9),
.admin-order-lines-table th:nth-child(10),
.admin-order-lines-table td:nth-child(10),
.admin-order-lines-table th:nth-child(11),
.admin-order-lines-table td:nth-child(11),
.admin-order-lines-table th:nth-child(12),
.admin-order-lines-table td:nth-child(12) {
  width: 105px;
}

.admin-order-lines-table input,
.admin-order-lines-table select {
  min-height: 2.15rem;
}

.factory-sheet-panel {
  background: #ffffff;
}

.factory-sheet-header-grid {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 190px 1fr;
  border: 1px solid rgba(0, 0, 0, 0.42);
  margin-bottom: 0.8rem;
  background: #ffffff;
}

.factory-sheet-header-grid div {
  padding: 0.42rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  border-right: 1px solid rgba(0, 0, 0, 0.42);
  font-size: 0.88rem;
}

.factory-sheet-header-grid div:nth-child(2n) {
  border-right: 0;
}

.factory-sheet-header-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.factory-sheet-table {
  width: max(1180px, 100%);
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid rgba(0, 0, 0, 0.52);
  background: #ffffff;
}

.factory-sheet-table th,
.factory-sheet-table td {
  border: 1px solid rgba(0, 0, 0, 0.52);
  padding: 0.32rem 0.28rem;
  font-size: 0.74rem;
  color: #151515;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

.factory-sheet-table th {
  background: #a2aec6;
  color: #101010;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.factory-sheet-table__section-row th {
  background: #fab001;
  font-size: 0.85rem;
  font-weight: 700;
  border-width: 1px;
}

.factory-sheet-table-wrap--spaced {
  margin-top: 0.8rem;
}

.factory-sheet-table--fabric th:nth-child(1),
.factory-sheet-table--fabric td:nth-child(1) {
  width: 34px;
}

.factory-sheet-table--fabric th:nth-child(2),
.factory-sheet-table--fabric td:nth-child(2) {
  width: 98px;
  text-align: left;
}

.factory-sheet-table--fabric th:nth-child(3),
.factory-sheet-table--fabric td:nth-child(3) {
  width: 128px;
  text-align: left;
}

.factory-sheet-table--fabric th:nth-child(4),
.factory-sheet-table--fabric td:nth-child(4) {
  width: 124px;
  text-align: left;
}

.factory-sheet-table--fabric th:nth-child(5),
.factory-sheet-table--fabric td:nth-child(5) {
  width: 104px;
}

.factory-sheet-table--fabric th:nth-child(6),
.factory-sheet-table--fabric td:nth-child(6) {
  width: 96px;
}

.factory-sheet-table--fabric th:nth-child(7),
.factory-sheet-table--fabric td:nth-child(7),
.factory-sheet-table--fabric th:nth-child(8),
.factory-sheet-table--fabric td:nth-child(8),
.factory-sheet-table--fabric th:nth-child(10),
.factory-sheet-table--fabric td:nth-child(10),
.factory-sheet-table--fabric th:nth-child(11),
.factory-sheet-table--fabric td:nth-child(11),
.factory-sheet-table--fabric th:nth-child(12),
.factory-sheet-table--fabric td:nth-child(12) {
  width: 84px;
}

.factory-sheet-table--fabric th:nth-child(9),
.factory-sheet-table--fabric td:nth-child(9) {
  width: 140px;
}

.factory-sheet-table--track {
  width: max(980px, 100%);
}

.factory-sheet-table--track th:nth-child(1),
.factory-sheet-table--track td:nth-child(1),
.factory-sheet-table--track th:nth-child(2),
.factory-sheet-table--track td:nth-child(2),
.factory-sheet-table--track th:nth-child(3),
.factory-sheet-table--track td:nth-child(3) {
  width: 120px;
}

.factory-sheet-table--track th:nth-child(4),
.factory-sheet-table--track td:nth-child(4) {
  width: 320px;
  text-align: left;
}

.factory-sheet-table--track th:nth-child(5),
.factory-sheet-table--track td:nth-child(5),
.factory-sheet-table--track th:nth-child(6),
.factory-sheet-table--track td:nth-child(6) {
  width: 180px;
}

.factory-sheet-notes {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  color: #151515;
}

.order-lines-sheet {
  border: 1px solid rgba(0, 0, 0, 0.36);
  border-radius: 10px;
  padding: 0.72rem;
  background: #ffffff;
}

.order-lines-sheet__meta {
  width: min(420px, 100%);
  border-collapse: collapse;
  margin-bottom: 0.7rem;
}

.order-lines-sheet__meta th,
.order-lines-sheet__meta td {
  border: 1px solid rgba(0, 0, 0, 0.38);
  padding: 0.35rem 0.45rem;
  font-size: 0.84rem;
  text-align: left;
}

.order-lines-sheet__meta th {
  width: 150px;
  font-weight: 700;
}

.order-lines-sheet__table {
  width: max(1300px, 100%);
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: #ffffff;
}

.order-lines-sheet__table th,
.order-lines-sheet__table td {
  border: 1px solid rgba(0, 0, 0, 0.4);
  padding: 0.36rem 0.34rem;
  font-size: 0.82rem;
  color: #1f1b16;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.order-lines-sheet__table th {
  background: #a4acbc;
  font-weight: 700;
  line-height: 1.2;
}

.order-lines-sheet__group-row th {
  background: #fab001;
  font-size: 0.84rem;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(1),
.order-lines-sheet__table tbody td:nth-child(1) {
  width: 34px;
}

.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(2),
.order-lines-sheet__table tbody td:nth-child(2) {
  width: 150px;
  text-align: left;
}

.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(3),
.order-lines-sheet__table tbody td:nth-child(3) {
  width: 190px;
  text-align: left;
}

.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(4),
.order-lines-sheet__table tbody td:nth-child(4) {
  width: 140px;
  text-align: left;
}

.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(5),
.order-lines-sheet__table tbody td:nth-child(5),
.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(6),
.order-lines-sheet__table tbody td:nth-child(6),
.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(7),
.order-lines-sheet__table tbody td:nth-child(7),
.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(8),
.order-lines-sheet__table tbody td:nth-child(8),
.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(9),
.order-lines-sheet__table tbody td:nth-child(9),
.order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(10),
.order-lines-sheet__table tbody td:nth-child(10) {
  width: 108px;
}

.order-lines-sheet__notes,
.order-lines-sheet__total {
  margin: 0.58rem 0 0;
  color: #1f1b16;
  font-size: 0.86rem;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.7rem;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(0, 136, 184, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 136, 184, 0.15);
  outline: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field--full {
  grid-column: 1 / -1;
}

.actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  padding: 0.58rem 0.95rem;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 8px 15px rgba(0, 116, 158, 0.24);
}

.button--secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.button--danger {
  color: #ffffff;
  background: linear-gradient(145deg, #e35f52, #bb3328);
  box-shadow: 0 8px 15px rgba(177, 54, 43, 0.22);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.button--small {
  padding: 0.4rem 0.72rem;
  font-size: 0.8rem;
}

.button--with-spinner {
  min-width: 180px;
}

.button__spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 680ms linear infinite;
}

.form-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.detail-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.95rem;
}

.detail-card p {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.35rem 0;
  color: var(--ink-soft);
}

.detail-card p strong {
  color: var(--ink);
}

.section-link {
  margin-top: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill--submitted {
  background: rgba(255, 141, 77, 0.16);
  color: #b85d1f;
}

.status-pill--reviewed {
  background: rgba(10, 153, 99, 0.16);
  color: #0c7c51;
}

.status-pill--priced {
  background: rgba(17, 122, 214, 0.16);
  color: #0e4b86;
}

.status-pill--sent_to_customer {
  background: rgba(111, 95, 214, 0.16);
  color: #4636a8;
}

.status-pill--approved {
  background: rgba(11, 161, 87, 0.17);
  color: #0a7b45;
}

.status-pill--rejected {
  background: rgba(222, 63, 61, 0.14);
  color: #9f2d2b;
}

.status-pill--converted_to_job {
  background: rgba(40, 181, 168, 0.2);
  color: #0f7269;
}

.status-pill--order_processing {
  background: rgba(255, 170, 59, 0.18);
  color: #a85916;
}

.status-pill--ready_for_pick_up {
  background: rgba(47, 139, 216, 0.17);
  color: #125896;
}

.status-pill--completed {
  background: rgba(24, 168, 102, 0.2);
  color: #0f7548;
}

.status-pill--cancelled {
  background: rgba(136, 146, 157, 0.22);
  color: #46505b;
}

.status-pill--pending {
  background: rgba(146, 140, 130, 0.2);
  color: #5d564d;
}

.status-pill--running {
  background: rgba(66, 129, 224, 0.18);
  color: #1f4f92;
}

.status-pill--succeeded {
  background: rgba(35, 166, 95, 0.2);
  color: #0f7343;
}

.status-pill--failed {
  background: rgba(201, 58, 58, 0.2);
  color: #8a2222;
}

.status-pill--b2b {
  background: rgba(23, 105, 180, 0.15);
  color: #114c81;
}

.status-pill--b2c {
  background: rgba(14, 142, 102, 0.18);
  color: #0d6a4b;
}

.status-pill--not_set {
  background: rgba(136, 146, 157, 0.2);
  color: #4f5965;
}

.muted {
  color: var(--ink-soft);
}

.quote-doc .lead {
  max-width: none;
}

.quote-doc-sheet__intro {
  margin: 0 0 0.7rem;
}

.quote-doc-sheet__legal {
  margin-top: 0.8rem;
  color: var(--ink);
}

.quote-doc-sheet__legal p {
  margin: 0.35rem 0 0;
}

.legal-doc h3 {
  margin-top: 1.1rem;
}

.legal-doc h3:first-child {
  margin-top: 0;
}

.legal-footer {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.legal-footer a {
  color: var(--ink-soft);
}

.public-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.public-topbar {
  position: sticky;
  top: 0.85rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
}

.public-brand:hover {
  text-decoration: none;
}

.public-brand__logo {
  width: 44px;
  height: auto;
}

.public-brand__meta {
  display: grid;
  line-height: 1.15;
}

.public-brand__name {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.public-brand__tagline {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
}

.public-nav__link {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.44rem 0.72rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
  font-weight: 600;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.public-nav__link:hover {
  text-decoration: none;
  border-color: rgba(0, 136, 184, 0.35);
  background: rgba(236, 250, 255, 0.92);
}

.public-nav__link--button {
  font: inherit;
  cursor: pointer;
}

.public-nav__link--active {
  color: #ffffff;
  background: linear-gradient(145deg, #06617f, #0088b8);
  border-color: transparent;
}

.public-nav__login {
  padding-inline: 1rem;
}

.flash-stack--public {
  margin-bottom: 0.95rem;
}

.public-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem;
  border: 1px solid rgba(18, 48, 71, 0.1);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 252, 0.93));
  box-shadow: 0 22px 44px rgba(19, 52, 74, 0.12);
}

.public-hero--compact {
  grid-template-columns: 1fr;
}

.public-hero__copy {
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

.public-hero__copy h1 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.public-hero__copy .lead {
  max-width: 52ch;
}

.public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.public-hero__media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(18, 48, 71, 0.1);
}

.public-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-section {
  margin-top: 1rem;
  padding: 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(18, 48, 71, 0.11);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(18, 48, 71, 0.09);
}

.public-section__head h2 {
  margin-bottom: 0;
}

.public-section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.public-section__media {
  border-radius: 18px;
  overflow: hidden;
}

.public-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-section__content {
  display: grid;
  align-content: center;
}

.public-card-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-card {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 48, 71, 0.12);
  background: linear-gradient(150deg, rgba(244, 250, 252, 0.95), #ffffff);
}

.public-card h3 {
  margin-bottom: 0.4rem;
}

.public-card p {
  margin: 0;
  color: var(--ink-soft);
}

.public-checklist {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.public-checklist li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 48, 71, 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.public-checklist li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #0088b8, #04a1d8);
}

.public-card-grid--products {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1rem;
  min-height: 160px;
  border: 1px solid rgba(18, 48, 71, 0.11);
  background:
    radial-gradient(circle at 90% -20%, rgba(0, 136, 184, 0.2), transparent 50%),
    linear-gradient(155deg, rgba(255, 249, 241, 0.96), rgba(248, 251, 254, 0.95));
}

.product-card p {
  margin: 0;
  color: var(--ink-soft);
}

.public-timeline {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-timeline li {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 48, 71, 0.12);
  background: #ffffff;
}

.public-timeline li h3 {
  margin-bottom: 0.35rem;
}

.public-timeline li p {
  margin: 0;
  color: var(--ink-soft);
}

.partner-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.partner-chip {
  border-radius: 999px;
  border: 1px solid rgba(18, 48, 71, 0.14);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.public-section--cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  background:
    radial-gradient(circle at 92% -30%, rgba(255, 169, 66, 0.28), transparent 52%),
    linear-gradient(140deg, rgba(241, 250, 255, 0.98), rgba(255, 251, 244, 0.96));
}

.public-footer {
  margin-top: 1rem;
  border-radius: 24px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  background: linear-gradient(145deg, #143047, #1a4763);
  border-color: rgba(255, 255, 255, 0.1);
}

.public-footer p {
  margin: 0;
  color: rgba(237, 244, 249, 0.9);
}

.public-footer a {
  color: rgba(237, 244, 249, 0.95);
}

.public-footer__brand {
  display: grid;
  gap: 0.5rem;
}

.public-footer__logo {
  width: 120px;
  height: auto;
}

.public-footer__contact {
  display: grid;
  gap: 0.32rem;
}

.public-footer__legal {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  justify-items: end;
}

.public-static {
  margin-top: 0.8rem;
  padding: 1.1rem;
}

.public-static h2 {
  font-family: "Fraunces", "Times New Roman", serif;
}

.public-static form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.public-static input[type="email"],
.public-static input[type="password"],
.public-static input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.public-static input[type="submit"] {
  justify-self: start;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 8px 15px rgba(0, 116, 158, 0.24);
  font: inherit;
  font-weight: 700;
  padding: 0.58rem 1rem;
  cursor: pointer;
}

/* Light Vue public redesign */
.app-body--public {
  color: #f5f1ea;
  background:
    radial-gradient(circle at 85% -10%, rgba(255, 190, 123, 0.16), transparent 34%),
    radial-gradient(circle at 4% 20%, rgba(255, 233, 205, 0.15), transparent 30%),
    linear-gradient(180deg, #1a1611 0%, #211c16 58%, #12100d 100%);
}

.public-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 2.2rem;
}

.public-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.4rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
  backdrop-filter: blur(3px);
}

.public-brand {
  gap: 0.58rem;
  color: #f8f5ef;
}

.public-brand__logo {
  width: 118px;
  height: auto;
  object-fit: contain;
}

.public-brand__meta {
  display: none;
}

.public-nav {
  gap: 0.35rem;
}

.public-nav__link {
  color: #f7f3ec;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 12, 10, 0.3);
}

.public-nav__link:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(25, 21, 17, 0.7);
}

.public-nav__link--active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
}

.public-nav__login {
  color: #12100d;
  border-color: transparent;
  background: linear-gradient(160deg, #f8f2e6, #fffaf1);
  box-shadow: none;
}

.flash-stack--public {
  position: relative;
  z-index: 20;
  width: min(1100px, calc(100% - 2rem));
  margin: 5.25rem auto 0;
}

.public-page--public-pages-home .flash-stack--public {
  position: absolute;
  top: 4.9rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.public-page--public-pages-home .flash {
  backdrop-filter: blur(8px);
}

.lv-hero {
  position: relative;
  min-height: 93vh;
  overflow: hidden;
}

.lv-hero__image {
  width: 100%;
  height: 93vh;
  object-fit: cover;
  display: block;
}

.lv-hero__veil {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.lv-hero__content {
  position: absolute;
  left: 2.4rem;
  bottom: 2rem;
  width: min(720px, calc(100% - 3.2rem));
  padding: 1.45rem 1.55rem;
  border-radius: 2px;
  background: rgba(8, 8, 8, 0.54);
  backdrop-filter: blur(8px);
  color: #f6f2eb;
}

.lv-hero__content h1,
.lv-page-hero__content h1 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 1.5rem + 1.55vw, 3.2rem);
  line-height: 1.08;
  color: #fffaf3;
}

.lv-kicker {
  margin: 0;
  color: rgba(255, 248, 236, 0.88);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.lv-lead {
  margin: 0.58rem 0 0.28rem;
  font-size: clamp(1.15rem, 0.95rem + 0.62vw, 1.55rem);
  font-weight: 700;
  color: #fff9f1;
}

.lv-hero__content p {
  margin: 0.46rem 0 0;
  max-width: 66ch;
  color: rgba(248, 243, 235, 0.95);
}

.lv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
  margin-top: 0.92rem;
}

.lv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 246, 237, 0.24);
  color: #13110f;
  background: #f8f2e9;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.lv-pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.lv-pill--dark {
  color: #f6f2eb;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(12, 10, 8, 0.74);
}

.lv-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.1rem auto 0;
  padding: 1.15rem;
  border: 1px solid rgba(255, 243, 227, 0.12);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(28, 24, 19, 0.82), rgba(17, 15, 12, 0.82));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.lv-section h2,
.lv-section h3 {
  color: #fff8ee;
}

.lv-section p,
.lv-section li {
  color: rgba(244, 238, 228, 0.9);
}

.lv-section__header {
  margin-bottom: 0.85rem;
}

.lv-section__header h2 {
  margin-bottom: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.55rem, 1.2rem + 0.95vw, 2.2rem);
}

.lv-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.lv-feature-card {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 0.78rem;
  padding: 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 243, 227, 0.15);
  background: rgba(18, 15, 12, 0.64);
}

.lv-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
  border-radius: 10px;
}

.lv-feature-card h3 {
  margin-bottom: 0.35rem;
}

.lv-feature-card p {
  margin: 0;
}

.lv-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.lv-product-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 243, 227, 0.16);
  background: rgba(19, 16, 13, 0.66);
}

.lv-product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.lv-product-card div {
  padding: 0.78rem;
}

.lv-product-card h3 {
  margin-bottom: 0.34rem;
}

.lv-product-card p {
  margin: 0;
}

.lv-section--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
  align-items: stretch;
}

.lv-panel {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 243, 227, 0.13);
  background: rgba(17, 15, 12, 0.68);
}

.lv-panel h2 {
  margin-bottom: 0.5rem;
  font-family: "Fraunces", "Times New Roman", serif;
}

.lv-panel p {
  margin: 0.5rem 0 0;
}

.lv-panel ul {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
}

.lv-panel__image {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.lv-logo-chip {
  margin-top: 0.65rem;
}

.lv-logo-chip__image {
  width: 132px;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(248, 242, 231, 0.96);
}

.lv-panel--contact ul li a {
  color: #f8f2e8;
}

.lv-page-hero {
  position: relative;
  min-height: 64vh;
  margin-top: 4.55rem;
}

.lv-page-hero__image {
  width: 100%;
  height: 64vh;
  object-fit: cover;
  display: block;
}

.lv-page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.55) 0%, rgba(5, 5, 4, 0.2) 45%, rgba(5, 5, 4, 0.72) 100%),
    radial-gradient(circle at 18% 80%, rgba(0, 0, 0, 0.56), transparent 40%);
}

.lv-page-hero__content {
  position: absolute;
  left: 2rem;
  bottom: 1.5rem;
  width: min(720px, calc(100% - 3rem));
  padding: 1.1rem 1.25rem;
  border-radius: 2px;
  background: rgba(7, 7, 7, 0.52);
  backdrop-filter: blur(7px);
}

.lv-page-hero__content p {
  margin: 0.48rem 0 0;
}

.lv-page-hero--builders .lv-page-hero__image {
  object-position: center 34%;
}

.lv-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.68rem;
}

.lv-partner-grid article {
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 227, 0.2);
  padding: 0.58rem 0.8rem;
  background: rgba(28, 23, 17, 0.7);
  text-align: center;
  font-weight: 600;
}

.lv-panel--copy p:first-child {
  margin-top: 0;
}

.public-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.1rem auto 0;
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  border: 1px solid rgba(255, 243, 227, 0.14);
  background: linear-gradient(145deg, rgba(17, 15, 12, 0.92), rgba(26, 22, 17, 0.92));
}

.public-footer__logo {
  width: 126px;
}

.public-footer p,
.public-footer a {
  color: rgba(248, 242, 232, 0.93);
}

.public-static {
  width: min(980px, calc(100% - 2rem));
  margin: 5.8rem auto 0;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(251, 247, 239, 0.97), rgba(255, 252, 246, 0.96));
}

.public-static h2 {
  color: #15120f;
}

.public-static p,
.public-static label {
  color: #3f3225;
}

.public-static input[type="submit"] {
  color: #fefbf4;
  background: linear-gradient(145deg, #7f6244, #9a7957);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .public-topbar {
    padding: 0.78rem 0.8rem;
  }

  .public-nav {
    justify-content: flex-end;
  }

  .public-nav__link {
    font-size: 0.75rem;
    padding: 0.33rem 0.54rem;
  }

  .public-brand__logo {
    width: 92px;
  }

  .lv-feature-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .public-topbar {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.68));
  }

  .public-nav {
    justify-content: flex-start;
  }

  .flash-stack--public {
    margin-top: 0.65rem;
  }

  .public-page--public-pages-home .flash-stack--public {
    position: relative;
    inset: auto;
    transform: none;
  }

  .lv-hero__image,
  .lv-hero {
    min-height: 76vh;
    height: 76vh;
  }

  .lv-hero__content,
  .lv-page-hero__content {
    left: 0.9rem;
    bottom: 0.9rem;
    width: calc(100% - 1.8rem);
    padding: 0.95rem;
  }

  .lv-section,
  .public-footer,
  .public-static {
    width: calc(100% - 1rem);
  }

  .lv-feature-grid,
  .lv-product-grid,
  .lv-section--split,
  .lv-partner-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .lv-product-card img {
    height: 190px;
  }
}

@media (max-width: 540px) {
  .public-nav__link {
    font-size: 0.73rem;
  }

  .public-nav__login {
    width: 100%;
  }

  .lv-hero__content h1,
  .lv-page-hero__content h1 {
    font-size: 1.75rem;
  }

  .lv-section {
    padding: 0.85rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__right,
  .topbar__nav {
    justify-items: start;
    justify-content: flex-start;
  }

  .user-chip {
    text-align: left;
    width: fit-content;
  }

  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 0.8rem 0.72rem 1.5rem;
  }

  .content {
    padding: 0.95rem;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__nav a,
  .button {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body {
    background: #ffffff;
  }

  body::before,
  body::after,
  .topbar,
  .flash-stack,
  .no-print {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .content {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .panel {
    box-shadow: none;
  }

  .quote-doc-sheet {
    border: 1px solid #2a2a2a;
    background: #ffffff;
    page-break-inside: avoid;
  }

  .order-lines-sheet--document {
    border: none;
    border-radius: 0;
    padding: 0;
    background: #ffffff;
  }

  .order-lines-sheet--document .table-wrap {
    overflow: visible;
  }

  .order-lines-sheet--document .order-lines-sheet__meta {
    width: 55%;
    margin-bottom: 0.45rem;
  }

  .order-lines-sheet--document .order-lines-sheet__meta th,
  .order-lines-sheet--document .order-lines-sheet__meta td {
    font-size: 10.2px;
    padding: 0.2rem 0.3rem;
  }

  .order-lines-sheet--document .order-lines-sheet__table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .order-lines-sheet--document .order-lines-sheet__table th,
  .order-lines-sheet--document .order-lines-sheet__table td {
    font-size: 9.6px;
    padding: 0.18rem 0.2rem;
    line-height: 1.18;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .order-lines-sheet--document .order-lines-sheet__group-row th {
    font-size: 10.2px;
    padding: 0.14rem 0.2rem;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(1),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(1) {
    width: 4%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(2),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(2) {
    width: 15%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(3),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(3) {
    width: 18%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(4),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(4) {
    width: 14%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(5),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(5) {
    width: 9%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(6),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(6) {
    width: 9%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(7),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(7) {
    width: 11%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(8),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(8) {
    width: 9%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(9),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(9) {
    width: 7%;
  }

  .order-lines-sheet--document .order-lines-sheet__table thead tr:not(.order-lines-sheet__group-row) th:nth-child(10),
  .order-lines-sheet--document .order-lines-sheet__table tbody td:nth-child(10) {
    width: 4%;
  }
}

/* Premium public landing pass */
.app-body--public::before,
.app-body--public::after {
  display: none;
}

.app-body--public {
  color: #f9f4eb;
  background:
    radial-gradient(circle at 90% 2%, rgba(206, 155, 96, 0.2), transparent 34%),
    radial-gradient(circle at 10% 18%, rgba(240, 209, 167, 0.18), transparent 32%),
    linear-gradient(180deg, #15110c 0%, #19140f 45%, #0f0c09 100%);
}

.app-body--public a {
  color: inherit;
}

.public-shell {
  padding-bottom: 2.8rem;
}

.public-topbar {
  border-bottom: 1px solid rgba(255, 244, 226, 0.18);
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.76), rgba(10, 8, 6, 0.25));
  backdrop-filter: blur(10px);
}

.public-brand__logo {
  width: 156px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.public-nav {
  gap: 0.45rem;
}

.public-nav__link {
  border: 1px solid rgba(251, 241, 224, 0.2);
  background: rgba(12, 10, 8, 0.38);
  font-size: 0.79rem;
  letter-spacing: 0.02em;
}

.public-nav__link:hover {
  border-color: rgba(251, 241, 224, 0.52);
  background: rgba(32, 25, 18, 0.76);
}

.public-nav__link--active {
  border-color: rgba(251, 241, 224, 0.66);
  background: rgba(248, 236, 216, 0.18);
}

.public-nav__login {
  border: 1px solid rgba(12, 10, 8, 0.15);
  background: linear-gradient(155deg, #f5ebda, #fff8ec);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.public-page--public-pages-home .flash-stack--public {
  top: 5.3rem;
}

.lv-hero {
  min-height: 100vh;
}

.lv-hero__image {
  height: 100vh;
  animation: lv-pan-hero 18s ease-in-out infinite alternate;
  filter: saturate(0.9) contrast(1.02);
}

.lv-hero__veil {
  background: none;
}

.lv-hero__content {
  bottom: 2.5rem;
  width: min(760px, calc(100% - 3.4rem));
  padding: 1.5rem 1.65rem 1.4rem;
  border: 1px solid rgba(255, 241, 219, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.38);
  background: linear-gradient(145deg, rgba(10, 9, 7, 0.7), rgba(18, 15, 11, 0.5));
}

.lv-hero__content::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, rgba(248, 235, 211, 0.8), transparent);
}

.lv-kicker {
  color: rgba(248, 237, 219, 0.92);
}

.lv-hero__content h1 {
  margin-top: 0.32rem;
}

.lv-hero__signals {
  margin: 0.78rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.lv-hero__signals li {
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 241, 224, 0.24);
  background: rgba(255, 244, 226, 0.1);
  font-size: 0.76rem;
  font-weight: 600;
}

.lv-pill {
  padding: 0.54rem 1rem;
  border: 1px solid rgba(251, 241, 224, 0.24);
  background: linear-gradient(155deg, #f7efe1, #fff8ec);
}

.lv-pill--dark {
  border-color: rgba(251, 241, 224, 0.24);
  background: rgba(13, 10, 8, 0.78);
}

.lv-section {
  margin-top: 1.35rem;
  padding: 1.45rem;
  border-radius: 26px;
  border: 1px solid rgba(251, 241, 224, 0.14);
  background:
    radial-gradient(circle at 90% -30%, rgba(200, 155, 106, 0.16), transparent 48%),
    linear-gradient(165deg, rgba(24, 20, 16, 0.86), rgba(13, 11, 9, 0.88));
}

.lv-section__header {
  display: grid;
  gap: 0.36rem;
  margin-bottom: 1rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(251, 241, 224, 0.12);
}

.lv-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.lv-feature-card {
  grid-column: span 6;
  padding: 0.82rem;
  border-radius: 18px;
  border: 1px solid rgba(251, 241, 224, 0.16);
  background: rgba(14, 12, 10, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lv-feature-card:nth-child(1),
.lv-feature-card:nth-child(4) {
  grid-column: span 7;
}

.lv-feature-card:nth-child(2),
.lv-feature-card:nth-child(3) {
  grid-column: span 5;
}

.lv-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 241, 224, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.lv-feature-card img {
  min-height: 146px;
}

.lv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.92rem;
}

.lv-product-card {
  border-radius: 16px;
  border: 1px solid rgba(251, 241, 224, 0.18);
  background: rgba(15, 13, 10, 0.72);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.lv-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 241, 224, 0.3);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

.lv-product-card img {
  height: 214px;
}

.lv-section--split {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.lv-panel {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(251, 241, 224, 0.14);
  background: rgba(13, 10, 8, 0.74);
}

.lv-panel__image {
  max-height: 480px;
  object-fit: cover;
}

.lv-logo-chip--dark .lv-logo-chip__image {
  background: rgba(245, 236, 220, 0.98);
}

.lv-page-hero {
  min-height: 70vh;
}

.lv-page-hero__image {
  height: 70vh;
  filter: saturate(0.9) contrast(1.02);
  animation: lv-pan-hero 20s ease-in-out infinite alternate;
}

.lv-page-hero--partners .lv-page-hero__image {
  object-position: center 38%;
}

.lv-page-hero__content {
  border: 1px solid rgba(251, 241, 224, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10, 9, 7, 0.68), rgba(18, 15, 11, 0.48));
}

.lv-partner-grid {
  gap: 0.82rem;
}

.lv-partner-grid article {
  padding: 0.72rem 0.88rem;
  border: 1px solid rgba(251, 241, 224, 0.24);
  background: rgba(20, 16, 12, 0.72);
}

.public-footer {
  margin-top: 1.35rem;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(251, 241, 224, 0.16);
  background: linear-gradient(150deg, rgba(14, 12, 10, 0.94), rgba(23, 19, 15, 0.94));
}

.public-footer__legal {
  gap: 0.48rem;
}

@keyframes lv-pan-hero {
  from {
    transform: scale(1.03) translateX(-0.6%);
  }

  to {
    transform: scale(1.08) translateX(0.8%);
  }
}

@media (max-width: 1140px) {
  .lv-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .public-topbar {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.82rem;
    background: linear-gradient(180deg, rgba(9, 7, 5, 0.92), rgba(9, 7, 5, 0.72));
  }

  .public-nav {
    justify-content: flex-start;
  }

  .public-brand__logo {
    width: 124px;
  }

  .public-page--public-pages-home .flash-stack--public {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0.85rem auto 0;
  }

  .lv-hero,
  .lv-hero__image {
    min-height: 80vh;
    height: 80vh;
  }

  .lv-hero__content,
  .lv-page-hero__content {
    width: calc(100% - 1.7rem);
    left: 0.85rem;
    bottom: 0.9rem;
    padding: 1rem;
  }

  .lv-feature-grid,
  .lv-section--split,
  .lv-partner-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .lv-feature-card,
  .lv-feature-card:nth-child(1),
  .lv-feature-card:nth-child(2),
  .lv-feature-card:nth-child(3),
  .lv-feature-card:nth-child(4) {
    grid-column: span 12;
  }
}

@media (max-width: 620px) {
  .public-nav__link {
    font-size: 0.74rem;
    padding: 0.36rem 0.56rem;
  }

  .public-nav__login {
    width: 100%;
  }

  .lv-section {
    width: calc(100% - 1rem);
    padding: 1rem;
    border-radius: 18px;
  }

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

  .lv-product-card img {
    height: 200px;
  }
}

/* Final premium tuning + public inquiry form */
.lv-pill {
  color: #1a1510;
}

.lv-pill--dark {
  color: #f9f3e8;
}

.lv-section {
  background:
    radial-gradient(circle at 90% -30%, rgba(213, 170, 121, 0.2), transparent 50%),
    linear-gradient(165deg, rgba(37, 31, 24, 0.68), rgba(20, 16, 12, 0.74));
}

.lv-section__header h2 {
  font-size: clamp(1.75rem, 1.28rem + 1.28vw, 2.65rem);
}

.lv-bullet-list {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.lv-bullet-list li {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 241, 224, 0.2);
  background: rgba(251, 241, 224, 0.08);
  font-weight: 600;
}

.lv-section--contact-form {
  border-color: rgba(245, 236, 218, 0.18);
  background:
    radial-gradient(circle at 15% 6%, rgba(245, 236, 218, 0.12), transparent 34%),
    linear-gradient(165deg, rgba(133, 128, 113, 0.86), rgba(122, 117, 103, 0.9));
}

.lv-contact-layout {
  display: grid;
  grid-template-columns: 0.56fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.lv-contact-intro h2 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.5rem, 1.82rem + 2.05vw, 4.7rem);
  line-height: 0.98;
  color: rgba(251, 247, 239, 0.98);
}

.lv-contact-intro h3 {
  margin-top: 1.85rem;
  margin-bottom: 0.22rem;
  color: rgba(252, 248, 242, 0.94);
  font-size: 1.33rem;
}

.lv-contact-intro p {
  margin: 0.2rem 0 0;
  color: rgba(248, 243, 235, 0.96);
}

.lv-contact-intro p + p {
  margin-top: 0.4rem;
}

.lv-contact-intro a {
  color: rgba(255, 248, 237, 0.96);
}

.lv-contact-form-wrap {
  max-width: 100%;
}

.lv-contact-errors {
  margin-bottom: 0.78rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(132, 15, 26, 0.35);
  background: rgba(255, 231, 229, 0.85);
}

.lv-contact-errors p,
.lv-contact-errors li {
  margin: 0;
  color: #7f1922;
}

.lv-contact-errors ul {
  margin: 0.34rem 0 0;
  padding-left: 1.05rem;
}

.lv-contact-form {
  display: grid;
  gap: 0.68rem;
}

.lv-form-row--label {
  margin: 0;
  color: rgba(250, 246, 238, 0.98);
  font-weight: 700;
  font-size: 1.03rem;
}

.lv-form-row--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem;
}

.lv-form-field {
  display: grid;
  gap: 0.3rem;
}

.lv-form-field > span {
  color: rgba(251, 247, 239, 0.98);
  font-weight: 600;
  font-size: 0.98rem;
}

.lv-form-field em {
  font-style: normal;
  font-size: 0.87em;
  opacity: 0.9;
}

.lv-form-field input,
.lv-form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 248, 237, 0.58);
  border-radius: 8px;
  padding: 0.56rem 0.62rem;
  color: rgba(255, 250, 245, 0.98);
  background: rgba(114, 109, 95, 0.35);
  font: inherit;
}

.lv-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.lv-form-field input:focus,
.lv-form-field textarea:focus {
  border-color: rgba(255, 250, 242, 0.92);
  box-shadow: 0 0 0 3px rgba(255, 247, 233, 0.16);
  outline: none;
}

.lv-form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(251, 247, 239, 0.95);
  font-size: 0.95rem;
}

.lv-form-checkbox input {
  margin: 0;
  width: 1rem;
  height: 1rem;
}

.lv-form-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  border: 1px solid rgba(26, 20, 14, 0.5);
  border-radius: 9px;
  padding: 0.46rem 1.14rem;
  color: #2e251b;
  background: linear-gradient(155deg, #f4e8d7, #eee0ce);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lv-form-submit:hover {
  transform: translateY(-1px);
}

.lv-form-submit .button__spinner {
  border-color: rgba(46, 37, 27, 0.3);
  border-top-color: #2e251b;
}

.lv-form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.lv-form-status {
  margin: 0;
  min-height: 1.2rem;
  color: rgba(255, 248, 238, 0.9);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .lv-contact-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lv-contact-intro h3 {
    margin-top: 0.7rem;
  }
}

@media (max-width: 760px) {
  .lv-form-row--two {
    grid-template-columns: 1fr;
  }

  .lv-contact-intro h2 {
    font-size: clamp(2.3rem, 1.95rem + 1.45vw, 3.5rem);
  }

  .lv-form-field > span {
    font-size: 0.92rem;
  }

  .lv-form-submit {
    width: 100%;
  }
}

/* Consistency + CTA contrast adjustments requested */
.app-body--public {
  background:
    radial-gradient(circle at 84% 0%, rgba(212, 174, 124, 0.18), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(232, 205, 170, 0.18), transparent 32%),
    linear-gradient(180deg, #4b4236 0%, #564c3f 46%, #4a4135 100%);
}

.lv-section,
.lv-section--contact-form {
  border-color: rgba(248, 233, 208, 0.24);
  background:
    radial-gradient(circle at 88% -28%, rgba(210, 168, 116, 0.18), transparent 52%),
    linear-gradient(162deg, rgba(117, 103, 83, 0.66), rgba(100, 88, 71, 0.72));
}

.lv-hero__content {
  border-color: rgba(248, 233, 208, 0.16);
  background:
    radial-gradient(circle at 88% -28%, rgba(205, 157, 102, 0.13), transparent 52%),
    linear-gradient(162deg, rgba(56, 46, 35, 0.62), rgba(40, 32, 24, 0.68));
}

.lv-hero__content::before {
  background: linear-gradient(90deg, rgba(248, 233, 208, 0.72), transparent);
}

.lv-panel,
.lv-feature-card,
.lv-product-card,
.lv-partner-grid article {
  background: rgba(113, 98, 78, 0.44);
  border-color: rgba(248, 233, 208, 0.27);
}

.public-nav__login.button--primary,
.public-nav__login {
  color: #fff6e9;
  border: 1px solid rgba(248, 233, 208, 0.24);
  background: linear-gradient(150deg, rgba(88, 61, 35, 0.95), rgba(119, 84, 52, 0.95));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.public-nav__login.button--primary:hover,
.public-nav__login:hover {
  background: linear-gradient(150deg, rgba(105, 73, 42, 0.98), rgba(135, 95, 58, 0.98));
}

.lv-hero .lv-actions .lv-pill {
  color: #fff5e8;
  border-color: rgba(248, 233, 208, 0.24);
  background: linear-gradient(150deg, rgba(89, 61, 34, 0.92), rgba(117, 82, 50, 0.92));
}

.lv-hero .lv-actions .lv-pill:hover {
  background: linear-gradient(150deg, rgba(106, 73, 42, 0.96), rgba(134, 94, 57, 0.96));
}

.lv-hero .lv-actions .lv-pill.lv-pill--dark {
  color: #fff7ec;
  border-color: rgba(248, 233, 208, 0.26);
  background: rgba(19, 14, 10, 0.78);
}

.lv-contact-intro h2,
.lv-contact-intro h3,
.lv-contact-intro p,
.lv-contact-intro a,
.lv-form-row--label,
.lv-form-field > span,
.lv-form-checkbox {
  color: rgba(255, 248, 238, 0.96);
}

.lv-form-field input,
.lv-form-field textarea {
  background: rgba(108, 94, 77, 0.36);
}

.public-page--public-pages-partners .lv-hero,
.public-page--public-pages-builders .lv-hero {
  min-height: 86vh;
}

.public-page--public-pages-partners .lv-hero__image,
.public-page--public-pages-builders .lv-hero__image {
  height: 86vh;
}

.public-page--public-pages-partners .lv-hero__image {
  object-position: center 38%;
}

.public-page--public-pages-builders .lv-hero__image {
  object-position: center 30%;
}

.public-page--public-pages-builders .lv-panel .lv-section__header {
  margin-bottom: 0.7rem;
}

@media (max-width: 900px) {
  .public-page--public-pages-partners .lv-hero,
  .public-page--public-pages-builders .lv-hero,
  .public-page--public-pages-partners .lv-hero__image,
  .public-page--public-pages-builders .lv-hero__image {
    min-height: 76vh;
    height: 76vh;
  }
}

.public-page--public-pages-home .lv-hero__image {
  filter: brightness(1.12) saturate(0.96) contrast(0.98);
}

.public-page--public-pages-home .lv-hero__veil {
  background: none;
}

.public-footer {
  border-color: rgba(248, 233, 208, 0.24);
  background:
    radial-gradient(circle at 88% -28%, rgba(210, 168, 116, 0.16), transparent 52%),
    linear-gradient(162deg, rgba(112, 99, 81, 0.66), rgba(96, 84, 68, 0.72));
}

.public-footer p,
.public-footer a {
  color: rgba(255, 248, 236, 0.94);
}

/* Final page-specific polish for partner/builder hero alignment */
.public-page--public-pages-partners .public-topbar,
.public-page--public-pages-builders .public-topbar {
  border-bottom: 1px solid rgba(248, 233, 208, 0.24);
  background: transparent;
  box-shadow: none;
}

.public-page--public-pages-partners .lv-hero__veil,
.public-page--public-pages-builders .lv-hero__veil {
  background: linear-gradient(180deg, rgba(72, 59, 43, 0.4) 0%, rgba(72, 59, 43, 0.16) 28%, rgba(72, 59, 43, 0) 46%);
}

.public-page--public-pages-partners .lv-hero__image {
  object-position: center 50%;
}

.public-page--public-pages-builders .lv-hero__image {
  object-position: center 44%;
}

.public-topbar {
  border-bottom: 1px solid rgba(248, 233, 208, 0.24);
  background: transparent;
}

.public-topbar.public-topbar--scrolled {
  border-bottom: 1px solid rgba(86, 67, 47, 0.2);
  background: linear-gradient(180deg, rgba(244, 235, 221, 0.94), rgba(235, 224, 208, 0.88));
  backdrop-filter: blur(10px);
}

.public-topbar.public-topbar--scrolled .public-nav__link {
  color: #2f261d;
  border-color: rgba(86, 67, 47, 0.22);
  background: rgba(255, 248, 238, 0.8);
}

.public-topbar.public-topbar--scrolled .public-nav__link:hover {
  border-color: rgba(86, 67, 47, 0.36);
  background: rgba(255, 248, 238, 0.94);
}

.public-topbar.public-topbar--scrolled .public-nav__link--active {
  color: #fff7eb;
  border-color: transparent;
  background: linear-gradient(150deg, rgba(95, 68, 39, 0.95), rgba(123, 87, 53, 0.95));
}

.public-topbar .public-nav__link {
  text-decoration: none;
}

.public-topbar .public-nav__link:hover {
  text-decoration: none;
}

.lv-section .lv-actions .lv-pill:not(.lv-pill--dark) {
  color: #fff5e8;
  border-color: rgba(248, 233, 208, 0.24);
  background: linear-gradient(150deg, rgba(89, 61, 34, 0.92), rgba(117, 82, 50, 0.92));
}

.lv-section .lv-actions .lv-pill:not(.lv-pill--dark):hover {
  background: linear-gradient(150deg, rgba(106, 73, 42, 0.96), rgba(134, 94, 57, 0.96));
}

.lv-hero .lv-actions .lv-pill.lv-pill--dark,
.lv-section .lv-actions .lv-pill.lv-pill--dark {
  color: #f8f0e3;
  border-color: rgba(248, 233, 208, 0.3);
  background: linear-gradient(150deg, rgba(74, 60, 44, 0.9), rgba(98, 80, 61, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 245, 227, 0.12);
}

.lv-hero .lv-actions .lv-pill.lv-pill--dark:hover,
.lv-section .lv-actions .lv-pill.lv-pill--dark:hover {
  background: linear-gradient(150deg, rgba(89, 72, 53, 0.94), rgba(113, 93, 71, 0.94));
}

/* Spacing pass: align closer to the existing Light Vue website rhythm */
/*.public-shell {
  --public-shell-gutter: clamp(0.9rem, 2.2vw, 2.4rem);
  width: 100%;
  max-width: none;
  padding: 1.2rem var(--public-shell-gutter) 4.2rem;
}
*/
.public-shell {
  --public-shell-gutter: clamp(0.9rem, 2.2vw, 2.4rem);
  width: 100%;
  max-width: none;
  padding-right: var(--public-shell-gutter);
  padding-bottom: 4.2rem;
  padding-left: var(--public-shell-gutter);
}

.public-shell > .lv-hero {
  width: calc(100% + (var(--public-shell-gutter) * 2));
  margin-inline: calc(var(--public-shell-gutter) * -1);
}

.public-shell > .lv-hero,
.public-shell > .lv-hero .lv-hero__image,
.public-shell > .lv-hero .lv-hero__veil {
  border-radius: 0;
}

.public-topbar {
  margin-bottom: 1.4rem;
  padding: 1rem 1.15rem;
}

.lv-hero {
  min-height: 96vh;
}

.public-page--public-pages-home .lv-hero {
  min-height: 100vh;
}

.lv-hero__content {
  left: 2.2rem;
  bottom: 3.2rem;
  width: min(760px, calc(100% - 4.4rem));
  padding: 1.9rem 2.2rem 1.85rem;
  border-radius: 10px;
}

.lv-hero__content h1 {
  margin-bottom: 0.8rem;
}

.lv-hero__content p {
  max-width: 62ch;
}

.lv-hero__signals {
  margin-top: 1rem;
  gap: 0.55rem;
}

.lv-actions {
  margin-top: 1.2rem;
}

.lv-section {
  margin-top: 2.5rem;
  padding: 2.15rem 2.25rem;
  border-radius: 14px;
}

.lv-section__header {
  margin-bottom: 1.35rem;
  padding-bottom: 0.95rem;
  gap: 0.45rem;
}

.lv-feature-grid {
  gap: 1.3rem;
}

.lv-feature-card {
  padding: 1rem;
  border-radius: 12px;
}

.lv-feature-card img {
  min-height: 180px;
}

.lv-product-grid {
  gap: 1.2rem;
}

.lv-product-card {
  border-radius: 12px;
}

.lv-product-card img {
  height: 236px;
}

.lv-section--split {
  gap: 1.35rem;
}

.lv-panel {
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
}

.lv-panel__image {
  max-height: 560px;
}

.lv-partner-grid {
  gap: 0.95rem;
}

.lv-partner-grid article {
  padding: 0.95rem 1.05rem;
}

.lv-contact-layout {
  gap: 2.2rem;
}

.public-footer {
  margin-top: 2rem;
  padding: 1.45rem 1.55rem;
  border-radius: 14px;
}

.public-footer__legal {
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .public-shell {
    --public-shell-gutter: 0.75rem;
    padding: 0.9rem var(--public-shell-gutter) 2.4rem;
  }

  .public-topbar {
    margin-bottom: 0.95rem;
    padding: 0.78rem;
  }

  .lv-hero,
  .public-page--public-pages-home .lv-hero,
  .public-page--public-pages-partners .lv-hero,
  .public-page--public-pages-builders .lv-hero {
    min-height: 82vh;
  }

  .lv-hero__image,
  .public-page--public-pages-partners .lv-hero__image,
  .public-page--public-pages-builders .lv-hero__image {
    height: 82vh;
  }

  .lv-hero__content {
    left: 1rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
    padding: 1.1rem 1.15rem 1.05rem;
  }

  .lv-section {
    margin-top: 1.35rem;
    padding: 1.2rem 1.05rem;
    border-radius: 10px;
  }

  .lv-feature-grid,
  .lv-product-grid,
  .lv-section--split,
  .lv-partner-grid,
  .public-footer {
    gap: 0.85rem;
  }

  .lv-feature-card img,
  .lv-product-card img {
    min-height: 0;
    height: 190px;
  }

  .public-footer {
    margin-top: 1.4rem;
    padding: 1.05rem;
  }
}

/* Admin-configurable public font presets */
.app-body--public.public-body-font-plus_jakarta_sans {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-outfit {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.app-body--public.public-body-font-fraunces {
  font-family: "Fraunces", "Times New Roman", serif;
}

.app-body--public.public-heading-font-plus_jakarta_sans h1,
.app-body--public.public-heading-font-plus_jakarta_sans h2,
.app-body--public.public-heading-font-plus_jakarta_sans h3,
.app-body--public.public-heading-font-plus_jakarta_sans .lv-kicker,
.app-body--public.public-heading-font-plus_jakarta_sans .public-brand__name {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-outfit h1,
.app-body--public.public-heading-font-outfit h2,
.app-body--public.public-heading-font-outfit h3,
.app-body--public.public-heading-font-outfit .lv-kicker,
.app-body--public.public-heading-font-outfit .public-brand__name {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.app-body--public.public-heading-font-fraunces h1,
.app-body--public.public-heading-font-fraunces h2,
.app-body--public.public-heading-font-fraunces h3,
.app-body--public.public-heading-font-fraunces .lv-kicker,
.app-body--public.public-heading-font-fraunces .public-brand__name {
  font-family: "Fraunces", "Times New Roman", serif;
}

.app-body--public.public-body-font-poppins {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-montserrat {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-lato {
  font-family: "Lato", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-nunito {
  font-family: "Nunito", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-raleway {
  font-family: "Raleway", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-playfair_display {
  font-family: "Playfair Display", "Times New Roman", serif;
}

.app-body--public.public-body-font-merriweather {
  font-family: "Merriweather", "Times New Roman", serif;
}

.app-body--public.public-body-font-roboto_slab {
  font-family: "Roboto Slab", "Times New Roman", serif;
}

.app-body--public.public-body-font-source_sans_3 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-inter {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-poppins h1,
.app-body--public.public-heading-font-poppins h2,
.app-body--public.public-heading-font-poppins h3,
.app-body--public.public-heading-font-poppins .lv-kicker,
.app-body--public.public-heading-font-poppins .public-brand__name {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-montserrat h1,
.app-body--public.public-heading-font-montserrat h2,
.app-body--public.public-heading-font-montserrat h3,
.app-body--public.public-heading-font-montserrat .lv-kicker,
.app-body--public.public-heading-font-montserrat .public-brand__name {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-lato h1,
.app-body--public.public-heading-font-lato h2,
.app-body--public.public-heading-font-lato h3,
.app-body--public.public-heading-font-lato .lv-kicker,
.app-body--public.public-heading-font-lato .public-brand__name {
  font-family: "Lato", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-nunito h1,
.app-body--public.public-heading-font-nunito h2,
.app-body--public.public-heading-font-nunito h3,
.app-body--public.public-heading-font-nunito .lv-kicker,
.app-body--public.public-heading-font-nunito .public-brand__name {
  font-family: "Nunito", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-raleway h1,
.app-body--public.public-heading-font-raleway h2,
.app-body--public.public-heading-font-raleway h3,
.app-body--public.public-heading-font-raleway .lv-kicker,
.app-body--public.public-heading-font-raleway .public-brand__name {
  font-family: "Raleway", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-playfair_display h1,
.app-body--public.public-heading-font-playfair_display h2,
.app-body--public.public-heading-font-playfair_display h3,
.app-body--public.public-heading-font-playfair_display .lv-kicker,
.app-body--public.public-heading-font-playfair_display .public-brand__name {
  font-family: "Playfair Display", "Times New Roman", serif;
}

.app-body--public.public-heading-font-merriweather h1,
.app-body--public.public-heading-font-merriweather h2,
.app-body--public.public-heading-font-merriweather h3,
.app-body--public.public-heading-font-merriweather .lv-kicker,
.app-body--public.public-heading-font-merriweather .public-brand__name {
  font-family: "Merriweather", "Times New Roman", serif;
}

.app-body--public.public-heading-font-roboto_slab h1,
.app-body--public.public-heading-font-roboto_slab h2,
.app-body--public.public-heading-font-roboto_slab h3,
.app-body--public.public-heading-font-roboto_slab .lv-kicker,
.app-body--public.public-heading-font-roboto_slab .public-brand__name {
  font-family: "Roboto Slab", "Times New Roman", serif;
}

.app-body--public.public-heading-font-source_sans_3 h1,
.app-body--public.public-heading-font-source_sans_3 h2,
.app-body--public.public-heading-font-source_sans_3 h3,
.app-body--public.public-heading-font-source_sans_3 .lv-kicker,
.app-body--public.public-heading-font-source_sans_3 .public-brand__name {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-inter h1,
.app-body--public.public-heading-font-inter h2,
.app-body--public.public-heading-font-inter h3,
.app-body--public.public-heading-font-inter .lv-kicker,
.app-body--public.public-heading-font-inter .public-brand__name {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-roboto {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-open_sans {
  font-family: "Open Sans", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-manrope {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-dm_sans {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.app-body--public.public-body-font-lora {
  font-family: "Lora", "Times New Roman", serif;
}

.app-body--public.public-heading-font-roboto h1,
.app-body--public.public-heading-font-roboto h2,
.app-body--public.public-heading-font-roboto h3,
.app-body--public.public-heading-font-roboto .lv-kicker,
.app-body--public.public-heading-font-roboto .public-brand__name {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-open_sans h1,
.app-body--public.public-heading-font-open_sans h2,
.app-body--public.public-heading-font-open_sans h3,
.app-body--public.public-heading-font-open_sans .lv-kicker,
.app-body--public.public-heading-font-open_sans .public-brand__name {
  font-family: "Open Sans", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-manrope h1,
.app-body--public.public-heading-font-manrope h2,
.app-body--public.public-heading-font-manrope h3,
.app-body--public.public-heading-font-manrope .lv-kicker,
.app-body--public.public-heading-font-manrope .public-brand__name {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-dm_sans h1,
.app-body--public.public-heading-font-dm_sans h2,
.app-body--public.public-heading-font-dm_sans h3,
.app-body--public.public-heading-font-dm_sans .lv-kicker,
.app-body--public.public-heading-font-dm_sans .public-brand__name {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.app-body--public.public-heading-font-lora h1,
.app-body--public.public-heading-font-lora h2,
.app-body--public.public-heading-font-lora h3,
.app-body--public.public-heading-font-lora .lv-kicker,
.app-body--public.public-heading-font-lora .public-brand__name {
  font-family: "Lora", "Times New Roman", serif;
}

/* Inline partners page editor */
.partners-editor-shell {
  margin-top: 0.9rem;
}

.partners-editor-toolbar {
  position: sticky;
  top: 6.1rem;
  z-index: 24;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.95rem;
  border: 1px solid rgba(248, 233, 208, 0.26);
  border-radius: 12px;
  background: rgba(50, 39, 28, 0.86);
  backdrop-filter: blur(10px);
}

.partners-editor-toolbar__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partners-editor-toolbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.55rem;
}

.partners-editor-toolbar label {
  display: grid;
  gap: 0.22rem;
  color: rgba(252, 248, 242, 0.94);
  font-size: 0.78rem;
  font-weight: 700;
}

.partners-editor-toolbar input,
.partners-editor-toolbar select {
  width: 100%;
  min-height: 2rem;
  border: 1px solid rgba(248, 233, 208, 0.34);
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.94);
  color: #2f261d;
  font: inherit;
  padding: 0.3rem 0.45rem;
}

.partners-editor-toolbar input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
  margin: 0;
}

.partners-editor-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.partners-editor-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(252, 245, 233, 0.94);
}

.partners-editor-note--dirty {
  color: #ffb3b3;
  font-weight: 700;
}

.partners-editor-note--processing {
  color: #ffe1a8;
  font-weight: 700;
}

.partners-editor-toolbar__actions .button--secondary .button__spinner,
.partners-editor-toolbar__actions .button--ghost .button__spinner {
  border-color: rgba(47, 38, 29, 0.32);
  border-top-color: #2f261d;
}

.partners-editor-field {
  position: relative;
  border: 1px dashed rgba(248, 233, 208, 0.36);
  border-radius: 6px;
  padding: 0.2rem 0.3rem;
  cursor: text;
}

.partners-editor-field:focus {
  outline: none;
  border-color: rgba(248, 233, 208, 0.7);
  box-shadow: 0 0 0 2px rgba(248, 233, 208, 0.22);
}

.partners-editor-field--selected {
  border-color: rgba(255, 245, 222, 0.92);
  box-shadow: 0 0 0 2px rgba(255, 245, 222, 0.25);
}

.partners-editor-field--dirty {
  border-color: rgba(255, 114, 114, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 114, 114, 0.34);
}

.partners-editor-image {
  position: relative;
  cursor: pointer;
}

.partners-editor-image::after {
  content: "Click image to replace";
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff7ec;
  background: rgba(20, 14, 10, 0.66);
  border: 1px solid rgba(248, 233, 208, 0.34);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.partners-editor-image--dirty::after {
  border-color: rgba(255, 114, 114, 0.82);
  box-shadow: 0 0 0 2px rgba(255, 114, 114, 0.25);
}

.partners-editor-image-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(248, 233, 208, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #fff7ec;
  background: rgba(20, 14, 10, 0.62);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.partners-editor-image-button:hover {
  background: rgba(20, 14, 10, 0.78);
}

.partners-editor-file {
  display: none;
}

.partners-editor-button--dirty {
  border-color: rgba(255, 163, 163, 0.82);
  background: linear-gradient(145deg, #ae1f1f, #d73737);
  color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.24), 0 10px 18px rgba(130, 24, 24, 0.42);
  animation: editor-dirty-pulse 1.25s ease-in-out infinite;
}

.partners-editor-button--pending {
  box-shadow: 0 0 0 3px rgba(255, 193, 94, 0.32), 0 8px 15px rgba(0, 0, 0, 0.2);
}

@keyframes editor-dirty-pulse {
  0% { box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.2), 0 8px 16px rgba(130, 24, 24, 0.34); }
  50% { box-shadow: 0 0 0 5px rgba(255, 90, 90, 0.38), 0 10px 19px rgba(130, 24, 24, 0.48); }
  100% { box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.2), 0 8px 16px rgba(130, 24, 24, 0.34); }
}

@media (max-width: 980px) {
  .partners-editor-toolbar {
    top: 5.1rem;
    padding: 0.75rem;
  }

  .partners-editor-toolbar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final public nav contrast and placement above hero */
.public-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(248, 233, 208, 0.3);
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.72), rgba(10, 8, 6, 0.2));
  backdrop-filter: blur(10px);
}

.public-topbar.public-topbar--scrolled {
  border-bottom-color: rgba(248, 233, 208, 0.34);
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.96), rgba(12, 10, 8, 0.9));
}

.public-topbar .public-nav__link,
.public-topbar.public-topbar--scrolled .public-nav__link {
  color: rgba(255, 246, 233, 0.84);
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color 140ms ease, opacity 140ms ease;
}

.public-topbar .public-nav__link:hover,
.public-topbar.public-topbar--scrolled .public-nav__link:hover {
  color: #fffaf2;
  border-color: transparent;
  background: transparent;
}

.public-topbar .public-nav__link--active,
.public-topbar.public-topbar--scrolled .public-nav__link--active {
  color: #f6ddbf;
  border-color: transparent;
  background: transparent;
  font-weight: 700;
}

.flash-stack--public {
  margin: 5.25rem auto 0;
}

.public-page--public-pages-home .flash-stack--public {
  position: absolute;
  top: 4.9rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.partners-editor-toolbar {
  top: 6.1rem;
}

@media (max-width: 980px) {
  .partners-editor-toolbar {
    top: 5.1rem;
  }
}

@media (max-width: 900px) {
  .public-topbar {
    top: 0;
    padding: 0.72rem 0.7rem;
  }
}
