﻿/* 20260711 client PWA final visual lock. CSS only; loaded after styles.css. */
body:not(.client-login-active) {
  --jy-client-muted-final: rgba(238, 232, 222, .58);
}

/* 20260711 VIP card rebuild: CSS-only black-gold card, no legacy image frame */
body:not(.client-login-active) .vip-card {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  aspect-ratio: 1.78 / 1 !important;
  min-height: 0 !important;
  padding: 18px 22px 16px !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  border: 1px solid rgba(196, 176, 136, .28) !important;
  border-bottom-color: rgba(142, 80, 255, .52) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .07), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(142, 80, 255, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 34%, rgba(0, 0, 0, .44) 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .020) 0 1px, transparent 1px 8px),
    #11100d !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 0 0 1px rgba(0, 0, 0, .45),
    inset 0 -1px 0 rgba(142, 80, 255, .22),
    0 18px 34px rgba(0, 0, 0, .35) !important;
}

body:not(.client-login-active) .vip-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 8px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 12px !important;
  border: 1px solid rgba(210, 190, 145, .18) !important;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .08) 49.5% 50%, transparent 50.5% 100%) 0 70% / 100% 1px no-repeat,
    radial-gradient(circle at 100% 0, transparent 0 44px, rgba(210, 190, 145, .18) 45px 46px, transparent 47px),
    radial-gradient(circle at 0 100%, transparent 0 52px, rgba(210, 190, 145, .13) 53px 54px, transparent 55px) !important;
  opacity: .82 !important;
}

body:not(.client-login-active) .vip-card::after {
  content: "JY" !important;
  display: block !important;
  position: absolute !important;
  right: 32px !important;
  top: 42px !important;
  z-index: 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 72px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -.08em !important;
  color: rgba(255, 255, 255, .035) !important;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, .035), -1px -1px 0 rgba(0, 0, 0, .55) !important;
  pointer-events: none !important;
}

body:not(.client-login-active) .vip-card > * {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.client-login-active) .vip-card .vip-kicker,
body:not(.client-login-active) .vip-card .vip-badge {
  color: rgba(235, 221, 172, .78) !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
  letter-spacing: .16em !important;
  text-shadow: none !important;
}

body:not(.client-login-active) .vip-card .vip-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(206, 177, 99, .28) !important;
  border-radius: 999px !important;
  background: rgba(13, 11, 9, .56) !important;
  color: rgba(232, 199, 116, .76) !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 20px 0 6px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 21px !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  letter-spacing: .025em !important;
  color: rgba(248, 241, 223, .88) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 60% !important;
  color: rgba(235, 228, 216, .50) !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 22px !important;
  right: 22px !important;
  bottom: 17px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, .065) !important;
}

body:not(.client-login-active) .vip-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, .07) !important;
  padding-left: 18px !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: rgba(248, 241, 223, .86) !important;
}

body:not(.client-login-active) .vip-stats span {
  margin-top: 4px !important;
  font-size: 8.5px !important;
  color: rgba(235, 228, 216, .48) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    padding: 14px 18px 13px !important;
    aspect-ratio: 1.78 / 1 !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 16px !important;
    font-size: 20px !important;
  }

  body:not(.client-login-active) .vip-card::after {
    right: 25px !important;
    top: 38px !important;
    font-size: 62px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 18px !important;
    right: 18px !important;
    bottom: 15px !important;
  }
}

/* 20260711 final-final VIP card material pass: must stay after all older VIP rules. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.705 / 1 !important;
  padding: 18px 22px 16px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(190, 172, 132, .18) !important;
  border-bottom-color: rgba(142, 80, 255, .50) !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .30)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18)),
    url("./assets/vip-card-leather-left-20260711.png") center / cover no-repeat,
    #0b0b0a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 0 0 1px rgba(0, 0, 0, .54),
    0 18px 34px rgba(0, 0, 0, .34) !important;
}

body:not(.client-login-active) .vip-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 8px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 10px !important;
  border: 1px solid rgba(210, 190, 145, .14) !important;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .065) 49.5% 50%, transparent 50.5% 100%) 0 71% / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(210, 190, 145, .09), transparent 18%, transparent 80%, rgba(142, 80, 255, .12)) !important;
  opacity: .72 !important;
}

body:not(.client-login-active) .vip-card::after {
  content: "JY" !important;
  display: block !important;
  position: absolute !important;
  right: 22px !important;
  top: 34px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(82px, 22vw, 132px) !important;
  line-height: .8 !important;
  font-weight: 700 !important;
  letter-spacing: -.12em !important;
  color: rgba(255, 255, 255, .018) !important;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, .035),
    1px 1px 0 rgba(0, 0, 0, .82),
    0 0 1px rgba(255, 255, 255, .025),
    0 10px 18px rgba(0, 0, 0, .38) !important;
  opacity: .92 !important;
}

body:not(.client-login-active) .vip-card .vip-kicker,
body:not(.client-login-active) .vip-card .vip-badge {
  color: rgba(232, 206, 139, .74) !important;
  font-size: 7.5px !important;
  letter-spacing: .15em !important;
}

body:not(.client-login-active) .vip-card .vip-badge {
  min-height: 18px !important;
  padding: 0 9px !important;
  background: rgba(7, 6, 5, .55) !important;
  border-color: rgba(206, 177, 99, .22) !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 17px 0 4px !important;
  font-size: 16px !important;
  line-height: 1.05 !important;
  letter-spacing: .02em !important;
  color: rgba(247, 240, 220, .86) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 66% !important;
  font-size: 8px !important;
  color: rgba(232, 224, 208, .50) !important;
}

body:not(.client-login-active) .vip-stats {
  left: 22px !important;
  right: 22px !important;
  bottom: 16px !important;
  padding-top: 10px !important;
  border-top-color: rgba(255, 255, 255, .055) !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 15px !important;
  color: rgba(247, 240, 220, .84) !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 7.5px !important;
  color: rgba(232, 224, 208, .48) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.705 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 15px !important;
    font-size: 17px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 18px !important;
    right: 18px !important;
    bottom: 13px !important;
  }

  body:not(.client-login-active) .vip-card::after {
    right: 18px !important;
    top: 31px !important;
    font-size: clamp(74px, 25vw, 108px) !important;
  }
}

/* 20260711 VIP card material pass: use GPT leather texture left side only; keep data/actions untouched. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.705 / 1 !important;
  padding: 18px 22px 16px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(190, 172, 132, .18) !important;
  border-bottom-color: rgba(142, 80, 255, .50) !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .30)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18)),
    url("./assets/vip-card-leather-left-20260711.png") center / cover no-repeat,
    #0b0b0a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 0 0 1px rgba(0, 0, 0, .54),
    0 18px 34px rgba(0, 0, 0, .34) !important;
}

body:not(.client-login-active) .vip-card::before {
  inset: 8px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(210, 190, 145, .14) !important;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .065) 49.5% 50%, transparent 50.5% 100%) 0 71% / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(210, 190, 145, .09), transparent 18%, transparent 80%, rgba(142, 80, 255, .12)) !important;
  opacity: .72 !important;
}

body:not(.client-login-active) .vip-card .vip-kicker,
body:not(.client-login-active) .vip-card .vip-badge {
  color: rgba(232, 206, 139, .74) !important;
  font-size: 7.5px !important;
  letter-spacing: .15em !important;
}

body:not(.client-login-active) .vip-card .vip-badge {
  min-height: 18px !important;
  padding: 0 9px !important;
  background: rgba(7, 6, 5, .55) !important;
  border-color: rgba(206, 177, 99, .22) !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 17px 0 4px !important;
  font-size: 16px !important;
  line-height: 1.05 !important;
  letter-spacing: .02em !important;
  color: rgba(247, 240, 220, .86) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 66% !important;
  font-size: 8px !important;
  color: rgba(232, 224, 208, .50) !important;
}

body:not(.client-login-active) .vip-stats {
  left: 22px !important;
  right: 22px !important;
  bottom: 16px !important;
  padding-top: 10px !important;
  border-top-color: rgba(255, 255, 255, .055) !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 15px !important;
  color: rgba(247, 240, 220, .84) !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 7.5px !important;
  color: rgba(232, 224, 208, .48) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.705 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 15px !important;
    font-size: 17px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 18px !important;
    right: 18px !important;
    bottom: 13px !important;
  }
}

/* 20260711 actual final VIP card art. Must remain last. Visual only. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.705 / 1 !important;
  padding: 21px 27px 19px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: url("./assets/vip-card-full-emboss-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(145, 92, 255, .18) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 15px 0 4px !important;
  font-size: 24px !important;
  line-height: 1.02 !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .vip-card p {
  font-size: 9px !important;
  line-height: 1.28 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 27px !important;
  right: 27px !important;
  bottom: 24px !important;
  padding-top: 11px !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 20px !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 8px !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.705 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 14px !important;
    font-size: 22px !important;
  }

  body:not(.client-login-active) .vip-card p {
    font-size: 8px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 20px !important;
    right: 20px !important;
    bottom: 17px !important;
  }

  body:not(.client-login-active) .vip-stats strong {
    font-size: 17px !important;
  }
}

/* 20260711 actual final VIP card art. Must remain last. Visual only. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.705 / 1 !important;
  padding: 21px 27px 19px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: url("./assets/vip-card-full-emboss-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(145, 92, 255, .18) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 15px 0 4px !important;
  font-size: 24px !important;
  line-height: 1.02 !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .vip-card p {
  font-size: 9px !important;
  line-height: 1.28 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 27px !important;
  right: 27px !important;
  bottom: 24px !important;
  padding-top: 11px !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 20px !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 8px !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.705 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 14px !important;
    font-size: 22px !important;
  }

  body:not(.client-login-active) .vip-card p {
    font-size: 8px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 20px !important;
    right: 20px !important;
    bottom: 17px !important;
  }

  body:not(.client-login-active) .vip-stats strong {
    font-size: 17px !important;
  }
}

/* VIP emboss final winner. Visual only; no data/button/login changes. */
body:not(.client-login-active) .vip-card::after {
  content: "JY" !important;
  display: block !important;
  position: absolute !important;
  right: 22px !important;
  top: 34px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(82px, 22vw, 132px) !important;
  line-height: .8 !important;
  font-weight: 700 !important;
  letter-spacing: -.12em !important;
  color: rgba(255, 255, 255, .018) !important;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, .035),
    1px 1px 0 rgba(0, 0, 0, .82),
    0 0 1px rgba(255, 255, 255, .025),
    0 10px 18px rgba(0, 0, 0, .38) !important;
  opacity: .92 !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card::after {
    right: 18px !important;
    top: 31px !important;
    font-size: clamp(74px, 25vw, 108px) !important;
  }
}

/* VIP full-card art final. Visual only; live counts/text remain HTML. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.705 / 1 !important;
  padding: 21px 27px 19px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: url("./assets/vip-card-full-emboss-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(145, 92, 255, .18) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 15px 0 4px !important;
  font-size: 24px !important;
  line-height: 1.02 !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .vip-card p {
  font-size: 9px !important;
  line-height: 1.28 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 27px !important;
  right: 27px !important;
  bottom: 24px !important;
  padding-top: 11px !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 20px !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 8px !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.705 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 14px !important;
    font-size: 22px !important;
  }

  body:not(.client-login-active) .vip-card p {
    font-size: 8px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 20px !important;
    right: 20px !important;
    bottom: 17px !important;
  }

  body:not(.client-login-active) .vip-stats strong {
    font-size: 17px !important;
  }
}

body:not(.client-login-active) .board,
body:not(.client-login-active) .latest-update-card,
body:not(.client-login-active) .stage-tabs,
body:not(.client-login-active) .notice-card,
body:not(.client-login-active) .read-card,
body:not(.client-login-active) .public-gantt-card,
body:not(.client-login-active) .completed-box,
body:not(.client-login-active) .section-note {
  box-sizing: border-box !important;
}

body:not(.client-login-active) .client-head h1 {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 31px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
}

body:not(.client-login-active) .board {
  gap: 20px !important;
  padding: 25px 22px 28px !important;
  border-color: rgba(255, 255, 255, .11) !important;
  background:
    radial-gradient(circle at 30% 4%, rgba(255, 255, 255, .07), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 48%, rgba(0, 0, 0, .20)),
    rgba(18, 18, 17, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 46px rgba(0, 0, 0, .32) !important;
}

body:not(.client-login-active) .board-top h2 {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 28px !important;
  line-height: 1.12 !important;
  letter-spacing: .015em !important;
}

body:not(.client-login-active) .board-top .stage-pill {
  min-height: 32px !important;
  padding: 0 15px !important;
  font-size: 12px !important;
  letter-spacing: .03em !important;
}

body:not(.client-login-active) .latest-update-card {
  min-height: 72px !important;
  padding: 15px 17px !important;
  border-radius: 17px !important;
  border-color: rgba(255, 255, 255, .105) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .016)) !important;
}

body:not(.client-login-active) .latest-update-card b {
  color: #d6bdff !important;
  font-size: 13px !important;
  letter-spacing: .04em !important;
}

body:not(.client-login-active) .latest-update-card strong {
  color: #cdb1ff !important;
  font-size: 18px !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .vip-card {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1.76 / 1 !important;
  min-height: 0 !important;
  padding: 16px 20px 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(190, 169, 128, .18) !important;
  border-bottom-color: rgba(152, 84, 255, .58) !important;
  border-radius: 15px !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .045)),
    #101010 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    inset 0 -1px 0 rgba(152, 84, 255, .14),
    0 14px 24px rgba(0, 0, 0, .28) !important;
}

body:not(.client-login-active) .vip-card .vip-kicker,
body:not(.client-login-active) .vip-card .vip-badge {
  font-size: 8px !important;
  line-height: 1.1 !important;
  letter-spacing: .16em !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 18px 0 5px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 18px !important;
  line-height: 1.03 !important;
  font-weight: 500 !important;
  letter-spacing: .035em !important;
}

body:not(.client-login-active) .vip-card p {
  margin: 0 !important;
  max-width: 68% !important;
  color: rgba(235, 228, 216, .58) !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}

body:not(.client-login-active) .vip-stats {
  right: 20px !important;
  bottom: 16px !important;
  left: 20px !important;
  padding-top: 10px !important;
  border-top-color: rgba(255, 255, 255, .09) !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

body:not(.client-login-active) .vip-stats span {
  margin-top: 5px !important;
  color: rgba(235, 228, 216, .55) !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
}

body:not(.client-login-active) .stage-tabs {
  min-height: 62px !important;
  margin-top: 6px !important;
  padding: 12px 15px !important;
  border-radius: 18px !important;
  background: rgba(18, 18, 17, .58) !important;
}

body:not(.client-login-active) .stage-tabs span {
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .section-title {
  margin-top: 20px !important;
  margin-bottom: 13px !important;
}

body:not(.client-login-active) .section-title b {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
}

body:not(.client-login-active) .section-title span {
  font-size: 13px !important;
}

body:not(.client-login-active) .card-list,
body:not(.client-login-active) .read-list,
body:not(.client-login-active) .public-content-grid {
  gap: 20px !important;
}

body:not(.client-login-active) .notice-card,
body:not(.client-login-active) .read-card,
body:not(.client-login-active) .public-gantt-card,
body:not(.client-login-active) .completed-box,
body:not(.client-login-active) .section-note {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 18px 17px 17px !important;
  border-radius: 19px !important;
  border: 1px solid rgba(255, 255, 255, .105) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014)),
    rgba(15, 15, 14, .78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 13px 30px rgba(0, 0, 0, .20) !important;
}

body:not(.client-login-active) .notice-card h3,
body:not(.client-login-active) .read-card h3,
body:not(.client-login-active) .public-gantt-card h3 {
  margin: 3px 0 4px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  color: #f1ece4 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  overflow-wrap: anywhere !important;
}

body:not(.client-login-active) .notice-card p,
body:not(.client-login-active) .read-card p,
body:not(.client-login-active) .read-card small,
body:not(.client-login-active) .public-gantt-card p {
  color: rgba(229, 223, 213, .64) !important;
  font-size: 11px !important;
  line-height: 1.62 !important;
  letter-spacing: .01em !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
}

body:not(.client-login-active) .meta-row {
  gap: 7px !important;
  margin-bottom: 4px !important;
  flex-wrap: wrap !important;
}

body:not(.client-login-active) .meta-row span,
body:not(.client-login-active) .notice-card .tag,
body:not(.client-login-active) .read-card .tag {
  padding: 4px 8px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  color: rgba(230, 224, 214, .66) !important;
  background: rgba(255, 255, 255, .045) !important;
}

body:not(.client-login-active) .confirm-button,
body:not(.client-login-active) .card-action,
body:not(.client-login-active) .section-toggle,
body:not(.client-login-active) .public-gantt-pager button,
body:not(.client-login-active) .public-gantt-nav button {
  min-height: 32px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

body:not(.client-login-active) .public-gantt-card {
  overflow-x: auto !important;
}

body:not(.client-login-active) .public-gantt-card > * {
  max-width: 100% !important;
}

body:not(.client-login-active) .public-gantt-grid,
body:not(.client-login-active) .public-gantt-table,
body:not(.client-login-active) .public-gantt-month {
  min-width: 430px !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .app-shell {
    padding: 24px 18px 38px !important;
  }

  body:not(.client-login-active) .client-head h1 {
    font-size: 28px !important;
  }

  body:not(.client-login-active) .board {
    padding: 22px 18px 26px !important;
  }

  body:not(.client-login-active) .board-top h2 {
    font-size: 25px !important;
  }

  body:not(.client-login-active) .vip-card {
    aspect-ratio: 1.76 / 1 !important;
    padding: 16px 19px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 14px !important;
    font-size: 17px !important;
  }

  body:not(.client-login-active) .vip-card p {
    font-size: 8px !important;
  }

  body:not(.client-login-active) .vip-stats strong {
    font-size: 15px !important;
  }

  body:not(.client-login-active) .notice-card,
  body:not(.client-login-active) .read-card,
  body:not(.client-login-active) .public-gantt-card,
  body:not(.client-login-active) .completed-box,
  body:not(.client-login-active) .section-note {
    padding: 18px 16px 17px !important;
  }
}

/* Final VIP card surface override. Keep data/buttons untouched. */
body:not(.client-login-active) .vip-card {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  aspect-ratio: 1.705 / 1 !important;
  min-height: 0 !important;
  padding: 21px 27px 19px !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  border: 0 !important;
  background: url("./assets/vip-card-full-emboss-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(145, 92, 255, .18) !important;
}

body:not(.client-login-active) .vip-card::before {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card > * {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.client-login-active) .vip-card .vip-kicker,
body:not(.client-login-active) .vip-card .vip-badge {
  color: rgba(232, 206, 139, .74) !important;
  font-size: 7.5px !important;
  line-height: 1.1 !important;
  letter-spacing: .16em !important;
  text-shadow: none !important;
}

body:not(.client-login-active) .vip-card .vip-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(206, 177, 99, .22) !important;
  border-radius: 999px !important;
  background: rgba(7, 6, 5, .55) !important;
  color: rgba(232, 199, 116, .76) !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 17px 0 4px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 16px !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  letter-spacing: .025em !important;
  color: rgba(248, 241, 223, .88) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 66% !important;
  color: rgba(235, 228, 216, .50) !important;
  font-size: 8px !important;
  line-height: 1.35 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 22px !important;
  right: 22px !important;
  bottom: 16px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, .065) !important;
}

body:not(.client-login-active) .vip-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, .07) !important;
  padding-left: 18px !important;
}

body:not(.client-login-active) .vip-stats strong {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(248, 241, 223, .86) !important;
}

body:not(.client-login-active) .vip-stats span {
  margin-top: 4px !important;
  font-size: 7.5px !important;
  color: rgba(235, 228, 216, .48) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    padding: 16px 19px 15px !important;
    aspect-ratio: 1.705 / 1 !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 15px !important;
    font-size: 17px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 18px !important;
    right: 18px !important;
    bottom: 13px !important;
  }
}

/* VIP card final image pass: use the simulated full-card plate, no CSS fake emboss. */
body:not(.client-login-active) .vip-card {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  aspect-ratio: 1.705 / 1 !important;
  min-height: 0 !important;
  padding: 19px 24px 17px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: url("./assets/vip-card-bg-final-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .42),
    0 1px 0 rgba(255, 255, 255, .04),
    0 0 0 1px rgba(145, 92, 255, .16) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card > * {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.client-login-active) .vip-card .vip-label,
body:not(.client-login-active) .vip-card .vip-chip {
  letter-spacing: .15em !important;
  text-shadow: none !important;
}

body:not(.client-login-active) .vip-card .vip-label {
  margin-bottom: 7px !important;
  color: rgba(232, 219, 183, .72) !important;
  font-size: 7px !important;
}

body:not(.client-login-active) .vip-card .vip-chip {
  display: inline-flex !important;
  min-height: 17px !important;
  padding: 0 8px !important;
  align-items: center !important;
  border: 1px solid rgba(205, 176, 105, .30) !important;
  border-radius: 999px !important;
  background: rgba(8, 7, 6, .48) !important;
  color: rgba(232, 198, 110, .78) !important;
  font-size: 7px !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 14px 0 3px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(20px, 5.3vw, 25px) !important;
  line-height: 1.02 !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  color: rgba(248, 241, 224, .88) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 58% !important;
  color: rgba(235, 228, 216, .48) !important;
  font-size: 8px !important;
  line-height: 1.32 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 24px !important;
  right: 25px !important;
  bottom: 17px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding-top: 9px !important;
  border-top: 1px solid rgba(255, 255, 255, .055) !important;
}

body:not(.client-login-active) .vip-stats span {
  color: rgba(235, 228, 216, .48) !important;
  font-size: 7.5px !important;
  line-height: 1.2 !important;
}

body:not(.client-login-active) .vip-stats span + span {
  border-left: 1px solid rgba(255, 255, 255, .06) !important;
  padding-left: 18px !important;
}

body:not(.client-login-active) .vip-stats strong {
  margin-bottom: 3px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(17px, 4.4vw, 21px) !important;
  font-weight: 500 !important;
  line-height: .95 !important;
  color: rgba(248, 241, 224, .86) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    padding: 17px 20px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 13px !important;
    font-size: 22px !important;
  }

  body:not(.client-login-active) .vip-card p {
    font-size: 7.5px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 20px !important;
    right: 20px !important;
    bottom: 14px !important;
  }

  body:not(.client-login-active) .vip-stats strong {
    font-size: 18px !important;
  }
}

/* VIP card visual lock: closer to the approved mockup, without touching data bindings. */
body:not(.client-login-active) .vip-card {
  aspect-ratio: 1.72 / 1 !important;
  padding: 19px 22px 16px !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .16)),
    url("./assets/vip-card-bg-final-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .46),
    0 0 0 1px rgba(255, 255, 255, .035),
    0 1px 0 rgba(255, 255, 255, .04),
    0 9px 22px rgba(116, 71, 255, .10) !important;
}

body:not(.client-login-active) .vip-card .vip-label {
  margin: 0 0 7px !important;
  color: rgba(226, 223, 252, .76) !important;
  font-size: 6.2px !important;
  line-height: 1 !important;
  letter-spacing: .22em !important;
}

body:not(.client-login-active) .vip-card .vip-chip {
  min-height: 15px !important;
  padding: 0 7px !important;
  border-color: rgba(210, 177, 92, .34) !important;
  background: rgba(7, 6, 5, .44) !important;
  color: rgba(226, 190, 103, .76) !important;
  font-size: 6.2px !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 13px 0 3px !important;
  font-size: clamp(15px, 3.6vw, 18px) !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: .025em !important;
  color: rgba(245, 238, 220, .90) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 62% !important;
  color: rgba(230, 224, 210, .50) !important;
  font-size: 7px !important;
  line-height: 1.25 !important;
}

body:not(.client-login-active) .vip-stats {
  left: 22px !important;
  right: 22px !important;
  bottom: 15px !important;
  padding-top: 8px !important;
  border-top-color: rgba(255, 255, 255, .052) !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: 6.8px !important;
  color: rgba(232, 226, 214, .48) !important;
}

body:not(.client-login-active) .vip-stats strong {
  margin-bottom: 3px !important;
  font-size: clamp(13px, 3.2vw, 16px) !important;
  line-height: .92 !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    padding: 18px 20px 15px !important;
  }

  body:not(.client-login-active) .vip-card h3 {
    margin-top: 12px !important;
    font-size: 17px !important;
  }

  body:not(.client-login-active) .vip-stats {
    left: 20px !important;
    right: 20px !important;
    bottom: 14px !important;
  }
}

/* VIP card approved lock 20260711: final background asset, live text only. */
body:not(.client-login-active) .vip-card {
  position: relative !important;
  aspect-ratio: 1.69 / 1 !important;
  padding: 7.4% 8.2% 7.2% !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: url("./assets/vip-card-bg-final-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, .54),
    0 0 0 1px rgba(180, 150, 255, .12),
    0 14px 26px rgba(110, 58, 255, .12) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  display: none !important;
}

body:not(.client-login-active) .vip-card > * {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.client-login-active) .vip-card .vip-label {
  margin: 0 0 3.8% !important;
  color: rgba(226, 223, 252, .86) !important;
  font-size: clamp(7px, 1.6vw, 10px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .22em !important;
  text-shadow: 0 0 8px rgba(140, 108, 255, .24) !important;
}

body:not(.client-login-active) .vip-card .vip-chip {
  min-height: clamp(16px, 3.4vw, 21px) !important;
  padding: 0 clamp(8px, 2.3vw, 13px) !important;
  border: 1px solid rgba(218, 177, 84, .42) !important;
  border-radius: 999px !important;
  background: rgba(8, 7, 5, .38) !important;
  color: rgba(224, 184, 95, .84) !important;
  font-size: clamp(7px, 1.45vw, 9px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 4.8% 0 2.2% !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(22px, 6.2vw, 34px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: .035em !important;
  color: rgba(246, 238, 220, .94) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 12px 24px rgba(0, 0, 0, .42) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 55% !important;
  margin: 0 !important;
  color: rgba(230, 224, 210, .56) !important;
  font-size: clamp(8px, 2.1vw, 11px) !important;
  line-height: 1.35 !important;
}

body:not(.client-login-active) .vip-stats {
  position: absolute !important;
  left: 8.2% !important;
  right: 8.2% !important;
  bottom: 8.2% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding-top: 4.4% !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
}

body:not(.client-login-active) .vip-stats span {
  color: rgba(232, 226, 214, .55) !important;
  font-size: clamp(8px, 1.85vw, 10px) !important;
  line-height: 1.25 !important;
}

body:not(.client-login-active) .vip-stats span + span {
  border-left: 1px solid rgba(255, 255, 255, .07) !important;
  padding-left: 9.5% !important;
}

body:not(.client-login-active) .vip-stats strong {
  display: block !important;
  margin-bottom: 3px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(20px, 5.2vw, 30px) !important;
  font-weight: 500 !important;
  line-height: .92 !important;
  color: rgba(248, 241, 224, .9) !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    border-radius: 14px !important;
  }
}

/* Client typography bump 20260711-33: text-only scale, keep compact controls untouched. */
body:not(.client-login-active) .app-shell :where(
  .eyebrow,
  .client-head h1,
  .client-head button,
  .crumb,
  .board-top h2,
  .state-pill,
  .vip-label,
  .vip-chip,
  .vip-card h3,
  .vip-card p,
  .vip-stats span,
  .vip-stats strong,
  .stage-tabs span,
  .section-title b,
  .section-title button,
  .section-note,
  .completed-box,
  .notice-card .meta-row span,
  .notice-card h3,
  .notice-card p,
  .read-card small,
  .read-card h3,
  .read-card p,
  .message
) {
  font-size: 115% !important;
}

/* Client board summary trim 20260711-31: visual only, no data or action changes. */
body:not(.client-login-active) .latest-update-card,
body:not(.client-login-active) .completed-box,
body:not(.client-login-active) .section-note {
  display: none !important;
}

body:not(.client-login-active) .vip-stats span {
  font-size: clamp(9.3px, 2.18vw, 12px) !important;
  line-height: 1.22 !important;
}

/* Header title scale lock 20260711-29: visual only. */
body:not(.client-login-active) .client-head h1 {
  font-size: 22px !important;
  line-height: 1.08 !important;
  letter-spacing: .012em !important;
}

body:not(.client-login-active) .board-top h2 {
  font-size: 20px !important;
  line-height: 1.12 !important;
  letter-spacing: .012em !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .client-head h1 {
    font-size: 21px !important;
  }

  body:not(.client-login-active) .board-top h2 {
    font-size: 19px !important;
  }
}

/* Project status pill scale lock 20260711-30: visual only. */
body:not(.client-login-active) .board-top .stage-pill,
body:not(.client-login-active) .board-top .state-pill {
  min-height: 16px !important;
  padding: 0 8px !important;
  font-size: 6px !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  border-radius: 999px !important;
}

/* Pill alignment lock 20260711-28: visual centering only. */
body:not(.client-login-active) .confirm-button,
body:not(.client-login-active) .card-action,
body:not(.client-login-active) .section-toggle,
body:not(.client-login-active) .stage-tabs span,
body:not(.client-login-active) .read-card .tag,
body:not(.client-login-active) .board-top .state-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  text-align: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

body:not(.client-login-active) .confirm-button,
body:not(.client-login-active) .card-action,
body:not(.client-login-active) .section-toggle {
  min-height: 32px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body:not(.client-login-active) .card-action {
  min-width: 52px !important;
  width: auto !important;
}

body:not(.client-login-active) .stage-tabs span {
  min-height: 44px !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .confirm-button,
  body:not(.client-login-active) .card-action,
  body:not(.client-login-active) .section-toggle {
    min-height: 30px !important;
  }
}

/* VIP card visual lock 20260711-27: keep the approved leather image dominant. */
body:not(.client-login-active) .vip-card {
  position: relative !important;
  isolation: isolate !important;
  aspect-ratio: 1.676 / 1 !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 7.2% 8.4% 6.6% !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: url("./assets/vip-card-bg-final-20260711.png") center / 100% 100% no-repeat !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, .58),
    0 0 0 1px rgba(178, 142, 255, .10),
    0 12px 28px rgba(112, 52, 255, .13) !important;
}

body:not(.client-login-active) .vip-card::before,
body:not(.client-login-active) .vip-card::after {
  content: none !important;
  display: none !important;
}

body:not(.client-login-active) .vip-card > * {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.client-login-active) .vip-card .vip-label {
  margin: 0 0 2.5% !important;
  color: rgba(221, 220, 252, .82) !important;
  font-size: clamp(6.4px, 1.38vw, 8.6px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .24em !important;
  text-shadow: 0 0 7px rgba(132, 104, 255, .22) !important;
}

body:not(.client-login-active) .vip-card .vip-chip {
  min-height: clamp(13px, 2.7vw, 17px) !important;
  margin: 0 !important;
  padding: 0 clamp(6px, 1.7vw, 10px) !important;
  border: 1px solid rgba(210, 166, 80, .38) !important;
  border-radius: 999px !important;
  background: rgba(7, 6, 5, .42) !important;
  color: rgba(224, 184, 95, .82) !important;
  font-size: clamp(6px, 1.18vw, 7.4px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

body:not(.client-login-active) .vip-card h3 {
  margin: 4.4% 0 1.5% !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(16px, 4.25vw, 23px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: .035em !important;
  color: rgba(246, 238, 220, .92) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .10), 0 10px 20px rgba(0, 0, 0, .48) !important;
}

body:not(.client-login-active) .vip-card p {
  max-width: 56% !important;
  margin: 0 !important;
  color: rgba(230, 224, 210, .50) !important;
  font-size: clamp(6.4px, 1.55vw, 8.6px) !important;
  line-height: 1.35 !important;
}

body:not(.client-login-active) .vip-stats {
  position: absolute !important;
  left: 8.4% !important;
  right: 8.4% !important;
  bottom: 8.1% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding-top: 4.3% !important;
  border-top: 1px solid rgba(255, 255, 255, .055) !important;
}

body:not(.client-login-active) .vip-stats span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: rgba(232, 226, 214, .50) !important;
  font-size: clamp(6.2px, 1.45vw, 8px) !important;
  line-height: 1.24 !important;
}

body:not(.client-login-active) .vip-stats span + span {
  border-left: 1px solid rgba(255, 255, 255, .055) !important;
  padding-left: 9.2% !important;
}

body:not(.client-login-active) .vip-stats strong {
  display: block !important;
  margin-bottom: 2px !important;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-size: clamp(15px, 3.7vw, 21px) !important;
  font-weight: 500 !important;
  line-height: .92 !important;
  color: rgba(248, 241, 224, .9) !important;
}

/* VIP stat label balance 20260711-35: enlarge labels without crowding the numbers. */
body:not(.client-login-active) .vip-stats span {
  font-size: clamp(8.8px, 2.05vw, 11px) !important;
  line-height: 1.12 !important;
  color: rgba(232, 226, 214, .62) !important;
}

body:not(.client-login-active) .vip-stats strong {
  margin-bottom: 4px !important;
  font-size: clamp(15px, 3.7vw, 21px) !important;
  line-height: .95 !important;
}

@media (max-width: 520px) {
  body:not(.client-login-active) .vip-card {
    border-radius: 14px !important;
  }
}

/* Project stage pill balance 20260711-36: enlarge the header status chip only. */
body:not(.client-login-active) .board-top .stage-pill,
body:not(.client-login-active) .board-top .state-pill {
  min-height: 20px !important;
  padding: 0 11px !important;
  font-size: clamp(8.5px, 2vw, 10px) !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

/* Client public Gantt form sync 20260711-37: match the boss PWA row-and-rail style only. */
body:not(.client-login-active) .public-gantt-scroll {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 0 0 12px !important;
}

body:not(.client-login-active) .public-gantt-month {
  --label-col: clamp(112px, 30vw, 148px) !important;
  --cell: clamp(24px, 6.3vw, 30px) !important;
  background: rgba(10, 10, 13, .94) !important;
}

body:not(.client-login-active) .public-gantt-day-row {
  min-height: 42px !important;
}

body:not(.client-login-active) .public-gantt-task-row {
  min-height: 62px !important;
  align-items: stretch !important;
  border-top: 1px solid rgba(255, 255, 255, .055) !important;
  background: rgba(255, 255, 255, .012) !important;
}

body:not(.client-login-active) .public-gantt-task-row > strong {
  min-height: 62px !important;
  align-items: flex-start !important;
  padding-top: 12px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  background: linear-gradient(90deg, rgba(7, 7, 10, .995), rgba(13, 13, 17, .965)) !important;
  white-space: normal !important;
  overflow: hidden !important;
}

body:not(.client-login-active) .public-gantt-month-track {
  min-height: 62px !important;
  align-items: end !important;
  padding-bottom: 10px !important;
  overflow: visible !important;
}

body:not(.client-login-active) .public-gantt-month-track::before {
  min-height: 62px !important;
  opacity: .72 !important;
}

body:not(.client-login-active) .public-gantt-month-bar {
  height: 22px !important;
  min-height: 22px !important;
  min-width: 64px !important;
  margin: 0 2px !important;
  padding: 0 9px !important;
  align-self: end !important;
  justify-content: center !important;
  overflow: visible !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 22px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24) !important;
}

body:not(.client-login-active) .public-gantt-month-bar.is-short {
  min-width: 50px !important;
}

/* Client public Gantt form sync 20260711-38: keep the client data, but make the timeline read like boss PWA rails. */
body:not(.client-login-active) .public-gantt-scroll {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 0 0 12px !important;
}

body:not(.client-login-active) .public-gantt-month {
  --label-col: clamp(120px, 31vw, 160px) !important;
  --cell: clamp(26px, 6.2vw, 30px) !important;
  min-width: calc(var(--label-col) + (var(--days) * var(--cell))) !important;
  background: rgba(9, 9, 12, .96) !important;
}

body:not(.client-login-active) .public-gantt-month-line,
body:not(.client-login-active) .public-gantt-day-row,
body:not(.client-login-active) .public-gantt-task-row {
  grid-template-columns: var(--label-col) repeat(var(--days), var(--cell)) !important;
}

body:not(.client-login-active) .public-gantt-day-row {
  min-height: 38px !important;
}

body:not(.client-login-active) .public-gantt-task-row {
  min-height: 58px !important;
  align-items: stretch !important;
  overflow: visible !important;
  border-top: 1px solid rgba(255, 255, 255, .055) !important;
  background: rgba(255, 255, 255, .012) !important;
}

body:not(.client-login-active) .public-gantt-task-row > strong {
  min-height: 58px !important;
  width: var(--label-col) !important;
  min-width: var(--label-col) !important;
  align-items: center !important;
  padding: 0 10px !important;
  font-size: clamp(11px, 2.7vw, 12px) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, rgba(7, 7, 10, .995), rgba(12, 12, 16, .96)) !important;
}

body:not(.client-login-active) .public-gantt-month-track {
  position: relative !important;
  display: grid !important;
  grid-column: 2 / -1 !important;
  grid-template-columns: repeat(var(--days), var(--cell)) !important;
  min-height: 58px !important;
  align-items: end !important;
  padding: 0 0 12px !important;
  overflow: visible !important;
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--cell) - 1px), rgba(255, 255, 255, .055) calc(var(--cell) - 1px) var(--cell)) !important;
}

body:not(.client-login-active) .public-gantt-month-track::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  min-height: 0 !important;
  pointer-events: none !important;
  background: rgba(136, 86, 255, .035) !important;
}

body:not(.client-login-active) .public-gantt-day-row .public-gantt-month-track {
  min-height: 38px !important;
  padding-bottom: 0 !important;
  align-items: stretch !important;
}

body:not(.client-login-active) .public-gantt-day {
  min-height: 38px !important;
}

body:not(.client-login-active) .public-gantt-month-bar {
  position: relative !important;
  z-index: 2 !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  min-width: 64px !important;
  max-width: none !important;
  margin: 0 2px !important;
  padding: 0 9px !important;
  align-self: end !important;
  justify-content: center !important;
  overflow: visible !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 22px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .26) !important;
}

body:not(.client-login-active) .public-gantt-month-bar.is-short {
  min-width: 52px !important;
}

/* Client board read section cleanup 20260711-39: hide the redundant "read content / public" heading only. */
body:not(.client-login-active) .board-section:has(#readList) > .section-title {
  display: none !important;
}

