@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&family=Sarabun:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #070b10;
  --panel: #111923;
  --panel-2: #162231;
  --panel-soft: #0d141d;
  --line: #223246;
  --text: #f4f7fb;
  --muted: #9aaec2;
  --quiet: #64788d;
  --cyan: #25c7f7;
  --green: #55d475;
  --amber: #ffbd45;
  --red: #ff5c45;
  --white-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --font-display: 'Kanit', 'Sarabun', sans-serif;
  --font-body: 'Sarabun', sans-serif;
}

html {
  min-height: 100%;
}

body.home-body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(37, 199, 247, 0.20), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(85, 212, 117, 0.12), transparent 30%),
    linear-gradient(135deg, #070b10 0%, #0e1721 48%, #080b0f 100%);
  -webkit-font-smoothing: antialiased;
}

.promo-dashboard-home {
  width: min(100%, 1760px);
  height: 100vh;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.2vw, 18px);
  overflow: hidden;
}

.promo-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 108px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(17, 25, 35, 0.94), rgba(12, 18, 26, 0.84));
  border: 1px solid rgba(37, 199, 247, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.promo-dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.promo-dashboard-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, #172536, #0b1119);
  border: 1px solid rgba(37, 199, 247, 0.45);
}

.promo-dashboard-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.promo-dashboard-logo span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.promo-dashboard-brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 56px);
  font-weight: 700;
  line-height: 0.95;
}

.promo-dashboard-brand p:not(.home-eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 18px);
}

.promo-dashboard-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.promo-dashboard-actions a,
.promo-dashboard-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.promo-dashboard-actions a {
  color: #061018;
  background: var(--cyan);
  border-color: var(--cyan);
}

.promo-dashboard-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.72fr);
  gap: clamp(12px, 1.2vw, 18px);
}

.promo-dashboard-video,
.promo-dashboard-feature {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(17, 25, 35, 0.88);
  border: 1px solid rgba(37, 199, 247, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.promo-dashboard-video {
  position: relative;
}

.promo-dashboard-video iframe,
.promo-dashboard-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.promo-dashboard-video-fallback {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 64px);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(135deg, rgba(255, 92, 69, 0.95), rgba(255, 189, 69, 0.9) 47%, rgba(37, 199, 247, 0.9));
}

.promo-dashboard-video-fallback span {
  justify-self: start;
  padding: 6px 14px;
  color: #061018;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  font-weight: 800;
}

.promo-dashboard-video-fallback strong {
  max-width: 900px;
  color: #061018;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 116px);
  font-weight: 800;
  line-height: 0.95;
}

.promo-dashboard-video-fallback p {
  max-width: 780px;
  margin: 0;
  color: rgba(6, 16, 24, 0.78);
  font-size: clamp(20px, 2vw, 36px);
  font-weight: 700;
}

.promo-dashboard-feature {
  display: grid;
  grid-template-rows: minmax(150px, 34%) minmax(0, 1fr);
}

.promo-dashboard-feature-media,
.promo-dashboard-product-img {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.promo-dashboard-feature-media img,
.promo-dashboard-product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.promo-dashboard-art,
.promo-dashboard-product-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #061018;
  background: linear-gradient(135deg, rgba(255, 92, 69, 0.95), rgba(255, 189, 69, 0.9), rgba(37, 199, 247, 0.9));
  font-family: var(--font-display);
  font-weight: 800;
}

.promo-dashboard-art[hidden],
.promo-dashboard-product-art[hidden] {
  display: none !important;
}

.promo-dashboard-art span {
  max-width: 86%;
  font-size: clamp(26px, 3vw, 54px);
  line-height: 1;
}

.promo-dashboard-feature-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: clamp(14px, 1.35vw, 20px);
  overflow: hidden;
}

.promo-dashboard-feature-copy > span {
  display: inline-flex;
  justify-self: start;
  min-height: 24px;
  align-items: center;
  padding: 3px 10px;
  color: #061018;
  background: var(--amber);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.promo-dashboard-feature-copy h2,
.promo-dashboard-product h3 {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-dashboard-feature-copy h2 {
  display: -webkit-box;
  font-size: clamp(24px, 1.9vw, 36px);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.promo-dashboard-feature-copy p,
.promo-dashboard-product p {
  margin: 0;
  color: var(--muted);
}

.promo-dashboard-feature-copy p {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(13px, 0.95vw, 16px);
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.promo-dashboard-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
  margin-top: 2px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.promo-dashboard-price em {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 26px);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.promo-dashboard-price div,
.promo-dashboard-product-price {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.promo-dashboard-price del,
.promo-dashboard-product-price del {
  overflow: hidden;
  color: var(--quiet);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-dashboard-price strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.15vw, 40px);
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-dashboard-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
  min-height: 132px;
}

.promo-dashboard-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(17, 25, 35, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.promo-dashboard-product-img {
  min-height: 104px;
  border-radius: 12px;
}

.promo-dashboard-product-art {
  font-size: 22px;
}

.promo-dashboard-product h3 {
  display: -webkit-box;
  font-size: clamp(18px, 1.4vw, 25px);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.promo-dashboard-product-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 4px;
  overflow: hidden;
}

.promo-dashboard-product-tags span,
.promo-dashboard-product-tags em {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  overflow: hidden;
  border-radius: 999px;
  color: #061018;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-dashboard-product-tags span {
  background: var(--amber);
}

.promo-dashboard-product-tags em {
  background: var(--cyan);
}

.promo-dashboard-product p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.promo-dashboard-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 6px;
  overflow: hidden;
  flex-wrap: wrap;
}

.promo-dashboard-product-price strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1;
  text-overflow: ellipsis;
}

@media (max-width: 1180px) {
  .promo-dashboard-home {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .promo-dashboard-stage {
    grid-template-columns: 1fr;
  }

  .promo-dashboard-video {
    min-height: 52vw;
  }

  .promo-dashboard-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .promo-dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-dashboard-actions {
    justify-content: flex-start;
  }

  .promo-dashboard-video {
    min-height: 420px;
  }

  .promo-dashboard-feature {
    grid-template-rows: 220px auto;
  }

  .promo-dashboard-products {
    grid-template-columns: 1fr;
  }
}

.public-dashboard {
  width: min(100%, 1760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 30px);
}

.public-dashboard-tv {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 1.4vw, 22px);
}

.public-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(17, 25, 35, 0.94), rgba(12, 18, 26, 0.86));
  border: 1px solid rgba(37, 199, 247, 0.20);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.public-logo-mark {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #172536, #0b1119);
  border: 1px solid rgba(37, 199, 247, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 28px rgba(37, 199, 247, 0.18);
}

.public-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.public-logo-mark span {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
}

.home-eyebrow {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
}

.public-hero-copy {
  min-width: 0;
}

.public-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.public-hero-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: clamp(12px, 0.9vw, 14px);
}

.public-contact-card {
  min-width: 220px;
  max-width: 330px;
  padding: 8px 12px;
  text-align: right;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.public-contact-card strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.public-contact-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.public-dashboard-content {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 1.2vw, 18px);
}

.public-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.public-section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 600;
}

.public-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.public-live-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.public-total-badge,
.public-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.public-total-badge {
  color: #061018;
  background: var(--cyan);
}

.public-live-badge {
  color: var(--text);
  background: rgba(85, 212, 117, 0.12);
  border: 1px solid rgba(85, 212, 117, 0.28);
}

.public-live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: livepulse 1.8s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.public-sales-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(14px, 1.4vw, 22px);
}

.public-feature-promo {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 25, 35, 0.94), rgba(9, 14, 21, 0.96));
  border: 1px solid rgba(37, 199, 247, 0.26);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.public-feature-promo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 16, 0.94));
  pointer-events: none;
}

.public-feature-promo.has-no-image {
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 199, 247, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(17, 25, 35, 0.96), rgba(9, 14, 21, 0.98));
}

.public-feature-promo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: contain;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.public-feature-copy {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.4vw, 34px);
}

.public-feature-copy span,
.public-sale-card span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  margin-bottom: 8px;
  padding: 3px 10px;
  overflow: hidden;
  color: #061018;
  background: var(--amber);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-feature-copy h2 {
  max-width: 900px;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.public-feature-copy p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 24px);
  line-height: 1.35;
}

.public-feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 8px 16px;
  color: #061018;
  background: var(--cyan);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.public-promo-grid {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 16px);
}

.public-sale-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 14px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--text);
  background: rgba(17, 25, 35, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.public-sale-card.is-highlighted {
  border-color: rgba(255, 189, 69, 0.34);
  background: linear-gradient(135deg, rgba(255, 189, 69, 0.15), rgba(17, 25, 35, 0.92));
}

.public-sale-card img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  display: block;
  object-fit: contain;
  padding: 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.public-sale-card.has-no-image {
  grid-template-columns: 1fr;
}

.public-sale-card div {
  min-width: 0;
}

.public-sale-card strong,
.public-sale-card a {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  text-decoration: none;
}

.public-sale-card p {
  margin: 8px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-status-board {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.public-lane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(17, 25, 35, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
}

.public-lane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.public-lane-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.05;
  font-weight: 600;
}

.public-lane-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.public-lane-header strong {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  background: var(--white-soft);
}

.public-lane-waiting {
  border-color: rgba(255, 189, 69, 0.34);
}

.public-lane-waiting .public-lane-header {
  background: linear-gradient(135deg, rgba(255, 189, 69, 0.18), rgba(255, 189, 69, 0.03));
}

.public-lane-repairing {
  border-color: rgba(37, 199, 247, 0.34);
}

.public-lane-repairing .public-lane-header {
  background: linear-gradient(135deg, rgba(37, 199, 247, 0.18), rgba(37, 199, 247, 0.03));
}

.public-lane-delivery {
  border-color: rgba(85, 212, 117, 0.34);
}

.public-lane-delivery .public-lane-header {
  background: linear-gradient(135deg, rgba(85, 212, 117, 0.18), rgba(85, 212, 117, 0.03));
}

.public-lane-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  overflow: hidden;
}

.public-job-card {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: rowfadein 0.28s ease both;
}

.public-job-card.is-hidden {
  display: none;
}

.public-job-main {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.public-job-main strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.1;
  font-weight: 600;
}

.public-job-main span {
  color: var(--quiet);
  font-size: 11px;
  white-space: nowrap;
}

.public-job-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.public-job-meta small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.public-status-waiting .public-status-pill {
  color: #221304;
  background: var(--amber);
}

.public-status-repairing .public-status-pill,
.public-status-waiting_parts .public-status-pill {
  color: #03141b;
  background: var(--cyan);
}

.public-status-completed .public-status-pill {
  color: #021407;
  background: var(--green);
}

.public-job-card time {
  color: var(--quiet);
  font-size: 11px;
  white-space: nowrap;
}

.public-empty {
  color: var(--quiet);
  text-align: center;
}

.public-lane-empty {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  font-size: 18px;
}

.public-safe-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  color: var(--muted);
  background: rgba(10, 16, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.public-safe-note strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.public-safe-note p {
  margin: 2px 0 0;
  font-size: 13px;
}

.public-promo-strip {
  display: grid;
  grid-template-columns: minmax(170px, 260px) 1fr;
  align-items: center;
  gap: 14px;
  min-height: 132px;
  padding: 14px 16px;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(135deg, rgba(10, 16, 24, 0.86), rgba(15, 33, 52, 0.68));
  border: 1px solid rgba(37, 199, 247, 0.18);
  border-radius: 14px;
}

.public-promo-label {
  min-width: 0;
}

.public-promo-label span {
  display: block;
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
}

.public-promo-label strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-viewport {
  position: relative;
  min-width: 0;
  height: 104px;
  overflow: hidden;
}

.public-promo-item {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  opacity: 0;
  transform: translateX(22px);
  pointer-events: none;
  transition: opacity 450ms ease, transform 450ms ease;
}

.public-promo-item.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.public-promo-thumb {
  position: relative;
  width: 132px;
  height: 92px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.public-promo-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 6px;
}

.public-promo-thumb-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 92, 69, 0.92), rgba(255, 189, 69, 0.88) 48%, rgba(37, 199, 247, 0.86));
}

.public-promo-thumb-art em {
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.public-promo-thumb-art span {
  max-width: 100%;
  overflow: hidden;
  color: #061018;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-copy {
  min-width: 0;
  align-self: center;
}

.public-promo-copy span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  margin-bottom: 2px;
  padding: 2px 9px;
  overflow: hidden;
  color: #061018;
  background: var(--amber);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-copy strong,
.public-promo-copy a {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.public-promo-copy p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(11px, 0.82vw, 14px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.public-promo-price em {
  flex: 0 0 auto;
  padding: 2px 8px;
  color: #061018;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.public-promo-price del {
  color: var(--quiet);
  font-size: 13px;
  flex: 0 1 auto;
}

.public-promo-price strong {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-page {
  width: min(100%, 1760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 34px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(14px, 1.4vw, 22px);
}

.public-promo-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 110px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(17, 25, 35, 0.94), rgba(12, 18, 26, 0.86));
  border: 1px solid rgba(37, 199, 247, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.public-promo-page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 76px);
  font-weight: 600;
  line-height: 0.95;
}

.public-promo-page-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 18px);
}

.public-promo-page-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  flex: 0 0 auto;
}

.public-promo-page-actions a,
.public-promo-page-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.public-promo-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(17, 25, 35, 0.82);
  border: 1px solid rgba(37, 199, 247, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.public-promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 48%) 1fr;
  align-items: center;
  gap: clamp(22px, 3vw, 56px);
  padding: clamp(24px, 3vw, 52px);
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.public-promo-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.public-promo-slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.public-promo-slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: clamp(10px, 1.4vw, 22px);
}

.public-promo-fallback-art {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(22px, 3vw, 48px);
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(255, 92, 69, 0.95), rgba(255, 189, 69, 0.92) 48%, rgba(37, 199, 247, 0.92));
}

.public-promo-fallback-art em {
  justify-self: start;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  color: #fff;
  background: rgba(7, 11, 16, 0.72);
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 72px);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.public-promo-fallback-art strong {
  max-width: 92%;
  color: #061018;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 80px);
  font-weight: 800;
  line-height: 1;
}

.public-promo-fallback-art span {
  justify-self: start;
  max-width: 86%;
  padding: 7px 14px;
  overflow: hidden;
  color: #061018;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: clamp(14px, 1.3vw, 22px);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-slide-copy {
  min-width: 0;
}

.public-promo-slide-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 6px 14px;
  color: #061018;
  background: var(--amber);
  border-radius: 999px;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 700;
}

.public-promo-slide-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 96px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.public-promo-slide-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.22;
}

.public-promo-big-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.public-promo-big-price em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff5c45, #ff7a18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(255, 92, 69, 0.25);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 52px);
  font-style: normal;
  font-weight: 700;
}

.public-promo-big-price div {
  display: grid;
  gap: 2px;
}

.public-promo-big-price del {
  color: var(--quiet);
  font-size: clamp(18px, 1.5vw, 28px);
}

.public-promo-big-price strong {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 92px);
  font-weight: 700;
  line-height: 0.95;
}

.public-promo-slide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 10px 18px;
  color: #061018;
  background: var(--cyan);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.public-promo-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.public-promo-dots button {
  flex: 0 0 auto;
  max-width: 260px;
  min-height: 38px;
  padding: 8px 14px;
  overflow: hidden;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-promo-dots button.is-active {
  color: #061018;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.public-promo-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.public-promo-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 420px;
  text-align: center;
  background: rgba(17, 25, 35, 0.82);
  border: 1px solid rgba(37, 199, 247, 0.22);
  border-radius: 22px;
}

.public-promo-empty strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 48px);
}

.public-promo-empty p {
  margin: 0;
  color: var(--muted);
}

.public-staff-link {
  flex: 0 0 auto;
  color: var(--cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(37, 199, 247, 0.45);
  border-radius: 10px;
  padding: 8px 13px;
}

.public-staff-link:hover {
  background: rgba(37, 199, 247, 0.10);
}

@keyframes rowfadein {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-aspect-ratio: 16/9) and (min-width: 1200px) {
  .public-dashboard {
    height: 100vh;
    overflow: hidden;
  }

  .public-lane-list {
    gap: 7px;
  }

  .public-job-card {
    padding: 7px 10px;
  }
}

@media (max-width: 1100px) {
  .public-dashboard {
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .public-status-board {
    grid-template-columns: 1fr;
  }

  .public-sales-stage {
    grid-template-columns: 1fr;
  }

  .public-promo-grid {
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-promo-slide {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .public-lane {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .public-dashboard {
    padding: 14px;
  }

  .public-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 16px;
  }

  .public-promo-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-promo-page-actions {
    justify-items: start;
  }

  .public-promo-stage {
    min-height: 560px;
  }

  .public-promo-slide {
    padding: 18px;
  }

  .public-brand {
    align-items: flex-start;
  }

  .public-logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .public-logo-mark span {
    font-size: 23px;
  }

  .public-contact-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    text-align: left;
  }

  .public-section-heading,
  .public-safe-note,
  .public-promo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-promo-strip {
    grid-template-columns: 1fr;
    min-height: 174px;
  }

  .public-promo-viewport {
    width: 100%;
    height: 118px;
  }

  .public-promo-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .public-promo-thumb {
    width: 112px;
    height: 90px;
  }

  .public-sales-stage {
    gap: 12px;
  }

  .public-feature-promo img {
    min-height: 260px;
  }

  .public-feature-copy {
    padding: 18px;
  }

  .public-feature-copy h2 {
    font-size: clamp(30px, 11vw, 46px);
  }

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

  .public-sale-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 132px;
  }

  .public-sale-card.has-no-image {
    grid-template-columns: 1fr;
  }

  .public-live-group {
    justify-content: flex-start;
  }

  .public-lane-header {
    min-height: 80px;
    padding: 15px;
  }

  .public-job-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .public-job-main span {
    white-space: normal;
  }

  .public-job-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-job-meta small {
    white-space: normal;
  }

  .public-job-card {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .public-job-card time {
    white-space: normal;
  }
}
