/**
 * Lam Soon (LS) Brand Theme — Report-LS
 * Primary: corporate red · Accent: Yok gold + forest green
 * Status card: palm-oil product photo background
 */
:root {
  --ls-red: #E31E24;
  --ls-red-dark: #B71C1C;
  --ls-red-light: #FFEBEE;
  --ls-red-soft: rgba(227, 30, 36, 0.12);
  --ls-green: #007B3E;
  --ls-green-dark: #005A2E;
  --ls-gold: #F4C430;
  --ls-gold-light: #FFF9E1;
  --ls-orange: #E25822;
  --ls-bg: #F9F9F9;
  --ls-surface: #FFFFFF;
  --ls-text: #333333;
  --ls-muted: #666666;
  --ls-border: rgba(227, 30, 36, 0.14);
  --ls-radius: 14px;
  --ls-shadow: 0 8px 28px -6px rgba(183, 28, 28, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  --ls-shadow-lg: 0 18px 48px -10px rgba(183, 28, 28, 0.18), 0 6px 16px rgba(0, 0, 0, 0.08);

  /* remap tissue tokens → LS */
  --primary: var(--ls-red);
  --primary-dark: var(--ls-red-dark);
  --primary-light: var(--ls-red-light);
  --mt-hygiene-blue: var(--ls-bg);
  --mt-soft-cream: var(--ls-gold-light);
  --mt-tissue-blue-100: var(--ls-red-light);
  --mt-tissue-blue-500: var(--ls-red);
  --mt-tissue-blue-700: var(--ls-red-dark);
  --mt-tissue-navy: var(--ls-text);
  --mt-tissue-text: var(--ls-text);
  --mt-tissue-muted: var(--ls-muted);
  --mt-tissue-accent: var(--ls-red);
  --mt-tissue-accent-soft: var(--ls-red-light);
  --mt-tissue-border: var(--ls-border);
  --mt-tissue-shadow-sm: var(--ls-shadow);
  --mt-tissue-shadow-md: var(--ls-shadow-lg);
  --mt-tissue-shadow-lg: var(--ls-shadow-lg);
}

/* ══ Global background — Lam Soon clean gray ══ */
body.mt-tissue-brand .tissue-background {
  background: linear-gradient(180deg, var(--ls-bg) 0%, #FFFFFF 55%, var(--ls-gold-light) 100%) !important;
}
body.mt-tissue-brand .tissue-background::before,
body.mt-tissue-brand .tissue-background::after {
  opacity: 0.14 !important;
  background:
    radial-gradient(ellipse at 35% 28%, rgba(255, 255, 255, 0.95) 0%, transparent 62%),
    radial-gradient(ellipse at 62% 72%, rgba(244, 196, 48, 0.35) 0%, rgba(227, 30, 36, 0.12) 55%, transparent 100%) !important;
  box-shadow: 0 12px 48px rgba(227, 30, 36, 0.08) !important;
}
body.mt-tissue-brand .mt-tissue-ambient svg {
  opacity: 0.08 !important;
  filter: hue-rotate(-40deg) saturate(0.6) !important;
}

/* ══ Login & auth ══ */
body.mt-tissue-brand .login-hero {
  background: linear-gradient(160deg, var(--ls-red) 0%, var(--ls-red-dark) 100%) !important;
}
body.mt-tissue-brand .btn-primary {
  background: var(--ls-red) !important;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
body.mt-tissue-brand .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.42) !important;
}
body.mt-tissue-brand .btn-outline {
  border-color: var(--ls-red) !important;
  color: var(--ls-red) !important;
}

/* ══ PC headers (admin / checker) ══ */
body.mt-tissue-brand .ah-hdr,
body.mt-tissue-brand .ch-hdr,
body.mt-tissue-brand .ih-hdr {
  background: linear-gradient(135deg, var(--ls-red) 0%, var(--ls-red-dark) 100%) !important;
}
body.mt-tissue-brand .ah-btn-primary,
body.mt-tissue-brand .ch-osa-view:hover {
  background: linear-gradient(135deg, var(--ls-red), var(--ls-red-dark)) !important;
}
body.mt-tissue-brand .ah-btn-outline,
body.mt-tissue-brand .ch-osa-view {
  border-color: var(--ls-red) !important;
  color: var(--ls-red) !important;
}
body.mt-tissue-brand .ah-route-nav-btn.active,
body.mt-tissue-brand .ah-route-step span {
  background: linear-gradient(135deg, var(--ls-red), var(--ls-red-dark)) !important;
  border-color: var(--ls-red-dark) !important;
}

/* ══ Admin PC Portal — โทนขาวแดง Lam Soon ══ */
body.mt-tissue-brand.admin-pc-portal #admin-portal-sidebar {
  background: #ffffff !important;
  color: var(--ls-text) !important;
  border-right: 1px solid rgba(227, 30, 36, 0.12) !important;
  box-shadow: 4px 0 24px rgba(183, 28, 28, 0.08) !important;
}

body.mt-tissue-brand #admin-sidebar-reopen {
  background: var(--ls-red) !important;
  border: 1px solid var(--ls-red-dark) !important;
}

body.mt-tissue-brand .admin-sidebar-brand {
  background: linear-gradient(135deg, var(--ls-red) 0%, var(--ls-red-dark) 100%) !important;
  border-bottom: none !important;
  color: #fff !important;
}

body.mt-tissue-brand .admin-sidebar-brand h1,
body.mt-tissue-brand .admin-sidebar-brand p {
  color: #fff !important;
  opacity: 1 !important;
}

body.mt-tissue-brand .admin-sidebar-brand p {
  opacity: 0.88 !important;
}

body.mt-tissue-brand .admin-sidebar-collapse-btn {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

body.mt-tissue-brand .admin-sidebar-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

body.mt-tissue-brand .admin-sidebar-foot {
  border-top-color: rgba(227, 30, 36, 0.12) !important;
  color: var(--ls-muted) !important;
  opacity: 1 !important;
  background: var(--ls-gold-light) !important;
}

/* accordion groups — ขาวแดงเดียวกันทุกกลุ่ม */
body.mt-tissue-brand .admin-acc {
  background: #fff !important;
  border: 1px solid rgba(227, 30, 36, 0.1) !important;
  box-shadow: inset 3px 0 0 rgba(227, 30, 36, 0.35) !important;
}

body.mt-tissue-brand .admin-acc[data-acc="home"],
body.mt-tissue-brand .admin-acc[data-acc="reports"],
body.mt-tissue-brand .admin-acc[data-acc="hold"],
body.mt-tissue-brand .admin-acc[data-acc="settings"] {
  background: linear-gradient(145deg, #fff 0%, var(--ls-red-light) 100%) !important;
  border-color: rgba(227, 30, 36, 0.14) !important;
  box-shadow: inset 3px 0 0 var(--ls-red) !important;
}

body.mt-tissue-brand .admin-acc-hdr,
body.mt-tissue-brand .admin-acc[data-acc="home"] .admin-acc-hdr,
body.mt-tissue-brand .admin-acc[data-acc="reports"] .admin-acc-hdr,
body.mt-tissue-brand .admin-acc[data-acc="hold"] .admin-acc-hdr,
body.mt-tissue-brand .admin-acc[data-acc="settings"] .admin-acc-hdr {
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand .admin-nav-item {
  color: var(--ls-text) !important;
}

body.mt-tissue-brand .admin-nav-item > i {
  color: var(--ls-red) !important;
}

body.mt-tissue-brand .admin-nav-item:hover {
  background: var(--ls-red-light) !important;
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand .admin-nav-item:hover > i {
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand .admin-nav-item.active,
body.mt-tissue-brand .admin-acc[data-acc="home"] .admin-nav-item.active,
body.mt-tissue-brand .admin-acc[data-acc="reports"] .admin-nav-item.active,
body.mt-tissue-brand .admin-acc[data-acc="hold"] .admin-nav-item.active,
body.mt-tissue-brand .admin-acc[data-acc="settings"] .admin-nav-item.active {
  background: rgba(227, 30, 36, 0.12) !important;
  color: var(--ls-red-dark) !important;
  box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.22) !important;
  font-weight: 700 !important;
}

body.mt-tissue-brand .admin-nav-item.active > i,
body.mt-tissue-brand .admin-acc[data-acc="home"] .admin-nav-item.active > i,
body.mt-tissue-brand .admin-acc[data-acc="reports"] .admin-nav-item.active > i,
body.mt-tissue-brand .admin-acc[data-acc="hold"] .admin-nav-item.active > i,
body.mt-tissue-brand .admin-acc[data-acc="settings"] .admin-nav-item.active > i {
  color: var(--ls-red) !important;
}

/* toolbar + search */
body.mt-tissue-brand .admin-global-search-wrap:focus-within {
  border-color: var(--ls-red) !important;
  box-shadow: 0 0 0 3px var(--ls-red-soft) !important;
}

body.mt-tissue-brand .admin-toolbar-btn:hover {
  border-color: rgba(227, 30, 36, 0.35) !important;
  color: var(--ls-red) !important;
}

body.mt-tissue-brand .admin-toolbar-btn.active {
  background: var(--ls-red-light) !important;
  border-color: var(--ls-red) !important;
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand .admin-drawer-form .ah-inp:focus,
body.mt-tissue-brand .admin-drawer-form select:focus {
  border-color: var(--ls-red) !important;
  box-shadow: 0 0 0 3px var(--ls-red-soft) !important;
}

/* tables */
body.mt-tissue-brand.admin-pc-portal .admin-table-enhanced .admin-data-table tbody tr:hover td,
body.mt-tissue-brand.admin-pc-portal .admin-table-enhanced .admin-data-table tbody tr:hover .admin-sticky-col {
  background: var(--ls-red-light) !important;
}

body.mt-tissue-brand.admin-pc-portal .admin-table-enhanced .admin-data-table thead th,
body.mt-tissue-brand.admin-pc-portal .admin-table-enhanced .admin-data-table thead .admin-sticky-col {
  background: var(--ls-gold-light) !important;
  color: var(--ls-red-dark) !important;
}

/* ops dashboard (หน้าแรกแอดมิน PC) */
body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-title {
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-head-rule {
  background: linear-gradient(90deg, var(--ls-red), var(--ls-gold) 55%, transparent) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-kpi-card--staff {
  border-top-color: var(--ls-red) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-kpi-card--staff .ah-ops-kpi-icon {
  color: var(--ls-red) !important;
  background: var(--ls-red-light) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-kpi-pct {
  color: var(--ls-red) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-progress-fill {
  background: linear-gradient(90deg, #EF5350, var(--ls-red), var(--ls-red-dark)) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-panel-title,
body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-chart-title {
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-table th {
  background: var(--ls-gold-light) !important;
  color: var(--ls-red-dark) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-table tr:hover td {
  background: var(--ls-red-light) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-office-col-num,
body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-office-card-time {
  color: var(--ls-red) !important;
}

body.mt-tissue-brand.admin-pc-pure-admin #s-admin-home .ah-ops-office-ci-badge {
  background: var(--ls-red) !important;
}

body.mt-tissue-brand.admin-pc-portal .db-report-screen,
body.mt-tissue-brand.admin-pc-portal .cp-hold-screen,
body.mt-tissue-brand.admin-pc-portal #page-dashboard.admin-db-embedded {
  background: var(--ls-bg) !important;
}

body.mt-tissue-brand.admin-pc-portal .app {
  background: var(--ls-bg) !important;
}

/* ══ Mobile top bar ══ */
body.mt-tissue-brand #mobile-app-header,
body.mt-tissue-brand .mob-top-app-bar {
  background: linear-gradient(180deg, var(--ls-red) 0%, var(--ls-red-dark) 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}
body.mt-tissue-brand .mob-topbar-logo-kc,
body.mt-tissue-brand .mob-topbar-brand-kc {
  color: #fff !important;
}
body.mt-tissue-brand .mob-topbar-brand-team {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ══ Tab bar — red Lam Soon + oil-brand icons ══ */
body.mt-tissue-brand #mobile-app-tabbar {
  border-color: rgba(227, 30, 36, 0.14) !important;
  box-shadow: 0 8px 28px rgba(183, 28, 28, 0.16) !important;
}
body.mt-tissue-brand .mob-tab {
  color: var(--ls-muted) !important;
}
body.mt-tissue-brand .mob-tab.on,
body.mt-tissue-brand .mob-tab.on .mob-tab-lbl {
  color: var(--ls-red) !important;
}
body.mt-tissue-brand .mob-tab-ic {
  background: linear-gradient(160deg, #ffffff 0%, var(--ls-red-light) 100%) !important;
  border-color: #fff !important;
  box-shadow: 0 6px 18px rgba(183, 28, 28, 0.14) !important;
}
body.mt-tissue-brand .mob-tab-ic img,
body.mt-tissue-brand .mob-tab-ic svg {
  filter: none !important;
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
}
body.mt-tissue-brand .mob-tab.on .mob-tab-ic {
  background: linear-gradient(160deg, #fff 0%, #FFCDD2 100%) !important;
  box-shadow:
    0 0 0 5px rgba(227, 30, 36, 0.16),
    0 8px 22px rgba(227, 30, 36, 0.28) !important;
}
body.mt-tissue-brand .mob-tab-fab {
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}
body.mt-tissue-brand .mob-tab-fab::before {
  display: none !important;
}
body.mt-tissue-brand .mob-tab-fab .mob-tab-ic {
  width: 48px !important;
  height: 48px !important;
  margin-top: -8px !important;
  background: linear-gradient(160deg, #ffffff 0%, var(--ls-red-light) 100%) !important;
  border: 3px solid var(--ls-red) !important;
  box-shadow:
    0 6px 18px rgba(227, 30, 36, 0.28),
    0 0 0 3px rgba(227, 30, 36, 0.08) !important;
  position: relative;
  z-index: 2;
  animation: lsFabPulse 2.8s ease-in-out infinite;
}
body.mt-tissue-brand .mob-tab-fab .mob-tab-ic img,
body.mt-tissue-brand .mob-tab-fab .mob-tab-ic svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  filter: none !important;
}
body.mt-tissue-brand .mob-tab-fab .mob-tab-fab-lbl {
  color: var(--ls-red-dark) !important;
  font-weight: 800 !important;
  position: relative;
  z-index: 2;
  text-shadow: none !important;
}
body.mt-tissue-brand .mob-tab-fab.mob-tab-fab-active-shift .mob-tab-ic {
  border-color: var(--ls-orange) !important;
  background: linear-gradient(145deg, #fff 0%, var(--ls-gold-light) 100%) !important;
}
body.mt-tissue-brand .mob-tab-fab.mob-tab-fab-active-shift .mob-tab-fab-lbl {
  color: var(--ls-red-dark) !important;
}
body.mt-tissue-brand .mob-tab-fab.mob-tab-fab-done .mob-tab-ic {
  background: linear-gradient(145deg, #e2e8f0, #94a3b8) !important;
}

/* ══ Buttons — red tone ทั้งระบบ ══ */
body.mt-tissue-brand .btn-primary,
body.mt-tissue-brand .mob-btn-primary,
body.mt-tissue-brand .mob-comp-mission-cta:not(.mob-comp-mission-cta-secondary),
body.mt-tissue-brand .mob-comp-mission-submit,
body.mt-tissue-brand .mob-ls-submit,
body.mt-tissue-brand .mob-geo-btn,
body.mt-tissue-brand .ah-btn-primary,
body.mt-tissue-brand .cp-competitor-btn-primary {
  background: linear-gradient(145deg, var(--ls-red) 0%, var(--ls-red-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.32) !important;
}
body.mt-tissue-brand .btn-outline,
body.mt-tissue-brand .mob-btn-outline,
body.mt-tissue-brand .ah-btn-outline,
body.mt-tissue-brand .mob-comp-mission-cta-secondary {
  background: #fff !important;
  border: 1.5px solid var(--ls-red) !important;
  color: var(--ls-red) !important;
}
body.mt-tissue-brand .mob-geo-btn {
  color: var(--ls-red) !important;
  background: #fff !important;
}
body.mt-tissue-brand .mob-geo-btn:hover,
body.mt-tissue-brand .mob-geo-btn:active {
  background: var(--ls-red) !important;
  color: #fff !important;
}

/* ══ Mobile action buttons — blue/green → red ══ */
body.mt-tissue-brand .mob-hero-btn-main.mob-hero-btn-needs-in,
body.mt-tissue-brand .mob-hero-btn-main.mob-hero-btn-checked-in,
body.mt-tissue-brand #s-attendance-hub .ah-att-checkin-state-btn.checkin,
body.mt-tissue-brand .mob-day-pulse-btn,
body.mt-tissue-brand .mob-btn-nudge,
body.mt-tissue-brand .mob-comp-mission-submit,
body.mt-tissue-brand #s-checkin #ci-checkin-btn {
  background: linear-gradient(135deg, var(--ls-red) 0%, var(--ls-red-dark) 55%, #C62828 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(227, 30, 36, 0.34) !important;
}
body.mt-tissue-brand .mob-hero-btn-main.mob-hero-btn-pulse::after {
  background: rgba(227, 30, 36, 0.38) !important;
}
body.mt-tissue-brand .mob-hero-btn-main:hover {
  background: var(--ls-red-light) !important;
  color: var(--ls-red-dark) !important;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.22) !important;
}
body.mt-tissue-brand .mob-hero-btn-main.mob-hero-btn-needs-in:hover,
body.mt-tissue-brand .mob-hero-btn-main.mob-hero-btn-checked-in:hover,
body.mt-tissue-brand .mob-day-pulse-btn:hover {
  background: linear-gradient(135deg, #EF5350 0%, var(--ls-red) 55%, var(--ls-red-dark) 100%) !important;
  color: #fff !important;
}
body.mt-tissue-brand .mob-work-hero-card {
  background: linear-gradient(135deg, var(--ls-red-dark) 0%, var(--ls-red) 52%, #D32F2F 100%) !important;
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.24) !important;
}
body.mt-tissue-brand .ah-att-route-card-go {
  background: linear-gradient(145deg, var(--ls-red) 0%, var(--ls-red-dark) 50%, #C62828 100%) !important;
  color: #fff !important;
}
body.mt-tissue-brand .ah-att-more-chip {
  color: var(--ls-red) !important;
  border-color: rgba(227, 30, 36, 0.22) !important;
}
body.mt-tissue-brand .ah-att-more-chip:active {
  background: var(--ls-red-light) !important;
}
body.mt-tissue-brand #s-checkin #ci-checkout-btn {
  background: linear-gradient(145deg, #C62828 0%, var(--ls-red-dark) 50%, #8B0000 100%) !important;
  color: #fff !important;
}

/* ══ STATUS CARD — Yok palm oil background ══ */
body.mt-tissue-brand .mob-status-block {
  animation: lsPageFadeIn 0.6s ease both;
}
body.mt-tissue-brand .mob-hero-card {
  border-radius: 18px !important;
  background: linear-gradient(148deg, var(--ls-gold-light) 0%, #fff 42%, var(--ls-gold-light) 100%) !important;
  border: 1px solid rgba(244, 196, 48, 0.35) !important;
  box-shadow: var(--ls-shadow-lg) !important;
  animation: lsHeroCardEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.mt-tissue-brand .mob-hero-bg--ls-oil {
  background: transparent !important;
}
body.mt-tissue-brand .mob-hero-slides {
  background: transparent !important;
}
body.mt-tissue-brand .mob-hero-bg {
  background: linear-gradient(135deg, rgba(255, 249, 225, 0.4) 0%, transparent 100%) !important;
}
body.mt-tissue-brand .mob-hero-bg-img {
  object-fit: contain !important;
  object-position: 92% 82% !important;
  animation: lsOilKenBurns 14s ease-in-out infinite alternate;
  filter: saturate(1.08) brightness(1.02) drop-shadow(0 10px 20px rgba(183, 28, 28, 0.1));
  opacity: 1;
}
body.mt-tissue-brand .mob-hero-deco {
  background:
    linear-gradient(
      90deg,
      rgba(255, 249, 225, 0.98) 0%,
      rgba(255, 249, 225, 0.94) 34%,
      rgba(255, 249, 225, 0.72) 48%,
      rgba(255, 249, 225, 0.18) 62%,
      rgba(255, 249, 225, 0) 78%,
      transparent 100%
    ) !important;
}
body.mt-tissue-brand .mob-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(244, 196, 48, 0.18) 52%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: lsHeroShimmer 4.5s ease-in-out infinite;
}
body.mt-tissue-brand .mob-hero-title {
  color: var(--ls-red-dark) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}
body.mt-tissue-brand .mob-hero-title::after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--ls-red), var(--ls-gold), transparent);
  border-radius: 2px;
  animation: lsRedLineGrow 1.2s ease 0.4s both;
}
body.mt-tissue-brand .mob-hero-brand-kc {
  color: var(--ls-green) !important;
  font-weight: 800 !important;
  animation: lsBrandPulse 3s ease-in-out infinite;
}
body.mt-tissue-brand .mob-hero-brand-team {
  color: var(--ls-red) !important;
  letter-spacing: 0.28em !important;
}
body.mt-tissue-brand .mob-hero-brand-rule {
  background: linear-gradient(90deg, var(--ls-red), var(--ls-gold)) !important;
  animation: lsRulePulse 2.4s ease-in-out infinite;
}
body.mt-tissue-brand .mob-hero-lbl,
body.mt-tissue-brand .mob-hero-val,
body.mt-tissue-brand .mob-hero-loc,
body.mt-tissue-brand .mob-hero-msg,
body.mt-tissue-brand #mob-osa-status,
body.mt-tissue-brand #mob-sup-pending-status {
  color: var(--ls-text) !important;
}
body.mt-tissue-brand .mob-hero-val {
  color: var(--ls-red-dark) !important;
  font-weight: 700 !important;
}
body.mt-tissue-brand .mob-hero-timeline::before {
  background: linear-gradient(180deg, rgba(244, 196, 48, 0.25) 0%, rgba(227, 30, 36, 0.35) 50%, rgba(244, 196, 48, 0.25) 100%) !important;
}
body.mt-tissue-brand .mob-hero-timeline::after {
  background: linear-gradient(180deg, var(--ls-gold) 0%, var(--ls-red) 45%, var(--ls-green) 100%) !important;
  box-shadow: 0 0 12px rgba(244, 196, 48, 0.45) !important;
  animation: lsTimelineGlow 2s ease-in-out infinite alternate;
}
body.mt-tissue-brand .mob-hero-node {
  border-color: rgba(227, 30, 36, 0.45) !important;
  background: radial-gradient(circle at 38% 32%, #fff 0%, var(--ls-gold-light) 68%) !important;
}
body.mt-tissue-brand .mob-hero-step.done .mob-hero-node {
  border-color: var(--ls-green) !important;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #B8E6C8 55%, var(--ls-green) 100%) !important;
  box-shadow: 0 0 10px rgba(0, 123, 62, 0.35) !important;
}
body.mt-tissue-brand .mob-hero-step.current .mob-hero-node {
  border-color: #fff !important;
  background: radial-gradient(circle at 34% 30%, #fff 0%, var(--ls-gold) 55%, var(--ls-red) 100%) !important;
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.2), 0 0 18px rgba(244, 196, 48, 0.55) !important;
  animation: lsNodePulse 1.8s ease-in-out infinite;
}

/* Golden sparkle particles on status block */
body.mt-tissue-brand .mob-status-block::before,
body.mt-tissue-brand .mob-status-block::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ls-gold) 0%, transparent 70%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: lsSparkle 4s ease-in-out infinite;
}
body.mt-tissue-brand .mob-status-block {
  position: relative;
}
body.mt-tissue-brand .mob-status-block::before {
  top: 8%;
  right: 18%;
  animation-delay: 0s;
}
body.mt-tissue-brand .mob-status-block::after {
  top: 42%;
  right: 8%;
  width: 4px;
  height: 4px;
  animation-delay: 2.1s;
}

/* ══ Home tiles & sections ══ */
body.mt-tissue-brand .mob-home-section-title {
  color: var(--ls-red-dark) !important;
}
body.mt-tissue-brand .mob-work-tile,
body.mt-tissue-brand .mob-sup-card,
body.mt-tissue-brand .ch-tile,
body.mt-tissue-brand .ah-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
body.mt-tissue-brand .mob-work-tile:active,
body.mt-tissue-brand .ch-tile:active,
body.mt-tissue-brand .ah-tile:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  body.mt-tissue-brand .mob-work-tile:hover,
  body.mt-tissue-brand .ch-tile:hover,
  body.mt-tissue-brand .ah-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--ls-shadow-lg) !important;
  }
}
body.mt-tissue-brand .mob-day-pulse-ring {
  stroke: var(--ls-red) !important;
}

/* ══ Nav / instruction banners ══ */
body.mt-tissue-brand .instruction-banner,
body.mt-tissue-brand .ah-banner {
  background: linear-gradient(135deg, var(--ls-red-light), #fff) !important;
  border-left-color: var(--ls-red) !important;
  color: var(--ls-red-dark) !important;
}
body.mt-tissue-brand .nav-bar {
  background: var(--ls-red) !important;
}

/* ══ Check-in status card (PC) ══ */
body.mt-tissue-brand #ci-status-card {
  border-color: rgba(227, 30, 36, 0.2) !important;
  background: linear-gradient(135deg, var(--ls-gold-light), #fff) !important;
}

/* ══ Keyframe animations ══ */
@keyframes lsPageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lsHeroCardEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lsHeroShimmer {
  0%, 100% { background-position: 120% 0; opacity: 0; }
  45% { opacity: 1; }
  55% { background-position: -20% 0; opacity: 1; }
  70% { opacity: 0; }
}
@keyframes lsOilKenBurns {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.06) translateX(-2%); }
}
@keyframes lsRedLineGrow {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}
@keyframes lsBrandPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
@keyframes lsRulePulse {
  0%, 100% { opacity: 1; width: 100%; }
  50% { opacity: 0.75; width: 72%; }
}
@keyframes lsTimelineGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.15); }
}
@keyframes lsNodePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes lsFabPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(227, 30, 36, 0.45); }
  50% { box-shadow: 0 8px 28px rgba(244, 196, 48, 0.5), 0 4px 16px rgba(227, 30, 36, 0.35); }
}
@keyframes lsSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
  30% { opacity: 0.9; transform: scale(1) translateY(-6px); }
  60% { opacity: 0.4; transform: scale(0.8) translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  body.mt-tissue-brand .mob-hero-card,
  body.mt-tissue-brand .mob-status-block,
  body.mt-tissue-brand .mob-hero-bg-img,
  body.mt-tissue-brand .mob-hero-card::after,
  body.mt-tissue-brand .mob-hero-step.current .mob-hero-node,
  body.mt-tissue-brand .mob-tab-fab,
  body.mt-tissue-brand .mob-status-block::before,
  body.mt-tissue-brand .mob-status-block::after {
    animation: none !important;
  }
}

/* ══ LS: primary buttons / OSA confirm ══ */
body.mt-tissue-brand .btn-red,
body.mt-tissue-brand #s-catlist .btn-red,
body.mt-tissue-brand #s-osa .btn-red {
  background: linear-gradient(145deg, #E31E24 0%, #B71C1C 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px -6px rgba(227, 30, 36, 0.4) !important;
}

/* ══ LS: Dashboard OSA Summary (was MPI blue) ══ */
body.mt-tissue-brand #page-dashboard .db-hdr,
body.mobile-app-enabled #page-dashboard .db-hdr {
  background: linear-gradient(100deg, #E31E24 0%, #C62828 48%, #FFEBEE 100%) !important;
  box-shadow: 0 4px 20px rgba(183, 28, 28, 0.28) !important;
}
body.mt-tissue-brand #page-dashboard .db-tab.active,
body.mt-tissue-brand #page-dashboard .db-user-bar-name,
body.mt-tissue-brand #page-dashboard .db-metric-v,
body.mt-tissue-brand #page-dashboard .db-rank-pct,
body.mt-tissue-brand #page-dashboard .db-ci-col-count {
  color: #E31E24 !important;
  border-bottom-color: #E31E24 !important;
}
body.mt-tissue-brand #page-dashboard .db-ci-board-status-bar,
body.mt-tissue-brand #page-dashboard .att-emp-num,
body.mt-tissue-brand #page-dashboard .db-rank-avatar,
body.mt-tissue-brand #page-dashboard .db-filter-apply-btn,
body.mt-tissue-brand #page-dashboard .db-oos-page-btn.active {
  background: linear-gradient(135deg, #E31E24, #B71C1C) !important;
  border-color: #E31E24 !important;
  color: #fff !important;
}
body.mt-tissue-brand #page-dashboard .db-oos-filter.active {
  border-color: #E31E24 !important;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.16) !important;
  background: linear-gradient(145deg, #FFEBEE, #FFCDD2) !important;
}
body.mt-tissue-brand #page-dashboard .att-emp-acc {
  background: #FFEBEE !important;
  color: #B71C1C !important;
}

/* ══ LS: Leave / swap page ══ */
body.mt-tissue-brand #s-mobile-leave-swap.active,
body.mobile-app-enabled #s-mobile-leave-swap.active {
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 45%, #FFF9E1 100%) !important;
}
body.mt-tissue-brand .mob-ls-page-title {
  color: #B71C1C !important;
}
body.mt-tissue-brand .mob-ls-page-eyebrow {
  color: #E31E24 !important;
}
body.mt-tissue-brand .mob-ls-card-ic,
body.mt-tissue-brand .mob-ls-card-ic.leave,
body.mt-tissue-brand .mob-ls-card-ic.swap {
  background: linear-gradient(160deg, #fff, #FFEBEE) !important;
  border: 1px solid rgba(227, 30, 36, 0.12);
}
body.mt-tissue-brand .mob-ls-card-ic img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  display: block;
}
body.mt-tissue-brand .mob-ls-acc-title.swap { color: #007B3E !important; }
body.mt-tissue-brand .mob-ls-acc-title.leave { color: #E31E24 !important; }
body.mt-tissue-brand .mob-ls-btn-swap,
body.mt-tissue-brand .mob-ls-btn-leave,
body.mt-tissue-brand .mob-ls-btn-half-leave {
  background: linear-gradient(145deg, #E31E24, #B71C1C) !important;
  color: #fff !important;
}
body.mt-tissue-brand .mob-ls-duration-btn.is-on {
  background: #E31E24 !important;
  color: #fff !important;
}

/* ══ LS: Route card + profile cards ══ */
body.mt-tissue-brand .ah-att-route-card-ic,
body.mt-tissue-brand .mob-profile-card-ic {
  background: linear-gradient(160deg, #fff, #FFEBEE) !important;
  border: 1px solid rgba(227, 30, 36, 0.12);
  border-radius: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
body.mt-tissue-brand .ah-att-route-card-ic img,
body.mt-tissue-brand .mob-profile-card-ic img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain;
  animation: none !important;
}
body.mt-tissue-brand .mob-profile-card-title,
body.mt-tissue-brand .ah-att-route-card-t {
  color: #B71C1C !important;
}
body.mt-tissue-brand .ah-att-route-card-go {
  background: #E31E24 !important;
  color: #fff !important;
}
