/* ── Module banners: visual on top, copy below ── */
.module-showcase { padding: 4rem 0 2rem; }
.module-showcase-header {
  text-align: center; max-width: 680px; margin: 0 auto 3rem;
}
.module-banner {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.module-banner:last-child { border-bottom: none; }
.module-banner:nth-child(even) { background: var(--bg-warm); }

/* Stack on mobile: visual top, copy below */
.module-banner-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.module-banner-visual { order: 1; width: 100%; }
.module-banner-copy {
  order: 2;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 0.5rem;
}

.module-tag {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(107, 130, 153, 0.25);
}
.module-banner-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.18;
  color: var(--text);
}
.module-banner-copy p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 auto 1rem;
  max-width: 42rem;
}
.module-banner .module-learn-more {
  display: inline-block;
  margin: 0 auto 1.75rem;
}
.module-learn-more-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
}
.module-learn-more-row .module-learn-more { margin: 0; }
.module-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
}
.module-stat-mini {
  text-align: center;
  min-width: 5rem;
}
.module-stat-mini strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.module-stat-mini span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Banner frame — full width, premium */
.banner-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transform: none;
  transition: box-shadow 0.35s ease;
}
.module-banner:hover .banner-frame {
  box-shadow: var(--shadow-premium);
}
.banner-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  background: #2D3439;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.banner-chrome .dot { width: 8px; height: 8px; border-radius: 50%; opacity: 0.85; }
.banner-chrome .dot:nth-child(1) { background: #C4A574; }
.banner-chrome .dot:nth-child(2) { background: #8E99A6; }
.banner-chrome .dot:nth-child(3) { background: #6B8299; }
.banner-chrome .url {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.08);
  border-radius: 6px; padding: 0.3rem 0.65rem;
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.65rem;
}
.banner-body {
  padding: 1.25rem;
  min-height: 380px;
  background: #F8F7F4;
}

/* Subtle module tints — same chrome, soft body wash */
.banner-booking .banner-body { background: linear-gradient(180deg, #F4F3EF 0%, #EEECE6 100%); }
.banner-ordering .banner-body { background: linear-gradient(180deg, #F4F3EF 0%, #EBE9E4 100%); }
.banner-punch .banner-body { background: linear-gradient(180deg, #F2F4F3 0%, #EBECE6 100%); }
.banner-schedule .banner-body { background: linear-gradient(180deg, #F3F2F5 0%, #EBE9E4 100%); }
.banner-inventory .banner-body { background: linear-gradient(180deg, #F0F2F4 0%, #EBE9E4 100%); }
.banner-checklist .banner-body { background: linear-gradient(180deg, #F2F4F2 0%, #EBE9E4 100%); }
.banner-integration .banner-body { background: linear-gradient(180deg, #F0F2F5 0%, #EBE9E4 100%); }

/* Branded guest booking page mock */
.banner-guest .banner-body--guest {
  min-height: 420px;
  padding: 0;
  background: linear-gradient(180deg, #FAFAF8 0%, #F4F3EF 100%);
}
.gb-page {
  padding: 1rem 1.1rem 1.1rem;
  min-height: 400px;
  font-family: var(--font-body, system-ui, sans-serif);
}
.gb-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #E8E6E1;
}
.gb-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #C4A574, #9A7B4F);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gb-brand-text strong {
  display: block;
  font-size: 0.95rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.gb-brand-text span { font-size: 0.62rem; color: #9A9690; font-weight: 600; }
.gb-lang {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  color: #6B8299;
  padding: 0.25rem 0.45rem;
  border: 1px solid #E8E6E1;
  border-radius: 6px;
  background: white;
}
.gb-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.gb-steps span {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: white;
  border: 1px solid #E8E6E1;
  color: #9A9690;
}
.gb-steps span.done { color: #3D5568; border-color: #C5D0DA; background: #EEF2F6; }
.gb-steps span.active {
  color: white;
  background: #3D4349;
  border-color: #3D4349;
}
.gb-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
}
.gb-label {
  margin: 0 0 0.2rem;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
  font-weight: 800;
}
.gb-summary {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
}
.gb-summary h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.gb-summary > p {
  margin: 0;
  font-size: 0.62rem;
  color: #6B8299;
  font-weight: 600;
  line-height: 1.4;
}
.gb-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.gb-tag {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #F4F3EF;
  color: #5C5854;
  border: 1px solid #E8E6E1;
}
.gb-deposit-box {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
}
.gb-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.62rem;
  color: #5C5854;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.gb-line strong { font-size: 0.85rem; color: #2D3439; }
.gb-line.subtle { font-size: 0.52rem; color: #9A9690; margin-bottom: 0.5rem; }
.gb-stripe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}
.gb-stripe-head { display: flex; align-items: center; gap: 0.45rem; }
.gb-stripe-icon { font-size: 1rem; }
.gb-stripe-head b { display: block; font-size: 0.62rem; color: #2D3439; }
.gb-stripe-head small { font-size: 0.52rem; color: #6B8299; font-weight: 600; }
.gb-stripe-badge {
  font-size: 0.48rem;
  font-weight: 800;
  color: #635BFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.gb-cta {
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #3D4349, #2D3439);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: default;
  letter-spacing: 0.02em;
}
.gb-aside {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}
.gb-aside h6 {
  margin: 0 0 0.5rem;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
  font-weight: 800;
}
.gb-aside-item {
  padding: 0.4rem 0;
  border-bottom: 1px solid #F0EFEB;
  font-size: 0.58rem;
}
.gb-aside-item:last-of-type { border-bottom: none; }
.gb-aside-item b { display: block; color: #2D3439; font-size: 0.6rem; margin-bottom: 0.1rem; }
.gb-aside-item span { color: #6B8299; font-weight: 600; font-size: 0.52rem; }
.gb-aside-item.ok b::before { content: '✓ '; color: #16A34A; }
.gb-aside-stat {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #E8E6E1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.55rem;
  color: #9A9690;
  font-weight: 600;
}
.gb-aside-stat strong { font-size: 1rem; color: #2D3439; }
.feat-vis-shot .banner-guest .gb-layout { min-height: 280px; }

/* Guest order tracking (KDS → guest notifications) */
.go-page { padding: 0.85rem 1rem 1rem; min-height: 400px; }
.go-dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: start;
}
.go-panel-label {
  margin: 0 0 0.4rem;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
  text-align: center;
}
.go-arrow {
  font-size: 1.25rem;
  color: #6B8299;
  font-weight: 700;
  padding-top: 4.5rem;
  opacity: 0.6;
}
.go-phone {
  background: #1a1f24;
  border-radius: 22px;
  padding: 0.45rem;
  border: 3px solid #2D3439;
  box-shadow: 0 8px 24px rgba(45, 52, 57, 0.15);
}
.go-phone-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0.5rem 0.35rem;
  font-size: 0.48rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.go-screen {
  background: #FAFAF8;
  border-radius: 16px;
  padding: 0.65rem 0.6rem;
  min-height: 300px;
}
.go-screen--ready { background: linear-gradient(180deg, #F0FDF4 0%, #FAFAF8 40%); }
.go-status-pill {
  display: inline-block;
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.go-status-pill.placed { background: #EEF2F6; color: #3D5568; }
.go-status-pill.ready { background: #DCFCE7; color: #15803D; }
.go-screen h4 {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
  line-height: 1.25;
}
.go-order-id {
  margin: 0 0 0.5rem;
  font-size: 0.55rem;
  color: #6B8299;
  font-weight: 600;
}
.go-items {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  overflow: hidden;
}
.go-items li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  font-size: 0.52rem;
  color: #5C5854;
  font-weight: 600;
  border-bottom: 1px solid #F0EFEB;
}
.go-items li:last-child { border-bottom: none; }
.go-items span { color: #9A9690; font-weight: 700; }
.go-timeline { display: grid; gap: 0.3rem; margin-bottom: 0.5rem; }
.go-step {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.5rem;
}
.go-step i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.go-step.done i { background: #16A34A; }
.go-step.wait i { background: #D97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2); }
.go-step.active i { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25); }
.go-step b { display: block; color: #2D3439; font-size: 0.52rem; }
.go-step span { color: #9A9690; font-weight: 600; font-size: 0.48rem; }
.go-est {
  margin: 0;
  font-size: 0.52rem;
  color: #6B8299;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem;
  background: #EEF2F6;
  border-radius: 8px;
}
.go-est strong { color: #2D3439; }
.go-sms {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 12px;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid #16A34A;
}
.go-sms-from {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  color: #6B8299;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.go-sms p {
  margin: 0 0 0.25rem;
  font-size: 0.55rem;
  color: #2D3439;
  line-height: 1.4;
  font-weight: 600;
}
.go-sms small { font-size: 0.48rem; color: #9A9690; font-weight: 600; }
.go-done-btn {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 8px;
  background: #16A34A;
  color: white;
  font-size: 0.55rem;
  font-weight: 800;
  cursor: default;
}
.feat-vis-shot .go-dual { min-height: 320px; }

@media (max-width: 700px) {
  .gb-layout { grid-template-columns: 1fr; }
  .go-dual { grid-template-columns: 1fr; }
  .sch-swap-layout { grid-template-columns: 1fr; }
  .go-arrow { display: none; }
}

.banner-body--dark {
  background: #1a1f24;
  padding: 0.85rem;
  min-height: 400px;
}

/* ── Reservations app mock (inspired by Fewa admin UI) ── */
.res-mock {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0.65rem;
  min-height: 380px;
  font-size: 0.62rem;
}
.res-global-nav {
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.res-nav-group { margin-bottom: 0.75rem; }
.res-nav-label {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.35rem;
  padding-left: 0.35rem;
}
.res-nav-item {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 0.15rem;
  position: relative;
}
.res-nav-item.active {
  background: rgba(255,255,255,0.95);
  color: #1a1f24;
  font-weight: 700;
}
.res-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: #6B8299;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
}
.res-dot.amber { background: #C4A574; }

.res-panel {
  background: linear-gradient(180deg, #2a3138 0%, #232a30 100%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.res-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.res-exit {
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 0.58rem; font-weight: 600; cursor: default; padding: 0;
}
.res-title {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: white;
}
.res-title-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #C4A574, #9A7B4F);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
}
.res-head-actions { display: flex; gap: 0.35rem; }
.res-icon-btn {
  font-size: 0.55rem; padding: 0.2rem 0.45rem;
  border-radius: 6px; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6); font-weight: 600;
}
.res-icon-btn.live { color: #8fbc8f; }

.res-panel-body {
  display: grid;
  grid-template-columns: 108px 1fr;
  flex: 1;
  min-height: 0;
}
.res-panel-body:not(:has(.res-subnav)) {
  grid-template-columns: 1fr;
}
.res-subnav {
  display: flex; flex-direction: column;
  padding: 0.5rem 0.4rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  gap: 0.1rem;
}
.res-subnav span {
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  font-size: 0.58rem;
  position: relative;
}
.res-subnav span.active {
  color: white;
  background: rgba(196, 165, 116, 0.15);
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.25);
}

.res-calendar-area {
  padding: 0.55rem 0.65rem 0.45rem;
  background: #f8f7f4;
  margin: 0.5rem 0.5rem 0.5rem 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.res-cal-toolbar {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.45rem; padding: 0 0.15rem;
}
.res-cal-toolbar strong {
  font-size: 0.75rem; color: #2D3439; font-family: var(--font-display);
}
.res-cal-toolbar span {
  font-size: 0.55rem; color: #6B8299; font-weight: 600;
}
.res-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: 1;
}
.res-cal-day {
  min-height: 42px;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 6px;
  padding: 0.3rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #3D4349;
  position: relative;
  line-height: 1.1;
}
.res-cal-day.head {
  min-height: auto; background: transparent; border: none;
  font-size: 0.48rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #9A9690; font-weight: 800; text-align: center; padding: 0.2rem 0;
}
.res-cal-day.empty { background: transparent; border-color: transparent; }
.res-cal-day.has { background: #F4F3EF; }
.res-cal-day.busy { background: #E4EAEF; border-color: #6B8299; }
.res-cal-day.today {
  background: #E4EAEF;
  box-shadow: inset 0 0 0 2px #6B8299;
  color: #3D5568;
}
.res-cal-day.wait { background: #F4F3EF; }
.res-cal-count {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  color: #6B8299;
  margin-top: 0.15rem;
}
.res-cal-pill {
  display: block;
  font-size: 0.42rem;
  font-weight: 800;
  color: #9A7B4F;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.res-cal-legend {
  display: flex; gap: 0.75rem; margin-top: 0.4rem;
  font-size: 0.5rem; font-weight: 600; color: #9A9690;
}
.res-cal-legend i.lg {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; margin-right: 3px; vertical-align: middle;
}
.res-cal-legend .today { background: #6B8299; }
.res-cal-legend .busy { background: #E4EAEF; border: 1px solid #6B8299; }
.res-cal-legend .has { background: #F4F3EF; border: 1px solid #DDDBD4; }

.res-panel-foot {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.45rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.52rem; color: rgba(255,255,255,0.45);
  font-weight: 600;
}
.res-panel-foot strong { color: rgba(255,255,255,0.85); }
.res-status-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: rgba(255,255,255,0.4);
  margin-right: 4px; vertical-align: middle;
}
.res-status-dot.green { background: #8fbc8f; }
.res-brand {
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.48rem;
  color: rgba(255,255,255,0.3);
}

/* Shared light workspace inside dark panels */
.res-workspace {
  padding: 0.55rem 0.65rem;
  background: #f8f7f4;
  margin: 0.5rem 0.5rem 0.5rem 0;
  border-radius: 12px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.res-ws-toolbar {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.45rem; font-size: 0.55rem; color: #6B8299; font-weight: 600;
}
.res-ws-toolbar strong { font-size: 0.75rem; color: #2D3439; font-family: var(--font-display); }

/* KDS */
.res-kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.res-kds-col {
  background: white; border-radius: 10px; border: 1px solid #E8E6E1;
  padding: 0.5rem; min-height: 200px;
}
.res-kds-col h6 {
  margin: 0 0 0.45rem; font-size: 0.55rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 800; color: #9A9690;
}
.res-kds-ticket {
  background: #F4F3EF; border-radius: 8px; padding: 0.45rem; margin-bottom: 0.35rem;
  border-left: 3px solid #6B8299; font-size: 0.58rem; line-height: 1.35; color: #5C5854;
}
.res-kds-ticket strong { color: #2D3439; display: block; margin-bottom: 2px; }
.res-kds-ticket.cook { border-left-color: #3D4349; background: #EBE9E4; }
.res-kds-ticket.done { border-left-color: #6B8299; background: white; }

/* Punch in workspace */
.res-punch-ws { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0.55rem; }
.res-punch-card {
  background: white; border-radius: 12px; border: 1px solid #E8E6E1;
  padding: 0.75rem; text-align: center;
}
.res-punch-card .time {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 700;
  color: #2D3439; line-height: 1;
}
.res-punch-card .btn {
  display: inline-block; margin-top: 0.5rem; padding: 0.4rem 1rem;
  background: #3D4349; color: white; border-radius: 999px;
  font-size: 0.58rem; font-weight: 700;
}
.res-roster-row {
  display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0;
  border-bottom: 1px solid #EBE9E4; font-size: 0.58rem;
}
.res-roster-row .av {
  width: 24px; height: 24px; border-radius: 50%; background: #6B8299;
  color: white; font-size: 0.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.res-roster-row .nm { flex: 1; color: #2D3439; font-weight: 600; }
.res-roster-row .st { color: #6B8299; font-weight: 700; font-size: 0.52rem; }

/* Schedule in workspace */
.res-sch-grid {
  display: grid; grid-template-columns: 56px repeat(7, 1fr); gap: 3px;
  font-size: 0.52rem;
}
.res-sch-grid .h {
  background: #3D4349; color: rgba(255,255,255,0.9); text-align: center;
  padding: 0.3rem 0.15rem; border-radius: 4px; font-weight: 700; font-size: 0.48rem;
}
.res-sch-grid .nm {
  background: white; border: 1px solid #E8E6E1; border-radius: 4px;
  padding: 0.3rem; font-weight: 600; color: #2D3439;
  display: flex; align-items: center;
}
.res-sch-grid .c {
  border-radius: 4px; text-align: center; padding: 0.25rem;
  font-weight: 600; min-height: 30px; display: flex; align-items: center; justify-content: center;
}
.res-sch-grid .c.am { background: #E4EAEF; color: #3D5568; }
.res-sch-grid .c.pm { background: #DDDBD4; color: #3D4349; }
.res-sch-grid .c.off { background: #F4F3EF; color: #9A9690; }

/* Schedule swaps & open shifts */
.sch-swap-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 0.5rem;
}
.sch-swap-col h6,
.sch-phone-col h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.sch-swap-card,
.sch-open-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.35rem;
}
.sch-swap-card.pending { border-left: 3px solid #D97706; background: #FFFBEB; }
.sch-open-card.highlight { border-left: 3px solid #6B8299; }
.sch-swap-head,
.sch-open-head {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.sch-av {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #6B8299;
  color: white;
  font-size: 0.48rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sch-swap-head b,
.sch-open-head b { display: block; font-size: 0.58rem; color: #2D3439; }
.sch-swap-head span,
.sch-open-card > p { font-size: 0.5rem; color: #6B8299; font-weight: 600; line-height: 1.35; }
.sch-open-card > p { margin: 0 0 0.35rem; }
.sch-note { margin: 0 0 0.35rem; font-size: 0.48rem; color: #9A9690; font-weight: 600; }
.sch-pill {
  margin-left: auto;
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: #EEF2F6;
  color: #3D5568;
  white-space: nowrap;
  flex-shrink: 0;
}
.sch-pill.warn { background: #FEF3C7; color: #B45309; }
.sch-pill.ok { background: #DCFCE7; color: #15803D; }
.sch-pill.open { background: #E4EAEF; color: #3D5568; }
.sch-actions { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.sch-btn {
  font-size: 0.48rem;
  font-weight: 800;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: #F4F3EF;
  border: 1px solid #E8E6E1;
  color: #5C5854;
}
.sch-btn.approve { background: #3D4349; border-color: #3D4349; color: white; }
.sch-applicants { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.35rem; }
.sch-applicant {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: #F4F3EF;
  color: #5C5854;
  border: 1px solid #E8E6E1;
}
.sch-applicant.sel { background: #EEF2F6; border-color: #6B8299; color: #3D5568; }
.sch-notify {
  margin-top: 0.35rem;
  padding: 0.4rem 0.45rem;
  background: #EEF2F6;
  border-radius: 8px;
  font-size: 0.5rem;
}
.sch-notify b { display: block; color: #2D3439; margin-bottom: 0.1rem; }
.sch-notify span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.sch-phone {
  background: #1a1f24;
  border-radius: 18px;
  padding: 0.4rem;
  border: 2px solid #2D3439;
}
.sch-phone-screen {
  background: #FAFAF8;
  border-radius: 14px;
  padding: 0.55rem 0.5rem;
  min-height: 200px;
}
.sch-phone-badge {
  display: inline-block;
  font-size: 0.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #E4EAEF;
  color: #3D5568;
  margin-bottom: 0.35rem;
}
.sch-phone-screen h5 {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.sch-phone-screen > p {
  margin: 0 0 0.45rem;
  font-size: 0.52rem;
  color: #6B8299;
  font-weight: 600;
}
.sch-phone-btn {
  width: 100%;
  padding: 0.45rem;
  border: none;
  border-radius: 8px;
  background: #3D4349;
  color: white;
  font-size: 0.52rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  cursor: default;
}
.sch-phone-toast {
  font-size: 0.48rem;
  font-weight: 700;
  color: #15803D;
  padding: 0.35rem;
  background: #F0FDF4;
  border-radius: 8px;
  border: 1px solid #BBF7D0;
  text-align: center;
}
.feat-vis-shot .sch-swap-layout { min-height: 260px; }

/* Inventory table in workspace */
.res-inv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-bottom: 0.45rem; }
.res-inv-kpi {
  background: white; border: 1px solid #E8E6E1; border-radius: 8px;
  padding: 0.45rem; text-align: center;
}
.res-inv-kpi b { display: block; font-size: 0.85rem; color: #2D3439; font-family: var(--font-display); }
.res-inv-kpi small { font-size: 0.48rem; color: #9A9690; text-transform: uppercase; }
.res-data-table { width: 100%; border-collapse: collapse; font-size: 0.55rem; background: white; border-radius: 8px; overflow: hidden; }
.res-data-table th {
  background: #3D4349; color: rgba(255,255,255,0.9); padding: 0.38rem 0.45rem;
  text-align: left; font-weight: 600; font-size: 0.5rem; text-transform: uppercase;
}
.res-data-table td { padding: 0.35rem 0.45rem; border-bottom: 1px solid #EBE9E4; color: #5C5854; }
.res-data-table td:first-child { font-weight: 600; color: #2D3439; }
.res-bar { height: 3px; background: #EBE9E4; border-radius: 2px; margin-top: 2px; }
.res-bar i { display: block; height: 100%; border-radius: 2px; background: #6B8299; }
.res-bar i.low { width: 20%; background: #C4A574; }
.res-bar i.mid { width: 50%; }

/* Inventory feature mocks */
.inv-stock-layout,
.inv-po-layout,
.inv-forecast-layout,
.inv-analytics-split {
  display: grid;
  gap: 0.5rem;
}
.inv-stock-layout { grid-template-columns: 1.2fr 0.8fr; }
.inv-po-layout { grid-template-columns: 1fr 1fr; }
.inv-forecast-layout { grid-template-columns: 1.15fr 0.85fr; }
.inv-analytics-split { grid-template-columns: 1fr 0.9fr; align-items: start; }
.inv-table td { font-size: 0.52rem; }
.inv-row.crit { background: #FFF8F8; }
.inv-row.warn { background: #FFFBEB; }
.inv-bar {
  height: 6px;
  background: #EBE9E4;
  border-radius: 999px;
  overflow: hidden;
  min-width: 48px;
}
.inv-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #6B8299;
}
.inv-bar i.low { width: 18%; background: #E11D48; }
.inv-tag {
  display: inline-block;
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
}
.inv-tag.crit { background: #FEE2E2; color: #BE123C; }
.inv-tag.warn { background: #FEF3C7; color: #B45309; }
.inv-tag.ok { background: #DCFCE7; color: #15803D; }
.inv-stock-side h6,
.inv-po-col h6,
.inv-forecast-chart h6,
.inv-insight-card h6 {
  margin: 0.45rem 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.inv-stock-side h6:first-of-type { margin-top: 0; }
.inv-kpis-2 { grid-template-columns: repeat(2, 1fr) !important; }
.inv-alert-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-left: 3px solid #6B8299;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}
.inv-alert-card.crit { border-left-color: #E11D48; background: #FFF8F8; }
.inv-alert-card b { display: block; color: #2D3439; font-size: 0.55rem; margin-bottom: 0.1rem; }
.inv-alert-card span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.inv-po-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.35rem;
  border-left: 3px solid #6B8299;
}
.inv-po-card.approved { border-left-color: #16A34A; }
.inv-po-card.pending { border-left-color: #D97706; background: #FFFBEB; }
.inv-po-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}
.inv-po-head b { font-size: 0.58rem; color: #2D3439; }
.inv-po-card p {
  margin: 0 0 0.3rem;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
  line-height: 1.35;
}
.inv-po-meta {
  display: flex;
  gap: 0.65rem;
  font-size: 0.48rem;
  color: #9A9690;
  font-weight: 600;
}
.inv-supplier-card {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}
.inv-supplier-card b { display: block; color: #2D3439; font-size: 0.55rem; }
.inv-supplier-card span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.inv-supplier-card em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #16A34A;
}
.inv-sup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
}
.inv-sup-dot.off { background: #D1D5DB; }
.inv-notify {
  margin-top: 0.35rem;
  padding: 0.4rem 0.45rem;
  background: #EEF2F6;
  border-radius: 8px;
  font-size: 0.5rem;
}
.inv-notify b { display: block; color: #2D3439; margin-bottom: 0.1rem; }
.inv-notify span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.inv-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 100px;
  padding: 0.5rem 0.35rem 0.25rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
}
.inv-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.25rem;
}
.inv-bar-col.hot .inv-bar-fill { background: linear-gradient(180deg, #C4A574, #9A7B4F); }
.inv-bar-fill {
  display: block;
  width: 100%;
  max-width: 28px;
  border-radius: 4px 4px 0 0;
  background: #6B8299;
  min-height: 8px;
}
.inv-bar-col small { font-size: 0.45rem; color: #9A9690; font-weight: 700; }
.inv-forecast-note {
  margin: 0.35rem 0 0;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
}
.inv-suggest-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-left: 3px solid #6B8299;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.45rem;
}
.inv-suggest-card b { display: block; font-size: 0.62rem; color: #2D3439; margin-bottom: 0.15rem; }
.inv-suggest-card p { margin: 0 0 0.35rem; font-size: 0.48rem; color: #6B8299; font-weight: 600; line-height: 1.35; }
.inv-waste-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid #F0EFEB;
  color: #5C5854;
  font-weight: 600;
}
.inv-waste-row strong { color: #16A34A; }
.inv-analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.inv-kpi-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.4rem 0.45rem;
  text-align: center;
}
.inv-kpi-card b {
  display: block;
  font-size: 0.85rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.inv-kpi-card small {
  display: block;
  font-size: 0.45rem;
  color: #9A9690;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.1rem 0;
}
.inv-delta {
  display: inline-block;
  font-size: 0.42rem;
  font-weight: 800;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
}
.inv-delta.bad { background: #FEE2E2; color: #BE123C; }
.inv-delta.ok { background: #DCFCE7; color: #15803D; }
.inv-delta.warn { background: #FEF3C7; color: #B45309; }

/* Invoicing & quotes mocks */
.fin-quote-layout,
.fin-inv-layout,
.fin-sync-layout {
  display: grid;
  gap: 0.5rem;
}
.fin-quote-layout { grid-template-columns: 1.1fr 0.9fr; }
.fin-inv-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.fin-sync-layout { grid-template-columns: 1.15fr 0.85fr; }
.fin-quote-builder h6,
.fin-quote-client h6,
.fin-inv-side h6,
.fin-sync-side h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.fin-doc-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.4rem;
  border-left: 3px solid #6B8299;
}
.fin-doc-card.signed { border-left-color: #16A34A; }
.fin-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.fin-doc-head b { font-size: 0.6rem; color: #2D3439; }
.fin-client {
  margin: 0 0 0.4rem;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
}
.fin-lines td { font-size: 0.5rem; }
.fin-total-row td { border-top: 2px solid #E8E6E1; padding-top: 0.35rem; }
.fin-client-frame {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  box-shadow: 0 4px 16px rgba(45, 52, 57, 0.08);
}
.fin-client-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #F0EFEB;
}
.fin-client-brand .gb-logo {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.75rem;
}
.fin-client-brand b { font-size: 0.72rem; color: #2D3439; }
.fin-client-title {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  color: #5C5854;
  font-weight: 600;
}
.fin-client-total {
  text-align: center;
  padding: 0.45rem;
  background: #F4F3EF;
  border-radius: 8px;
  margin-bottom: 0.45rem;
}
.fin-client-total small {
  display: block;
  font-size: 0.45rem;
  color: #9A9690;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.1rem;
}
.fin-client-total strong {
  font-size: 1rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.fin-esign {
  text-align: center;
  padding: 0.35rem;
}
.fin-esign-line {
  display: block;
  height: 1px;
  background: #2D3439;
  margin: 0.5rem 1rem 0.25rem;
  opacity: 0.35;
}
.fin-esign small { font-size: 0.48rem; color: #9A9690; font-weight: 600; }
.fin-inv-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.fin-kpi-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.4rem 0.45rem;
  text-align: center;
}
.fin-kpi-card.accent {
  border-color: #6B8299;
  background: linear-gradient(180deg, #EEF2F6 0%, #fff 100%);
}
.fin-kpi-card b {
  display: block;
  font-size: 0.82rem;
  color: #2D3439;
  font-family: var(--font-display, Georgia, serif);
}
.fin-kpi-card small {
  display: block;
  font-size: 0.45rem;
  color: #9A9690;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.08rem 0;
}
.fin-inv-table td { font-size: 0.5rem; }
.fin-link {
  font-size: 0.48rem;
  font-weight: 800;
  color: #6B8299;
  cursor: default;
}
.fin-action-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}
.fin-action-card.warn { border-left: 3px solid #D97706; background: #FFFBEB; }
.fin-action-card b { display: block; color: #2D3439; font-size: 0.55rem; margin-bottom: 0.1rem; }
.fin-action-card span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.fin-aging-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.48rem;
  color: #6B8299;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.fin-aging-bar {
  height: 5px;
  background: #EBE9E4;
  border-radius: 999px;
  overflow: hidden;
}
.fin-aging-bar i {
  display: block;
  height: 100%;
  background: #6B8299;
  border-radius: 999px;
}
.fin-aging-row strong { color: #2D3439; font-size: 0.5rem; }
.fin-sync-hero {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.45rem;
}
.fin-fortnox-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #16A34A, #15803D);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fin-sync-hero b { display: block; font-size: 0.62rem; color: #2D3439; }
.fin-sync-hero span { font-size: 0.48rem; color: #6B8299; font-weight: 600; }
.fin-sync-hero .inv-tag { margin-left: auto; }
.fin-sync-feed .res-check-event { margin-bottom: 0.25rem; }
.fin-map-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  margin-bottom: 0.25rem;
  font-size: 0.5rem;
}
.fin-map-card span { color: #6B8299; font-weight: 600; }
.fin-map-card strong { color: #15803D; font-size: 0.48rem; }
.fin-notify {
  margin-top: 0.4rem;
  padding: 0.4rem 0.45rem;
  background: #EEF2F6;
  border-radius: 8px;
  font-size: 0.5rem;
}
.fin-notify b { display: block; color: #2D3439; margin-bottom: 0.1rem; }
.fin-notify span { color: #6B8299; font-weight: 600; font-size: 0.48rem; }
.feat-vis-shot .fin-quote-layout,
.feat-vis-shot .fin-inv-layout,
.feat-vis-shot .fin-sync-layout { min-height: 260px; }

@media (max-width: 700px) {
  .fin-quote-layout,
  .fin-inv-layout,
  .fin-sync-layout,
  .fin-inv-kpis { grid-template-columns: 1fr; }
}
.inv-insight-card {
  background: #EEF2F6;
  border: 1px solid #D5DEE8;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
}
.inv-insight-card p {
  margin: 0 0 0.4rem;
  font-size: 0.5rem;
  color: #3D5568;
  font-weight: 600;
  line-height: 1.4;
}
.inv-recipe-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  font-weight: 700;
  color: #2D3439;
  padding-top: 0.35rem;
  border-top: 1px solid #D5DEE8;
}
.feat-vis-shot .inv-stock-layout,
.feat-vis-shot .inv-po-layout,
.feat-vis-shot .inv-forecast-layout { min-height: 240px; }

@media (max-width: 700px) {
  .inv-stock-layout,
  .inv-po-layout,
  .inv-forecast-layout,
  .inv-analytics-split,
  .inv-analytics-kpis { grid-template-columns: 1fr; }
}

/* Checklists */
.res-check-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.res-check-box {
  background: white; border: 1px solid #E8E6E1; border-radius: 10px; padding: 0.55rem;
}
.res-check-box h6 { margin: 0 0 0.4rem; font-size: 0.55rem; font-weight: 800; color: #9A9690; text-transform: uppercase; }
.res-check-line {
  display: flex; gap: 0.35rem; align-items: flex-start; padding: 0.3rem 0;
  border-bottom: 1px solid #F4F3EF; font-size: 0.55rem; color: #5C5854;
}
.res-check-line .ck {
  width: 14px; height: 14px; border-radius: 3px; background: #6B8299; color: white;
  font-size: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.res-check-line .ck.warn { background: #F4F3EF; color: #9A7B4F; border: 1px solid #DDDBD4; }
.res-prog { height: 4px; background: #EBE9E4; border-radius: 2px; margin-bottom: 0.4rem; }
.res-prog span { display: block; height: 100%; background: #6B8299; border-radius: 2px; }
.res-temps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
.res-temp {
  background: #F4F3EF; border-radius: 6px; padding: 0.35rem; text-align: center;
  border: 1px solid #E8E6E1;
}
.res-temp b { font-size: 0.8rem; color: #2D3439; font-family: var(--font-display); }
.res-temp small { font-size: 0.48rem; color: #9A9690; text-transform: uppercase; }
.res-temp.ok { background: #F0FDF4; border-color: #BBF7D0; }
.res-temp.ok b { color: #15803D; }
.res-temp.warn { background: #FFFBEB; border-color: #FCD34D; }
.res-temp.warn b { color: #B45309; }

/* Compliance mocks — lean layout */
.comp-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.comp-open-layout,
.comp-haccp-layout,
.comp-audit-layout {
  display: grid;
  gap: 0.5rem;
}
.comp-open-layout,
.comp-audit-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.comp-haccp-layout { grid-template-columns: 1fr 1fr; align-items: start; }
.comp-side h6,
.comp-temp-block h6,
.comp-delivery-block h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.comp-delivery-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-left: 3px solid #6B8299;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.48rem;
}
.comp-delivery-card.ok { border-left-color: #16A34A; background: #FAFDFB; }
.comp-delivery-card b { display: block; color: #2D3439; font-size: 0.52rem; margin-bottom: 0.08rem; }
.comp-delivery-card span { color: #6B8299; font-weight: 600; }
.comp-temps-4 { grid-template-columns: repeat(4, 1fr); }
.comp-delivery-log {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  overflow: hidden;
}
.comp-dlv-row {
  display: grid;
  grid-template-columns: 1.1rem 1fr 0.55rem 0.55rem;
  gap: 0.25rem;
  align-items: center;
  padding: 0.35rem 0.45rem;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
  border-bottom: 1px solid #F0EFEB;
}
.comp-dlv-row:last-child { border-bottom: none; }
.comp-dlv-row.head {
  background: #FAFAF8;
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9A9690;
  font-weight: 800;
}
.comp-dlv-row strong { color: #2D3439; font-size: 0.55rem; }
.comp-dlv-row.pending { opacity: 0.75; }
.comp-dlv-row .inv-tag { font-size: 0.38rem; padding: 0.08rem 0.22rem; justify-self: end; }
.feat-vis-shot .comp-open-layout,
.feat-vis-shot .comp-haccp-layout,
.feat-vis-shot .comp-audit-layout { min-height: 240px; }

/* Integrations extended mocks */
.int-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.int-hub-layout,
.int-stripe-layout,
.int-webhook-layout {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}
.int-hub-layout,
.int-stripe-layout,
.int-webhook-layout { grid-template-columns: 1.15fr 0.85fr; }
.int-hub-side h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.int-hub-grid { grid-template-columns: repeat(3, 1fr); }
.int-stripe-kpis { grid-template-columns: repeat(4, 1fr); margin-bottom: 0.5rem; }
.int-pay-table {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  overflow: hidden;
}
.int-hub-side .st-live { color: #16A34A; font-size: 0.5rem; }
.feat-vis-shot .int-hub-layout,
.feat-vis-shot .int-stripe-layout,
.feat-vis-shot .int-webhook-layout { min-height: 240px; }

/* Integration hub in workspace */
.res-int-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem;
}
.res-int-card {
  background: white; border: 1px solid #E8E6E1; border-radius: 10px;
  padding: 0.55rem; font-size: 0.55rem;
}
.res-int-card strong { display: block; color: #2D3439; margin-bottom: 2px; }
.res-int-card span { color: #9A9690; }
.res-int-card .st {
  display: inline-block; margin-top: 0.35rem; font-size: 0.48rem; font-weight: 700;
  padding: 0.15rem 0.4rem; border-radius: 999px; background: #E4EAEF; color: #3D5568;
}
.res-int-card .st.live { background: #E4EAEF; }
.res-int-card .st.soon { background: #F4F3EF; color: #9A9690; }
.res-int-center-row {
  text-align: center; margin-bottom: 0.5rem; padding: 0.4rem;
  background: white; border-radius: 10px; border: 1px solid #E8E6E1;
  font-size: 0.58rem; font-weight: 800; color: #3D4349; letter-spacing: 0.08em;
}

/* Compact mockups inside shot viewer */
.res-mock--compact { grid-template-columns: 1fr; }
.res-mock--compact .res-global-nav { display: none; }

/* Hero Command Center dashboard mock */
.hero-dash {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  width: 100%;
}
.hero-dash .app-chrome { background: #F0EFEB; }
.hero-dash-body {
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, #FAFAF8 0%, #F4F3EF 100%);
}
.hd-head { margin-bottom: 0.85rem; }
.hd-live {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.62rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.02em; margin-bottom: 0.35rem;
}
.hd-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
  animation: hd-blink 2s ease-in-out infinite;
}
@keyframes hd-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.hd-head-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
}
.hd-head-row h4 {
  margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; line-height: 1.25;
}
.hd-seg {
  display: flex; background: #EBE9E4; border-radius: 8px; padding: 2px;
  flex-shrink: 0;
}
.hd-seg span {
  font-size: 0.58rem; font-weight: 700; padding: 0.28rem 0.45rem;
  border-radius: 6px; color: var(--text-muted);
}
.hd-seg span.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.hd-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.hd-kpi {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 0.65rem 0.7rem;
}
.hd-kpi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.45rem; }
.hd-icon {
  width: 1.5rem; height: 1.5rem; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
}
.hd-icon.green { background: #ECFDF5; color: #059669; }
.hd-icon.violet { background: #F5F3FF; color: #7C3AED; }
.hd-icon.blue { background: #EFF6FF; color: #2563EB; }
.hd-trend {
  font-size: 0.52rem; font-weight: 800; padding: 0.15rem 0.35rem; border-radius: 999px;
}
.hd-trend.up { background: #ECFDF5; color: #047857; }
.hd-trend.down { background: #FFF1F2; color: #BE123C; }
.hd-trend.live { background: #EEF2FF; color: #4338CA; }
.hd-kpi small {
  display: block; font-size: 0.58rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.hd-kpi strong {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em; line-height: 1.1;
}

.hd-main {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.hd-chart-card, .hd-pulse-card {
  border-radius: 12px; border: 1px solid var(--border);
  padding: 0.7rem 0.75rem;
}
.hd-chart-card { background: #fff; }
.hd-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 0.5rem;
}
.hd-card-head small {
  display: block; font-size: 0.55rem; font-weight: 600; color: var(--text-muted);
}
.hd-card-head strong {
  display: block; font-size: 0.72rem; font-weight: 700; color: var(--text);
}
.hd-chart-btn {
  width: 1.4rem; height: 1.4rem; border-radius: 8px; background: #F5F4F1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--text-muted);
}
.hd-area-chart { width: 100%; height: 72px; display: block; }
.hd-chart-labels {
  display: flex; justify-content: space-between;
  font-size: 0.5rem; font-weight: 700; color: #A8A29E;
  margin-top: 0.25rem; padding: 0 0.15rem;
}

.hd-pulse-card {
  background: linear-gradient(145deg, #4F5F6E 0%, #6B8299 100%);
  border: none; color: #fff; position: relative; overflow: hidden;
}
.hd-pulse-card > small {
  display: block; font-size: 0.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65); margin-bottom: 0.1rem;
}
.hd-pulse-card > strong {
  display: block; font-size: 0.72rem; font-weight: 700;
  margin-bottom: 0.55rem;
}
.hd-pulse-list { list-style: none; margin: 0; padding: 0; }
.hd-pulse-list li {
  position: relative; margin-bottom: 0.45rem;
  display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.35rem;
  align-items: center;
}
.hd-pulse-list li span {
  font-size: 0.52rem; font-weight: 500; color: rgba(255,255,255,0.82);
  grid-column: 1;
}
.hd-pulse-list li b {
  font-size: 0.52rem; font-weight: 800; color: #fff;
  grid-column: 2; grid-row: 1;
}
.hd-pulse-list li i {
  grid-column: 1 / -1; display: block; height: 3px;
  background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden;
  position: relative;
}
.hd-pulse-list li i::after {
  content: ''; position: absolute; inset: 0 auto 0 0;
  width: var(--w, 50%); background: rgba(255,255,255,0.55); border-radius: 999px;
}
.hd-pulse-btn {
  width: 100%; margin-top: 0.45rem; padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.52rem; font-weight: 700; font-family: var(--font-body);
  cursor: default;
}

.hd-insights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.hd-insight {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 0.55rem 0.6rem;
}
.hd-insight-icon {
  width: 1.65rem; height: 1.65rem; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}
.hd-insight.warn .hd-insight-icon { background: #FFF1F2; color: #E11D48; }
.hd-insight.ai .hd-insight-icon { background: linear-gradient(135deg, #FEF9C3, #FDE68A); color: #D97706; }
.hd-insight strong { display: block; font-size: 0.62rem; font-weight: 700; color: var(--text); }
.hd-insight small { display: block; font-size: 0.52rem; color: var(--text-muted); margin-top: 0.1rem; line-height: 1.3; }

@media (max-width: 600px) {
  .hd-kpis { grid-template-columns: 1fr; }
  .hd-main { grid-template-columns: 1fr; }
  .hd-insights { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
}

/* Shot viewer — full app chrome */
.res-mock--hero {
  grid-template-columns: 100px 1fr;
  min-height: 360px;
  width: 100%;
  max-width: 100%;
}
.res-mock--hero .res-global-nav { display: block; }
.res-mock--hero .res-panel { min-height: 340px; }
.res-mock--hero .res-kds-col { min-height: 160px; }

.shot-body { min-height: 400px; padding: 0.75rem; }
.shot-viewer .res-mock--compact .res-panel { min-height: 360px; }
.shot-viewer .res-panel-body { min-height: 300px; }
.shot-viewer .res-kds-col { min-height: 140px; }
.shot-viewer .hero-dash--shot {
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.shot-viewer .hero-dash--shot .hero-dash-body {
  min-height: 380px;
}

/* Online ordering workspace in shot viewer */
.res-order-ws {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.5rem;
}
.res-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}
.res-menu-item {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  font-size: 0.52rem;
}
.res-menu-item strong { display: block; color: #2D3439; font-size: 0.58rem; margin-bottom: 0.1rem; }
.res-menu-item span { color: #6B8299; font-weight: 600; }
.res-cart-col {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem;
}
.res-cart-col > strong {
  display: block;
  font-size: 0.58rem;
  color: #2D3439;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.res-order-card {
  background: #F4F3EF;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  margin-bottom: 0.35rem;
  font-size: 0.52rem;
}
.res-order-card strong { display: block; color: #2D3439; margin-bottom: 0.1rem; }
.res-order-card span { color: #6B8299; font-weight: 600; }
.res-order-card .st {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.48rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: #E4EAEF;
  color: #3D5568;
}

/* Chart bars inside workspace */
.res-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 100px;
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
}
.res-chart-bars span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6B8299 0%, #8FA8BC 100%);
  min-height: 16px;
}
.res-chart-bars span.hi {
  background: linear-gradient(180deg, #3D4349 0%, #5A7088 100%);
}

/* First + last module banners — use unified .module-banner-visual sizing below */
.banner-booking .res-cal-day { min-height: 36px; font-size: 0.65rem; }
.banner-integration .res-int-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.res-int-card .st.soon {
  background: #F4F3EF;
  color: #9A9690;
}

@media (max-width: 960px) {
  .res-mock { grid-template-columns: 1fr; width: 100%; max-width: 100%; min-width: 0; }
  .res-mock--hero { grid-template-columns: 1fr; }
  .res-mock--hero .res-global-nav { display: none; }
  .res-global-nav { display: none; }
  .res-panel-body { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .res-subnav {
    flex-direction: row; flex-wrap: wrap;
    border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .res-cal-day { min-height: 34px; font-size: 0.62rem; }
  .res-int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-inv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-kds { grid-template-columns: 1fr; }
  .res-kds-col { min-height: auto; }
  .module-banner-visual { max-width: 100%; min-width: 0; }
  .banner-frame { max-width: 100%; }
  .module-banner-visual .banner-body--dark,
  .module-banner-visual .feat-mock-frame .banner-body--dark,
  .module-banner-visual .banner-body {
    min-height: auto;
  }
  .module-banner-visual .banner-frame,
  .module-banner-visual .feat-mock-frame {
    max-height: var(--banner-shot-frame-max, 390px);
    overflow: hidden;
  }
  .module-banner-visual .res-mock,
  .module-banner-visual .res-mock--hero,
  .module-banner-visual .res-panel,
  .module-banner-visual .res-workspace--live,
  .module-banner-visual .res-wo-board {
    min-height: 0;
  }
}

/* Legacy booking UI (unused) ── */
.bk-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.85rem; }
.bk-floor {
  background: white; border-radius: 14px; padding: 1rem;
  border: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.bk-table {
  aspect-ratio: 1; border-radius: 10px; font-size: 0.62rem; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4px; line-height: 1.25;
}
.bk-table.free { background: #F4F3EF; color: var(--text-muted); border: 1px dashed #C8C5BD; }
.bk-table.reserved { background: #5A7088; color: white; }
.bk-table.seated { background: #3D4349; color: white; }
.bk-table.vip { background: #6B8299; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
.bk-sidebar { display: flex; flex-direction: column; gap: 0.5rem; }
.bk-card {
  background: white; border-radius: 10px; padding: 0.65rem 0.75rem;
  border-left: 3px solid #6B8299; font-size: 0.68rem;
  box-shadow: 0 2px 10px rgba(45, 52, 57, 0.05);
  color: var(--text-muted); line-height: 1.4;
}
.bk-card.amber { border-left-color: #C4A574; }
.bk-card.green { border-left-color: #6B8299; }
.bk-card strong { display: block; font-size: 0.74rem; margin-bottom: 3px; color: var(--text); }
.bk-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.bk-metric {
  background: white; border-radius: 10px; padding: 0.6rem; text-align: center;
  border: 1px solid var(--border);
}
.bk-metric b { display: block; font-size: 1rem; color: var(--accent-dark); font-family: var(--font-display); }
.bk-metric small { font-size: 0.58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Ordering + Kitchen ── */
.ok-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.65rem; }
.ok-col {
  background: white; border-radius: 12px; padding: 0.75rem;
  border: 1px solid var(--border); min-height: 300px;
}
.ok-col h6 {
  margin: 0 0 0.6rem; font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; color: var(--text-muted);
}
.ok-menu-item {
  display: flex; gap: 0.5rem; align-items: center; padding: 0.4rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.65rem;
}
.ok-menu-thumb {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #DDDBD4, #C8C5BD);
}
.ok-menu-thumb.a { background: linear-gradient(135deg, #C8C5BD, #9A9690); }
.ok-menu-thumb.b { background: linear-gradient(135deg, #B8C0CA, #6B8299); }
.ok-menu-thumb.c { background: linear-gradient(135deg, #A8B5A0, #6B8299); }
.ok-ticket {
  background: #F4F3EF; border-radius: 8px; padding: 0.5rem; margin-bottom: 0.4rem;
  border-left: 3px solid #6B8299; font-size: 0.62rem; line-height: 1.4;
  color: var(--text-muted);
}
.ok-ticket strong { color: var(--text); }
.ok-ticket.cook { background: #EBE9E4; border-left-color: #3D4349; }
.ok-ticket.done { background: white; border-left-color: #6B8299; }
.ok-cart-note {
  margin-top: 0.55rem; font-size: 0.62rem; background: white;
  padding: 0.45rem 0.55rem; border-radius: 8px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text);
}

/* ── Punch clock ── */
.pc-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0.75rem; }
.pc-clock-panel {
  background: white; border-radius: 14px; padding: 1.15rem; text-align: center;
  border: 1px solid var(--border);
}
.pc-label {
  font-size: 0.62rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pc-note {
  margin-top: 0.55rem; font-size: 0.58rem; color: var(--text-muted); font-weight: 600;
}
.pc-time {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--text); line-height: 1;
}
.pc-btn {
  display: inline-block; margin-top: 0.75rem; padding: 0.55rem 1.35rem;
  background: var(--text); color: white;
  border-radius: 999px; font-size: 0.68rem; font-weight: 700;
}
.pc-map {
  height: 52px; background: #E4EAEF; border-radius: 8px; margin-top: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 600; color: var(--accent-dark);
  position: relative;
}
.pc-map::after {
  content: ''; width: 10px; height: 10px; background: #6B8299;
  border-radius: 50%; border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(107,130,153,0.25);
}
.pc-staff-list { display: flex; flex-direction: column; gap: 0.4rem; }
.pc-staff {
  display: flex; align-items: center; gap: 0.55rem;
  background: white; border-radius: 10px; padding: 0.5rem 0.7rem;
  font-size: 0.65rem; border: 1px solid var(--border);
}
.pc-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.58rem; color: white;
  background: #6B8299;
}
.pc-avatar.b { background: #5A7088; }
.pc-avatar.c { background: #8E99A6; }
.pc-avatar.d { background: #3D4349; }
.pc-staff .info { flex: 1; text-align: left; }
.pc-staff .info strong { display: block; font-size: 0.68rem; color: var(--text); }
.pc-staff .hours { font-weight: 700; color: var(--accent-dark); }
.pc-staff .hours.off { color: var(--text-muted); font-weight: 500; }
.pc-badge {
  font-size: 0.52rem; font-weight: 700; padding: 0.2rem 0.45rem;
  border-radius: 999px; text-transform: uppercase;
}
.pc-badge.on { background: var(--accent-light); color: var(--accent-dark); }
.pc-badge.break { background: #F4F3EF; color: var(--text-muted); }

/* ── Schedule ── */
.sc-wrap { overflow-x: auto; }
.sc-grid {
  display: grid; grid-template-columns: 72px repeat(7, 1fr);
  gap: 4px; min-width: 100%; font-size: 0.6rem;
}
.sc-head {
  background: #3D4349; color: rgba(255,255,255,0.9); font-weight: 700;
  text-align: center; padding: 0.4rem 0.25rem; border-radius: 6px;
  font-size: 0.55rem;
}
.sc-name {
  background: white; padding: 0.4rem 0.5rem; font-weight: 600;
  border-radius: 6px; border: 1px solid var(--border);
  color: var(--text);
}
.sc-cell {
  border-radius: 6px; padding: 0.35rem 0.25rem; text-align: center;
  font-weight: 600; min-height: 38px; display: flex; flex-direction: column;
  justify-content: center; line-height: 1.2; border: 1px solid transparent;
}
.sc-cell.morning { background: #E4EAEF; color: var(--accent-dark); }
.sc-cell.evening { background: #DDDBD4; color: var(--text); }
.sc-cell.off { background: #F4F3EF; color: #9A9690; }
.sc-cell.double { background: #C8C5BD; color: var(--text); }
.sc-legend {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.65rem;
  font-size: 0.6rem; font-weight: 600; color: var(--text-muted);
  justify-content: center;
}
.sc-legend span { display: flex; align-items: center; gap: 0.35rem; }
.sc-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ── Inventory ── */
.inv-layout { display: grid; grid-template-rows: auto 1fr; gap: 0.65rem; }
.inv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.inv-kpi {
  background: white; border-radius: 10px; padding: 0.6rem; text-align: center;
  border: 1px solid var(--border);
}
.inv-kpi b { display: block; font-size: 1rem; color: var(--text); font-family: var(--font-display); }
.inv-kpi.warn b { color: #8B6914; }
.inv-kpi small { font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.inv-table-full {
  width: 100%; border-collapse: collapse; font-size: 0.62rem;
  background: white; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
}
.inv-table-full th {
  background: #3D4349; color: rgba(255,255,255,0.92); padding: 0.5rem 0.6rem;
  text-align: left; font-weight: 600; font-size: 0.58rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.inv-table-full td { padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.inv-table-full td:first-child { color: var(--text); font-weight: 600; }
.inv-table-full tr:last-child td { border-bottom: none; }
.inv-bar { height: 4px; background: #EBE9E4; border-radius: 2px; margin-top: 3px; }
.inv-bar span { display: block; height: 100%; border-radius: 2px; }
.inv-bar .low { background: #C4A574; width: 18%; }
.inv-bar .mid { background: #8E99A6; width: 45%; }
.inv-bar .ok { background: #6B8299; width: 78%; }

/* ── Checklists ── */
.cl-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.cl-panel {
  background: white; border-radius: 12px; padding: 0.75rem;
  border: 1px solid var(--border);
}
.cl-panel h6 {
  margin: 0 0 0.55rem; font-size: 0.65rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.cl-item {
  display: flex; align-items: flex-start; gap: 0.45rem; padding: 0.4rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.62rem; color: var(--text-muted);
}
.cl-check {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 800;
}
.cl-check.done { background: #6B8299; color: white; }
.cl-check.pending { background: #F4F3EF; color: #8B6914; border: 1px solid #DDDBD4; }
.cl-progress {
  height: 5px; background: #EBE9E4; border-radius: 3px; margin: 0.5rem 0 0.65rem;
  overflow: hidden;
}
.cl-progress span { display: block; height: 100%; background: #6B8299; border-radius: 3px; }
.cl-temp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.cl-temp-box {
  background: #F4F3EF; border-radius: 8px; padding: 0.45rem; text-align: center;
  border: 1px solid var(--border);
}
.cl-temp-box b { display: block; font-size: 0.9rem; color: var(--text); font-family: var(--font-display); }
.cl-temp-box small { font-size: 0.52rem; color: var(--text-muted); }

/* ── Integrations ── */
.int-hub { position: relative; min-height: 320px; }
.int-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; background: white; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  color: var(--text); box-shadow: var(--shadow);
  border: 1px solid var(--border); z-index: 2;
}
.int-node {
  position: absolute; background: white; border-radius: 12px;
  padding: 0.55rem 0.7rem; font-size: 0.6rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(45, 52, 57, 0.06);
  border: 1px solid var(--border); color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem; min-width: 96px;
}
.int-node strong { color: var(--text); display: block; font-size: 0.62rem; }
.int-node .ico { font-size: 0.95rem; opacity: 0.85; }
.int-node.n1 { top: 8%; left: 4%; }
.int-node.n2 { top: 4%; right: 6%; }
.int-node.n3 { bottom: 14%; left: 2%; }
.int-node.n4 { bottom: 10%; right: 4%; }
.int-node.n5 { top: 44%; left: 0; }
.int-node.n6 { top: 40%; right: 0; }
.int-status {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem;
  justify-content: center;
}
.int-pill {
  font-size: 0.58rem; font-weight: 600; padding: 0.25rem 0.55rem;
  border-radius: 999px; border: 1px solid var(--border);
  background: white; color: var(--text-muted);
}
.int-pill.live { border-color: rgba(107,130,153,0.4); color: var(--accent-dark); }
.int-pill.sync { background: var(--accent-light); border-color: transparent; }
.int-pill.soon { opacity: 0.75; }

@media (max-width: 960px) {
  .banner-body { min-height: 320px; padding: 1rem; }
  .bk-layout, .pc-layout, .cl-layout, .ok-flow { grid-template-columns: 1fr; }
  .inv-kpis { grid-template-columns: repeat(2, 1fr); }
  .sc-grid { font-size: 0.52rem; }
  .module-stats-row { gap: 1.25rem; }
}

@media (min-width: 961px) {
  .module-banner-stack {
    display: grid;
    gap: 2.5rem 3.5rem;
    align-items: center;
  }
  /* Text left · image right (1/3 · 2/3) */
  .module-banner--text-first .module-banner-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
  .module-banner--text-first .module-banner-copy { order: 1; }
  .module-banner--text-first .module-banner-visual { order: 2; }
  /* Image left · text right (2/3 · 1/3) */
  .module-banner--visual-first .module-banner-stack {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
  .module-banner--visual-first .module-banner-visual { order: 1; }
  .module-banner--visual-first .module-banner-copy { order: 2; }
  .module-banner-visual,
  .module-banner-copy { width: auto; }
  .module-banner-copy {
    max-width: none; margin: 0; text-align: left; padding: 0;
  }
  .module-stats-row { justify-content: flex-start; gap: 1.5rem 2rem; }
  .module-stat-mini { text-align: left; min-width: 0; }
}

/* ── Banner mock mounts (data-mock) — unified Integration screenshot size ── */
.module-banner-visual {
  --banner-shot-body-h: 480px;
  --banner-shot-mock-h: 440px;
  --banner-shot-panel-h: 420px;
  --banner-shot-frame-max: 390px;
}
.module-banner-visual [data-mock] { width: 100%; }
.module-banner-visual .banner-frame,
.module-banner-visual .feat-mock-frame {
  overflow: hidden;
}
.module-banner-visual .banner-body--dark,
.module-banner-visual .feat-mock-frame .banner-body--dark {
  min-height: var(--banner-shot-body-h);
  padding: 0.85rem;
}
.module-banner-visual .res-mock,
.module-banner-visual .res-mock--hero {
  min-height: var(--banner-shot-mock-h);
  height: 100%;
  width: 100%;
}
.module-banner-visual .res-mock--hero {
  display: grid;
  grid-template-columns: 100px 1fr;
}
.module-banner-visual .res-mock--hero .res-global-nav { display: block; }
.module-banner-visual .res-panel {
  min-height: var(--banner-shot-panel-h);
}
.module-banner-visual .res-workspace--live {
  min-height: 280px;
}

/* Property Hub portfolio */
.res-prop-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.55rem;
}
.res-prop-map { display: grid; gap: 0.4rem; }
.res-prop-site {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  border-left: 3px solid #6B8299;
}
.res-prop-site b { display: block; font-size: 0.62rem; color: #2D3439; margin-bottom: 0.1rem; }
.res-prop-site span { display: block; font-size: 0.52rem; color: #6B8299; font-weight: 600; }
.res-prop-site em { display: block; font-size: 0.48rem; color: #9A9690; margin-top: 0.2rem; font-style: normal; }
.res-prop-site.hot { border-left-color: #C4A574; background: #FDFBF7; }
.res-prop-site.warn { border-left-color: #E11D48; background: #FFF8F8; }
.res-prop-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.res-prop-kpis div {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem;
  text-align: center;
}
.res-prop-kpis b { display: block; font-size: 0.75rem; color: #2D3439; }
.res-prop-kpis small { font-size: 0.45rem; color: #9A9690; text-transform: uppercase; letter-spacing: 0.05em; }
.res-ticket-list { display: grid; gap: 0.3rem; }
.res-ticket {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-size: 0.52rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.res-ticket span { color: #6B8299; font-weight: 700; }
.res-ticket strong { color: #2D3439; font-weight: 600; }
.res-ticket.urgent { border-color: #E11D48; background: #FFF5F5; }

/* Housekeeping room board */
.res-hk-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 0.5rem;
}
.res-hk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}
.res-hk-room {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid #E8E6E1;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #2D3439;
  gap: 0.1rem;
  text-align: center;
  padding: 0.2rem;
}
.res-hk-room span { font-size: 0.48rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.res-hk-room em { font-size: 0.42rem; color: #9A9690; font-weight: 600; font-style: normal; }
.res-hk-room.dirty { border-color: #E11D48; background: #FFF1F2; color: #BE123C; }
.res-hk-room.cleaning { border-color: #D97706; background: #FFFBEB; color: #B45309; }
.res-hk-room.clean { border-color: #16A34A; background: #F0FDF4; color: #15803D; }
.res-hk-room.inspect { border-color: #6B8299; background: #EEF2F6; color: #3D5568; }
.res-hk-room.vip { border-color: #7C3AED; background: #F5F3FF; color: #6D28D9; }
.res-hk-room.dnd { border-color: #9A9690; background: #F4F3EF; color: #6B7280; opacity: 0.85; }
.res-hk-staff {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem;
}
.res-hk-staff h6 {
  margin: 0 0 0.4rem;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.res-hk-alert {
  margin-top: 0.45rem;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  font-size: 0.5rem;
  color: #5B21B6;
}
.res-hk-alert strong { display: block; margin-bottom: 0.1rem; }

/* Housekeeping extended mocks */
.hk-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.hk-kpi {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.35rem 0.4rem;
  text-align: center;
}
.hk-kpi b { display: block; font-size: 0.78rem; color: #2D3439; font-family: var(--font-display, Georgia, serif); }
.hk-kpi small { font-size: 0.42rem; color: #9A9690; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.hk-kpi.warn b { color: #B45309; }
.hk-kpi.ok b { color: #15803D; }
.hk-board-layout,
.hk-assign-layout,
.hk-quality-layout {
  display: grid;
  gap: 0.5rem;
}
.hk-board-layout { grid-template-columns: 1.2fr 0.8fr; }
.hk-assign-layout { grid-template-columns: 0.85fr 1.15fr; }
.hk-quality-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.hk-floor-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.58rem;
  font-weight: 800;
  color: #2D3439;
  margin-bottom: 0.35rem;
}
.hk-floor-label span { font-size: 0.48rem; color: #6B8299; font-weight: 600; }
.hk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.48rem;
  font-weight: 700;
  color: #9A9690;
}
.hk-legend i.lg {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 3px;
  vertical-align: middle;
}
.hk-legend .dirty { background: #FECDD3; border: 1px solid #E11D48; }
.hk-legend .cleaning { background: #FEF3C7; border: 1px solid #D97706; }
.hk-legend .clean { background: #DCFCE7; border: 1px solid #16A34A; }
.hk-legend .vip { background: #EDE9FE; border: 1px solid #7C3AED; }
.hk-legend .inspect { background: #EEF2F6; border: 1px solid #6B8299; }
.hk-board-side h6,
.hk-priority-col h6,
.hk-staff-col h6,
.hk-quality-side h6,
.hk-inspect-main h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.hk-feed-item {
  background: white;
  border: 1px solid #E8E6E1;
  border-left: 3px solid #6B8299;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}
.hk-feed-item.urgent { border-left-color: #7C3AED; background: #F5F3FF; }
.hk-feed-item.warn { border-left-color: #D97706; background: #FFFBEB; }
.hk-feed-item b { display: block; color: #2D3439; font-size: 0.55rem; margin-bottom: 0.08rem; }
.hk-feed-item span { color: #6B8299; font-weight: 600; font-size: 0.48rem; line-height: 1.35; }
.hk-priority-card {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  margin-bottom: 0.3rem;
}
.hk-priority-card.crit { border-left: 3px solid #E11D48; background: #FFF8F8; }
.hk-pri-num {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #EEF2F6;
  color: #3D5568;
  font-size: 0.48rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hk-priority-card b { display: block; font-size: 0.55rem; color: #2D3439; }
.hk-priority-card > div span { font-size: 0.48rem; color: #6B8299; font-weight: 600; }
.hk-priority-card .inv-tag { margin-left: auto; flex-shrink: 0; }
.hk-staff-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.hk-staff-col-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  min-height: 140px;
}
.hk-staff-col-card.unassigned { background: #FAFAF8; border-style: dashed; }
.hk-staff-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #F0EFEB;
}
.hk-staff-head .av,
.hk-staff-head > span:first-child {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #6B8299;
  color: white;
  font-size: 0.48rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hk-staff-head b { display: block; font-size: 0.55rem; color: #2D3439; }
.hk-staff-head span { font-size: 0.45rem; color: #9A9690; font-weight: 600; }
.hk-room-chip {
  display: inline-block;
  font-size: 0.48rem;
  font-weight: 800;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: #EEF2F6;
  color: #3D5568;
  margin: 0 0.2rem 0.25rem 0;
  border: 1px solid #D5DEE8;
}
.hk-room-chip em { font-style: normal; font-weight: 600; color: #9A9690; font-size: 0.42rem; }
.hk-room-chip.cleaning { background: #FFFBEB; border-color: #FCD34D; color: #B45309; }
.hk-room-chip.dirty { background: #FFF1F2; border-color: #FECDD3; color: #BE123C; }
.hk-room-chip.vip { background: #F5F3FF; border-color: #DDD6FE; color: #6D28D9; }
.hk-room-chip.warn { background: #FEF3C7; border-color: #FCD34D; }
.hk-photo-row { display: flex; gap: 0.35rem; margin-bottom: 0.45rem; }
.hk-photo {
  flex: 1;
  background: #EEF2F6;
  border: 1px solid #D5DEE8;
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  text-align: center;
  font-size: 0.55rem;
}
.hk-photo.warn { background: #FFFBEB; border-color: #FCD34D; }
.hk-photo small { display: block; font-size: 0.42rem; color: #9A9690; font-weight: 700; margin-top: 0.15rem; }
.hk-score-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid #F0EFEB;
  color: #6B8299;
  font-weight: 600;
}
.hk-score-row strong { color: #2D3439; }
.feat-vis-shot .hk-board-layout,
.feat-vis-shot .hk-assign-layout,
.feat-vis-shot .hk-quality-layout { min-height: 280px; }
.res-roster-row .st.on { color: #16A34A; font-weight: 700; }

/* Cleaning route timeline */
.res-route-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.5rem;
}
.res-route-timeline { display: grid; gap: 0.35rem; }
.res-route-stop {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
}
.res-route-stop i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.res-route-stop.done i { background: #16A34A; }
.res-route-stop.active { border-color: #6B8299; box-shadow: 0 0 0 2px rgba(107,130,153,0.2); }
.res-route-stop.active i { background: #6B8299; animation: res-pulse 1.5s infinite; }
.res-route-stop b { display: block; font-size: 0.58rem; color: #2D3439; }
.res-route-stop span { font-size: 0.5rem; color: #6B8299; font-weight: 600; }
.res-route-stop .inv-tag { margin-left: auto; flex-shrink: 0; align-self: flex-start; font-size: 0.42rem; }
.res-route-team {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem;
}
.res-route-team h6 {
  margin: 0 0 0.4rem;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.res-route-meter {
  height: 6px;
  background: #E8E6E1;
  border-radius: 999px;
  margin: 0.5rem 0 0.25rem;
  overflow: hidden;
}
.res-route-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6B8299, #C4A574);
  border-radius: 999px;
}
.res-route-team small { font-size: 0.48rem; color: #9A9690; }

/* Cleaning / field ops extended mocks */
.cln-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.cln-route-layout,
.cln-check-layout,
.cln-staff-layout {
  display: grid;
  gap: 0.5rem;
}
.cln-route-layout { grid-template-columns: 1.25fr 0.75fr; }
.cln-check-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.cln-staff-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.cln-route-side h6,
.cln-check-side h6,
.cln-staff-side h6 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.cln-route-side h6:first-child,
.cln-check-side h6:first-child,
.cln-staff-side h6:first-child { margin-top: 0; }
.cln-route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.cln-route-tabs span {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #F4F3EF;
  color: #6B8299;
  border: 1px solid #E8E6E1;
}
.cln-route-tabs span.active {
  background: #EEF2F6;
  color: #3D5568;
  border-color: #6B8299;
}
.cln-map-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.4rem 0.45rem;
  background: #EEF2F6;
  border: 1px dashed #B8C5D4;
  border-radius: 8px;
  font-size: 0.48rem;
  color: #6B8299;
  font-weight: 600;
}
.cln-map-hint span { font-size: 0.7rem; }
.cln-site-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.cln-site-head b { display: block; font-size: 0.62rem; color: #2D3439; }
.cln-site-head span { font-size: 0.48rem; color: #6B8299; font-weight: 600; }
.cln-staff-table {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.cln-staff-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.55fr 0.5fr;
  gap: 0.25rem;
  align-items: center;
  padding: 0.35rem 0.45rem;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
  border-bottom: 1px solid #F0EFEB;
}
.cln-staff-row:last-child { border-bottom: none; }
.cln-staff-row.head {
  background: #FAFAF8;
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9A9690;
  font-weight: 800;
}
.cln-staff-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #2D3439;
  font-weight: 700;
}
.cln-staff-row .av {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #6B8299;
  color: white;
  font-size: 0.42rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex-shrink: 0;
}
.cln-staff-row .st.on { color: #16A34A; font-weight: 800; }
.cln-staff-row strong { color: #2D3439; font-size: 0.52rem; }
.cln-punch-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.cln-punch-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  font-size: 0.48rem;
}
.cln-punch-card b { display: block; color: #2D3439; font-size: 0.55rem; margin-bottom: 0.1rem; }
.cln-punch-card span { color: #6B8299; font-weight: 600; line-height: 1.35; }
.feat-vis-shot .cln-route-layout,
.feat-vis-shot .cln-check-layout,
.feat-vis-shot .cln-staff-layout { min-height: 280px; }
@keyframes res-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Moving jobs board */
.res-move-board { display: grid; gap: 0.45rem; }
.res-move-job {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
}
.res-move-job.active { border-color: #6B8299; box-shadow: inset 0 0 0 1px rgba(107,130,153,0.25); }
.res-move-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.res-move-head strong { font-size: 0.62rem; color: #2D3439; }
.res-move-job p { margin: 0 0 0.35rem; font-size: 0.52rem; color: #6B8299; font-weight: 600; }
.res-move-progress {
  height: 6px;
  background: #E8E6E1;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.res-move-progress span {
  display: block;
  height: 100%;
  background: #6B8299;
  border-radius: 999px;
}
.res-move-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.48rem;
  color: #9A9690;
  font-weight: 600;
}
.res-move-trucks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.res-truck {
  background: #F4F3EF;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem;
  text-align: center;
}
.res-truck.on { background: #EEF2F6; border-color: #6B8299; }
.res-truck b { display: block; font-size: 0.55rem; color: #2D3439; }
.res-truck span { font-size: 0.48rem; color: #6B8299; font-weight: 600; }

/* Moving extended mocks */
.mov-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.mov-jobs-layout,
.mov-inv-layout,
.mov-crew-layout {
  display: grid;
  gap: 0.5rem;
}
.mov-jobs-layout { grid-template-columns: 1.2fr 0.8fr; }
.mov-inv-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.mov-crew-layout { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
.mov-jobs-side h6,
.mov-inv-side h6,
.mov-crew-side h6 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.mov-jobs-side h6:first-child,
.mov-inv-side h6:first-child,
.mov-crew-side h6:first-child { margin-top: 0; }
.mov-phase-strip {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.mov-phase-strip span {
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: #F4F3EF;
  color: #9A9690;
  border: 1px solid #E8E6E1;
}
.mov-phase-strip span.done { background: #DCFCE7; color: #15803D; border-color: #BBF7D0; }
.mov-phase-strip span.active { background: #EEF2F6; color: #3D5568; border-color: #6B8299; }
.mov-inv-table { font-size: 0.48rem; }
.mov-inv-table .inv-tag { font-size: 0.38rem; padding: 0.1rem 0.25rem; }
.mov-row-warn { background: #FFFBEB; }
.mov-sch-grid { font-size: 0.48rem; }
.mov-sch-grid .c.on { background: #EEF2F6; border-color: #6B8299; font-weight: 800; color: #3D5568; }
.mov-sch-grid .c.warn { background: #FEF3C7; border-color: #FCD34D; color: #B45309; }
.hk-feed-item.ok { border-left-color: #16A34A; background: #F0FDF4; }
.feat-vis-shot .mov-jobs-layout,
.feat-vis-shot .mov-inv-layout,
.feat-vis-shot .mov-crew-layout { min-height: 280px; }

/* Live checklist feed */
.res-check-live {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.5rem;
}
.res-check-feed { display: grid; gap: 0.3rem; }
.res-check-event {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.4rem;
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  font-size: 0.52rem;
}
.res-check-event > span { color: #9A9690; font-weight: 700; font-size: 0.48rem; }
.res-check-event b { display: block; color: #2D3439; font-size: 0.55rem; margin-bottom: 0.1rem; }
.res-check-event.ok { border-left: 3px solid #16A34A; }
.res-check-event.warn { border-left: 3px solid #D97706; }
.res-check-due h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}

/* Digital SOP / checklists extended mocks */
.sop-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.sop-hub-layout,
.sop-mobile-layout,
.sop-audit-layout {
  display: grid;
  gap: 0.5rem;
}
.sop-hub-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.sop-mobile-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.sop-audit-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.sop-lib-col h6,
.sop-live-col h6,
.sop-mobile-side h6,
.sop-audit-side h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
}
.sop-live-col h6:not(:first-child),
.sop-mobile-side h6:not(:first-child),
.sop-audit-side h6:not(:first-child) { margin-top: 0.5rem; }
.sop-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.sop-tpl-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  font-size: 0.48rem;
}
.sop-tpl-card.warn { border-left: 3px solid #D97706; background: #FFFBEB; }
.sop-tpl-card b { display: block; font-size: 0.52rem; color: #2D3439; margin-bottom: 0.12rem; }
.sop-tpl-card span { display: block; color: #6B8299; font-weight: 600; line-height: 1.35; margin-bottom: 0.15rem; }
.sop-tpl-card em { font-size: 0.42rem; color: #9A9690; font-style: normal; font-weight: 700; }
.sop-audit-table {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  overflow: hidden;
}
.sop-audit-row {
  display: grid;
  grid-template-columns: 1.1rem 1.4fr 0.7fr 0.45fr 0.75fr;
  gap: 0.25rem;
  align-items: center;
  padding: 0.35rem 0.45rem;
  font-size: 0.48rem;
  color: #6B8299;
  font-weight: 600;
  border-bottom: 1px solid #F0EFEB;
}
.sop-audit-row:last-child { border-bottom: none; }
.sop-audit-row.head {
  background: #FAFAF8;
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9A9690;
  font-weight: 800;
}
.sop-audit-row strong { color: #2D3439; font-size: 0.5rem; }
.sop-audit-row.warn { background: #FFFBEB; }
.sop-audit-row.crit { background: #FFF1F2; }
.res-check-event.crit { border-left: 3px solid #E11D48; }
.feat-vis-shot .sop-hub-layout,
.feat-vis-shot .sop-mobile-layout,
.feat-vis-shot .sop-audit-layout { min-height: 280px; }

/* Property maintenance work orders */
.res-wo-board {
  display: grid;
  grid-template-columns: 1fr 1fr 0.75fr;
  gap: 0.5rem;
}
.res-wo-col h6 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9A9690;
  font-weight: 800;
}
.res-wo-card {
  background: white;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.35rem;
  border-left: 3px solid #6B8299;
}
.res-wo-card.urgent { border-left-color: #E11D48; background: #FFF8F8; }
.res-wo-card.done { border-left-color: #16A34A; opacity: 0.85; }
.res-wo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.res-wo-head strong { font-size: 0.58rem; color: #2D3439; }
.res-wo-card p {
  margin: 0 0 0.3rem;
  font-size: 0.5rem;
  color: #6B8299;
  font-weight: 600;
  line-height: 1.35;
}
.res-wo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.48rem;
  color: #9A9690;
  font-weight: 600;
}
.res-wo-side .res-prop-kpis { margin-bottom: 0.45rem; }
.res-wo-card .pill {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  color: #BE123C;
  font-size: 0.45rem;
  font-weight: 800;
  text-transform: uppercase;
}
.res-wo-card .pill.paid {
  background: rgba(107, 130, 153, 0.15);
  color: #3D5568;
}
.feat-vis-shot .res-wo-board,
.module-banner-visual .res-wo-board { min-height: 240px; }

@media (max-width: 700px) {
  .res-prop-split,
  .res-hk-layout,
  .hk-board-layout,
  .hk-assign-layout,
  .hk-quality-layout,
  .hk-kpi-strip,
  .hk-staff-board,
  .cln-kpi-strip,
  .cln-route-layout,
  .cln-check-layout,
  .cln-staff-layout,
  .cln-punch-strip,
  .mov-kpi-strip,
  .mov-jobs-layout,
  .mov-inv-layout,
  .mov-crew-layout,
  .sop-kpi-strip,
  .sop-hub-layout,
  .sop-mobile-layout,
  .sop-audit-layout,
  .sop-template-grid,
  .comp-kpi-strip,
  .comp-open-layout,
  .comp-haccp-layout,
  .comp-audit-layout,
  .comp-temps-4,
  .int-kpi-strip,
  .int-hub-layout,
  .int-stripe-layout,
  .int-webhook-layout,
  .int-hub-grid,
  .int-stripe-kpis { grid-template-columns: 1fr; }
  .res-route-board,
  .res-check-live,
  .res-wo-board { grid-template-columns: 1fr; }
  .res-hk-grid { grid-template-columns: repeat(3, 1fr); }
}
