:root {
  --ink: #17343b;
  --bg: #f3f9fa;
  --panel: #ffffff;
  --gold: #f1a23a;
  --gold-deep: #d77c1f;
  --green: #155c65;
  --green-soft: #167c87;
  --brand-blue: #138b98;
  --brand-turquoise: #28b9c9;
  --wine: #5d1221;
  --muted: #687a80;
  --line: rgba(18, 18, 18, 0.08);
  --shadow: 0 22px 55px rgba(24, 15, 12, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
strong { font-weight: 800; }

h1, h2, h3, .brand { font-family: "Montserrat", sans-serif; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 max((100% - 1200px) / 2, 5%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #f5d69b);
  color: #20140d;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3);
}

.brand-accent { color: var(--brand-blue); }
.brand-clean { color: #e99535; }
.sidebar-brand .brand-accent { color: #57c7d1; }
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 7px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.main-nav a:hover { color: var(--brand-blue); }

.nav-book {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--ink);
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow.light { color: #f2d5a2; }

.section-wrap {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 26px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker span { color: var(--gold-deep); margin-right: 8px; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 700px;
  overflow: hidden;
  background: #100b09;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05) brightness(0.9);
  transform: scale(1.06);
  animation: hero-background-zoom 10s ease-in-out infinite alternate;
}

@keyframes hero-background-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.16); }
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 17, 26, 0.68), rgba(9, 17, 26, 0.54) 55%, rgba(9, 17, 26, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 90%);
  margin: 0 auto;
  color: #fff;
}

.hero h1 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 strong { display: block; }

.hero-copy {
  max-width: 540px;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(39, 24, 15, 0.18);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold), #f0d188);
  color: #1d120d;
}

.button-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-points div {
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.hero-points strong {
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-points span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.hero-badges {
  position: absolute;
  right: max((100% - 1180px) / 2, 5%);
  bottom: 28px;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-section {
  padding: 96px 0 60px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-copy p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mini-stats div {
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(21, 16, 12, 0.04);
}

.mini-stats strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--green);
}

.mini-stats span {
  color: var(--muted);
  font-size: 12px;
}

.category-section,
.brands-section,
.entertainment-section {
  padding: 40px 0 70px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(185, 130, 45, 0.7);
  padding-bottom: 4px;
  color: var(--ink);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.shop-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(17, 12, 9, 0.06);
}

.shop-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.shop-card-body {
  padding: 22px 20px 24px;
}

.shop-card-body span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.shop-card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.shop-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(17, 12, 9, 0.05);
}

.product-thumb {
  position: relative;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

.see-more {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  border: 0;
  background: rgba(17, 12, 9, 0.66);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.product-info {
  padding: 18px 18px 20px;
}

.product-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8eddd;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
}

.product-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.product-info p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.entertainment-section {
  background: linear-gradient(180deg, #f2ede7, #ffffff 30%);
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.scroll-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.event-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.event-slider::-webkit-scrollbar { height: 8px; }
.event-slider::-webkit-scrollbar-thumb { background: rgba(24, 15, 12, 0.14); border-radius: 999px; }

.event-card {
  scroll-snap-align: start;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(17, 12, 9, 0.04);
}

.event-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.event-card-body {
  padding: 20px 18px 22px;
}

.event-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f9e9d2;
  color: var(--gold-deep);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.event-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}

.site-footer {
  background: #170d09;
  color: #fff;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand {
  color: #fff;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
}

.footer-grid .eyebrow { margin-bottom: 10px; }

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.64);
  font-size: 12px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-modal.hidden { display: none; }

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 9, 7, 0.6);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  width: min(940px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.close-modal {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #f2ede7;
  font-size: 28px;
  cursor: pointer;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-gallery > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.modal-thumbs img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.modal-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.modal-copy p {
  color: var(--muted);
  margin: 0 0 18px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list strong { color: var(--green); }

.modal-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-cta-row span {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.booking-page {
  padding: 40px 0 90px;
}

.booking-shell {
  width: min(1060px, 92%);
  margin: 0 auto;
}

.page-heading {
  margin: 0 0 28px;
}

.page-heading h1 {
  margin: 0 0 6px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.panel, .summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 16px 30px rgba(17, 12, 9, 0.04);
}

.order-panel h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field[hidden] { display: none !important; }

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

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(22, 20, 18, 0.14);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: rgba(181, 128, 44, 0.78);
  box-shadow: 0 0 0 3px rgba(181, 128, 44, 0.12);
}

.delivery-note {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(181, 128, 44, 0.22);
  border-radius: 12px;
  background: #fff9ee;
  color: var(--ink);
  font-size: 14px;
}

.summary-card { position: sticky; top: 100px; }

.summary-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.summary-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.summary-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.summary-box span { color: var(--muted); }

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.form-message.success {
  display: block;
  background: #eaf8ee;
  color: #174b2f;
}

.form-message.error {
  display: block;
  background: #fdecec;
  color: #7a1d1d;
}

.form-message.is-loading {
  display: block;
  background: #edf4ff;
  color: #173d70;
}

.admin-body {
  background: #f4efe9;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  padding: 28px 18px;
  background: #1b130d;
  color: #fff;
}

.sidebar-brand {
  margin-bottom: 26px;
}

.admin-side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-side-nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.admin-side-nav a.is-active,
.admin-side-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.admin-main {
  padding: 30px;
}

.login-panel {
  min-height: calc(100vh - 60px);
  display: grid;
  place-items: center;
}

.login-box {
  width: min(540px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.login-box h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.login-box p {
  color: var(--muted);
  margin: 0 0 20px;
}

.dashboard-panel {
  display: block;
}

.hidden { display: none !important; }

.admin-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0 26px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.topbar-user-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.user-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f0d188);
  color: #1c120d;
  font-weight: 800;
}

.user-badge.large {
  width: 54px;
  height: 54px;
  font-size: 18px;
}

.topbar-user-wrap strong,
.profile-card strong {
  display: block;
  font-size: 16px;
}

.topbar-user-wrap small,
.profile-card span {
  color: var(--muted);
  font-size: 12px;
}

.topbar-time {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: right;
}

.topbar-time span { font-size: 12px; color: var(--muted); }

.topbar-time strong { font-size: 18px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 12px 24px rgba(17, 12, 9, 0.02);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-card small {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h3 {
  margin: 0;
  font-size: 22px;
}

.mini-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.ok {
  background: #e6f6eb;
  color: #14542f;
}

.status-pill.pending {
  background: #fff4d9;
  color: #8a6112;
}

.status-pill.warn {
  background: #ffe5d8;
  color: #92451d;
}
.status-pill.rejected { background: #fde7e8; color: #a72c32; }
.online-orders-table .status-pill { letter-spacing: .03em; }
.online-orders-table .online-order-update-button { display: inline-flex; flex: 0 0 auto; width: auto; min-width: 58px; height: 30px; padding: 0 9px; font-size: 10px; font-weight: 700; }
.online-orders-table .online-order-delivery-state { display: block; margin-top: 4px; color: #748092; font-size: 9px; font-weight: 550; }
.online-orders-table .status-pill small { display: block; margin-left: 5px; font-size: 8px; font-weight: 600; letter-spacing: 0; }

.report-list, .inventory-list, .expense-list, .user-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.report-list li,
.inventory-list li,
.expense-list li,
.user-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.report-list strong,
.inventory-list strong,
.expense-list strong,
.user-list strong {
  color: var(--ink);
}

.sales-form {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf7f4;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.sales-form .field {
  margin: 0;
}

.table-link {
  background: transparent;
  border: 0;
  color: var(--green);
  cursor: pointer;
  font-weight: 700;
}

.pos-sales-panel { overflow: hidden; }
.pos-toolbar, .sales-table-footer, .sales-table-footer > div { display: flex; align-items: center; gap: 8px; }
.pos-toolbar { flex-wrap: wrap; justify-content: flex-end; }
.panel-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 400; }
.sales-records-table { min-width: 880px; }
.sales-records-table th, .sales-records-table td { white-space: nowrap; }
.online-orders-table { min-width: 880px; }
.online-orders-table th, .online-orders-table td { white-space: nowrap; }
.online-orders-table td.order-items-cell { white-space: nowrap; }
.online-orders-panel { min-width: 0; overflow: hidden; }
.online-orders-panel .table-scroll { display: block; width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #9aa7b6 #edf1f5; }
.online-orders-panel .table-scroll::-webkit-scrollbar { height: 9px; }
.online-orders-panel .table-scroll::-webkit-scrollbar-track { background: #edf1f5; border-radius: 9px; }
.online-orders-panel .table-scroll::-webkit-scrollbar-thumb { background: #9aa7b6; border: 2px solid #edf1f5; border-radius: 9px; }
.online-order-view { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--green); background: #fff; cursor: pointer; font-weight: 650; }
.online-order-update-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.online-order-update-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.online-order-update-grid .field { margin: 0; }
.order-detail-card { width: min(100%, 720px); }
.sales-item-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sales-item-cell strong { overflow: hidden; max-width: 190px; text-overflow: ellipsis; }
.sales-item-initials { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #e9fbf3; color: #087d57; font-size: 12px; font-weight: 750; }
.sales-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 20px 0; }
.sales-summary-card { display: grid; gap: 7px; min-width: 0; min-height: 122px; padding: 17px 19px; border: 1px solid #e1e8ef; border-left: 4px solid #20a45b; border-radius: 15px; background: #fff; }
.sales-summary-card > span { color: #536174; font-size: 13px; }
.sales-summary-card > strong { color: #182537; font-size: 27px; line-height: 1.1; }
.sales-summary-card > small { overflow: hidden; color: #728094; font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.sales-summary-card > small b { color: #c0731b; }
.sales-summary-blue { border-left-color: var(--brand-blue); }
.sales-summary-orange { border-left-color: #ef982f; }
.sales-filter-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin: 10px 0 16px; }
.sales-filter-row label { display: flex; align-items: center; gap: 8px; color: #657287; font-size: 11px; }
.sales-filter-row select { min-height: 36px; padding: 0 30px 0 10px; border: 1px solid #dfe6ed; border-radius: 9px; background: #fff; color: #27364a; font: inherit; }
.sales-table-footer { justify-content: space-between; padding-top: 14px; color: var(--muted); font-size: 12px; }
.sales-table-footer .mini-btn { border-radius: 9px; }
.sales-actions { display: flex; align-items: center; gap: 5px; }
.sales-action-button { display: inline-grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #cbd8e2; border-radius: 9px; color: #536477; background: #f7faf8; box-shadow: 0 1px 2px rgba(20,35,50,.08); cursor: pointer; }
.sales-action-button:hover { border-color: #9fcab0; color: var(--green); }
.sales-action-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.product-manager { margin-top: 16px; }
.product-form { padding: 14px 0; }
.product-field-row { grid-template-columns: minmax(180px, 1fr) minmax(140px, .5fr) auto; align-items: end; }
.product-field-row .button { min-height: 42px; }
.sales-dialog { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 22px; background: rgba(14, 25, 37, .66); }
.sales-dialog.hidden { display: none; }
.sales-dialog-card { width: min(100%, 690px); max-height: min(92vh, 900px); overflow-y: auto; padding: 26px; border: 1px solid #e2e8ef; border-radius: 16px; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, .24); }
.sales-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.sales-dialog-heading h2 { margin: 0; font-size: 21px; }
.sales-dialog-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--muted); background: #f1f4f7; font-size: 24px; cursor: pointer; }
.sales-form { margin: 0; padding: 0; border: 0; background: transparent; }
.sales-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.sales-form-grid .field { min-width: 0; margin: 0; }
.sale-cart-field { grid-column: 1 / -1; }
.sale-product-image-field { grid-column: 1 / -1; }
.sale-product-image { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); background: #f8fafb; font-size: 12px; }
.sale-product-image img { display: block; max-width: 100%; max-height: 180px; object-fit: contain; border-radius: 8px; }
.sale-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sale-cart-heading label { margin: 0; }
.sale-detail-images { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.sale-detail-images img { width: 96px; height: 96px; object-fit: contain; padding: 5px; border: 1px solid var(--line); border-radius: 10px; }
.sale-cart-list { display: grid; gap: 7px; }
.sale-cart-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.sale-cart-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sale-cart-row small { color: var(--muted); white-space: nowrap; }
.sale-cart-remove { border: 0; background: transparent; color: #b42318; cursor: pointer; font-size: 18px; line-height: 1; }
.sale-price-display { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: #26374a; background: #f8fafb; font-weight: 650; }
.field-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.sale-grand-total { color: var(--green); font-size: 17px; }
.sales-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.sales-form-actions .button { min-height: 40px; }
.sale-detail-card { width: min(100%, 560px); }
.sale-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sale-detail-grid div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sale-detail-grid dt { color: var(--muted); font-size: 11px; }
.sale-detail-grid dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
body[data-theme="night"] .sales-dialog-card, body[data-theme="night"] .sales-action-button { background: #23332a; color: #eef4ef; border-color: #3b5144; }
body[data-theme="night"] .online-order-view { background: #23332a; color: #eef4ef; border-color: #3b5144; }
body[data-theme="night"] .sale-price-display { background: #1b2921; border-color: #3b5144; color: #eef4ef; }
body[data-theme="night"] .sale-cart-row { background: #1b2921; border-color: #3b5144; }
body[data-theme="night"] .sales-summary-card { border-color: #3b5144; background: #23332a; }
body[data-theme="night"] .sales-summary-card > strong { color: #eef4ef; }
body[data-theme="night"] .sales-filter-row select { border-color: #3b5144; background: #23332a; color: #eef4ef; }

.order-stack {
  display: grid;
  gap: 12px;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf8f5;
}

.order-item strong {
  display: block;
  margin-bottom: 4px;
}

.order-item small {
  color: var(--muted);
}

.panel-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.recent-orders-list { display: grid; gap: 10px; }
.recent-order-item { justify-content: flex-start; background: #fff; }
.recent-order-ice { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; color: #2786c8; background: #eaf6ff; font-size: 21px; }
.recent-order-details { display: grid; flex: 1; gap: 3px; min-width: 0; }
.recent-order-details strong { margin: 0; }
.recent-order-location { color: var(--green) !important; }
.recent-order-location > span:first-child { font-size: 16px; }
.recent-order-quantity { color: var(--muted); }
.recent-order-time { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) {
  .recent-order-item { align-items: flex-start; }
  .recent-order-time { padding-top: 3px; }
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.profile-metrics {
  display: grid;
  gap: 10px;
}

.profile-metrics p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.profile-metrics strong {
  color: var(--ink);
}

/* Staff portal layout */
.admin-body {
  background: #f4f7fa;
}

.admin-shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 14px 16px;
  overflow: hidden;
  background: #12a34a;
  color: #fff;
}

.sidebar-brand {
  flex: 0 0 auto;
  padding: 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.admin-side-nav {
  flex: 1 1 auto;
  min-height: 0;
  gap: 4px;
  margin-top: 14px;
  margin-bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.45) transparent;
}

.admin-side-nav button,
.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,.94);
  text-align: left;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.admin-side-nav button:hover,
.admin-side-nav button.is-active {
  background: #fff;
  color: #16833e;
}

.nav-group { width: 100%; }
.nav-group-toggle { font-weight: inherit !important; font-size: inherit !important; }
.nav-chevron { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); transition: transform .16s ease; }
.nav-group.is-open .nav-chevron { transform: rotate(0deg); }
.nav-submenu { display: grid; gap: 2px; margin: 2px 0 7px 12px; padding-left: 9px; border-left: 1px solid rgba(255,255,255,.35); }
.nav-submenu[hidden] { display: none; }
.admin-side-nav .nav-submenu button { min-height: 35px; padding: 7px 10px; font-size: 15px; }
.sidebar-footer { flex: 0 0 auto; display: grid; gap: 4px; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.35); }
.sidebar-bottom-link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin: 0; padding: 9px 12px; border: 0; border-radius: 6px; background: transparent; color: rgba(255,255,255,.94); text-align: left; font: inherit; font-size: 15px; cursor: pointer; }
.sidebar-bottom-link:hover, .sidebar-bottom-link.is-active { background: #fff; color: #16833e; }
.sidebar-bottom-link svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-logout { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 9px 12px; border-left: 2px solid #e5bd44; }
.sidebar-logout svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-settings { display: grid; gap: 12px; max-width: 460px; margin: 24px 0; padding: 18px; border: 1px solid #e2e9e4; border-radius: 12px; background: #f8faf8; }
.profile-settings h3 { margin: 0; color: #26392e; font-size: 15px; }
.profile-settings .settings-field, .profile-settings .theme-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #526259; font-size: 13px; }
.profile-settings select { min-width: 140px; min-height: 36px; padding: 6px 9px; border: 1px solid #dce4df; border-radius: 7px; background: #fff; color: #26392e; }
.profile-settings input { accent-color: #16833e; }
.contact-channel-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.contact-channel-filter button { padding: 8px 13px; border: 1px solid #dce6df; border-radius: 999px; background: #fff; color: #5d6a62; font: inherit; font-size: 12px; cursor: pointer; }
.contact-channel-filter button:hover, .contact-channel-filter button.is-active { border-color: #16833e; background: #eaf6ed; color: #16833e; }
.contact-filters { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 14px 0 8px; }
.contact-channel-filter { margin: 0; }
.contact-read-filter { display: grid; gap: 5px; min-width: 150px; color: #5d6a62; font-size: 12px; font-weight: 600; }
.contact-read-filter select, .contact-status-select { min-height: 36px; padding: 6px 9px; border: 1px solid #dce6df; border-radius: 7px; background: #fff; color: #36483d; font: inherit; font-size: 12px; }
.contact-record-table { min-width: 1180px; }
.contact-record-table td, .contact-record-table th { white-space: nowrap; }
.contact-record-table .contact-message-cell { min-width: 300px; max-width: 480px; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.5; }
.contact-record-table .contact-unread-row { background: #f5fbf6; }
.contact-record-table .contact-unread-row td:first-child { border-left: 3px solid #21a45d; }
.contact-channel-tag, .contact-read-status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.contact-channel-tag { background: #eef3f8; color: #506175; }
.contact-read-status { margin-right: 7px; }
.contact-read-status.is-unread { background: #fff2d9; color: #8b6419; }
.contact-read-status.is-read { background: #e8f5ec; color: #28744a; }
.contact-table-actions a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; border: 1px solid #dce6df; border-radius: 7px; color: #16833e; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-table-actions a:hover { background: #eaf6ed; }
.contact-demo-row { background: #fbfcfd; color: #69766e; }
.contact-demo-row small { display: block; color: #87948c; font-size: 9px; letter-spacing: .08em; }
.users-table { min-width: 850px; }
.user-activation-status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #8b6b29; font-size: 12px; font-weight: 600; }
.user-activation-status i { width: 8px; height: 8px; border-radius: 50%; background: #e9b64a; box-shadow: 0 0 0 3px rgba(233,182,74,.14); }
.user-activation-status.is-active { color: #247247; }
.user-activation-status.is-active i { background: #2aa45e; box-shadow: 0 0 0 3px rgba(42,164,94,.14); }
.expense-recurring-field { align-self: end; }
.expense-recurring-field label { display: flex; align-items: center; gap: 8px; }
.expense-recurring-field input { width: auto; }
.expense-recurring-field small { color: var(--muted, #748078); font-size: 11px; }
.expense-report-filter { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 14px 0; color: #5f6b64; font-size: 13px; font-weight: 600; }
.expense-report-filter input { width: 170px; min-height: 40px; padding: 8px 10px; border: 1px solid #dce4df; border-radius: 8px; background: #fff; color: #23352b; font: inherit; }
.expense-report-filter select { min-width: 150px; min-height: 40px; padding: 8px 10px; border: 1px solid #dce4df; border-radius: 8px; background: #fff; color: #23352b; font: inherit; }
.expense-summary-grid .inventory-summary-card { min-height: 112px; }
.expense-record-table { min-width: 940px; }
.expense-record-table td:last-child, .expense-record-table th:last-child { text-align: center; }
.expense-submit-message { margin: 12px 0; }
.stock-toolbar { display: flex; align-items: center; gap: 8px; }
.stock-balance-table { min-width: 920px; }
.stock-estimated-total { align-self: center; color: #167a43; font-size: 14px; font-weight: 700; }
.stock-status-filter { display: flex; align-items: center; gap: 8px; color: #5f6b64; font-size: 13px; }
.stock-status-filter select { min-height: 38px; padding: 7px 10px; border: 1px solid #dce4df; border-radius: 8px; color: #273a30; background: #fff; }
.stock-status-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.stock-status-pill.is-low { color: #a72c32; background: #fde7e8; }
.stock-status-pill.is-adequate { color: #17683a; background: #e4f5ea; }
.admin-view[data-page="stock"].invoice-entry-open .stock-balance-table,
.admin-view[data-page="stock"].invoice-entry-open > .panel:not(.inventory-stock-panel) { display: none; }
.admin-view[data-page="stock"].invoice-entry-open .inventory-stock-panel { min-height: 55vh; }
.product-detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin: 10px 0 0; }
.product-detail-list > div { display: grid; grid-template-columns: minmax(110px,.8fr) 1.2fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0ee; }
.product-detail-list dt { color: #69766e; font-size: 12px; }
.product-detail-list dd { margin: 0; color: #1e3026; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .expense-report-filter { flex-wrap: wrap; justify-content: flex-start; }
  .product-detail-list { grid-template-columns: 1fr; }
  .stock-toolbar { flex-wrap: wrap; }
}

.sidebar-settings {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 18px 8px 12px;
  border-top: 1px solid rgba(255,255,255,.24);
}

.sidebar-label {
  font-size: 13px;
  font-weight: 700;
}

.settings-field,
.theme-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.settings-field select {
  width: 112px;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 5px;
  background: rgba(0,0,0,.12);
  color: #fff;
}

.settings-field option { color: #17251c; }
.theme-setting input { width: 18px; height: 18px; accent-color: #fff; }
.sidebar-logout { justify-content: flex-start; margin-top: 4px; }
.sidebar-logout:hover { background: rgba(0,0,0,.12); }

.admin-main {
  min-width: 0;
  padding: 0 20px 28px 12px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  grid-template-columns: minmax(190px, 1fr) auto;
  min-height: 84px;
  margin: 0 -20px 24px -12px;
  padding: 14px 20px 14px 12px;
  border-bottom: 1px solid #e3e9ef;
  background: rgba(255,255,255,.97);
}

.topbar-heading .eyebrow { margin: 0 0 5px; }
.admin-topbar h1 { font-size: 22px; letter-spacing: 0; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-topbar .topbar-actions { margin-right: 8px; }
.topbar-time { border: 0; background: transparent; padding: 0; }
.topbar-time strong { font-size: 14px; }
.topbar-user-wrap { cursor: pointer; text-align: left; }
.topbar-user-wrap:hover { border-color: #a8cdb5; }
.profile-menu-wrap, .notification-wrap { position: relative; }
.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  cursor: pointer;
}
.icon-button:hover { background: #f0f4f6; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-count,
.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  background: #e23d42;
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.notification-count { position: absolute; top: 0; right: 0; }
.admin-side-nav .nav-count { background: #e23d42; color: white; }
.notification-popover,
.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  width: min(300px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #e1e8ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17,35,25,.14);
}
.notification-popover p { margin: 8px 0; color: var(--muted); font-size: 13px; }
.profile-menu { width: 180px; padding: 6px; }
.profile-menu button { width: 100%; padding: 10px; border: 0; border-radius: 5px; background: #fff; text-align: left; cursor: pointer; }
.profile-menu button:hover { background: #f2f7f3; }
.admin-content { max-width: 1440px; margin: 0 auto; }
.admin-view { display: grid; gap: 18px; }
.admin-view .panel { border-radius: 8px; }
.admin-view h2 { margin: 0; font-size: 20px; }
.admin-view .stats-grid { margin-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll table { min-width: 580px; }
.admin-empty { margin: 4px 0; color: var(--muted); }

/* Dashboard overview */
.overview-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 13px 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(110deg, #061f49 0%, #0d376d 58%, #1d5593 100%);
  box-shadow: 0 14px 30px rgba(6, 31, 73, .2);
}
.overview-welcome-copy { min-width: 0; }
.overview-kicker { margin: 0 0 8px; color: rgba(255,255,255,.74); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.overview-kicker span { padding: 0 4px; }
.overview-welcome h2 { margin: 0 !important; color: #fff; font-size: clamp(20px, 2vw, 27px) !important; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; }
.overview-date { margin: 3px 0 0; color: rgba(255,255,255,.88); font-size: 12px; }
.overview-action { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 17px; border: 1px solid rgba(255,255,255,.27); border-radius: 10px; background: rgba(255,255,255,.09); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.overview-action:hover { background: rgba(255,255,255,.17); }
.overview-action span { font-size: 18px; }
.overview-filter-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.overview-period-pill { width: fit-content; margin: 0 0 4px; padding: 0; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.overview-filter-field select,
.overview-filter-field input { min-height: 40px; max-width: 170px; padding: 0 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; outline: none; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 12px; }
.overview-filter-field select { min-width: 120px; }
.overview-filter-field select option { color: #17251c; background: #fff; }
.overview-clear-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.overview-clear-button:hover { color: #d8f3e2; }
.overview-clear-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.overview-stat { min-width: 0; padding: 17px 20px 15px; border: 1px solid #e2e9ef; border-left: 4px solid var(--stat-accent); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(19, 39, 54, .035); }
.overview-stat-green { --stat-accent: #20a45b; }
.overview-stat-blue { --stat-accent: var(--brand-blue); }
.overview-stat-orange { --stat-accent: #ef982f; }
.overview-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #475569; font-size: 13px; }
.overview-stat-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--stat-accent); background: color-mix(in srgb, var(--stat-accent) 10%, white); }
.overview-stat-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.overview-stat > strong { display: block; margin: 4px 0 2px; color: #111827; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.overview-stat > small { color: #758195; font-size: 11px; }
.overview-panels { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: stretch; gap: 16px; }
.overview-panels .panel { min-width: 0; padding: 18px; border: 1px solid #e1e8ef; border-radius: 18px; box-shadow: 0 8px 24px rgba(19, 39, 54, .025); }
.overview-breakdown-panel,
.overview-recent-panel { display: flex; flex-direction: column; height: 410px; min-height: 410px; }
.overview-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.overview-panel-heading h2 { color: #172334; font-size: 18px !important; letter-spacing: -.02em; }
.overview-panel-heading p { margin: 4px 0 0; color: #758195; font-size: 12px; }
.overview-panel-heading > div:first-child h2 { text-transform: none; }
.overview-breakdown { display: grid; flex: 1; grid-template-columns: minmax(150px, .9fr) minmax(0, 1fr); align-items: center; gap: 16px; min-height: 0; }
.overview-donut { display: grid; place-items: center; width: min(100%, 205px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: conic-gradient(#e9eef2 0 100%); }
.overview-donut > div { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66%; height: 66%; border-radius: 50%; background: #fff; }
.overview-donut strong { color: #142238; font-size: 27px; line-height: 1.1; }
.overview-donut > div span { margin-top: 3px; color: #8290a0; font-size: 11px; }
.overview-legend { display: grid; grid-template-columns: 1fr; align-content: center; gap: 13px; width: 100%; min-width: 0; padding: 4px 0; }
.overview-legend-item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; color: #596579; font-size: 12px; }
.overview-legend-item > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-legend-item strong { color: #263449; font-size: 12px; }
.overview-legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--legend-color); }
.overview-text-link { padding: 6px 0; border: 0; background: transparent; color: var(--brand-blue); font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.overview-text-link span { padding-left: 3px; }
.overview-sales-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .95fr); gap: 16px; }
.overview-sales-row .panel,
.overview-quick-actions { min-width: 0; padding: 18px; border: 1px solid #e1e8ef; border-radius: 18px; box-shadow: 0 8px 24px rgba(19, 39, 54, .025); }
.overview-sales-row > .overview-revenue-panel,
.overview-sales-row > .overview-payment-panel { padding: 15px 16px; }
.overview-sales-row .overview-panel-heading { margin-bottom: 10px; }
.overview-revenue-panel .overview-line-chart { min-height: 185px; }
.overview-chart-total { color: #1b2638; font-size: 19px; white-space: nowrap; }
.overview-line-chart-wrap { width: 100%; overflow: hidden; }
.overview-revenue-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 2px 4px 0; color: #596579; font-size: 12px; }
.overview-revenue-legend:empty { display: none; }
.overview-revenue-legend span { display: inline-flex; align-items: center; gap: 7px; }
.overview-revenue-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--series-color); }
.overview-revenue-tooltip { pointer-events: none; }
.overview-revenue-tooltip rect { fill: #10243f; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.overview-revenue-tooltip text { fill: #fff; font-family: inherit; font-size: 12px; }
.overview-line-chart { display: block; width: 100%; height: auto; min-height: 185px; overflow: visible; }
.overview-chart-grid { fill: none; stroke: #e9eef3; stroke-width: 1; }
.overview-chart-labels { fill: #8895a6; font-size: 10px; }
.overview-line-area { fill: url(#overview-revenue-gradient); }
.overview-line-path { fill: none; stroke: #20a45b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.overview-line-points { fill: #fff; stroke: #20a45b; stroke-width: 2; }
.overview-payment-panel .overview-payment-bars { display: grid; gap: 13px; padding: 8px 0 4px; }
.overview-payment-panel .overview-payment-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 7px; padding-top: 10px; border-top: 1px solid #e9eef3; color: #647187; font-size: 13px; }
.overview-payment-total strong { color: #1b2638; font-size: 21px; }
.overview-payment-panel .payment-method-row { display: grid; gap: 6px; }
.payment-method-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #647187; font-size: 12px; }
.payment-method-row strong { color: #243247; font-size: 12px; }
.payment-track { height: 9px; overflow: hidden; border-radius: 99px; background: #edf1f5; }
.payment-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--payment-color); transition: width .35s ease; }
.payment-method-row[data-payment="mpesa"] { --payment-color: #20a45b; }
.payment-method-row[data-payment="bank"] { --payment-color: var(--brand-blue); }
.payment-method-row[data-payment="cash"] { --payment-color: #ef982f; }
.payment-method-row[data-payment="savings"] { --payment-color: #7655bd; }
.overview-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.overview-action-card { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 88px; padding: 16px; border: 1px solid #e3eaf0; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.overview-action-card:hover { transform: translateY(-2px); border-color: #b9d8c4; box-shadow: 0 10px 22px rgba(24, 83, 48, .08); }
.overview-action-card-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; }
.overview-action-card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.action-sales .overview-action-card-icon { color: #168a49; background: #eaf7ef; }
.action-orders .overview-action-card-icon { color: var(--brand-blue); background: #edf5ff; }
.overview-action-card-copy { display: grid; flex: 1; gap: 4px; min-width: 0; }
.overview-action-card-copy strong { color: #243247; font-size: 13px; }
.overview-action-card-copy small { color: #7b8798; font-size: 11px; line-height: 1.4; }
.overview-action-arrow { display: grid; flex: 0 0 20px; place-items: center; color: #8794a4; }
.overview-action-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-body[data-theme="night"] .overview-chart-total,
.admin-body[data-theme="night"] .overview-payment-total strong,
.admin-body[data-theme="night"] .payment-method-row strong,
.admin-body[data-theme="night"] .overview-action-card-copy strong { color: #eef4ef; }
.admin-body[data-theme="night"] .overview-action-card { border-color: #3b5144; background: #23332a; }
.admin-body[data-theme="night"] .payment-track { background: #35463b; }
.recent-orders-list { display: grid; flex: 1; align-content: start; gap: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 5px; scrollbar-color: #a4b1bf transparent; scrollbar-width: thin; scrollbar-gutter: stable; }
.recent-orders-list::-webkit-scrollbar { width: 7px; }
.recent-orders-list::-webkit-scrollbar-thumb { border-radius: 8px; background: #a4b1bf; }
.recent-orders-list::-webkit-scrollbar-track { background: transparent; }
.recent-order-item { justify-content: flex-start; padding: 12px 2px; border: 0; border-bottom: 1px solid #edf1f5; border-radius: 0; background: transparent; }
.recent-order-item:last-child { border-bottom: 0; }
.recent-order-ice { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: #2884c7; background: #eaf5ff; }
.recent-order-ice svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.recent-order-details { display: grid; flex: 1; gap: 3px; min-width: 0; }
.recent-order-details strong { overflow: hidden; margin: 0; color: #243247; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.recent-order-details small { overflow: hidden; color: #7b8798; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.recent-order-source { display: inline-block; padding: 2px 6px; border-radius: 999px; font-size: 9px; font-weight: 700; line-height: 1.2; vertical-align: 1px; }
.recent-order-source.is-shop { color: #176b3a; background: #e7f6ec; }
.recent-order-source.is-online { color: #245caa; background: #eaf2ff; }
.recent-order-location-icon { display: inline-block; width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; fill: none; stroke: #8295ad; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.recent-order-location { display: flex; align-items: center; gap: 4px; color: #65748a !important; }
.recent-order-location svg { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: #8295ad; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.recent-order-time { flex: 0 0 auto; color: #7b8798; font-size: 11px; white-space: nowrap; }
.admin-body[data-theme="night"] .overview-stat > strong,
.admin-body[data-theme="night"] .overview-panel-heading h2,
.admin-body[data-theme="night"] .overview-donut strong,
.admin-body[data-theme="night"] .overview-legend-item strong,
.admin-body[data-theme="night"] .recent-order-details strong { color: #eef4ef; }
.admin-body[data-theme="night"] .overview-donut > div { background: #23332a; }
.admin-body[data-theme="night"] .recent-order-item { border-color: #3b5144; }
.admin-body[data-theme="night"] .overview-filter-field select { color: #fff; }
.admin-topbar .topbar-heading { min-width: 0; }
.topbar-user-left { min-width: 0; padding: 6px 8px 6px 0; border: 0; background: transparent; }
.topbar-user-left .profile-heading strong { color: #44546a; font-size: 14px; font-weight: 500; }
.topbar-user-left .profile-heading { display: flex; align-items: center; gap: 8px; }
.staff-active { display: inline-flex; align-items: center; gap: 4px; color: #20834a; font-size: 10px; font-weight: 700; }
.staff-active span { width: 7px; height: 7px; border-radius: 50%; background: #20a45b; box-shadow: 0 0 0 3px rgba(32,164,91,.12); }
#notification-button.is-shaking svg { transform-origin: 50% 15%; animation: notification-shake .75s ease-in-out; }
@keyframes notification-shake { 0%,100% { transform: rotate(0); } 15%,45%,75% { transform: rotate(13deg); } 30%,60%,90% { transform: rotate(-13deg); } }
.overview-clear-button:disabled { opacity: .55; cursor: wait; }
.topbar-user-left .user-badge { width: 30px; height: 30px; }
.profile-avatar-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #dce4ed; border-radius: 50%; background: #f8fafc; color: #435269; cursor: pointer; }
.profile-avatar-button:hover, .profile-avatar-button[aria-expanded="true"] { border-color: #9fcab0; background: #edf7f0; color: #16833e; }
.profile-avatar-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.profile-details-popover { width: min(320px, calc(100vw - 28px)); padding: 16px; }
.profile-details-title { display: block; padding: 2px 4px 12px; border-bottom: 1px solid #e8edf2; color: #263449; font-size: 14px; }
.profile-details-popover dl { display: grid; gap: 11px; margin: 14px 4px; }
.profile-details-popover dl div { display: grid; gap: 3px; }
.profile-details-popover dt { color: #8290a0; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.profile-details-popover dd { overflow-wrap: anywhere; margin: 0; color: #344256; font-size: 12px; }
.admin-body[data-theme="night"] .profile-details-title,
.admin-body[data-theme="night"] .profile-details-popover dd { color: #eef4ef; }
.admin-body[data-theme="night"] .profile-details-title { border-color: #3b5144; }
.create-user-form { max-width: 850px; }
.create-user-form > .button { margin-top: 14px; }

@media (max-width: 760px) {
  .overview-panels { grid-template-columns: 1fr; }
  .overview-sales-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sales-summary-grid { grid-template-columns: 1fr; gap: 10px; }
  .sales-summary-card { min-height: 100px; padding: 14px 16px; }
  .sales-filter-row { justify-content: flex-start; }
  .sales-filter-row label { flex: 1 1 180px; justify-content: space-between; }
  .sales-filter-row select { flex: 0 1 140px; }
  .sales-dialog { align-items: start; padding: 12px; }
  .sales-dialog-card { max-height: calc(100vh - 24px); padding: 19px; }
  .sales-form-grid, .sale-detail-grid, .online-order-update-grid { grid-template-columns: 1fr; }
  .product-field-row { grid-template-columns: 1fr; }
  .pos-sales-panel { padding: 16px; }
  .pos-sales-panel .panel-head { align-items: flex-start; }
  .pos-toolbar { gap: 6px; }
  .pos-toolbar .mini-btn { padding: 0 9px; font-size: 11px; }
  .overview-stats { grid-template-columns: 1fr; gap: 12px; }
  .overview-action-grid { grid-template-columns: 1fr; }
  .overview-welcome { align-items: flex-start; flex-direction: row; gap: 10px; padding: 12px 14px; }
  .overview-welcome h2 { font-size: clamp(16px, 4.5vw, 22px) !important; }
  .overview-filter-controls { align-self: center; }
  .overview-filter-controls { justify-content: flex-end; width: auto; }
  .overview-breakdown { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .overview-welcome { gap: 5px; padding: 11px 10px; }
  .overview-welcome-copy { flex: 1; }
  .overview-welcome h2 { max-width: 100%; overflow: hidden; font-size: clamp(14px, 4vw, 18px) !important; text-overflow: ellipsis; }
  .overview-period-pill { font-size: 9px; }
  .overview-panels .panel { padding: 17px 14px; }
  .overview-breakdown { grid-template-columns: 1fr; gap: 18px; }
  .overview-donut { width: 165px; }
  .overview-legend { width: 100%; }
  .recent-order-time { align-self: flex-start; padding-top: 3px; }
}

.admin-body[data-theme="night"] { background: #17231d; color: #eef4ef; }
.admin-body[data-theme="night"] .admin-main { color: #eef4ef; }
.admin-body[data-theme="night"] .admin-topbar,
.admin-body[data-theme="night"] .admin-view .panel,
.admin-body[data-theme="night"] .stat-card,
.admin-body[data-theme="night"] .topbar-user-wrap,
.admin-body[data-theme="night"] .notification-popover,
.admin-body[data-theme="night"] .profile-menu { background: #23332a; border-color: #3b5144; color: #eef4ef; }
.admin-body[data-theme="night"] .topbar-time,
.admin-body[data-theme="night"] .profile-menu button { background: transparent; color: #eef4ef; }
.admin-body[data-theme="night"] .profile-menu button:hover { background: #31473a; }
.admin-body[data-theme="night"] th,
.admin-body[data-theme="night"] td,
.admin-body[data-theme="night"] .report-list li,
.admin-body[data-theme="night"] .inventory-list li,
.admin-body[data-theme="night"] .expense-list li,
.admin-body[data-theme="night"] .user-list li { border-color: #3b5144; }

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    z-index: 6;
    top: 0;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 14px;
    overflow: visible;
  }

  .admin-side-nav {
    flex: 0 0 auto;
    min-height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .admin-side-nav button { flex: 0 0 auto; width: auto; }
  .sidebar-footer { display: flex; flex: 0 0 auto; gap: 8px; padding-top: 8px; }
  .sidebar-footer button { width: auto; }
  .sidebar-settings { grid-template-columns: auto 1fr 1fr; align-items: center; margin-top: 10px; padding: 10px 6px 4px; }
  .sidebar-logout { width: auto; margin: 0; }

  .admin-main {
    padding: 0 18px 30px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 620px;
  }

  .about-split,
  .booking-layout,
  .product-modal-panel,
  .dashboard-grid,
  .field-row,
  .form-grid,
  .shop-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: grid;
  }

  .hero-badges {
    position: static;
    margin-top: 24px;
    padding: 0 5% 24px;
  }

  .summary-card { position: static; }

  .product-modal-panel { padding: 20px; }
  .modal-gallery > img { height: 260px; }
  .admin-topbar {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 10px;
    margin: 0 -14px 18px;
    padding: 12px 14px;
  }
  .topbar-actions { justify-content: space-between; gap: 8px; }
  .topbar-time { display: none; }
  .topbar-user-wrap { padding: 6px 8px; }
  .notification-popover { left: 0; right: auto; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 81px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px 5% 18px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 12px 0;
  }

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

  .product-card:nth-child(n+3), .shop-card:nth-child(n+3) {
    margin-top: 0;
  }

  .admin-main {
    padding: 0 14px 28px;
  }
  .sidebar-settings { grid-template-columns: 1fr 1fr; }
  .sidebar-label { grid-column: 1 / -1; }
  .admin-sidebar { max-height: none; }
  .admin-topbar h1 { font-size: 20px; }
  .profile-heading small { display: none; }
  .topbar-user-left .profile-heading .staff-active { display: inline-flex; }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .login-box {
    padding: 22px 18px;
  }
}
.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(12,30,24,.77),rgba(12,30,24,.57) 52%,rgba(12,30,24,.28)),linear-gradient(0deg,rgba(12,30,24,.45),transparent 43%)}
.hero-content{width:min(1000px,90%);padding:0 0 150px;text-align:center;transform:translateY(-20px)}
.hero-content>.eyebrow{margin-bottom:17px}
.hero h1{max-width:900px;margin:0 auto 15px;font-size:clamp(43px,6.1vw,76px);line-height:1.1}
.hero h1 .hero-title-accent{color:#e5bd70}
.hero-copy{margin:0 auto 23px;max-width:610px;font-size:16px}
.hero-book-button{margin:0 auto}
.hero-content.is-changing #hero-title,.hero-content.is-changing #hero-copy{opacity:0;transform:translateY(9px)}
.hero-content #hero-title,.hero-content #hero-copy{transition:opacity .4s ease,transform .4s ease}
.hero-route{position:absolute;left:max(calc((100% - 1100px)/2),6%);right:max(calc((100% - 1100px)/2),6%);bottom:62px}
.route-caption{text-align:center;font-size:9px;letter-spacing:.22em;font-weight:700;color:#ffffffba;margin:0 0 18px}
.route-line{height:94px;position:relative;display:flex;justify-content:space-between;align-items:stretch}
.route-map{position:absolute;inset:0;width:100%;height:83px;overflow:visible}
.route-map path{fill:none;vector-effect:non-scaling-stroke}
.route-map-shadow{stroke:rgba(19,43,34,.72);stroke-width:8;stroke-linecap:round}
.route-map-path{stroke:#e7c57b;stroke-width:3;stroke-linecap:round;stroke-dasharray:1 10}
.route-stop{position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;gap:1px;min-width:74px;transform:translateX(-50%)}
.route-stop--one{left:1.5%;top:57px}
.route-stop--two{left:25%;top:11px}
.route-stop--three{left:50%;top:64px}
.route-stop--four{left:75%;top:11px}
.route-stop--five{left:98.5%;top:57px}
.location-pin{width:22px;height:28px;overflow:visible;fill:#e8c77f;stroke:#17382f;stroke-width:1.4;filter:drop-shadow(0 1px 4px #14291f)}
.location-pin circle{fill:#17382f;stroke:none}
.route-stop--five .location-pin{fill:#fff0c9}
.route-city{font-size:11px;line-height:1.3;font-weight:700;color:#fff;text-shadow:0 1px 5px #172b25}
.route-runner{position:absolute;z-index:2;left:0;top:42px;width:28px;height:20px;color:#fff2c9;filter:drop-shadow(0 2px 4px #172b25);animation:route-travel 18s linear infinite}
.route-runner svg{display:block;width:100%;height:100%}
@keyframes route-travel{0%{left:0;top:42px}25%{left:25%;top:3px}50%{left:50%;top:49px}75%{left:75%;top:3px}100%{left:calc(100% - 28px);top:42px}}
.hero-index{bottom:22px;right:5%;color:#ffffffb5}
.about-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;align-items:center}
.about-visual{height:375px;position:relative;overflow:hidden;background:#dfe5db}
.about-visual-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.045);transition:opacity .9s ease,transform 5s ease}
.about-visual-image.is-active{opacity:1;transform:scale(1)}
.about-visual-caption{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:14px 17px;color:white;font-size:11px;font-weight:600;background:linear-gradient(transparent,rgba(10,28,21,.75))}
.about-visual-caption span{font-size:10px;color:#f1d191;letter-spacing:.08em}
.about-copy{max-width:500px}
.about-copy .eyebrow{margin-bottom:12px}
.about-copy h2{font-size:clamp(32px,4vw,46px);line-height:1.15;letter-spacing:-.04em;margin-bottom:17px}
.about-copy p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted)}
.about-copy .text-link{display:inline-block;margin-top:5px}
.impact-heading{margin-top:75px;text-align:center}
.impact-heading .eyebrow{margin-bottom:8px}
.impact-heading h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.03em;margin:0}
.purpose-grid{margin-top:30px}
.floating-actions{position:fixed;z-index:20;right:22px;bottom:22px;display:flex;flex-direction:column;align-items:center;gap:11px}
.floating-action{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 5px 20px #0003;transition:transform .2s,box-shadow .2s}
.floating-action:hover{transform:translateY(-3px);box-shadow:0 8px 22px #0004}
.floating-action svg{width:23px;height:23px;fill:currentColor}
.whatsapp-action{background:#20b45a}
.top-action{background:#234c3e}
.top-action svg{fill:none}
@media(max-width:800px){
    .main-nav{gap:17px}
    .hero-route{left:5%;right:5%}
    .route-city{font-size:10px}
    .about-feature{gap:5%}
    .about-visual{height:330px}
}
@media(min-width:621px) and (max-width:850px){
    .site-header{height:74px;padding:0 5%}
    .menu-toggle{display:block}
    .main-nav{display:none;position:absolute;top:73px;left:0;right:0;padding:12px 5% 20px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}
    .main-nav.open{display:flex}
    .main-nav>a,.nav-dropdown>summary{padding:12px 5px}
    .main-nav .nav-book{border:0;padding:12px 5px}
    .dropdown-menu{position:static;box-shadow:none;border:0;border-left:2px solid #d6a84f;margin:0 0 5px 7px;padding:2px 8px}
}
@media(max-width:620px){
    .main-nav{gap:0}
    .main-nav>a,.nav-dropdown>summary{padding:12px 5px}
    .nav-dropdown{font-size:14px}
    .dropdown-menu{position:static;box-shadow:none;border:0;border-left:2px solid #d6a84f;margin:0 0 5px 7px;padding:2px 8px}
    .hero{height:auto;min-height:760px;max-height:850px;justify-content:flex-start}
    .hero-slides{inset:0}
    .hero-slide{background-position:56% center}
    .hero-shade{background:linear-gradient(180deg,rgba(12,30,24,.58),rgba(12,30,24,.55) 53%,rgba(12,30,24,.77))}
    .hero-content{width:90%;padding:72px 0 158px;margin:0 auto;transform:none}
    .hero h1{font-size:clamp(38px,11vw,52px)}
    .hero-copy{font-size:14px}
    .hero-route{left:9%;right:9%;bottom:142px}
    .route-caption{margin-bottom:13px}
    .route-line{height:82px}
    .route-map{height:70px}
    .route-map-shadow{stroke-width:7}
    .route-map-path{stroke-width:2.5;stroke-dasharray:1 8}
    .route-stop{min-width:55px}
    .route-stop--one{left:4%;top:47px}
    .route-stop--two{left:25%;top:8px}
    .route-stop--three{left:50%;top:52px}
    .route-stop--four{left:75%;top:8px}
    .route-stop--five{left:96%;top:47px}
    .location-pin{width:18px;height:24px}
    .route-city{font-size:9px;text-align:center}
    .route-runner{width:24px}
    @keyframes route-travel{0%{left:0;top:32px}25%{left:25%;top:0}50%{left:50%;top:34px}75%{left:75%;top:0}100%{left:calc(100% - 24px);top:32px}}
    .hero-index{bottom:20px}
    .about-feature{grid-template-columns:1fr;gap:27px}
    .about-visual{height:clamp(230px,68vw,350px)}
    .about-copy{max-width:none}
    .impact-heading{margin-top:48px}
    .purpose-grid{margin-top:22px}
    .floating-actions{right:13px;bottom:15px;gap:9px}
    .floating-action{width:44px;height:44px}
}
/* Swipeable impact stories */
.impact-section{margin-top:78px}
.impact-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.impact-header .eyebrow{margin-bottom:9px}
.impact-header h2{font-size:clamp(27px,3.5vw,39px);line-height:1.2;letter-spacing:-.035em;margin:0}
.impact-controls{display:flex;align-items:center;gap:15px;flex-shrink:0;padding-bottom:3px}
.impact-progress{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.impact-progress #impact-current{color:#b57636}
.impact-arrow{width:43px;height:43px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--deep);color:white;font-size:23px;cursor:pointer;transition:background .2s,transform .2s}
.impact-arrow:hover{background:#d87935;transform:translateX(2px)}
.impact-viewport{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c68a49 #eeeae1;outline-offset:5px}
.impact-viewport::-webkit-scrollbar{height:6px}
.impact-viewport::-webkit-scrollbar-track{background:#eeeae1}
.impact-viewport::-webkit-scrollbar-thumb{background:#c68a49;border-radius:10px}
.impact-track{display:flex;align-items:stretch}
.impact-slide{flex:0 0 100%;min-width:0;min-height:310px;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;scroll-snap-align:start;background:#f6f4ed}
.impact-slide .impact-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:42px clamp(26px,5vw,66px)}
.impact-slide>img{grid-column:2;grid-row:1;width:100%;height:100%;min-height:310px;object-fit:cover;display:block}
.impact-slide--reverse .impact-copy{grid-column:2;grid-row:1}
.impact-slide--reverse>img{grid-column:1;grid-row:1}
.impact-copy .eyebrow{font-size:9px;margin-bottom:13px}
.impact-copy h3{font-size:clamp(24px,3vw,34px);line-height:1.17;letter-spacing:-.035em;text-align:left;margin:0 0 13px}
.impact-copy>p:not(.eyebrow){max-width:430px;color:var(--muted);font-size:14px;line-height:1.75;margin:0 0 16px}
.impact-copy .text-link{margin:0}
.impact-scroll-hint{display:flex;align-items:center;justify-content:flex-end;gap:11px;padding-top:13px;color:#788179;font-size:9px;letter-spacing:.14em;font-weight:700}
.impact-scroll-line{width:61px;height:1px;background:#c68a49}
.impact-scroll-hint .impact-arrow{flex-shrink:0}
@media(max-width:620px){
    .impact-section{margin-top:54px}
    .impact-header{align-items:flex-end;margin-bottom:17px}
    .impact-header h2{font-size:26px}
    .impact-arrow{width:38px;height:38px}
    .impact-slide,.impact-slide--reverse{grid-template-columns:1fr;grid-template-rows:190px auto;min-height:0}
    .impact-slide .impact-copy,.impact-slide--reverse .impact-copy{grid-column:1;grid-row:2;padding:23px 21px 26px}
    .impact-slide>img,.impact-slide--reverse>img{grid-column:1;grid-row:1;width:100%;height:190px;min-height:0}
    .impact-copy .eyebrow{font-size:8px;margin-bottom:8px}
    .impact-copy h3{font-size:24px;margin-bottom:8px}
    .impact-copy>p:not(.eyebrow){font-size:13px;line-height:1.65;margin-bottom:12px}
    .impact-scroll-hint{padding-top:9px;font-size:8px}
}
@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}

/* Compact, unboxed navigation and reference-inspired mission panels */
.site-header{height:66px;padding:0 max(calc((100% - 1180px)/2),5%);border-bottom:0}
html{scroll-padding-top:66px}
.brand img{width:100px;height:auto;max-height:56px;object-fit:contain;flex:0 0 auto}
.site-header .brand small{font-size:6px;letter-spacing:.04em;white-space:nowrap;color:var(--brand-blue);opacity:1;font-weight:700}
.main-nav{gap:30px}
.main-nav a,.nav-dropdown summary{transition:color .2s ease}
.main-nav a:hover,.main-nav a:focus-visible,.main-nav a.active,
.nav-dropdown summary:hover,.nav-dropdown[open] summary{color:var(--brand-blue)}
.main-nav .nav-book{border:0;border-radius:0;padding:0;background:transparent;color:var(--ink)}
.main-nav .nav-book:hover,.main-nav .nav-book:focus-visible{color:var(--brand-blue)}
.dropdown-menu{top:calc(100% + 12px)}
.hero{height:min(820px,calc(100svh - 66px))}
.purpose-grid{gap:26px;margin-top:32px}
.purpose-card{min-height:270px;display:flex;flex-direction:column;justify-content:flex-start;padding:54px 48px 42px;background:var(--deep);color:#fff;border:0}
.purpose-card--mission{border-radius:0 112px 112px 0;text-align:left;padding-right:82px}
.purpose-card--vision{border-radius:112px 0 0 112px;text-align:right;padding-left:82px}
.purpose-card h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3vw,40px);font-weight:400;line-height:1.2;margin:0 0 20px;color:#fff}
.purpose-card p:last-child{max-width:430px;color:#e3ebe5;font-size:14px;line-height:1.8;margin:0}
.purpose-card--vision p:last-child{align-self:flex-end}
@media(min-width:851px){
    .purpose-card--mission{margin-left:calc((1120px - 100vw)/2);padding-left:max(calc((100vw - 1120px)/2),7%)}
    .purpose-card--vision{margin-right:calc((1120px - 100vw)/2);padding-right:max(calc((100vw - 1120px)/2),7%)}
}
@media(min-width:621px) and (max-width:850px){
    .site-header{height:62px}
    html{scroll-padding-top:62px}
    .main-nav{top:61px}
    .hero{height:min(820px,calc(100svh - 62px))}
}
@media(max-width:620px){
    .site-header{height:58px;padding:0 4%}
    html{scroll-padding-top:58px}
    .brand{font-size:13px;gap:8px}
    .brand img{width:80px;height:auto;max-height:46px}
    .brand small{font-size:8px}
    .main-nav{top:57px}
    .main-nav .nav-book{border:0;padding:12px 5px}
    .hero{height:auto;min-height:760px;max-height:850px}
    .purpose-grid{grid-template-columns:1fr;gap:16px}
    .purpose-card{min-height:205px;padding:36px 28px}
    .purpose-card--mission{border-radius:0 82px 82px 0;padding-right:48px}
    .purpose-card--vision{border-radius:82px 0 0 82px;padding-left:48px}
    .purpose-card h3{font-size:30px;margin-bottom:12px}
    .purpose-card p:last-child{font-size:13px;line-height:1.7}
}

/* Homepage hero split and contact navigation */
.main-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.nav-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #a95b1d;
  color: #fff;
}

.nav-whatsapp-icon svg { width: 18px; height: 18px; fill: currentColor; }
.nav-contact-copy { display: grid; line-height: 1.25; }
.nav-contact-copy small { color: var(--muted); font-size: 9px; font-weight: 500; }
.main-nav .nav-contact-copy strong { color: var(--ink); font-size: 12px; }

.hero { height: min(660px, calc(100svh - 66px)); min-height: 590px; }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
  width: min(1180px, 90%);
  padding: 0 0 78px;
  margin: 0 auto 20px;
  text-align: left;
  transform: translateY(-34px);
}

.hero-message .eyebrow { margin-bottom: 18px; }
.hero-message { grid-column: auto; }
.hero-message { transition: opacity .28s ease, transform .28s ease; }
.hero-message.is-changing { opacity: 0; transform: translateY(8px); }
.hero-message h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(60px, 5.7vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}
.hero-message h1 strong { font-weight: 900; }
.hero-message h1 > span { display: block; }
.hero-message .hero-copy { max-width: 100%; margin: 0; font-size: clamp(10px, .95vw, 13px); white-space: normal; }
.hero-points { display: grid; gap: 25px; max-width: 370px; }
.hero-points div {
  min-width: 0;
  padding: 6px 0 6px 18px;
  border: 0;
  border-left: 2px solid #e5bd70;
  border-radius: 0;
  background: transparent;
}
.hero-points .hero-point-mark {
  margin-bottom: 5px;
  color: #f0ce8c;
  font-size: 10px;
  font-weight: 800;
}
.hero-points strong { margin-bottom: 4px; font-size: 22px; }
.hero-points div > span:last-child { max-width: 260px; font-size: 13px; line-height: 1.6; }
.hero-actions {
  position: absolute;
  z-index: 2;
  bottom: 120px;
  left: 50%;
  gap: 16px;
  margin: 0;
  transform: translateX(-50%);
}

.service-values {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1280px, 96%);
  margin: -96px auto 38px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 35, 38, .12);
}
.service-value-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 200px;
  padding: 32px clamp(20px, 3vw, 40px);
  background: #fff;
}
.service-value-icon {
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: #e8f6f5;
  color: #22afa4;
}
.service-value-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-value-card h2 { margin: 4px 0 12px; color: #182126; font: 400 24px/1.2 Georgia, "Times New Roman", serif; }
.service-value-card p { margin: 0; color: #64737b; font-size: 16px; line-height: 1.65; }
.service-value-card-featured { background: #29afa4; }
.service-value-card-featured .service-value-icon { background: rgba(255,255,255,.2); color: #fff; }
.service-value-card-featured h2,
.service-value-card-featured p { color: #fff; }

@media (max-width: 850px) {
  .hero-content { grid-template-columns: minmax(0, 1.1fr) minmax(210px, .9fr); gap: 28px; }
  .hero-message .hero-copy { white-space: normal; }
  .hero-message h1 { font-size: clamp(54px, 6.2vw, 70px); }
  .hero-points strong { font-size: 19px; }
  .main-nav { gap: 18px; }
  .service-value-card { gap: 14px; padding: 32px 18px; }
  .service-value-icon { flex-basis: 54px; width: 54px; height: 54px; }
  .service-value-icon svg { width: 27px; height: 27px; }
  .service-value-card h2 { font-size: 21px; }
  .service-value-card p { font-size: 14px; }
}

@media (max-width: 760px) {
  .hero { display: block; height: auto; min-height: 0; max-height: none; padding: 1px 0 0; }
  .main-nav .nav-contact { align-items: center; padding: 12px 5px; }
  .nav-whatsapp-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    width: 90%;
    max-width: 560px;
    min-width: 0;
    padding: 38px 0 24px;
    margin: 0 auto;
    transform: none;
  }
  .hero-message { grid-column: 1; width: 100%; min-width: 0; text-align: left; }
  .hero-message .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .hero-message h1 { max-width: 100%; margin: 0 0 14px; font-size: clamp(27px, 8vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
  .hero-message h1 strong,
  .hero-message h1 > span { white-space: nowrap; }
  .hero-message .hero-copy {
    max-width: 100%;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
    text-align: left;
  }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
  .hero-points div { min-width: 0; padding: 4px 0 4px 10px; }
  .hero-points strong { font-size: clamp(14px, 3.5vw, 17px); line-height: 1.3; }
  .hero-points div > span:last-child { max-width: none; font-size: 12px; line-height: 1.45; }
  .hero-actions {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(90%, 560px);
    justify-content: center;
    gap: 8px;
    margin: 0 auto 78px;
    transform: none;
  }
  .hero-actions .button { min-height: 40px; padding: 0 13px; font-size: 12px; white-space: nowrap; }
  .service-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 32px);
    margin: -42px auto 26px;
    border-radius: 16px;
    overflow: hidden;
  }
  .service-value-card {
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 0;
    padding: 6px 5px;
    text-align: center;
  }
  .service-value-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; }
  .service-value-icon svg { width: 14px; height: 14px; }
  .service-value-card h2 { margin: 0 0 2px; color: #182126; font-size: clamp(9px, 2.8vw, 11px); font-weight: 700; }
  .service-value-card p { color: #43515a; font-size: clamp(8px, 2.25vw, 9px); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
  .service-value-card-featured h2,
  .service-value-card-featured p { color: #fff; }
}

.about-section.section-wrap { width: 100%; margin: 0; padding: 38px 0 30px; }
.about-split { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 54px); align-items: stretch; }
.about-visual { position: relative; height: 100%; min-height: 0; border-radius: 4px; overflow: hidden; }
.about-visual img.about-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 0; box-shadow: none; opacity: 0; transition: opacity 2.4s ease-in-out; }
.about-visual img.about-slide.is-active { opacity: 1; }
.about-copy { max-width: none; }
.about-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); }
.about-copy p:not(.eyebrow) { margin: 0 0 9px; font-size: 13px; line-height: 1.65; }

.metrics-strip {
  position: relative;
  overflow: hidden;
  padding: 15px 5%;
  background: #173d4a;
  color: #fff;
}
.metrics-strip::before,
.metrics-strip::after {
  position: absolute;
  top: 0;
  width: 12px;
  height: 100%;
  background: #fff;
  content: "";
}
.metrics-strip::before { left: 0; border-radius: 0 18px 18px 0; transform: translateX(-100%); }
.metrics-strip::after { right: 0; border-radius: 18px 0 0 18px; transform: translateX(100%); }
.metrics-strip.is-visible::before { animation: metric-cap-enter-left .7s ease-out forwards; }
.metrics-strip.is-visible::after { animation: metric-cap-enter-right .7s ease-out forwards; }
@keyframes metric-cap-enter-left { to { transform: translateX(0); } }
@keyframes metric-cap-enter-right { to { transform: translateX(0); } }
.metrics-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
}
.metric-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 4px 15px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.metric-item:last-child { border-right: 0; }
.metric-item strong { color: #55c4d1; font-family: "Montserrat", sans-serif; font-size: 27px; line-height: 1; white-space: nowrap; }
.metric-item > span { color: rgba(255,255,255,.82); font-size: 12px; }

@media (max-width: 620px) {
  .about-section { padding: 25px 0 22px; }
  .about-split { grid-template-columns: 1fr; gap: 16px; }
  .about-visual { height: 190px; }
  .about-copy { width: 90%; margin: 0 auto; }
  .about-copy h2 { font-size: 26px; }
  .metrics-strip { padding: 10px 3%; }
  .metrics-strip::before, .metrics-strip::after { width: 10px; height: 100%; }
  .metric-item { flex-direction: column; gap: 3px; min-height: 56px; padding: 3px 5px; text-align: center; }
  .metric-item strong { font-size: 21px; }
  .metric-item > span { font-size: 10px; }
}

.catalogue-section { padding: 44px 0 68px; }
.catalogue-section#laundry-services { padding-bottom: 28px; }
.catalogue-section .section-head { align-items: center; margin-bottom: 22px; }
.catalogue-section .section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.product-viewport { overflow: hidden; }
.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  grid-template-columns: none;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-track::-webkit-scrollbar { display: none; }
.product-track .product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(18,18,18,.08);
  border-radius: 10px;
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-track .product-card:hover {
  border-color: #e07832;
  background: #fff9f3;
  box-shadow: 0 14px 30px rgba(224,120,50,.16);
}
.product-track .product-thumb { display: block; flex: 0 0 auto; }
.product-track .product-thumb img { height: 230px; }
.product-detail-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #292929;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.product-track .product-card:hover .product-detail-mark { background: #e07832; transform: rotate(90deg); }
.product-track .product-info { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.product-track .product-brand-row { margin-bottom: 7px; }
.product-track .product-tag { padding: 0; background: transparent; font-size: 10px; }
.product-track .product-info h3 { margin-bottom: 5px; font-size: 19px; }
.product-track .product-info p { margin-bottom: 14px; font-size: 13px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: auto; }
.product-track .product-price { margin-right: auto; font-size: 16px; font-weight: 600; white-space: nowrap; }
.product-actions .text-link { font-size: 12px; white-space: nowrap; }
.product-actions .button { min-height: 40px; padding: 0 14px; border-radius: 6px; font-size: 12px; }
.catalogue-section .scroll-btn:disabled { opacity: .42; cursor: default; }
.product-header .product-back-link { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.product-detail-page { width: min(1100px, 90%); min-height: calc(100vh - 66px); margin: 0 auto; padding: 48px 0 72px; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch; gap: clamp(30px, 6vw, 76px); }
.product-detail-image { overflow: hidden; border-radius: 8px; background: #f2eee8; }
.product-detail-image img { display: block; width: 100%; height: 450px; aspect-ratio: auto; object-fit: cover; }
.product-detail-copy { display: flex; flex-direction: column; padding-top: 0; }
.product-detail-copy .eyebrow { margin: 0 0 6px; }
.product-detail-copy h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 50px); line-height: 1.12; }
.product-detail-summary { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.product-detail-price { margin: 0 0 8px; color: var(--green); font-size: 18px; font-weight: 600; }
.product-fact { padding: 10px 0; border-top: 1px solid var(--line); }
.product-fact h2 { margin: 0 0 4px; font-family: "Montserrat", sans-serif; font-size: 14px; }
.product-fact p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.product-label-note { margin: 7px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.product-detail-copy > .button { align-self: flex-start; min-height: 44px; margin-top: auto; border-radius: 6px; }
.product-not-found { grid-column: 1 / -1; padding: 70px 0; text-align: center; }
.product-not-found p { margin: 10px 0 22px; color: var(--muted); }

@media (max-width: 980px) {
  .product-track { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 620px) {
  .catalogue-section { padding: 34px 0 48px; }
  .product-track { grid-auto-columns: 100%; gap: 14px; }
  .product-track .product-thumb img { height: 220px; }
  .product-track .product-info { padding: 14px; }
  .product-actions { gap: 9px; }
  .product-actions .button { min-height: 38px; }
  .product-header { height: 58px; }
  .product-detail-page { min-height: calc(100vh - 58px); padding: 24px 0 42px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-image img { height: auto; aspect-ratio: 16 / 10; }
  .product-detail-copy h1 { font-size: 32px; }
}

.entertainment-section { padding: 50px 0 50px; background: #f7f5ef; }
.entertainment-section .section-head { align-items: center; margin-bottom: 8px; }
.event-list { display: grid; }
.event-viewport { overflow: hidden; }
.event-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.event-track::-webkit-scrollbar { display: none; }
.event-track .event-row { flex: 0 0 100%; scroll-snap-align: start; }
.event-row--reverse .event-media { order: 2; }
.carousel-controls .scroll-btn:disabled { opacity: .4; cursor: default; }
.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: 22px 0;
  border-bottom: 1px solid rgba(25, 34, 28, .12);
}
.event-row:last-child { border-bottom: 0; }
.event-row:nth-child(even) .event-media { order: 2; }
.event-media { position: relative; align-self: center; height: 260px; margin: 0; overflow: hidden; background: #e7e8e0; }
.event-row:not(.event-row--reverse) .event-media { border-radius: 0 22px 22px 0; }
.event-row--reverse .event-media { border-radius: 22px 0 0 22px; }
.event-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .7s ease; }
.event-media img.is-changing { opacity: .25; transform: scale(1.025); }
.event-copy { max-width: 500px; padding: 10px 3vw; }
.event-label { display: inline-block; margin-bottom: 10px; padding: 6px 10px; border-radius: 3px; background: #edf4ed; color: #187a3d; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-row--upcoming .event-label { background: #fff0d8; color: #9a581b; }
.event-copy h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.event-copy > p:not(.event-location) { max-width: 440px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.event-copy > .event-date { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #915b23; font-size: 12px; font-weight: 700; line-height: 1.4; }
.event-date svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.event-location { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: #178341; font-size: 12px; font-weight: 700; }
.event-location svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.testimonials-section { background: #f6f8f7; }
.testimonials-section .section-head { margin-bottom: 22px; }
.testimonials-intro { max-width: 58ch; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px)/3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { min-width: 0; overflow: hidden; border: 1px solid #e2eae6; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(24,52,61,.07); scroll-snap-align: start; }
.testimonial-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
.testimonial-photo { position: relative; aspect-ratio: 1.18; margin: 0; overflow: hidden; background: #e7eeea; }
.testimonial-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimonial-photo figcaption { position: absolute; left: 9px; bottom: 8px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(17,46,49,.82); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.testimonial-card-copy { display: grid; justify-items: start; align-content: start; gap: 8px; min-height: 185px; padding: 17px 18px 19px; }
.testimonial-category { color: #16834b; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.testimonial-card-copy h3 { margin: 0; color: #18343d; font-size: clamp(15px,1.6vw,19px); line-height: 1.3; }
.testimonial-card-copy p { margin: 0; color: #61716d; font-size: 11px; line-height: 1.65; }
.testimonial-more { margin-top: auto; padding: 4px 0 0; border: 0; background: transparent; color: #147c62; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.testimonial-more:hover { color: #0b5b47; text-decoration: underline; text-underline-offset: 3px; }
.testimonial-dialog { position: fixed; inset: 50% auto auto 50%; width: min(520px,calc(100% - 32px)); max-height: min(80vh,640px); margin: 0; padding: 34px; transform: translate(-50%,-50%); border: 1px solid #dce8e1; border-radius: 22px; background: #fff; color: #18343d; box-shadow: 0 24px 80px rgba(10,31,29,.25); }
.testimonial-dialog::backdrop { background: rgba(13,31,31,.58); backdrop-filter: blur(3px); }
.testimonial-dialog-close { position: absolute; top: 12px; right: 13px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: #f0f5f2; color: #18343d; font-size: 24px; cursor: pointer; }
.testimonial-dialog .eyebrow { margin: 0 0 8px; color: #16834b; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.testimonial-dialog h3 { margin: 0 35px 12px 0; font-size: clamp(22px,4vw,30px); line-height: 1.2; }
.testimonial-dialog > p:not(.eyebrow) { margin: 0 0 22px; color: #61716d; font-size: 14px; line-height: 1.8; }
.testimonial-dialog .button { display: table; min-height: 44px; margin: 0 auto; padding: 0 22px; border-radius: 10px; background: #173d4a; color: white; }
.upcoming-events-section { padding: 0 0 3px; background: #fff; }
.upcoming-events-section.has-cleanliness-promo .section-wrap { width: 100%; max-width: none; }
.upcoming-events-section .event-row { padding-bottom: 0; border-bottom: 0; }
.upcoming-events-section .event-row .event-media { order: 0; }
.cleanliness-promo { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; flex: 0 0 100%; overflow: hidden; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.cleanliness-promo-promise { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 15px; padding: 30px clamp(28px,6vw,88px); overflow: hidden; border-right: 2px solid #fff; border-radius: 0 48px 48px 0; background: linear-gradient(90deg,rgba(10,39,31,.2) 0%,rgba(11,51,41,.52) 43%,rgba(11,69,52,.94) 78%,#0b4938 100%),url("Images/about%20us%20s1.jpg") left center / cover no-repeat; color: #fff; text-align: right; }
.cleanliness-promo-promise > * { position: relative; z-index: 1; }
.cleanliness-promo-label { color: #e5c77f; font-size: 8px; font-weight: 700; letter-spacing: .15em; line-height: 1.35; }
.cleanliness-promo-promise h2 { max-width: 17ch; margin: 0; color: #fff; font-size: clamp(21px,2.6vw,31px); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.cleanliness-promo-caption { max-width: 31ch; margin: 0; color: #fff; font-size: 10px; font-weight: 600; line-height: 1.6; }
.cleanliness-promo-book { display: inline-flex; min-height: 26px; align-items: center; justify-content: center; gap: 9px; padding: 0 11px; border: 0; border-radius: 4px; background: #e6c774; color: #183c3d; font-size: 9px; font-weight: 600; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; transition: background .2s,color .2s; }
.cleanliness-promo-book:hover { background: #fff; color: #173d4a; }
.cleanliness-promo-approach { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 34px clamp(24px,4vw,52px); background: #fff; }
.cleanliness-approach-title { margin: 0; color: #173d4a; font-size: clamp(17px,1.7vw,21px); font-weight: 700; line-height: 1.3; }
.cleanliness-steps { position: relative; display: grid; flex: 1; align-content: space-around; gap: 0; width: 100%; min-height: 280px; margin: 0; padding: 10px 0; list-style: none; }
.cleanliness-steps::before { position: absolute; top: 20px; bottom: 20px; left: 10px; width: 1px; background: #18b8b4; content: ""; }
.cleanliness-steps li { position: relative; display: grid; grid-template-columns: 21px minmax(0,1fr); align-items: start; gap: 14px; }
.cleanliness-step-number { z-index: 1; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #13b9b4; border-radius: 50%; background: #fff; color: #087e7e; font-size: 8px; font-weight: 700; line-height: 1; }
.cleanliness-steps h4 { margin: 0 0 3px; color: #173d4a; font-size: 12px; font-weight: 700; line-height: 1.3; }
.cleanliness-steps li p { max-width: 54ch; margin: 0; color: #65756f; font-size: 10px; font-weight: 400; line-height: 1.45; }
.cleanliness-steps-tagline { margin: 0; color: #16848c; font-size: 11px; font-weight: 700; line-height: 1.35; }

@media (max-width: 760px) {
  .entertainment-section { padding: 36px 0 34px; }
  .upcoming-events-section { padding: 0 0 3px; }
  .cleanliness-promo { grid-template-columns: 1fr; min-height: 0; }
  .cleanliness-promo-promise { min-height: 390px; gap: 12px; padding: 22px 20px 22px 42%; border-right: 0; border-radius: 0 0 28px 28px; background-image: linear-gradient(90deg,rgba(10,39,31,.12) 0%,rgba(11,51,41,.4) 34%,rgba(11,69,52,.92) 68%,#0b4938 100%),url("Images/about%20us%20s1.jpg"); background-position: center, left 38% center; text-align: right; }
  .cleanliness-promo-approach { gap: 10px; padding: 22px 19px; }
  .cleanliness-promo-promise h2 { max-width: 16ch; font-size: 22px; }
  .cleanliness-promo-caption { font-size: 9px; }
  .cleanliness-promo-approach { justify-content: flex-start; gap: 10px; }
  .cleanliness-approach-title { font-size: 17px; }
  .cleanliness-steps { flex: initial; gap: 12px; min-height: 250px; }
  .cleanliness-steps h4 { font-size: 11px; }
  .cleanliness-steps li p { font-size: 9px; }
  .event-row { grid-template-columns: 1fr; gap: 16px; padding: 15px 0; }
  .event-row:nth-child(even) .event-media { order: 0; }
  .event-row--reverse .event-media { order: 0; }
  .event-media { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0 0 14px 14px !important; }
  .event-copy { max-width: none; padding: 0 2px 6px; }
  .event-copy h3 { font-size: 25px; }
  .event-location { margin-top: 14px; }
  .testimonial-track { grid-auto-columns: 100%; gap: 12px; }
  .testimonial-card { display: block; }
  .testimonial-images { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; min-height: 0; }
  .testimonial-photo { min-height: 0; aspect-ratio: 1.05; }
  .testimonial-photo figcaption { left: 6px; bottom: 5px; padding: 3px 6px; font-size: 7px; }
  .testimonial-card-copy { min-height: 0; padding: 13px; }
  .testimonial-card-copy h3 { font-size: 16px; }
  .testimonial-card-copy p { font-size: 10px; }
  .testimonial-dialog { padding: 30px 23px 24px; }
}

.website-event-form { display: grid; gap: 16px; }
.website-event-form .field small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.event-publish-toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.event-publish-toggle input { width: 18px; height: 18px; accent-color: #148243; }
.website-event-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.website-event-image-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.website-event-image-preview img { width: 78px; height: 64px; border-radius: 4px; object-fit: cover; }
.event-existing-images { color: var(--muted); font-size: 11px; }
.website-event-list { display: grid; gap: 10px; }
.website-event-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.website-event-item:last-child { border-bottom: 0; }
.website-event-item > img { width: 112px; height: 78px; border-radius: 4px; object-fit: cover; }
.website-event-item-copy h3 { margin: 5px 0 3px; font-size: 16px; }
.website-event-item-copy p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.website-event-item-copy small { color: var(--muted); font-size: 11px; }
.website-event-item-actions { display: flex; gap: 8px; }
.website-event-delete { color: #9a3030; }
.inbox-note { margin: -6px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-message-list { display: table-row-group; }
.contact-message-item { padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.contact-message-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.contact-message-heading h3 { margin: 5px 0 0; font-size: 16px; }
.contact-message-heading time { color: var(--muted); font-size: 11px; }
.contact-message-body { margin: 13px 0; color: var(--ink); font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-message-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 11px; }
.contact-message-meta a { color: var(--green); text-decoration: none; }
.contact-message-meta a:hover { text-decoration: underline; }
.contact-message-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.contact-message-actions > a { color: var(--green); font-size: 12px; font-weight: 700; text-decoration: none; }
.contact-message-actions label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.contact-message-actions select { min-height: 32px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
@media (max-width: 620px) {
  .contact-message-heading { flex-direction: column; }
  .contact-message-actions { align-items: flex-start; flex-direction: column; }
  .website-event-item { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
  .website-event-item > img { width: 74px; height: 66px; }
  .website-event-item-actions { grid-column: 2; }
}

.site-footer { padding-top: 48px; }
.footer-about > p { max-width: 330px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }
.footer-contact-column { align-items: flex-start; }
.footer-contact-column { gap: 5px !important; }
.contact-email-link { display: grid; gap: 1px; padding: 0 0 4px; color: rgba(255,255,255,.75); text-decoration: none; }
.contact-email-link span { color: #f1a23a; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.contact-email-link strong { color: #fff; font-size: 12px; font-weight: 600; }
.contact-email-link:hover strong { color: #f1a23a; }
.contact-phone-options { position: relative; width: min(100%, 260px); }
.contact-phone-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 2px 0; border: 0; background: transparent; color: rgba(255,255,255,.72); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.contact-phone-toggle strong { color: #fff; font-size: 12px; font-weight: 600; }
.phone-channel-list { display: none; flex-wrap: wrap; gap: 8px; padding: 4px 0 7px; }
.phone-channel-list a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; color: #fff; font-size: 10px; text-decoration: none; }
.phone-channel-list svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.phone-channel-list a:hover,
.phone-channel-list a:focus-visible { border-color: #f1a23a; color: #f1a23a; }
.contact-phone-options:hover .phone-channel-list,
.contact-phone-options.is-open .phone-channel-list,
.contact-phone-options:focus-within .phone-channel-list { display: flex; }
.contact-map-link { display: grid; grid-template-columns: 15px 1fr; align-items: center; column-gap: 7px; row-gap: 2px; margin-top: 4px; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.contact-map-link svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-grid .map-address { font-size: 12px; }
.footer-about .contact-map-link svg { grid-column: 1; }
.footer-grid .map-link-directions { color: #f1a23a; font-size: inherit; font-weight: 600; }
.contact-map-link:hover { color: #f1a23a; }
.contact-map-link:hover svg { stroke: #f1a23a; }
.footer-quick-links a { font-size: 12px; }
.footer-quick-links { align-items: flex-start; }
.footer-quick-links .eyebrow { margin-bottom: 10px; }
.contact-compose-body { min-height: 100vh; background: #f5f3ee; }
.contact-compose-header { position: relative; }
.contact-back-link { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.contact-compose-main { display: grid; place-items: center; min-height: calc(100vh - 66px); padding: 42px 5%; }
.contact-compose-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 70px); width: min(1000px, 100%); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.contact-compose-heading .eyebrow { margin-bottom: 10px; }
.contact-compose-heading h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.contact-compose-heading p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-compose-heading a { color: var(--green); font-weight: 700; }
.contact-compose-form { display: grid; gap: 12px; }
.contact-compose-form .field { margin: 0; }
.contact-compose-form .field label { font-size: 12px; }
.contact-compose-form input,
.contact-compose-form select,
.contact-compose-form textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #d9ded9; border-radius: 4px; background: #fff; color: #201a16; font: inherit; font-size: 13px; }
.contact-compose-form textarea { min-height: 130px; resize: vertical; }
.contact-compose-form .button { justify-self: start; min-height: 44px; border-radius: 4px; }
.contact-compose-status { min-height: 18px; margin: 0; color: #227346; font-size: 12px; }
.contact-compose-status.is-error { color: #a12e2e; }

/* Refined public contact experience */
.contact-compose-body { min-height: 100vh; color: #16251f; background: radial-gradient(ellipse at 12% 20%, rgba(232,190,114,.15), transparent 34%), #f4f6f3; }
.contact-compose-header { min-height: 78px; padding-inline: max(5%, calc((100vw - 1280px)/2)); background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(11,36,71,.08); }
.contact-wordmark { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 2px; color: #0b2447; font-size: 17px; font-weight: 800; letter-spacing: .12em; line-height: 1.1; text-decoration: none; }
.contact-wordmark > span { display: inline; color: var(--brand-blue); }
.contact-wordmark small { flex-basis: 100%; margin-top: 5px; color: #68756d; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.contact-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid #e3e8e3; border-radius: 999px; color: #173b30; font-size: 12px; transition: .2s ease; }
.contact-back-link:hover { border-color: #d8b06c; background: #fffaf0; transform: translateY(-1px); }
.contact-compose-main { min-height: calc(100svh - 78px); padding: clamp(28px, 5vw, 64px) 5%; }
.contact-compose-shell { grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 0; width: min(1180px, 100%); padding: 0; overflow: hidden; border: 1px solid rgba(11,36,71,.09); border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(16,36,30,.12); }
.contact-compose-heading { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; padding: clamp(30px, 5vw, 68px); overflow: hidden; background: linear-gradient(145deg, #0b2447, #12395a 72%, #18534b); color: #fff; }
.contact-compose-heading::after { position: absolute; right: -94px; bottom: -124px; width: 300px; height: 300px; border: 1px solid rgba(237,195,117,.26); border-radius: 50%; box-shadow: 0 0 0 35px rgba(237,195,117,.05), 0 0 0 72px rgba(237,195,117,.035); content: ""; pointer-events: none; }
.contact-compose-heading .eyebrow { color: #f4b24d; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.contact-compose-heading h1 { max-width: 420px; margin-bottom: 18px; color: #fff; font-size: clamp(40px, 5vw, 62px); font-weight: 700; letter-spacing: -.045em; }
.contact-compose-heading p:not(.eyebrow) { max-width: 380px; margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.9; }
.contact-compose-heading a:not(.contact-direct-email) { color: #f5d18f; text-decoration-color: rgba(245,209,143,.55); text-underline-offset: 3px; }
.contact-direct-email { z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 17px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.contact-direct-email:hover { border-color: #f4b24d; background: rgba(255,255,255,.08); }
.contact-direct-email span { color: #f4b24d; font-size: 17px; }
.contact-compose-form { align-content: center; gap: 17px; padding: clamp(28px, 5vw, 64px); }
.contact-compose-form .field { display: grid; gap: 7px; }
.contact-compose-form .field label { color: #27392f; font-size: 11px; font-weight: 700; }
.contact-compose-form .field label span { color: #87948b; font-weight: 500; }
.contact-compose-form input,
.contact-compose-form select,
.contact-compose-form textarea { min-height: 48px; padding: 12px 14px; border: 1px solid #dfe6e0; border-radius: 10px; background: #fbfcfb; color: #17251f; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-compose-form input:focus,
.contact-compose-form select:focus,
.contact-compose-form textarea:focus { border-color: #c49443; outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(196,148,67,.13); }
.contact-compose-form textarea { min-height: 145px; line-height: 1.65; }
.contact-compose-form .button { min-height: 48px; padding: 0 23px; border: 0; border-radius: 999px; box-shadow: 0 8px 20px rgba(185,126,36,.2); font-size: 12px; font-weight: 800; transition: .2s ease; }
.contact-compose-form .button:hover { box-shadow: 0 11px 25px rgba(185,126,36,.28); transform: translateY(-1px); }
.contact-compose-form .button:disabled { cursor: wait; opacity: .68; transform: none; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-compose-status { min-height: 20px; padding: 0; font-size: 12px; line-height: 1.6; }
.contact-compose-status.is-success { color: #147447; }
.contact-compose-status.is-error { padding: 10px 12px; border: 1px solid #f0d0cc; border-radius: 9px; background: #fff7f6; color: #a12e2e; }
.contact-compose-status.is-fallback { color: #795b21; }
.contact-return-notice { margin: 0; padding: 10px 12px; border: 1px solid rgba(91,197,142,.25); border-radius: 10px; background: rgba(47,158,98,.12); color: #a9e6c3 !important; font-size: 11px !important; line-height: 1.5 !important; }
.contact-return-notice[hidden] { display: none; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 33px; padding: 0 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 600; text-decoration: none; transition: .18s ease; }
.social-links a:hover { border-color: #f1a23a; color: #f4b24d; transform: translateY(-1px); }
.social-links svg { width: 14px; height: 14px; fill: currentColor; }
.social-links a span { color: inherit; font-size: 10px; }
.footer-contact-column { gap: 9px !important; }
@media (max-width: 760px) {
  .contact-compose-header { min-height: 66px; padding-inline: 5%; }
  .contact-compose-main { min-height: calc(100svh - 66px); padding: 22px 5% 34px; }
  .contact-compose-shell { grid-template-columns: 1fr; border-radius: 18px; }
  .contact-compose-heading { min-height: auto; padding: 30px 25px; }
  .contact-compose-heading h1 { font-size: 42px; }
  .contact-compose-form { gap: 14px; padding: 25px; }
  .contact-return-notice { max-width: 290px; }
}

@media (max-width: 760px) {
  .site-footer { padding-top: 36px; }
  .contact-compose-main { min-height: calc(100vh - 58px); padding: 22px 5% 36px; }
  .contact-compose-shell { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
}

.admin-body:has(#login-panel:not(.hidden)) { height: 100svh; min-height: 0; overflow: hidden; background: #f3f4f1; }
.login-panel { display: grid; height: 100svh; min-height: 0; padding: 20px; overflow: hidden; }
.login-shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); width: min(1400px, 100%); height: min(680px, calc(100svh - 40px)); min-height: 0; margin: auto; overflow: hidden; border: 1px solid rgba(26,35,29,.15); border-radius: 14px; background: #fff; box-shadow: 0 18px 54px rgba(20,28,23,.12); }
.login-visual { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid rgba(255,255,255,.2); border-radius: 0 58px 58px 0; background: #160e0b; }
.login-visual > img,
.login-visual-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-visual > img { object-fit: cover; object-position: center; }
.login-visual-shade { background: linear-gradient(0deg,rgba(10,8,7,.76),rgba(10,8,7,.14) 60%,rgba(10,8,7,.08)); }
.login-visual-copy { position: absolute; top: 50%; right: 8%; left: 8%; display: grid; justify-items: center; gap: 18px; color: #fff; text-align: center; transform: translateY(-50%); transition: opacity .35s ease, transform .35s ease; }
.login-visual-copy.is-changing { opacity: 0; transform: translateY(calc(-50% + 10px)); }
.login-visual-copy p { order: 2; margin: 0; color: #f0c577; font-size: 12px; font-weight: 800; }
.login-visual-copy h2 { max-width: 700px; margin: 0; font-size: clamp(38px, 4.2vw, 64px); font-weight: 800; line-height: 1.04; }
.login-form-side { display: grid; align-items: center; justify-items: center; min-width: 0; padding: clamp(16px, 2vw, 32px); background: #fff; }
.login-form-side .login-box { width: min(480px, 100%); padding: 0; overflow: hidden; border: 1px solid rgba(26,35,29,.13); border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(20,28,23,.1); }
.login-brand-head { display: grid; justify-items: center; gap: 9px; padding: 17px 18px 16px; background: linear-gradient(120deg,#2863e9,#4933cd); color: #fff; text-align: center; }
.login-brand-logo { display: grid; place-items: center; width: 56px; height: 56px; border: 3px solid rgba(255,255,255,.45); border-radius: 50%; background: #fff; color: #18563e; font-size: 19px; font-weight: 800; }
.login-brand-head p { margin: 0; font-size: 13px; font-weight: 600; }
.login-form-content { padding: 17px clamp(18px, 2.5vw, 28px) 15px; }
.login-form-content > .eyebrow { margin-bottom: 7px; font-size: 9px; }
.login-form-side .login-box h1 { margin: 0 0 5px; font-size: 25px; }
.login-form-side .login-instructions { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.login-form-content .field { margin-bottom: 10px; }
.login-form-content .field label { margin-bottom: 4px; font-size: 11px; }
.login-form-side .login-box .field input { min-height: 40px; border-radius: 5px; }
.login-form-side .password-input-wrap { position: relative; }
.login-form-side .password-input-wrap input { padding-right: 46px; }
.password-visibility-toggle { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #53657a; cursor: pointer; transform: translateY(-50%); }
.password-visibility-toggle:hover { background: #edf2f7; color: #123b72; }
.password-visibility-toggle:focus-visible { outline: 2px solid #2863e9; outline-offset: 1px; }
.password-visibility-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.password-visibility-toggle .password-eye-off-icon { display: none; }
.password-visibility-toggle[aria-pressed="true"] .password-eye-icon { display: none; }
.password-visibility-toggle[aria-pressed="true"] .password-eye-off-icon { display: block; }
.login-form-side .button-gold { width: 100%; min-height: 43px; border-radius: 5px; background: linear-gradient(120deg,#2863e9,#4933cd); color: #fff; }
.login-reset-prompt { margin-top: 11px; color: var(--muted); font-size: 11px; text-align: center; }
.login-reset-prompt button { padding: 0; border: 0; background: transparent; color: #315be0; font: inherit; font-weight: 600; cursor: pointer; }
.login-reset-prompt button:hover { text-decoration: underline; }
.password-reset-message { min-height: 0; margin: 8px 0 0; color: #247448; font-size: 11px; line-height: 1.5; }
.password-reset-message:not(:empty) { min-height: 17px; }
.password-reset-message.is-error { color: #a12e2e; }
.password-update-form { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.password-update-form h2 { margin: 0; font-size: 18px; }

.inventory-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.inventory-summary-card { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid #159b50; border-radius: 17px; background: var(--panel, #fff); box-shadow: 0 8px 24px rgba(30, 48, 38, .045); }
.inventory-summary-card:nth-child(2) { border-left-color: #ef982f; }
.inventory-summary-card:nth-child(3) { border-left-color: #3679d5; }
.inventory-summary-card > span, .inventory-summary-card > small { display: block; color: var(--muted); }
.inventory-summary-card > span { margin-bottom: 9px; font-size: 13px; }
.inventory-summary-card > strong { display: block; overflow: hidden; color: var(--ink); font-size: clamp(21px, 2.1vw, 30px); text-overflow: ellipsis; white-space: nowrap; }
.inventory-summary-card > small { margin-top: 7px; font-size: 11px; }
.product-manager-panel, .inventory-expenses-panel { min-width: 0; margin-top: 18px; }
.inventory-stock-panel { margin-top: 18px; }
.admin-view[data-page="stock"] .stock-balance-table,
.admin-view[data-page="stock"] #stock-balance-form,
.admin-view[data-page="stock"] #toggle-stock-balance-form { display: none !important; }
.admin-view[data-page="stock"] .inventory-stock-panel { border-top: 3px solid var(--brand-turquoise); }
.admin-view[data-page="stock"] .inventory-stock-panel > .panel-head h2 { color: #153a46; }
.expense-summary-grid .inventory-summary-card { border-radius: 16px; box-shadow: 0 8px 24px rgba(18, 44, 60, .045); }
.inventory-expenses-panel { overflow: hidden; border-radius: 18px; }
.inventory-expenses-panel > .panel-head { padding-bottom: 16px; border-bottom: 1px solid #e6edf0; }
.expense-report-filter { padding: 12px; border: 1px solid #e1eaed; border-radius: 12px; background: #f6fafb; }
.expense-record-table { min-width: 980px; }
.expense-record-table th:last-child,
.expense-record-table td:last-child,
.invoice-record-table th:last-child,
.invoice-record-table td:last-child { width: 132px; min-width: 132px; text-align: center; }
.expense-record-table td:last-child,
.invoice-record-table td:last-child { background: #f5faf9; }
.expense-row-actions,
.invoice-row-actions { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: max-content; white-space: nowrap; }
.expense-row-actions .sales-action-button,
.invoice-row-actions .sales-action-button { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #31566a; box-shadow: 0 2px 5px rgba(22, 48, 62, .09); }
.expense-row-actions .sales-action-button:hover,
.invoice-row-actions .sales-action-button:hover { border-color: #0c9299; background: #eaf8f7; color: #087d83; transform: translateY(-1px); }
.expense-row-actions .expense-delete-action:hover,
.invoice-row-actions .expense-delete-action:hover { border-color: #e8aaa7; background: #fff1f0; color: #b42318; }
.expense-row-actions svg,
.invoice-row-actions svg { width: 16px; height: 16px; }
.invoice-record-table { min-width: 1060px; }
.invoice-list-panel { overflow: hidden; border-radius: 18px; }
.admin-view[data-page="stock"] > .inventory-stock-panel,
.admin-view[data-page="stock"] > .invoice-list-panel { display: none !important; }
.service-invoices-panel { overflow: hidden; border-radius: 18px; border-top: 3px solid var(--brand-turquoise); }
.service-invoice-form { margin: 6px 0 26px; padding: 22px; border: 1px solid #dce9eb; border-radius: 16px; background: linear-gradient(145deg, #f8fcfc, #f2f8f8); }
.service-invoice-form-heading h3,.service-invoice-list-heading h3 { margin: 0; color: #173747; font-size: 18px; }
.service-invoice-form-heading p,.service-invoice-list-heading p { margin: 5px 0 0; color: #728194; font-size: 13px; }
.service-invoice-customer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 24px; }
.service-invoice-form .field { display: grid; min-width: 0; gap: 7px; color: #334e5d; font-size: 13px; font-weight: 650; }
.service-invoice-form input,.service-invoice-form select,.service-invoice-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cedde3; border-radius: 10px; background: #fff; color: #233649; font: inherit; }
.service-invoice-form input:focus,.service-invoice-form select:focus,.service-invoice-form textarea:focus { outline: 3px solid rgba(11,146,153,.13); border-color: var(--brand-turquoise); }
.invoice-lines-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 4px 0 12px; }
.invoice-lines-heading h4 { margin: 0; color: #173747; font-size: 15px; }
.invoice-lines-heading p { margin: 4px 0 0; color: #728194; font-size: 12px; }
.invoice-lines-list { display: grid; gap: 10px; }
.invoice-line-row { display: grid; grid-template-columns: minmax(220px, 1fr) 78px minmax(130px, 170px) minmax(100px, 130px) 38px; align-items: end; gap: 10px; padding: 12px; border: 1px solid #e0eaec; border-radius: 12px; background: #fff; }
.invoice-line-row label { display: grid; gap: 6px; color: #607789; font-size: 11px; font-weight: 700; }
.invoice-line-row input { min-height: 40px; padding: 8px 10px; font-size: 13px; }
.invoice-line-amount { align-self: center; padding-top: 18px; color: #173747; text-align: right; font-size: 13px; white-space: nowrap; }
.invoice-line-remove { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #dce7e9; border-radius: 10px; background: #fff; color: #607789; cursor: pointer; }
.invoice-line-remove:hover { color: #b42318; border-color: #e7b7b4; background: #fff5f4; }
.invoice-line-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-invoice-totals { display: grid; grid-template-columns: 1fr minmax(180px, 230px) 1fr; gap: 12px; align-items: end; margin: 16px 0; }
.service-invoice-totals > div,.service-invoice-totals > label { display: grid; gap: 7px; padding: 13px 15px; border: 1px solid #e0eaec; border-radius: 12px; background: #fff; color: #607789; font-size: 12px; }
.service-invoice-totals strong { color: #173747; font-size: 17px; }
.service-invoice-totals > div:last-child { border-color: #b8e0cb; background: #eef8f2; }
.service-invoice-totals > div:last-child strong { color: #187746; }
.service-invoice-totals input { min-height: 38px; }
.invoice-notes-field { margin: 14px 0; }
.invoice-notes-field textarea { resize: vertical; }
.invoice-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #dce9eb; }
.invoice-submit-row .form-message { margin: 0; }
.invoice-submit-row button { flex: 0 0 auto; }
.invoice-submit-row button:disabled { opacity: .6; cursor: wait; }
.service-invoice-form > .form-message { margin-bottom: 0; }
.service-invoice-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.service-invoice-table { min-width: 1050px; }
.service-invoice-table thead { background: #168b99; }
.service-invoice-table thead th { border: 0 !important; background: transparent !important; color: #fff !important; }
.service-invoice-table thead th:first-child { border-radius: 10px 0 0 10px; }
.service-invoice-table thead th:last-child { border-radius: 0 10px 10px 0; }
.service-invoice-table td:last-child { background: #f5faf9; }
.service-invoice-list-tools { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.invoice-date-filter { display: inline-flex; align-items: center; gap: 5px; color: #718296; font-size: 11px; white-space: nowrap; }
.invoice-date-filter input { width: 112px; min-height: 32px; padding: 4px 6px; border: 1px solid #d5e1e5; border-radius: 8px; background: #fff; color: #334e5d; font-family: inherit; font-size: 11px; }
.invoice-date-filter input:focus { outline: 3px solid rgba(11,146,153,.13); border-color: var(--brand-turquoise); }
.invoice-refresh-message { margin: 2px 0 8px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #187746 !important; font-size: 12px !important; }
.service-invoice-table th:first-child,.service-invoice-table td:first-child { width: 42px; min-width: 42px; text-align: center; }
.service-invoice-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: #168b99; cursor: pointer; }
.service-invoice-detail-card { width: min(760px, 100%); padding: 26px; }
.service-invoice-detail-card .product-image-dialog-head { align-items: center; margin-bottom: 20px; }
.service-invoice-detail-card .product-image-dialog-head > div { display: grid; gap: 6px; }
.service-invoice-detail-card .product-image-dialog-head strong { color: #173747; font-size: 21px; }
.invoice-dialog-kicker { color: #168b99; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.invoice-detail-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.invoice-detail-meta > div { display: grid; gap: 7px; min-width: 0; padding: 14px; border: 1px solid #e0eaec; border-radius: 12px; background: #f7fafb; }
.invoice-detail-meta span,.invoice-detail-totals span { color: #718296; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.invoice-detail-meta strong { color: #193347; font-size: 14px; overflow-wrap: anywhere; }
.invoice-detail-meta small { color: #657789; line-height: 1.5; }
.invoice-detail-lines { width: 100%; border-collapse: collapse; }
.invoice-detail-lines th { padding: 11px 8px; background: #168b99; color: #fff; text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.invoice-detail-lines td { padding: 12px 8px; border-bottom: 1px solid #e5ecee; color: #30495b; font-size: 13px; }
.invoice-detail-lines th:not(:first-child),.invoice-detail-lines td:not(:first-child) { text-align: right; white-space: nowrap; }
.invoice-detail-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.invoice-detail-totals > div { display: grid; gap: 6px; padding: 13px; border: 1px solid #e0eaec; border-radius: 11px; background: #f7fafb; }
.invoice-detail-totals strong { color: #193347; font-size: 15px; }
.invoice-detail-totals > div:last-child { border-color: #b8e0cb; background: #eef8f2; }
.invoice-detail-totals > div:last-child strong { color: #187746; }
.invoice-detail-notes { margin: 15px 0 0; padding: 13px; border-left: 3px solid #168b99; border-radius: 0 9px 9px 0; background: #f2f9f9; color: #395466; line-height: 1.55; }
.invoice-detail-issued { margin: 14px 0 0; color: #718296; font-size: 12px; }
.invoice-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e3ebed; }
@media (max-width: 760px) { .service-invoice-form { padding: 16px; } .service-invoice-customer-grid { grid-template-columns: 1fr; } .invoice-line-row { grid-template-columns: minmax(0,1fr) 72px 110px 36px; } .invoice-line-row label:first-child { grid-column: 1 / -1; } .invoice-line-amount { grid-column: 1 / 4; padding: 0; text-align: left; } .service-invoice-totals { grid-template-columns: 1fr 1fr; } .service-invoice-totals > label { grid-column: 1 / -1; grid-row: 2; } .invoice-submit-row { align-items: flex-start; flex-direction: column; } .service-invoice-list-heading { align-items: flex-start; flex-direction: column; } .service-invoice-list-tools { justify-content: flex-start; width: 100%; } .service-invoice-detail-card { padding: 18px; } }
@media (max-width: 440px) { .invoice-line-row { grid-template-columns: minmax(0,1fr) 64px 36px; } .invoice-line-row label:nth-child(3) { grid-column: 1 / 3; } .invoice-line-amount { grid-column: 1 / 3; } .invoice-line-remove { grid-column: 3; grid-row: 2; } .service-invoice-totals { grid-template-columns: 1fr; } .service-invoice-totals > label { grid-column: auto; grid-row: auto; } }
@media (max-width: 540px) { .invoice-detail-meta,.invoice-detail-totals { grid-template-columns: 1fr; } .invoice-dialog-actions { flex-wrap: wrap; } .invoice-date-filter { flex: 0 0 auto; justify-content: flex-start; } .invoice-date-filter input { width: 110px; } .service-invoice-list-tools > button { flex: 0 0 auto; } }
.inventory-form-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) auto; align-items: end; gap: 12px; }
.product-entry-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
.product-entry-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 22px; margin: 14px 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(245, 248, 246, .72); }
.product-image-field { display: grid; justify-items: start; gap: 8px; }
.product-image-field > label { color: var(--ink); font-size: 12px; font-weight: 700; }
.product-image-field input { width: 100%; color: var(--muted); font-size: 11px; }
.product-image-field small, .product-entry-hint { color: var(--muted); font-size: 11px; }
.product-image-preview { display: grid; width: 124px; height: 124px; place-items: center; overflow: hidden; border: 1px dashed #b9c9bf; border-radius: 18px; color: var(--muted); background: var(--panel); font-size: 12px; }
.product-image-preview img, .inventory-brand-avatar img, .inventory-variant-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-entry-fields { min-width: 0; }
.product-entry-hint { margin: 10px 0 0; }
.inventory-form { margin: 14px 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(245, 248, 246, .72); }
.inventory-form .field { margin: 0; }
.inventory-form .field label small { color: var(--muted); font-weight: 400; }
.product-manager-panel > .table-scroll { display: block; width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #9aa7b6 #edf1f5; }
.product-manager-panel > .table-scroll::-webkit-scrollbar { height: 9px; }
.product-manager-panel > .table-scroll::-webkit-scrollbar-track { border-radius: 9px; background: #edf1f5; }
.product-manager-panel > .table-scroll::-webkit-scrollbar-thumb { border: 2px solid #edf1f5; border-radius: 9px; background: #9aa7b6; }
.inventory-table { min-width: 900px; }
.inventory-table.inventory-table-wide { min-width: 1250px; }
.inventory-table.inventory-table-categories { min-width: 580px; }
.inventory-table td, .inventory-table th { white-space: nowrap; }
.inventory-toggle-button { width: auto; min-width: 38px; padding: 0 7px; font-size: 10px; font-weight: 700; }
.inventory-set-price { min-height: 30px; padding: 5px 9px; font-size: 10px; }
.inventory-brand-row td { padding: 0; background: #f4f8f5; }
.inventory-brand-toggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 9px 14px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.inventory-brand-toggle strong { min-width: 160px; font-size: 14px; }
.inventory-brand-toggle > span:last-child, .inventory-brand-toggle > span:nth-last-child(2) { color: var(--muted); font-size: 12px; }
.inventory-brand-caret { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: #fff; font-size: 16px; }
.inventory-brand-avatar, .inventory-variant-avatar { display: inline-grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.inventory-brand-avatar-fallback { color: var(--green); background: #eaf5ee; font-size: 11px; font-weight: 800; }
.inventory-variant-avatar { width: 30px; height: 30px; border-radius: 9px; }
.inventory-product-cell { display: inline-flex; align-items: center; gap: 10px; }
.inventory-brand-toggle { gap: 12px; }
.inventory-brand-toggle strong { min-width: 150px; }
.inventory-category-toggle { min-height: 56px; }
.inventory-category-toggle strong { font-size: 15px; }
.inventory-category-toggle > span:last-child { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.72); }
.inventory-browser-nav { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.inventory-browser-nav > strong { color: var(--ink); font-size: 15px; }
.inventory-browser-nav .mini-btn { display: inline-flex; align-items: center; gap: 7px; }
.inventory-nested-brand-row td { padding: 0; background: rgba(248, 250, 248, .96); }
.inventory-nested-brand-toggle { min-height: 48px; padding-left: 54px; }
.inventory-nested-brand-toggle strong { min-width: 190px; }
.inventory-expand-label { margin-left: auto; color: var(--green) !important; font-size: 11px !important; font-weight: 700; }
.inventory-variant-row td:first-child { padding-left: 92px; }
.product-image-dialog { position: fixed; z-index: 1500; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(15, 25, 19, .68); }
.product-image-dialog.hidden { display: none; }
.product-image-dialog-card { width: min(520px, 100%); max-height: min(82vh, 720px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.product-detail-card { width: min(760px, 100%); }
.product-image-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--ink); }
.product-image-dialog-card > img { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #f4f7f5; }
.product-detail-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.product-detail-image-wrap { width: min(100%, 560px); min-height: 360px; margin-inline: auto; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(245,248,246,.7); }
.product-detail-image-wrap img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.product-detail-image-wrap .admin-empty { padding: 20px; text-align: center; }
.product-detail-list { display: grid; gap: 8px; margin: 0; }
.product-detail-list > div { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(120px, 1.25fr); gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(245,248,246,.55); }
.product-detail-list dt { color: var(--muted); font-size: 12px; }
.product-detail-list dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.product-delete-button { color: #b42318; }
.product-delete-button:hover { border-color: #f2b8b5; background: #fff1f0; }
.inventory-variant-row .sales-actions { gap: 7px; }
.inventory-variant-row td:first-child { padding-left: 52px; color: var(--muted); }
.admin-body[data-theme="night"] .inventory-brand-row td { background: #23332a; }
.admin-body[data-theme="night"] .inventory-brand-toggle { color: #eef4ef; }
.inventory-profit-strip { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 8px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(245, 248, 246, .72); color: var(--muted); font-size: 12px; }
.inventory-profit-strip span { display: flex; align-items: center; gap: 8px; }
.inventory-profit-strip strong { color: var(--ink); font-size: 14px; }
.inventory-profit-strip span:last-child strong { color: #168448; }
.admin-body[data-theme="night"] .inventory-summary-card, .admin-body[data-theme="night"] .inventory-form, .admin-body[data-theme="night"] .inventory-profit-strip { background: var(--panel); }
@media (max-width: 900px) { .inventory-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inventory-form-grid > button { min-height: 44px; } }
@media (max-width: 650px) { .inventory-summary-grid { grid-template-columns: 1fr; gap: 10px; } .inventory-summary-card { padding: 15px 18px; } .inventory-form-grid { grid-template-columns: 1fr; } .product-entry-layout { grid-template-columns: 1fr; } .product-image-field { grid-template-columns: auto 1fr; align-items: center; } .product-image-field > label, .product-image-field small { grid-column: 1 / -1; } .inventory-profit-strip { display: grid; } }
@media (max-width: 650px) { .product-detail-layout { grid-template-columns: 1fr; } }

/* Customer catalogue detail and the refreshed online order experience. */
.product-detail-page .product-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.product-detail-page .product-detail-image { order: 0; min-height: 430px; border: 1px solid var(--line); box-shadow: 0 22px 55px rgba(18, 28, 23, .1); }
.product-detail-page .product-detail-image img { height: 100%; min-height: 430px; object-fit: cover; }
.product-detail-page .product-detail-copy { order: 1; }
.product-detail-copy > .button { margin-top: 20px; }
.product-track .product-actions { justify-content: flex-start; }
.product-track .product-actions .text-link { margin-right: auto; }

.booking-page { min-height: calc(100svh - 70px); padding: 10px 0 16px; background: radial-gradient(ellipse at 8% 0%, rgba(224, 190, 117, .15), transparent 38%), #f6f8f6; }
.booking-shell { width: min(940px, 92%); }
.booking-page .page-heading { margin-bottom: 8px; }
.booking-page .page-heading h1 { font-size: clamp(24px, 2.7vw, 32px); letter-spacing: -.045em; }
.booking-page .page-heading > p:last-child { font-size: 11px; }
.booking-page .page-heading .eyebrow { margin-bottom: 4px; color: var(--green); font-size: 9px; }
.booking-layout { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .8fr); align-items: start; gap: 14px; }
.booking-layout .order-panel, .booking-layout .summary-card { min-width: 0; border-radius: 20px; box-shadow: 0 18px 48px rgba(16, 42, 29, .07); }
.booking-layout .order-panel { padding: clamp(14px, 1.6vw, 18px); }
.order-panel h2 { margin-bottom: 12px; font-size: 19px; }
.order-panel .form-grid { gap: 6px 10px; }
.order-panel .field { gap: 4px; }
.order-panel .field label { font-size: 10px; }
.order-panel .field input, .order-panel .field select { min-height: 36px; padding: 6px 9px; border-radius: 8px; font-size: 12px; }
.order-panel #customer-name,
.order-panel #contact-method,
.order-panel #customer-phone,
.order-panel #customer-email,
.order-panel #delivery-datetime,
.order-panel #payment-method,
.order-panel #location { max-width: 100%; }
.booking-submit-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; margin-top: 8px; }
.booking-product-preview { display: grid; place-items: center; width: 100%; min-height: 174px; padding: 12px; overflow: hidden; border: 1px solid #e8ece9; border-radius: 14px; background: linear-gradient(145deg, #f8faf9, #eef3f0); }
.booking-product-preview img { display: block; width: 100%; height: 150px; object-fit: contain; }
.booking-product-preview img[hidden] { display: none; }
.booking-product-placeholder { display: grid; justify-items: center; gap: 8px; color: #9ba89f; }
.booking-product-placeholder[hidden] { display: none; }
.booking-product-placeholder svg { width: 42px; height: 42px; fill: none; stroke: #9ba89f; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.booking-product-placeholder small { font-size: 10px; }
.booking-layout .summary-card { position: static; display: flex; flex-direction: column; align-self: start; gap: 10px; min-height: 0; padding: 17px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #b7c5bc transparent; border-top: 4px solid #d8ae5d; }
.booking-layout .summary-card::-webkit-scrollbar { width: 5px; }
.booking-layout .summary-card::-webkit-scrollbar-track { margin-block: 38px; background: transparent; }
.booking-layout .summary-card::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 8px; background: #b7c5bc; background-clip: padding-box; }
.booking-layout .summary-card .eyebrow { margin: 0 0 5px; color: #96702d; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.booking-layout .summary-card h3 { margin: 0 0 6px; font-size: 22px; }
.booking-layout .summary-card .booking-summary-copy { margin: 0; font-size: 12px; line-height: 1.6; }
.booking-summary-product { display: grid; gap: 6px; padding: 14px; border-radius: 13px; background: #f6f8f6; color: var(--ink); font-size: 13px; }
.booking-summary-product span { font-weight: 700; }
.booking-summary-product strong { color: var(--green); font-size: 12px; }
.booking-layout .summary-box { padding: 11px 0; font-size: 12px; }
.booking-layout .summary-box strong { text-align: right; }
.booking-layout .booking-summary-total { margin-top: 0; border-top: 1px solid rgba(22, 70, 42, .14); font-weight: 700; }
.booking-layout .booking-summary-total strong { color: #127c42; font-size: 18px; }
.booking-support-note { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(221, 236, 224, .55); color: #3c5c48; font-size: 11px; }
.booking-support-note strong { color: #163d27; }
.order-submit-button { min-height: 42px; margin-top: 10px; padding-inline: 22px; border-radius: 10px; }
.order-panel .form-message { line-height: 1.55; }
.order-panel .order-success { display: flex; align-items: center; gap: 11px; margin-top: 10px; padding: 12px 14px; border: 1px solid #c8dcff; border-radius: 12px; background: #f1f6ff; color: #203c68; }
.order-success-mark { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #2874df; color: #fff; }
.order-success-mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.order-success-copy { display: grid; gap: 3px; }
.order-success-copy strong { color: #16396d; font-size: 13px; }
.order-success-copy span { color: #4b6285; font-size: 11px; line-height: 1.45; }
.booking-page.is-order-complete { display: grid; align-items: center; min-height: calc(100svh - 66px); padding-block: 20px; }
.booking-page.is-order-complete .page-heading,
.booking-page.is-order-complete #booking-layout { display: none; }
.order-completion { display: grid; justify-items: center; gap: 11px; width: min(560px, 100%); margin: 0 auto; padding: 34px 30px; border: 1px solid #d8e5fb; border-radius: 22px; background: #fff; box-shadow: 0 20px 55px rgba(26, 66, 127, .1); text-align: center; }
.order-completion[hidden] { display: none !important; }
.order-completion-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #159b50; box-shadow: 0 8px 20px rgba(21, 155, 80, .2); color: #fff; }
.order-completion-mark svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.order-completion .eyebrow { margin: 4px 0 -5px; color: #159b50; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.order-completion h2 { margin: 0; color: #172b49; font-size: clamp(21px, 3vw, 28px); }
.order-completion > p:not(.eyebrow) { max-width: 46ch; margin: 0 0 4px; color: #63748e; font-size: 13px; line-height: 1.6; }
.order-completion .button { min-height: 40px; padding-inline: 20px; }

@media (max-width: 760px) {
  .product-detail-page .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-page .product-detail-image { min-height: 0; }
  .product-detail-page .product-detail-image img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-layout .summary-card { min-height: 0; }
  .booking-layout .booking-summary-total { margin-top: 0; }
}

@media (max-width: 520px) {
  .booking-delivery-pair { gap: 10px; }
  .booking-layout .order-panel { padding: 18px; }
  .booking-layout .summary-card { padding: 18px; }
}

@media (max-width: 760px) {
  .admin-body:has(#login-panel:not(.hidden)) { height: 100svh; overflow: hidden; }
  .login-panel { height: 100svh; min-height: 0; padding: 10px; }
  .login-shell { grid-template-columns: 1fr; grid-template-rows: clamp(170px, 24svh, 210px) minmax(0, 1fr); width: 100%; height: calc(100svh - 20px); min-height: 0; }
  .login-visual { height: 100%; max-height: none; border-right: 0; border-radius: 0 0 36px 36px; }
  .login-visual-copy { right: 7%; left: 7%; gap: 10px; }
  .login-visual-copy p { font-size: 9px; }
  .login-visual-copy h2 { max-width: 500px; font-size: clamp(30px, 8vw, 42px); }
  .login-form-side { min-height: 0; overflow-y: auto; padding: 0; }
  .login-form-side .login-box { border: 0; border-radius: 0; box-shadow: none; }
  .login-form-content { padding: 16px 20px 17px; }
  .login-form-side .login-box h1 { font-size: 23px; }
}

/* Recent dashboard controls and responsive operational tables */
.online-order-summary-grid { margin: 0 0 6px; }
.admin-view[data-page="orders"] .online-order-summary-grid { width: min(94%, 1120px); margin: 20px auto; gap: 16px; }
.admin-view[data-page="orders"] .online-order-summary-grid .sales-summary-card { min-height: 116px; padding: 15px 17px; gap: 6px; }
.admin-view[data-page="orders"] .online-order-summary-grid .sales-summary-card > span { font-size: 12px; font-weight: 550; }
.admin-view[data-page="orders"] .online-order-summary-grid .sales-summary-card > strong { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.admin-view[data-page="orders"] .online-order-summary-grid .sales-summary-card > small { font-size: 9.5px; }
.online-order-summary-grid .sales-summary-card { border-left: 4px solid #159b50; }
.online-order-summary-grid .sales-summary-blue { border-left-color: #3679d5; }
.online-order-summary-grid .sales-summary-orange { border-left-color: #ef982f; }
#sales-select-page, [data-select-sale], #online-orders-select-page, [data-select-online-order] { width: 15px; height: 15px; accent-color: #15884a; cursor: pointer; }
#sales-delete-selected, #delete-selected-sales, #delete-selected-online-orders { white-space: nowrap; }

/* Keep POS filters together and visually secondary to the records table. */
.pos-sales-panel .sales-filter-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}
.pos-sales-panel .sales-filter-row label { flex: 0 0 auto; white-space: nowrap; gap: 6px; }
.pos-sales-panel .sales-filter-row select { min-width: 112px; min-height: 32px; font-size: 11px; }
.pos-sales-panel .sales-filter-row input[type="date"] { width: 132px; min-height: 32px; padding: 0 8px; border: 1px solid #dfe6ed; border-radius: 9px; background: #fff; color: #27364a; font: inherit; font-size: 11px; }
.pos-sales-panel #sales-select-page, .pos-sales-panel [data-select-sale] { width: 13px; height: 13px; opacity: .68; }
.pos-sales-panel #sales-select-page:checked, .pos-sales-panel [data-select-sale]:checked { opacity: 1; }
.pos-sales-panel .sales-records-table thead th { background: rgba(21, 136, 74, .09); }
.pos-sales-panel .sales-records-table thead th:first-child { border-radius: 8px 0 0 8px; }
.pos-sales-panel .sales-records-table thead th:last-child { border-radius: 0 8px 8px 0; }
.pos-sales-panel #delete-selected-sales { min-height: 30px; padding: 5px 10px; font-size: 10px; opacity: .78; }
.pos-sales-panel #delete-selected-sales:hover { opacity: 1; }

@media (max-width: 760px) {
  .online-orders-panel .online-orders-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
  }
  .online-orders-panel .online-orders-filters label {
    flex: 0 0 auto;
    gap: 5px;
    white-space: nowrap;
    font-size: 10px;
  }
  .online-orders-panel .online-orders-filters select {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 32px;
    padding: 0 24px 0 8px;
    font-size: 10px;
  }
}
.online-orders-panel .online-orders-filters {
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 0 9px;
  scrollbar-width: thin;
  scrollbar-color: #9aa7b6 #edf1f5;
}
.online-orders-panel .online-orders-filters::-webkit-scrollbar { height: 7px; }
.online-orders-panel .online-orders-filters::-webkit-scrollbar-track { background: #edf1f5; border-radius: 7px; }
.online-orders-panel .online-orders-filters::-webkit-scrollbar-thumb { background: #9aa7b6; border: 1px solid #edf1f5; border-radius: 7px; }
.online-orders-panel .online-orders-filters label { flex: 0 0 auto; gap: 6px; white-space: nowrap; font-size: 10px; }
.online-orders-panel .online-orders-filters select,
.online-orders-panel .online-orders-filters input[type="date"] {
  min-width: 112px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #dfe6ed;
  border-radius: 9px;
  background: #fff;
  color: #27364a;
  font: inherit;
  font-size: 10px;
}
.online-orders-panel .online-orders-filters select { padding-right: 24px; }
.online-orders-table .online-order-price-pending { color: #a76b16; font-size: 11px; font-weight: 650; }
.online-orders-table .status-pill { flex-direction: column; gap: 2px; min-width: 76px; }
.online-orders-table .status-pill small { margin-left: 0; text-transform: none; }
.order-detail-card { width: min(100%, 780px); padding: 26px; border-radius: 20px; }
.order-detail-card .sales-dialog-heading { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid #e8edf2; }
.order-dialog-eyebrow { display: block; margin-bottom: 5px; color: #108b89; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.order-detail-card .sales-dialog-heading h2 { color: #172a3a; font-size: 22px; font-weight: 700; }
.order-detail-card .sale-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.order-detail-card .sale-detail-grid > div { gap: 5px; min-width: 0; padding: 11px 12px; border: 1px solid #e8edf2; border-radius: 11px; background: #f8fafc; }
.order-detail-card .sale-detail-grid dt { color: #758396; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.order-detail-card .sale-detail-grid dd { color: #233446; font-size: 12px; font-weight: 600; }
.order-detail-card #online-order-update-form { display: none; margin-top: 20px; padding: 18px; border: 1px solid #dfe9eb; border-radius: 15px; background: linear-gradient(145deg, #f8fcfc, #f6f9fc); }
.order-detail-card.is-editing #online-order-update-form { display: block; }
.order-detail-card.is-editing #online-order-detail-content,
.order-detail-card.is-editing #online-order-view-message,
.order-detail-card.is-editing #online-order-delivery-meta { display: none !important; }
.order-detail-card.is-editing #online-order-update-form { margin-top: 0; border-top: 0; }
.order-detail-card.is-editing .sales-dialog-heading { margin-bottom: 12px; }
.order-edit-heading { margin-bottom: 14px; }
.order-edit-heading h3 { margin: 0; color: #1c3442; font-size: 14px; }
.order-edit-heading p { margin: 4px 0 0; color: #788697; font-size: 11px; }
.order-detail-card .online-order-update-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.order-detail-card .online-order-update-grid .field label { color: #536477; font-size: 10px; font-weight: 650; }
.order-detail-card .online-order-update-grid input,
.order-detail-card .online-order-update-grid select { min-height: 39px; border: 1px solid #dce5eb; border-radius: 9px; background-color: #fff; font-size: 12px; }
.order-status-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.order-status-choice legend { margin-bottom: 7px; color: #536477; font-size: 10px; font-weight: 650; }
.order-status-choice > div { display: flex; flex-wrap: wrap; gap: 6px; }
.order-status-choice label { position: relative; margin: 0; cursor: pointer; }
.order-status-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.order-status-choice span { display: block; padding: 9px 12px; border: 1px solid #dce5eb; border-radius: 9px; color: #566779; background: #fff; font-size: 11px; font-weight: 650; }
.order-status-choice input:checked + span { border-color: #178f8c; color: #08736e; background: #e7f7f5; box-shadow: inset 0 0 0 1px #178f8c; }
.order-status-choice input:focus-visible + span { outline: 2px solid #178f8c; outline-offset: 2px; }
.order-detail-card .sales-form-actions { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e3eaee; }
.order-detail-card #online-order-delivery-meta { margin: 12px 0 0; font-size: 10px; }
.order-detail-card .button-gold { border-color: #237b88; background: linear-gradient(120deg, #287f91, #2563a6); color: #fff; box-shadow: 0 7px 16px rgba(37, 99, 166, .16); }
.order-detail-card .button-gold:hover { background: linear-gradient(120deg, #216e7e, #1d528e); }
.order-detail-card .sales-form-actions .mini-btn { border-color: #d7e0e8; color: #43566a; background: #fff; }
.online-orders-panel #online-orders-refresh-message:empty { display: none; }
.online-order-pickup-cell { display: grid; gap: 3px; white-space: normal; min-width: 115px; max-width: 165px; }
.online-order-pickup-cell strong { overflow: hidden; color: #34475b; font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
.online-order-pickup-cell small { color: #77869a; font-size: 9px; }
@media (max-width: 560px) {
  .order-detail-card .sale-detail-grid,
  .order-detail-card .online-order-update-grid { grid-template-columns: 1fr; }
  .order-detail-card #online-order-update-form { padding: 13px; }
}

/* Give the sales workspace a clear inset and keep its summary cards compact. */
.admin-view[data-page="sales"] > .pos-sales-panel {
  width: calc(100% - 28px);
  margin-inline: auto;
}
.pos-sales-panel .sales-summary-grid {
  width: min(94%, 1120px);
  margin: 20px auto;
  gap: 16px;
}
.pos-sales-panel .sales-summary-card {
  min-height: 116px;
  padding: 15px 17px;
  gap: 6px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pos-sales-panel .sales-summary-card > span { font-size: 12px; font-weight: 550; }
.pos-sales-panel .sales-summary-card > strong { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.pos-sales-panel .sales-summary-card > small { font-size: 9.5px; }

/* Give overview and reports matching, roomier page-edge gutters. */
.admin-view[data-page="overview"],
.admin-view[data-page="reports"] {
  width: calc(100% - 48px);
  margin-inline: auto;
}

/* Present expense entry as a focused page, separate from the report table. */
.admin-view[data-page="expenses"].expense-entry-mode > .expense-summary-grid,
.admin-view[data-page="expenses"].expense-entry-mode .inventory-expenses-panel > .panel-head,
.admin-view[data-page="expenses"].expense-entry-mode .expense-report-filter,
.admin-view[data-page="expenses"].expense-entry-mode .inventory-expenses-panel > .table-scroll { display: none; }
.admin-view[data-page="expenses"].expense-entry-mode .inventory-expenses-panel { min-height: 70vh; }
.expense-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.expense-form-heading h3 { margin: 0; color: #182537; font-size: 22px; }
.expense-form-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.expense-back-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 9px 15px; border: 1px solid #d9e6de; border-radius: 11px; background: #fff; color: #187746; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.expense-back-button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.expense-back-button:hover { background: #eef8f1; border-color: #afd5bd; transform: translateX(-2px); }
.expense-back-button:focus-visible { outline: 3px solid rgba(24, 119, 70, .22); outline-offset: 2px; }
.expense-entry-mode #expense-form { display: block; max-width: 720px; margin: 0 auto; padding: 24px; border: 1px solid #e3e9e5; border-radius: 16px; background: #fbfdfb; }
.expense-entry-mode .expense-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
.expense-entry-mode .expense-form-grid .field { width: 100%; }
.expense-entry-mode .expense-form-grid .field label { display: block; margin-bottom: 7px; font-size: 13px; }
.expense-entry-mode .expense-form-grid .field input:not([type="checkbox"]),
.expense-entry-mode .expense-form-grid .field select { width: 100%; min-height: 42px; padding: 9px 12px; font-size: 14px; }
.expense-entry-mode .expense-recurring-field label { display: flex !important; align-items: center; gap: 9px; }
.expense-entry-mode .expense-form-grid > .button { justify-self: start; min-width: 150px; min-height: 40px; padding: 9px 18px; font-size: 13px; }
.expense-entry-mode .expense-submit-message { max-width: 720px; margin: 14px auto 0; }
@media (max-width: 650px) {
  .expense-form-heading { align-items: flex-start; flex-direction: column; }
  .expense-entry-mode #expense-form { padding: 16px; }
}
.order-detail-images { justify-content: center; gap: 16px; padding: 10px 0 18px; }
.order-detail-images img { width: min(44vw, 220px); height: min(44vw, 220px); padding: 10px; object-fit: contain; background: #f7faf8; }
.contact-record-table { min-width: 780px; }
.contact-record-table td:last-child { min-width: 160px; }
.contact-status-inline { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.contact-status-inline .contact-status-select { max-width: 100px; }
.user-summary-grid { margin-bottom: 18px; }
.user-summary-grid .inventory-summary-card { min-height: 118px; }
.expense-form-grid > .button, .stock-form-grid > .button { min-height: 40px; width: auto; min-width: 130px; padding: 8px 15px; font-size: 13px; line-height: 1.2; }
.expense-form-grid { align-items: end; gap: 16px; }
.expense-form-grid .field { min-width: 0; }
.inventory-summary-card #inventory-last-updated { overflow: visible; font-size: clamp(15px, 1.2vw, 18px); text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.inventory-summary-card #inventory-last-updated-meta, .inventory-summary-card #inventory-last-updated-by { margin-top: 4px; font-size: 10px; }
.website-event-form > .form-grid { gap: 18px; }
.website-event-form .field { min-width: 0; }
.website-event-form textarea { min-height: 110px; resize: vertical; }
.website-event-form .button-gold { width: auto; min-width: 160px; min-height: 42px; padding: 10px 18px; font-size: 14px; }
@media (max-width: 760px) {
  .online-order-summary-grid, .user-summary-grid { grid-template-columns: 1fr; }
  .expense-form-grid > .button, .stock-form-grid > .button { width: 100%; }
  .contact-filters { align-items: flex-start; flex-direction: column; }
  .website-event-form > .form-grid { grid-template-columns: 1fr; }
}
.sale-detail-images { justify-content: center; }
.sale-detail-images img { width: min(42vw, 240px); height: min(42vw, 240px); object-fit: contain; background: #f7faf8; }
.profile-update-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px; margin: 18px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(245,248,246,.72); }
.profile-update-form > button, .profile-update-form > p { grid-column: 1 / -1; justify-self: start; }
.profile-photo-preview { display: flex; align-items: center; min-height: 40px; margin-top: 8px; color: #a33333; font-size: 12px; }
.profile-photo-preview img { width: 74px; height: 74px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.profile-photo-preview.is-error { color: #a33333; }
@media (max-width: 640px) { .profile-update-form { grid-template-columns: 1fr; } }

/* Executive analytics report */
.reports-view { display: grid; gap: 18px; }
.report-heading { padding: 22px 22px 16px; }
.report-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.report-eyebrow { color:#13884b; font-size:10px; font-weight:800; letter-spacing:.16em; }
.report-title-row h2 { margin:7px 0 5px; font-size:clamp(21px,2vw,29px); letter-spacing:-.035em; }
.report-title-row p,.report-section-heading p,.report-chart-card>p { margin:0; color:#687579; }
.report-meta { display:grid; gap:5px; text-align:right; color:#263b36; }
.report-meta small { color:#77817e; }
.report-filters { display:grid; grid-template-columns:minmax(105px,.9fr) minmax(105px,.9fr) minmax(125px,1.1fr) minmax(92px,.75fr) minmax(145px,1.25fr) auto auto; align-items:end; gap:8px; margin-top:18px; }
.report-filters label,.report-register-toolbar label { display:grid; gap:4px; color:#63706b; font-size:9px; font-weight:500; }
.report-filters input,.report-filters select,.report-register-toolbar input,.report-register-toolbar select { width:100%; min-width:0; height:31px; padding:0 7px; border:1px solid #dfe6e2; border-radius:8px; background:#fff; color:#24332e; font:inherit; font-size:10px; font-weight:400; }
.report-filters button { min-height:31px; padding:5px 10px; font-size:10px; font-weight:400; }
.report-period-line { margin-top:12px; color:#7a8581; font-size:11px; }
.report-period-line strong { color:#42524c; font-weight:700; }
.report-kpi-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.report-kpi { position:relative; min-height:122px; padding:16px 17px; overflow:hidden; border:1px solid #e1e8ef; border-left:4px solid #20a45b; border-radius:15px; background:#fff; box-shadow:none; }
.report-kpi>span { display:block; color:#64716d; font-size:13px; font-weight:650; }
.report-kpi>strong { display:block; margin:7px 0 3px; color:#182537; font-size:27px; line-height:1.1; letter-spacing:-.035em; }
.report-kpi>small { display:block; color:#7b8581; font-size:11px; line-height:1.5; }
.report-kpi-expenses { border-left-color:#ef982f; }
.report-kpi-net { border-left-color:var(--brand-blue); }
.report-movement-controls { display:flex; justify-content:flex-end; gap:5px; margin-top:8px; }
.report-movement-controls button { display:grid; width:25px; height:23px; place-items:center; border:1px solid #e3e9e5; border-radius:6px; background:#fff; color:#596761; cursor:pointer; }
.report-movement-scroll { max-height:270px; overflow-y:scroll; overflow-x:hidden; padding-right:5px; scrollbar-color:#9eada4 #edf1ee; scrollbar-width:thin; scrollbar-gutter:stable; }
.report-stock-health { display:flex; gap:3px; height:5px; margin-top:9px; overflow:hidden; border-radius:8px; background:#edf1ef; }
.report-stock-health span { background:var(--health); }
.report-section { display:grid; gap:14px; }
.report-section-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; padding:0 3px; }
.report-section-heading>div { display:flex; align-items:center; gap:11px; }
.report-section-heading>div>span { display:grid; width:27px; height:27px; place-items:center; border-radius:8px; background:#e9f5ed; color:#13884b; font-size:10px; font-weight:800; }
.report-section-heading h2 { margin:0; color:#1b2924; font-size:18px; letter-spacing:-.02em; }
.report-section-heading p { font-size:11px; }
.report-chart-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:16px; }
.report-chart-card { display:flex; min-width:0; flex-direction:column; padding:20px 22px; border:1px solid #e7ece9; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(34,57,47,.035); }
.report-chart-card h3 { margin:0 0 4px; color:#27352f; font-size:14px; }
.report-chart-card>p { font-size:11px; }
.report-chart-body { flex:1; min-height:0; padding-top:12px; }
.report-empty { min-height:105px; }
.reports-view #report-financial-chart,.reports-view #report-payment-chart,.reports-view #report-brand-chart { min-height:0; }
.reports-view #report-financial-chart { padding-top:9px; }
.reports-view #report-payment-chart { display:flex; flex-direction:column; padding-top:8px; }
.reports-view #report-brand-chart { padding-top:10px; }
.reports-view #report-payment-chart { justify-content:space-between; }
.reports-view #report-payment-chart .overview-payment-bars { display:flex; flex:1; flex-direction:column; justify-content:space-evenly; gap:14px; padding:4px 0 2px; }
.reports-view #report-payment-chart .overview-payment-total { margin-top:8px; padding-top:8px; }
.report-yoy-section .report-section-heading { align-items:flex-start; flex-direction:column; gap:4px; }
.report-yoy-section .report-section-heading h2 { white-space:nowrap; }
.report-yoy-section .report-section-heading p { margin:0 0 0 38px; padding:0; }
.report-service-register { min-width:560px; }
.report-service-register th:last-child,.report-service-register td:last-child { text-align:right; }
.report-service-register td:nth-child(4) { text-align:center; }
.report-empty { display:grid; min-height:105px; place-items:center; margin:0; color:#8b9591; font-size:12px; text-align:center; }
.report-line-svg { width:100%; height:auto; overflow:visible; }
.report-line-svg text { fill:#7b8681; font-size:10px; }
.report-axis { stroke:#e8eeea; stroke-width:1; }
.report-line { fill:none; stroke:#159b58; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.report-point { fill:#fff; stroke:#159b58; stroke-width:3; }
.report-chart-footnote { margin-top:3px; color:#69756f; font-size:11px; }
.report-donut-layout { display:grid; grid-template-columns:150px 1fr; align-items:center; gap:18px; min-height:160px; }
.report-donut { display:grid; width:142px; aspect-ratio:1; place-items:center; border-radius:50%; position:relative; }
.report-donut:before { position:absolute; inset:24px; border-radius:50%; background:#fff; content:""; }
.report-donut span { z-index:1; max-width:95px; color:#26332e; font-size:11px; font-weight:750; text-align:center; }
.report-legend { display:grid; gap:9px; }
.report-legend>div { display:grid; grid-template-columns:9px 1fr auto; align-items:center; gap:8px; color:#65716c; font-size:11px; }
.report-legend i { width:8px; height:8px; border-radius:50%; background:var(--legend); }
.report-legend strong { color:#27352f; }
.report-bars { display:grid; gap:11px; }
.report-bar-row { display:grid; grid-template-columns:minmax(85px,1fr) minmax(70px,2fr) auto; align-items:center; gap:10px; width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; }
.report-bar-label { overflow:hidden; color:#48564f; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.report-bar-track { height:8px; overflow:hidden; border-radius:8px; background:#edf2ef; }
.report-bar-track i { display:block; height:100%; border-radius:inherit; background:var(--bar-color); }
.report-bar-row strong { color:#38463f; font-size:10px; white-space:nowrap; }
.report-mode-switch { display:flex; gap:5px; margin-top:12px; }
.report-mode-switch button { padding:5px 10px; border:1px solid #e2e9e5; border-radius:20px; background:#fff; color:#68766f; font-size:10px; }
.report-mode-switch button.is-active { border-color:#18874d; background:#e9f5ed; color:#127241; }
.report-group-bars { display:flex; align-items:stretch; justify-content:space-around; height:165px; gap:8px; border-bottom:1px solid #e7ece9; }
.report-financial-line,.report-yoy-line { display:block; width:100%; height:auto; overflow:visible; }
.report-financial-line { min-height:0; }
.report-yoy-line { min-height:195px; max-height:210px; margin-top:2px; }
.report-product-line { display:block; width:100%; height:auto; min-height:205px; overflow:visible; }
.report-product-line text { fill:#718078; font:9px Arial,sans-serif; }
.report-product-line circle { cursor:crosshair; }
#report-financial-tooltip rect.report-tooltip-card { fill:#fff; stroke:#e6ece8; stroke-width:1; filter:drop-shadow(0 5px 12px rgba(20,40,30,.18)); }
.report-tooltip-guide { stroke:#aab6af; stroke-width:1; stroke-dasharray:4 4; }
.report-tooltip-active { fill:#fff; stroke:#5f6d65; stroke-width:2; }
.report-tooltip-month { fill:#77827c; font:600 12px Arial,sans-serif; }
.report-tooltip-label { fill:#59665f; font:11px Arial,sans-serif; }
.report-tooltip-value { fill:#26352e; font:700 11px Arial,sans-serif; }
.report-financial-grid path { fill:none; stroke:#e9eef3; stroke-width:1; stroke-dasharray:4 5; }
.report-financial-grid text,.report-financial-labels text { fill:#74808a; font:12px Arial,sans-serif; }
.report-financial-legend text { fill:#77827d; font:18px Arial,sans-serif; }
.report-financial-line circle,.report-yoy-line circle { cursor:crosshair; }
.report-monthly-series-line { fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.report-monthly-hit { fill:transparent; stroke:transparent; cursor:pointer; outline:none; }
.report-monthly-hit:focus { stroke:#91a99b; stroke-width:1.5; }
.report-monthly-dot { fill:#fff; stroke-width:2.5; pointer-events:none; }
.report-monthly-guide { stroke:#b8c4bd; stroke-width:1; }
.report-monthly-focus { fill:#fff; stroke-width:2.5; }
.report-monthly-tooltip-card { fill:#fff; stroke:#e4ebe6; stroke-width:1; filter:drop-shadow(0 5px 12px rgba(20,40,30,.16)); }
.report-monthly-tooltip-month { fill:#647169; font:600 11px Arial,sans-serif; }
.report-monthly-tooltip-value { fill:#26352e; font:700 13px Arial,sans-serif; }
.report-monthly-legend { display:flex; justify-content:center; gap:22px; padding:2px 0 8px; color:#718078; font-size:11px; }
.report-monthly-legend span { display:flex; align-items:center; gap:7px; }
.report-monthly-legend i { width:9px; height:9px; border-radius:50%; background:var(--series); }
.report-line-legend { justify-content:center; gap:28px; margin-top:3px; }
.report-line-legend span:before { background:#20a45b; }
.report-line-legend span+span:before { background:#ef982f; }
.report-scatter-year-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#report-annual-sales { display:grid; align-content:center; gap:0; min-height:0; }
.report-annual-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 5px; border-bottom:1px solid #edf0ee; color:#46534d; font-size:13px; }
.report-annual-row span { display:flex; align-items:center; gap:9px; }
.report-annual-row i { width:10px; height:10px; border-radius:50%; background:var(--series); }
.report-annual-row strong { color:#26352e; }
.report-group-column { display:grid; flex:1; grid-template-rows:1fr auto; min-width:0; text-align:center; }
.report-columns { display:flex; align-items:end; justify-content:center; gap:5px; height:145px; }
.report-columns i { width:min(24px,35%); min-height:2px; border-radius:5px 5px 0 0; background:#159b58; }
.report-columns i.expense-column { background:#d9a441; }
.report-group-column small { overflow:hidden; padding:6px 0; color:#7c8782; font-size:9px; text-overflow:ellipsis; }
.report-inline-legend { display:flex; gap:18px; padding-top:10px; color:#77827d; font-size:10px; }
.report-inline-legend span:before { display:inline-block; width:8px; height:8px; margin-right:6px; border-radius:2px; background:#159b58; content:""; }
.report-inline-legend span+span:before { background:#d9a441; }
.report-stock-row { display:grid; grid-template-columns:145px 1fr 28px; align-items:center; gap:12px; margin:12px 0; color:#58655f; font-size:11px; }
.report-stock-row>i { height:11px; overflow:hidden; border-radius:10px; background:#eef2ef; }
.report-stock-row>i>b { display:block; height:100%; border-radius:inherit; }
.report-stock-row strong { color:#24332d; text-align:right; }
.report-payment-tracking-bars { display:grid; gap:12px; padding:3px 0 8px; }
.report-payment-tracking-row { display:grid; gap:6px; }
.report-payment-tracking-row>div:first-child { display:flex; align-items:center; justify-content:space-between; gap:8px; color:#647187; font-size:11px; }
.report-payment-tracking-row small { margin-left:4px; color:#8a95a5; font-size:10px; white-space:nowrap; }
.report-payment-tracking-row strong { color:#243247; font-size:11px; white-space:nowrap; }
.report-payment-tracking-row .payment-track { height:7px; }
.report-payment-tracking-total { display:flex; justify-content:space-between; gap:10px; margin-top:auto; padding-top:8px; border-top:1px solid #edf0f4; color:#68768a; font-size:11px; }
.report-payment-tracking-total span { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.report-payment-tracking-total strong { color:#172d54; font-size:12px; }
.report-year-grid { display:grid; gap:7px; overflow-x:auto; }
.report-year-months,.report-year-row { display:grid; grid-template-columns:55px repeat(12,minmax(28px,1fr)); align-items:center; gap:7px; min-width:530px; }
.report-year-months { color:#828c88; font-size:9px; text-align:center; }
.report-year-row>strong { color:#33413b; font-size:11px; }
.report-year-cell { height:18px; border-radius:4px; background:rgba(21,155,88,var(--cell)); }
.report-year-lines { display:grid; grid-template-columns:repeat(3,minmax(110px,1fr)); gap:5px 14px; }
.report-year-series { display:flex; align-items:center; gap:7px; color:#50605a; font-size:10px; }
.report-year-series i { width:9px; height:9px; border-radius:50%; background:var(--series); }
.report-year-series span { margin-left:auto; color:#77827d; }
.report-heatmap { display:grid; gap:5px; overflow-x:auto; }
.report-heatmap-hours,.report-heatmap-row { display:grid; grid-template-columns:34px repeat(24,minmax(8px,1fr)); align-items:center; gap:3px; min-width:380px; }
.report-heatmap-hours { color:#89938e; font-size:8px; text-align:center; }
.report-heatmap-row>span { color:#68756f; font-size:9px; }
.report-heatmap-row>i { height:14px; border-radius:3px; background:rgba(21,155,88,var(--heat)); }
.report-heat-legend { display:flex; align-items:center; justify-content:flex-end; gap:5px; margin-top:12px; color:#828c87; font-size:9px; }
.report-heat-legend i { width:10px; height:10px; border-radius:2px; background:rgba(21,155,88,.2); }
.report-heat-legend i:nth-of-type(2) { background:rgba(21,155,88,.45); }
.report-heat-legend i:nth-of-type(3) { background:rgba(21,155,88,.7); }
.report-heat-legend i:nth-of-type(4) { background:#159b58; }
.report-insights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.report-insights article { padding:17px 18px; border:1px solid #e7ece9; border-top:3px solid #159b58; border-radius:13px; background:#fff; }
.report-insights article>span { color:#15854a; font-size:9px; font-weight:800; letter-spacing:.1em; }
.report-insights h3 { margin:8px 0 6px; color:#28362f; font-size:13px; }
.report-insights p,.report-insights small { display:block; margin:0; color:#65716b; font-size:11px; line-height:1.55; }
.report-insights small { margin-top:8px; }
.report-register-toolbar { display:flex; align-items:end; gap:12px; margin-bottom:15px; }
.report-register-toolbar input { min-width:240px; }
.report-register-toolbar select { min-width:150px; }
.report-register-table { width:100%; min-width:980px; border-collapse:collapse; }
.report-register-table th { padding:12px 10px; background:rgba(21,155,88,.09); color:#64716b; font-size:10px; text-align:left; white-space:nowrap; }
.report-register-table td { padding:12px 10px; border-bottom:1px solid #edf0ee; color:#3d4944; font-size:11px; }
.report-unavailable-cell { color:#929b96 !important; }
.report-stock-badge { padding:4px 8px; border-radius:20px; font-size:10px; white-space:nowrap; }
.report-stock-badge.is-healthy { background:#e8f5ec; color:#187545; }
.report-stock-badge.is-low { background:#fff4dc; color:#99660b; }
.report-stock-badge.is-empty { background:#fdebed; color:#ad3e45; }
.report-data-limit { margin:0; padding:14px 16px; border-left:3px solid #d9a441; border-radius:8px; background:#fffaf0; color:#6c6658; font-size:11px; line-height:1.6; }
.report-summary-card { display:grid; grid-template-columns:minmax(180px,.45fr) 1fr; align-items:center; gap:20px; padding:20px 24px; border:1px solid #dcebe1; border-left:4px solid #159b58; border-radius:15px; background:linear-gradient(115deg,#f0f8f2,#fff 65%); }
.report-summary-card span { color:#178449; font-size:9px; font-weight:800; letter-spacing:.12em; }

/* Keep the movement panel fixed so longer lists scroll inside the chart card. */
#report-movement-chart { height:230px; min-height:0; overflow:hidden; }
#report-movement-chart .report-movement-scroll { height:100%; max-height:none; overflow-y:auto; overscroll-behavior:contain; }

/* Staff portal navigation uses the deep navy palette from the supplied reference. */
.admin-sidebar { background:#061f49; }
.admin-side-nav { scrollbar-color:rgba(255,255,255,.82) transparent; }
.admin-side-nav::-webkit-scrollbar { width:9px; }
.admin-side-nav::-webkit-scrollbar-track { border:0; background:transparent; }
.admin-side-nav::-webkit-scrollbar-thumb { border:0; border-radius:9px; background:rgba(255,255,255,.78); }
.admin-side-nav::-webkit-scrollbar-button { height:10px; border:0; background:transparent; }
.admin-side-nav button:hover,
.admin-side-nav button.is-active,
.sidebar-bottom-link:hover,
.sidebar-bottom-link.is-active { background:#f8941d; color:#fff; }
.nav-submenu { border-left-color:rgba(255,255,255,.18); }
.sidebar-footer { border-top-color:rgba(255,255,255,.2); }
.sidebar-logout:hover { background:rgba(255,255,255,.1); }
.login-visual { background:#061f49; }
.sidebar-brand { gap:0; }
.sidebar-toggle-button { display:grid; flex:0 0 38px; width:38px; height:38px; place-items:center; margin-right:12px; padding:0; border:1px solid #e0e6ee; border-radius:9px; background:#fff; color:#132a4e; cursor:pointer; }
.sidebar-toggle-button:hover { background:#f1f5f9; }
.sidebar-toggle-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sidebar-collapsed { grid-template-columns:minmax(0,1fr) !important; }
.sidebar-collapsed > .admin-sidebar { display:none; }
.profile-page-panel { max-width:920px; margin:0 auto; }
.profile-page-identity { display:grid; justify-items:center; gap:6px; margin:8px auto 22px; text-align:center; }
.profile-page-identity img { width:112px; height:112px; border:4px solid #fff; border-radius:50%; background:#e8bb63; box-shadow:0 4px 18px rgba(10,35,70,.16); object-fit:cover; }

/* Staff sign-in refresh: carry the sidebar navy into the login experience. */
.login-shell { border-color: rgba(6,31,73,.14); box-shadow: 0 24px 70px rgba(6,31,73,.16); }
.login-visual { border-right: 0; border-radius: 0 64px 64px 0; background: #061f49; }
.login-visual > img { object-position: center; transform: scale(1.015); }
.login-visual-shade { background: linear-gradient(112deg, rgba(6,31,73,.92), rgba(6,31,73,.66) 48%, rgba(3,14,34,.52)); }
.login-visual-copy { right: 8%; left: 12%; justify-items: start; gap: 18px; max-width: 760px; text-align: left; }
.login-visual-copy h2 { order: 0; max-width: 760px; font-size: clamp(54px, 5.5vw, 84px); font-weight: 800; line-height: 1.01; letter-spacing: -.05em; text-wrap: balance; text-shadow: 0 4px 24px rgba(0,0,0,.22); }
.login-visual-copy .login-visual-kicker { order: 1; margin: 0; color: #f2c66f; font-size: 14px; font-weight: 800; letter-spacing: .2em; }
.login-brand-head { background: linear-gradient(135deg, #061f49, #123b72); }
.login-brand-logo { color: #061f49; border-color: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(2,15,39,.18); }
.login-form-content > .eyebrow { color: #244875; letter-spacing: .16em; }
.login-form-side .button-gold { background: linear-gradient(120deg, #061f49, #17447e); box-shadow: 0 8px 18px rgba(6,31,73,.2); }
.login-form-side .button-gold:hover { background: linear-gradient(120deg, #0b2c5e, #20558f); }
.login-reset-prompt button { color: #123b72; }
.login-form-side { background: #f8fafd; }
.login-form-side .login-box { box-shadow: 0 18px 48px rgba(6,31,73,.1); }

@media (max-width: 760px) {
  .login-visual { border-radius: 0 0 36px 36px; }
  .login-visual-shade { background: linear-gradient(115deg, rgba(6,31,73,.87), rgba(6,31,73,.58)); }
  .login-visual-copy { justify-items: center; text-align: center; }
  .login-visual-copy h2 { font-size: clamp(40px, 9vw, 56px); }
  .login-visual-copy .login-visual-kicker { font-size: 11px; }
}
.profile-page-identity strong { color:#172a47; font-size:20px; }
.profile-page-identity span { color:#68758a; font-size:13px; text-transform:capitalize; }
.profile-page-details,.user-detail-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; max-width:720px; margin:0 auto 22px; }
.profile-page-details>div,.user-detail-list>div { min-width:0; padding:11px 2px; border-bottom:1px solid #e9edf2; }
.profile-page-details dt,.user-detail-list dt { color:#78859a; font-size:10px; font-weight:750; letter-spacing:.06em; text-transform:uppercase; }
.profile-page-details dd,.user-detail-list dd { margin:3px 0 0; color:#27364e; font-size:13px; overflow-wrap:anywhere; }
.profile-page-panel .profile-update-form,.profile-page-panel .profile-settings,.profile-page-panel>#profile-page-logout { width:min(720px,100%); margin-right:auto; margin-left:auto; }
.users-toolbar,.user-row-actions { display:flex; align-items:center; gap:8px; }
.user-row-actions { white-space:nowrap; }
.user-row-actions .sales-action-button { width:32px; height:32px; }
.user-row-actions svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.user-detail-card { width:min(500px,calc(100vw - 32px)); margin:0 auto; padding:24px; border-radius:20px; }
.user-detail-card .product-image-dialog-head { padding-bottom:13px; border-bottom:1px solid #e9edf2; }
.user-detail-identity { display:flex; flex-direction:column; align-items:center; gap:10px; margin:18px 0 20px; text-align:center; }
.user-detail-identity>div:last-child { display:grid; justify-items:center; gap:5px; }
.user-detail-identity strong { color:#1d2e49; font-size:17px; }
.user-detail-identity span { color:#748198; font-size:12px; }
.user-detail-avatar { display:grid; width:84px; height:84px; flex:0 0 84px; place-items:center; border:3px solid #fff; border-radius:50%; background:#e8bb63; box-shadow:0 0 0 1px #e6bd72,0 8px 20px rgba(19,40,69,.14); object-fit:cover; }
.user-detail-avatar-fallback { color:#10284b; font-size:22px; font-weight:800; }
.user-detail-list { grid-template-columns:1fr; max-width:none; margin:0 0 15px; }
.user-detail-list dd { font-size:12px; }
.user-edit-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.user-edit-form label { display:grid; gap:5px; color:#56647a; font-size:11px; font-weight:650; }
.user-edit-form input,.user-edit-form select { width:100%; min-height:38px; padding:8px 10px; border:1px solid #dce3ec; border-radius:8px; background:#fff; color:#24334a; font:inherit; font-size:12px; }
.user-edit-form button,.user-edit-form .form-message { grid-column:1/-1; }
.staff-active.is-offline { color:#9a5050; }
.users-table .staff-active { gap:6px; font-size:10px; font-weight:650; white-space:nowrap; }
.users-table .staff-active i { width:7px; height:7px; border-radius:50%; background:#20a45b; box-shadow:0 0 0 3px rgba(32,164,91,.12); }
.staff-active.is-offline i { background:#d34848; box-shadow:0 0 0 3px rgba(211,72,72,.12); }
@media(max-width:640px){.profile-page-details,.user-detail-list,.user-edit-form{grid-template-columns:1fr}.users-toolbar{align-items:flex-end;flex-direction:column}}
@media(max-width:640px){.user-detail-card{padding:18px}.user-detail-avatar{width:72px;height:72px;flex-basis:72px}}

/* Compact expense controls into one light, single-row filter bar. */
.expense-report-filter { display:flex; flex-wrap:nowrap; justify-content:flex-start; align-items:center; gap:7px; min-width:0; color:#5f6b64; font-size:10px; font-weight:400; }
.expense-filter-field { display:flex; align-items:center; gap:5px; color:#68766f; font-size:10px; font-weight:400; white-space:nowrap; }
.expense-filter-field input,.expense-filter-field select { width:132px; min-width:0; height:30px; min-height:30px; padding:4px 7px; border:1px solid #dce4df; border-radius:7px; background:#fff; color:#23352b; font:inherit; font-size:10px; font-weight:400; }
.expense-filter-field.expense-type-field select { width:122px; }
.expense-report-filter>.mini-btn { min-height:30px; height:30px; padding:5px 10px; font-size:10px; font-weight:500; white-space:nowrap; }
.expense-select-all-control { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; color:#405246; font-size:11px; font-weight:600; cursor:pointer; }
.expense-select-all-control input { width:15px; height:15px; margin:0; accent-color:#178d58; }
.expense-report-filter>.expense-delete-button { border-color:#efc3c0; color:#a8322b; background:#fff5f4; }
.expense-report-filter>.expense-delete-button:not(:disabled):hover { border-color:#d98d88; background:#ffe9e7; }
.expense-report-filter>.expense-delete-button:disabled { opacity:.55; cursor:not-allowed; }
@media(max-width:760px){.expense-report-filter{flex-wrap:wrap}.expense-filter-field{flex:1 1 165px}.expense-filter-field input,.expense-filter-field select{flex:1;width:auto}}

/* Smaller, cleaner stock-balance controls and a table that fits the panel width. */
.stock-toolbar button { min-height:32px; padding:6px 10px; border-radius:8px; font-size:11px; line-height:1.2; }
.stock-balance-table { width:100%; min-width:0 !important; table-layout:fixed; }
.stock-balance-table th,.stock-balance-table td { padding:10px 8px; white-space:normal; overflow-wrap:anywhere; }
.stock-balance-table th:nth-child(1) { width:27%; }
.stock-balance-table th:nth-child(2) { width:20%; }
.stock-balance-table th:nth-child(3) { width:20%; }
.stock-balance-table th:nth-child(4) { width:17%; }
.stock-balance-table th:nth-child(5) { width:16%; }
.stock-balance-table .sales-action-group { gap:4px; }
.stock-balance-table .sales-action-button { width:30px; height:30px; padding:5px; }

/* Compact user management and keep the requested columns visible together. */
.users-page-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 12px; }
.users-page-heading h2 { margin:0; color:#172a47; font-size:19px; }
.users-page-heading p { margin:3px 0 0; color:#718096; font-size:11px; }
.users-toolbar { flex:0 0 auto; }
.users-toolbar .mini-btn { min-height:33px; padding:6px 11px; font-size:11px; }
.users-create-button { border-color:#d9ad58; background:#e8bd6b; color:#18253a; }
.admin-view[data-page="users"] { align-content:start; }
#users-list-view { display:grid; align-content:start; gap:16px; min-width:0; }
.user-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:0; }
.user-summary-grid .inventory-summary-card { min-height:112px; padding:16px 18px; }
.users-table-scroll { display:block; width:100%; min-width:0; overflow-x:auto; }
.users-table { width:100%; min-width:0 !important; table-layout:fixed; }
.users-table th,.users-table td { height:auto; padding:10px 7px; font-size:11px; white-space:normal; overflow-wrap:anywhere; }
.users-table th:nth-child(1) { width:5%; }
.users-table th:nth-child(2) { width:17%; }
.users-table th:nth-child(3) { width:10%; }
.users-table th:nth-child(4) { width:13%; }
.users-table th:nth-child(5) { width:10%; }
.users-table th:nth-child(6) { width:11%; }
.users-table th:nth-child(7) { width:15%; }
.users-table th:nth-child(8) { width:19%; }
.user-row-actions { gap:4px; }
.user-row-actions .mini-btn { min-height:28px; padding:4px 8px; font-size:10px; }
.user-row-actions .sales-action-button { width:28px; height:28px; }
.users-table th { padding:9px 6px; font-size:9px; letter-spacing:.055em; white-space:nowrap; }
.create-user-form { max-width:900px; margin:0 auto; padding:22px; border:1px solid #e5eaf0; border-radius:16px; background:linear-gradient(145deg,#fff,#f8fafc); }
.create-user-form .form-grid { gap:16px 20px; margin-bottom:20px; }
.create-user-form .field { display:grid; align-content:start; gap:7px; }
.create-user-form .field label { color:#334155; font-size:12px; font-weight:700; }
.create-user-form .field input,.create-user-form .field select { min-height:42px; border-radius:9px; }
.create-user-form .field small { color:#748198; font-size:11px; line-height:1.5; }
.create-user-form > .button-gold { min-height:42px; padding:10px 18px; border-radius:9px; }
.create-user-form #create-user-message { margin-top:14px; }
@media(max-width:760px){.users-page-heading{align-items:flex-start;flex-direction:column}.users-toolbar{align-self:flex-end}.user-summary-grid{grid-template-columns:1fr}.users-table{min-width:850px !important}.users-table th,.users-table td{padding:7px 5px;font-size:10px}}

/* Keep every record opened from a view action on the same compact receipt layout. */
.record-detail-card,
#contact-detail-dialog .product-image-dialog-card,
#expense-detail-dialog .product-image-dialog-card,
#stock-detail-dialog .product-image-dialog-card,
#product-image-dialog .product-image-dialog-card {
  width:min(500px,calc(100vw - 32px));
  max-height:min(88vh,820px);
  overflow-y:auto;
  padding:22px;
  border:1px solid #e3e9ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 24px 70px rgba(16,35,59,.2);
}
.record-detail-card .sale-detail-grid,
.record-detail-card .product-detail-list,
#contact-detail-dialog .product-detail-list,
#expense-detail-dialog .product-detail-list,
#stock-detail-dialog .product-detail-list,
#product-image-dialog .product-detail-list {
  grid-template-columns:1fr;
  gap:0;
  margin:0;
}
.record-detail-card .sale-detail-grid>div,
.record-detail-card .product-detail-list>div,
#contact-detail-dialog .product-detail-list>div,
#expense-detail-dialog .product-detail-list>div,
#stock-detail-dialog .product-detail-list>div,
#product-image-dialog .product-detail-list>div {
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
  padding:11px 2px;
  border:0;
  border-bottom:1px solid #e9edf2;
  border-radius:0;
  background:transparent;
}
.record-detail-card .sale-detail-grid dt,
.record-detail-card .product-detail-list dt,
#contact-detail-dialog .product-detail-list dt,
#expense-detail-dialog .product-detail-list dt,
#stock-detail-dialog .product-detail-list dt,
#product-image-dialog .product-detail-list dt {
  color:#78859a;
  font-size:10px;
  font-weight:750;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.record-detail-card .sale-detail-grid dd,
.record-detail-card .product-detail-list dd,
#contact-detail-dialog .product-detail-list dd,
#expense-detail-dialog .product-detail-list dd,
#stock-detail-dialog .product-detail-list dd,
#product-image-dialog .product-detail-list dd {
  color:#27364e;
  font-size:13px;
  font-weight:600;
  overflow-wrap:anywhere;
}
.record-detail-card .sale-detail-images,
#product-image-dialog .product-detail-layout { justify-content:center; }
.record-detail-card .sale-detail-images img { max-width:100%; }
.record-detail-card .online-order-update-grid { grid-template-columns:1fr; gap:12px; }
.record-detail-card .online-order-update-form { margin-top:16px; padding-top:14px; border-top:1px solid #e9edf2; }
.sales-dialog-card:not(.record-detail-card) { width:min(650px,calc(100vw - 32px)); padding:22px; border:1px solid #e3e9ef; border-radius:20px; box-shadow:0 24px 70px rgba(16,35,59,.2); }
.sales-dialog-card:not(.record-detail-card) .sales-dialog-heading { margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid #e9edf2; }
.sale-product-image { width:min(480px,100%); min-height:180px; margin:0 auto; }
.sale-product-image img { max-height:240px; }
.sales-dialog-card:not(.record-detail-card) .sales-form-grid .field label,
#online-order-update-form .field label,
.inventory-form:not(.hidden) .field label,
.website-event-form .field label { color:#334155; font-size:12px; font-weight:650; }
.sales-dialog-card:not(.record-detail-card) .sales-form-grid input,
.sales-dialog-card:not(.record-detail-card) .sales-form-grid select,
#online-order-update-form select,
#online-order-update-form textarea,
.inventory-form:not(.hidden) input,
.inventory-form:not(.hidden) select,
.website-event-form input,
.website-event-form select,
.website-event-form textarea,
.user-edit-form input,
.user-edit-form select { border-color:#dce4ec; border-radius:9px; background:#fff; }
#product-manager:not(.hidden) { max-width:980px; margin:16px auto; }
.inventory-back-button { display:inline-flex; align-items:center; gap:8px; }
.inventory-back-button svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#product-manager:not(.hidden) .product-entry-layout { border-color:#e2e8ef; border-radius:16px; background:linear-gradient(145deg,#fff,#f7fafc); box-shadow:0 10px 28px rgba(16,35,59,.06); }
#stock-balance-form:not(.hidden),#stock-receipt-form:not(.hidden) { max-width:900px; margin:16px auto 20px; padding:22px; border-color:#e2e8ef; border-radius:16px; background:linear-gradient(145deg,#fff,#f7fafc); box-shadow:0 10px 28px rgba(16,35,59,.05); }
#website-event-form { max-width:920px; margin:0 auto; padding:22px; border:1px solid #e2e8ef; border-radius:16px; background:linear-gradient(145deg,#fff,#f7fafc); }
.inventory-expenses-panel #expense-form:not(.hidden) { border-color:#e2e8ef; border-radius:16px; background:linear-gradient(145deg,#fff,#f7fafc); box-shadow:0 10px 28px rgba(16,35,59,.05); }
.user-edit-form { gap:14px; padding-top:5px; }
.user-edit-form label { color:#526176; font-size:11px; }
.user-edit-form input,.user-edit-form select { font-size:12px; }
.record-detail-card .sales-dialog-heading,
#contact-detail-dialog .product-image-dialog-head,
#expense-detail-dialog .product-image-dialog-head,
#stock-detail-dialog .product-image-dialog-head,
#product-image-dialog .product-image-dialog-head {
  margin-bottom:16px;
  padding-bottom:13px;
  border-bottom:1px solid #e9edf2;
}
.sale-detail-card .sale-detail-images { margin:4px 0 16px; }
.sale-detail-card .sale-detail-images img { width:min(250px,70vw); height:230px; padding:8px; border:1px solid #e9edf2; border-radius:14px; background:#f7fafc; }
.sale-detail-card .sales-dialog-heading h2 { font-size:22px; font-weight:650; }
.sale-detail-card .sales-dialog-heading p { font-size:12px; }
.sale-detail-card .sale-detail-grid>div { gap:3px; padding:9px 0; }
.sale-detail-card .sale-detail-grid dt { color:#78859a; font-size:9px; font-weight:600; letter-spacing:.045em; }
.sale-detail-card .sale-detail-grid dd { color:#27364e; font-size:12px; font-weight:500; }
#product-image-dialog .product-detail-image-wrap { min-height:210px; max-height:300px; }
#product-image-dialog .product-detail-image-wrap img { max-height:280px; }
@media(max-width:560px){
  .record-detail-card,#contact-detail-dialog .product-image-dialog-card,#expense-detail-dialog .product-image-dialog-card,#stock-detail-dialog .product-image-dialog-card,#product-image-dialog .product-image-dialog-card { padding:18px; }
}
.report-summary-card h2 { margin:6px 0 0; color:#25342d; font-size:17px; }
.report-summary-card p { margin:0; color:#5b6861; font-size:12px; line-height:1.7; }
@media (max-width: 1100px) { .report-filters { grid-template-columns:repeat(4,minmax(100px,1fr)); } .report-filters button { justify-self:start; } }
@media (max-width: 900px) { .report-kpi-grid { gap:10px; } .report-kpi { padding:15px 16px; } .report-insights { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .report-title-row,.report-section-heading { align-items:flex-start; flex-direction:column; } .report-meta { text-align:left; } .report-heading { padding:18px; } .report-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .report-filters label:nth-child(5) { grid-column:1 / -1; } .report-kpi-grid,.report-chart-grid,.report-insights,.report-scatter-year-grid { grid-template-columns:1fr; } .report-kpi { min-height:100px; } .report-section-heading p { padding-left:38px; } .report-donut-layout { grid-template-columns:120px 1fr; gap:10px; } .report-donut { width:112px; } .report-donut:before { inset:20px; } .report-stock-row { grid-template-columns:110px 1fr 24px; gap:8px; } .report-register-toolbar { align-items:stretch; flex-direction:column; } .report-register-toolbar input,.report-register-toolbar select { width:100%; } .report-summary-card { grid-template-columns:1fr; gap:10px; } .report-yoy-line { min-height:170px; max-height:185px; } }
@media print { .reports-view { gap:12px; } .report-filters button,.report-filters label,.report-mode-switch,.report-register-toolbar,.report-table-footer,.admin-side-nav,.admin-topbar { display:none !important; } .report-heading,.report-chart-card,.report-kpi,.report-insights article { box-shadow:none; break-inside:avoid; } .report-section { break-inside:avoid; } .report-chart-grid { gap:8px; } }

@media (max-width: 760px) {
  .contact-compose-main { min-height: calc(100svh - 66px); padding: 22px 5% 34px; }
  .contact-compose-shell { gap: 0; padding: 0; }
}

@media (min-width: 761px) {
  .contact-compose-header { min-height: 54px; justify-content: flex-end; }
  .contact-compose-main { height: calc(100svh - 54px); min-height: 0; padding: 10px 4%; overflow: hidden; }
  .contact-compose-shell { height: 100%; min-height: 0; width: min(1180px, 100%); }
  .contact-compose-heading { padding: clamp(20px, 2.8vw, 38px); }
  .contact-compose-heading h1 { margin-bottom: 9px; font-size: clamp(34px, 3.6vw, 48px); }
  .contact-compose-heading p:not(.eyebrow) { font-size: 12px; line-height: 1.55; }
  .contact-compose-form { gap: 6px; padding: 14px clamp(22px, 3.2vw, 40px); }
  .contact-compose-form .field { gap: 3px; }
  .contact-compose-form .field label { font-size: 10px; }
  .contact-compose-form input,
  .contact-compose-form select { min-height: 34px; padding: 6px 10px; font-size: 12px; }
  .contact-compose-form textarea { min-height: 54px; max-height: 76px; padding: 7px 10px; font-size: 12px; }
  .contact-compose-form .button { min-height: 36px; padding-inline: 18px; }
  .contact-compose-status { min-height: 0; }
}

.contact-email-link { display: inline-flex; width: fit-content; color: #f1a23a; font-size: 10px; font-weight: 400; text-transform: uppercase; text-decoration: none; }
.contact-email-link:hover { color: #f4b24d; }
.social-links { flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 5px; white-space: nowrap; }
.social-links a { justify-content: center; width: 25px; min-width: 25px; min-height: 25px; padding: 0; border-radius: 50%; }
.social-links svg { width: 12px; height: 12px; }
.social-handle { color: rgba(255,255,255,.8); font-family: Arial, sans-serif; font-size: 9px; font-weight: 400; letter-spacing: .01em; }
.footer-grid { text-align: left; }
.footer-grid > div { align-items: flex-start; }
.footer-grid .contact-map-link { justify-content: flex-start; }
.contact-phone-toggle { justify-content: flex-start; }
.social-links { margin-top: 4px; }
.footer-bottom { justify-content: flex-start; text-align: left; }

@media (max-width: 760px) {
  .contact-compose-header { min-height: 54px; justify-content: flex-end; }
  .contact-compose-main { height: auto; min-height: calc(100svh - 54px); overflow: visible; }
  .contact-compose-shell { height: auto; }
  .contact-compose-heading { padding: 24px; }
  .contact-compose-form { gap: 10px; padding: 20px; }
  .contact-compose-form textarea { min-height: 88px; }
  .footer-grid { text-align: left; }
  .footer-grid > div { align-items: flex-start; }
  .footer-bottom { justify-content: flex-start; text-align: left; }
}

@media (max-width: 380px) {
  .social-links { gap: 4px; }
  .social-links a { width: 23px; min-width: 23px; min-height: 23px; }
  .social-handle { font-size: 8px; }
}

.contact-email-link { align-items: center; gap: 6px; }
.contact-email-link svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .site-header .brand > span:last-child { white-space: nowrap; font-size: clamp(11px, 3.4vw, 15px); letter-spacing: .055em; }

  .booking-page { min-height: 0; padding: 4px 0 4px; }
  .booking-shell { width: calc(100% - 16px); }
  .booking-page .page-heading { display: none; }
  .booking-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
  .booking-layout .summary-card { display: grid; gap: 0; min-height: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .booking-layout .summary-card > :not(.booking-product-preview) { display: none; }
  .booking-product-preview { min-height: 72px; padding: 4px; border-radius: 8px; }
  .booking-product-preview img { height: 64px; }
  .booking-product-placeholder { gap: 2px; }
  .booking-product-placeholder svg { width: 22px; height: 22px; }
  .booking-product-placeholder small { font-size: 8px; }
  .booking-layout .order-panel { padding: 8px 10px; border-radius: 13px; box-shadow: 0 5px 18px rgba(16,42,29,.06); }
  .order-panel h2 { margin: 0 0 7px; font-size: 15px; }
  .order-panel .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px; }
  .order-panel .field { min-width: 0; gap: 2px; }
  .order-panel .field label { font-size: 9px; line-height: 1.2; }
  .order-panel .field input,
  .order-panel .field select { min-width: 0; min-height: 32px; padding: 5px 8px; border-radius: 7px; font-size: 11px; }
  .order-panel .field[hidden] { display: none !important; }
  .booking-submit-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 5px; }
  .booking-submit-row .field { min-width: 0; }
  .booking-submit-row .order-submit-button { width: 100%; min-width: 0; }
  .order-submit-button { width: 100%; min-height: 34px; margin-top: 7px; padding-inline: 12px; border-radius: 7px; font-size: 12px; }
  .order-panel .form-message:empty { display: none; }
  .order-panel .form-message { margin: 5px 0 0; font-size: 10px; line-height: 1.35; }

  .site-footer { padding-top: 24px; }
  .footer-grid { gap: 16px; padding-bottom: 18px; }
  .footer-brand { gap: 0; }
  .footer-brand > span:last-child { white-space: nowrap; font-size: 14px; letter-spacing: .06em; }
  .footer-brand small { font-size: 7px; }
  .footer-about > p { max-width: 38ch; font-size: 11px; line-height: 1.5; }
  .footer-contact-column { width: 100%; gap: 7px !important; padding: 12px; border: 1px solid rgba(240,200,120,.2); border-radius: 12px; background: rgba(255,255,255,.035); }
  .footer-contact-column > .eyebrow { margin: 0 0 1px; font-size: 11px; letter-spacing: .14em; }
  .footer-contact-column .contact-email-link { margin: 0; font-size: 10px; }
  .footer-contact-column .contact-phone-options { margin: 0; }
  .contact-phone-toggle { min-height: 32px; gap: 8px; font-size: 11px; }
  .contact-phone-toggle strong { font-size: 11px; }
  .phone-channel-list { gap: 6px; }
  .phone-channel-list a { min-height: 30px; padding: 5px 8px; font-size: 10px; }
  .phone-channel-list svg { width: 13px; height: 13px; }
  .social-links { margin-top: 1px; gap: 6px; }
  .social-links a { width: 26px; min-width: 26px; min-height: 26px; }
  .social-handle { font-size: 9px; }
  .footer-quick-links { gap: 5px !important; }
  .footer-quick-links .eyebrow { margin: 0 0 2px; font-size: 11px; }
  .footer-quick-links a { font-size: 11px; }
  .footer-bottom { padding: 12px 0 18px; font-size: 10px; }
}

@media (max-width: 1320px) {
  .admin-body { min-width: 0; overflow-x: hidden; }
  .admin-shell { display: grid; grid-template-columns: 238px minmax(0,1fr); width: 100%; min-height: 100svh; overflow-x: clip; }
  .admin-sidebar {
    position: sticky;
    z-index: 6;
    top: 0;
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 238px;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    padding: 16px 12px max(12px, env(safe-area-inset-bottom));
    overflow: hidden;
    transform: none;
    box-shadow: none;
  }
  .admin-shell.sidebar-drawer-open > .admin-sidebar { transform: none; }
  .sidebar-backdrop { display: none !important; }
  .admin-sidebar .sidebar-brand { padding: 0 8px 12px; }
  .admin-side-nav { display: flex; flex: 1 1 auto; flex-direction: column; flex-wrap: nowrap; gap: 3px; min-height: 0; margin: 10px 0; overflow: auto; }
  .admin-side-nav button, .sidebar-footer button { width: 100%; min-height: 38px; flex: 0 0 auto; font-size: 14px; }
  .admin-side-nav .nav-submenu button { min-height: 32px; font-size: 14px; }
  .sidebar-footer { display: grid; flex: 0 0 auto; gap: 3px; padding-top: 8px; }
  .sidebar-settings { gap: 8px; margin-top: 8px; padding: 10px 6px 4px; }
  .admin-main { width: 100%; min-width: 0; padding: 0 16px 22px 8px; }
  .admin-content { width: 100%; min-width: 0; }
  .admin-topbar {
    position: sticky;
    z-index: 5;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 60px;
    margin: 0 -16px 12px -8px;
    padding: 6px 16px 6px 8px;
    text-align: left;
  }
  .admin-topbar .topbar-heading { min-width: 0; }
  .topbar-user-left { display: flex; min-width: 0; align-items: center; gap: 6px; padding: 0; }
  .sidebar-toggle-button { flex: 0 0 34px; width: 34px; height: 34px; margin: 0; }
  .sidebar-toggle-button svg { width: 18px; height: 18px; }
  .topbar-user-left .profile-heading { display: flex; min-width: 0; align-items: center; gap: 5px; white-space: nowrap; }
  .topbar-user-left .profile-heading strong { display: block; min-width: 0; max-width: clamp(72px, 25vw, 145px); overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
  .topbar-user-left .profile-heading .staff-active { display: inline-flex; flex: 0 0 auto; font-size: 9px; }
  .topbar-user-left .profile-heading .staff-role { display: inline-flex; flex: 0 0 auto; padding: 2px 5px; border-radius: 999px; background: #eef3fa; color: #3a6394; font-size: 8px; font-weight: 700; line-height: 1.4; }
  .topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
  .topbar-actions .icon-button, .profile-avatar-button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .notification-popover, .profile-menu { top: calc(100% + 8px); right: 0; left: auto; width: min(320px, calc(100vw - 24px)); max-width: calc(100vw - 24px); }
  .admin-topbar h1 { font-size: 16px; }
  .topbar-time { display: none; }
}

@media (max-width: 980px) and (min-width: 761px) {
  .admin-shell { grid-template-columns: 210px minmax(0,1fr); }
  .admin-sidebar { width: 210px; }
  .admin-main { padding-inline: 8px; }
  .admin-topbar { margin-right: -12px; margin-left: -6px; }
}

@media (max-width: 760px) {
  .admin-view[data-page="overview"], .admin-view[data-page="reports"] { width: 100%; }
  .admin-view[data-page="sales"] > .pos-sales-panel { width: 100%; margin-inline: 0; }
  .pos-sales-panel .sales-summary-grid { width: 100%; }
  .admin-view[data-page="orders"] .online-order-summary-grid { width: 100%; }
  .admin-shell { display: block; width: 100%; min-height: 100svh; overflow-x: clip; }
  .admin-sidebar {
    position: fixed;
    z-index: 132;
    inset: 0 auto 0 0;
    width: min(82vw, 286px);
    height: 100dvh;
    max-height: 100dvh;
    padding: 16px 12px max(12px, env(safe-area-inset-bottom));
    transform: translateX(-102%);
    transition: transform .22s ease;
    box-shadow: 12px 0 32px rgba(0,0,0,.2);
  }
  .admin-shell.sidebar-drawer-open > .admin-sidebar { transform: translateX(0); }
  .sidebar-backdrop[hidden] { display: none !important; }
  .sidebar-backdrop:not([hidden]) { position: fixed; z-index: 131; inset: 0; display: block !important; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(10,20,34,.48); }
  .admin-shell.sidebar-collapsed > .admin-sidebar { display: flex; }
}

@media (max-width: 760px) {
  .admin-body .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .admin-body .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .topbar-user-left .profile-heading strong { max-width: 68px; }
  .topbar-user-left .profile-heading .staff-role { display: none; }
}

/* Contact form live preview and delivery confirmation */
.contact-compose-form { grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr); align-items: stretch; gap: 16px; }
.contact-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 8px 10px; min-width: 0; }
.contact-form-fields .field:nth-of-type(5),
.contact-form-fields .field:nth-of-type(6),
.contact-form-fields > .button,
.contact-form-fields > .contact-compose-status { grid-column: 1 / -1; }
.contact-form-fields .field input,
.contact-form-fields .field select { min-width: 0; min-height: 36px; padding: 7px 9px; font-size: 11px; }
.contact-form-fields .field textarea { min-height: 58px; max-height: 82px; padding: 7px 9px; font-size: 11px; }
.contact-form-fields .button { min-height: 38px; padding: 0 18px; }
.contact-live-summary { align-self: stretch; display: flex; flex-direction: column; min-width: 0; padding: 19px; border: 1px solid #e5ebe6; border-radius: 15px; background: linear-gradient(155deg, #f8fbf8, #f1f7f4); color: #24352d; }
.contact-summary-kicker { color: #a8782f; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.contact-preview-label { display: block; margin-top: 14px; color: #7a8980; font-size: 10px; font-weight: 600; }
.contact-live-summary h2 { margin: 10px 0 15px; overflow-wrap: anywhere; color: #152c24; font-size: 17px; font-weight: 650; line-height: 1.35; }
.contact-preview-from { display: grid; gap: 3px; margin: 0 0 2px; }
.contact-preview-from span,.contact-preview-email,.contact-preview-reply { color: #7a8980; font-size: 10px; }
.contact-preview-from strong { overflow-wrap: anywhere; color: #263d32; font-size: 11px; font-weight: 600; }
.contact-preview-email { margin: 0; overflow-wrap: anywhere; }
.contact-preview-message-label { margin-top: 8px; }
.contact-preview-message { flex: 1; min-height: 130px; margin-top: 5px; overflow: auto; color: #4d5d54; font-size: 11px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-preview-reply { margin: 13px 0 0; }
.contact-preview-reply strong { color: #47594f; font-weight: 600; }
.contact-success { display: grid; justify-items: center; align-content: center; gap: 14px; width: min(680px, 100%); min-height: min(620px, 100%); padding: 42px 24px; border: 1px solid rgba(11,36,71,.08); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 28px 80px rgba(16,36,30,.12); text-align: center; }
.contact-compose-shell[hidden] { display: none; }
.contact-success[hidden] { display: none; }
.contact-success-mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: #dcfce8; box-shadow: 0 12px 30px rgba(27,99,62,.12); }
.contact-success-mark svg { width: 43px; height: 43px; fill: none; stroke: #16b969; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.contact-success h1 { margin: 8px 0; color: #142036; font-size: clamp(28px, 4vw, 42px); }
.contact-success p { margin: 0 0 12px; color: #68756d; font-size: 13px; }
.contact-success .button { min-height: 48px; padding-inline: 28px; }
.contact-form-fields .contact-compose-status { margin: 0; font-size: 10px; }

@media (max-width: 760px) {
  .contact-compose-form { grid-template-columns: 1fr; gap: 15px; }
  .contact-form-fields { grid-template-columns: 1fr; }
  .contact-form-fields .field:nth-of-type(5),
  .contact-form-fields .field:nth-of-type(6),
  .contact-form-fields > .button,
  .contact-form-fields > .contact-compose-status { grid-column: auto; }
  .contact-live-summary { min-height: 260px; padding: 16px; }
  .contact-preview-message { min-height: 110px; }
  .contact-success { min-height: 460px; }
}

.footer-contact-column { gap: 5px !important; }
.footer-contact-column .contact-email-link { margin-top: -5px; font-size: 8px; letter-spacing: .04em; }
.footer-contact-column .contact-phone-options { margin-top: -3px; }
.contact-form-fields .field textarea { min-height: 72px; max-height: 90px; }

@media (max-width: 850px) {
  .main-nav {
    top: 100%;
    right: 4%;
    left: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    width: min(54vw, 220px);
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0 0 12px 12px;
    background: #e07832;
    box-shadow: 0 14px 30px rgba(23, 28, 32, .2);
    z-index: 30;
  }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .main-nav .nav-dropdown > summary {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
  }
  .main-nav > a[href="#contact"] { display: none; }
  .main-nav > a:hover,
  .main-nav > a:focus-visible,
  .main-nav .nav-dropdown > summary:hover { background: rgba(255, 255, 255, .16); color: #fff; }
  .main-nav .nav-book { padding: 8px 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #fff !important; }
  .main-nav .nav-contact { gap: 8px; padding: 7px 9px; white-space: normal; border-radius: 8px; transition: background-color .18s ease, transform .18s ease; }
  .main-nav .nav-contact:hover,
  .main-nav .nav-contact:focus-visible { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-1px); }
  .main-nav .nav-contact-copy small { color: rgba(255, 255, 255, .8); }
  .main-nav .nav-contact-copy strong { color: #fff; }
}

.topbar-user-left .profile-heading .staff-role { display: none; }

@media (max-width: 760px) {
  .site-header .brand-mark { display: none; }
  .site-header .brand img { display: none; }
  .site-header .brand { gap: 0; }
  .footer-contact-column .contact-email-link { margin: 0; font-size: 10px; }
  .footer-contact-column .contact-phone-options { margin: 0; }
}

@media (max-width: 1320px) {
  .topbar-user-left .profile-heading .staff-role { display: inline-flex; }
}

.nav-dropdown { position: relative; }
.nav-dropdown > summary { display: flex; align-items: center; gap: 7px; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; width: 4px; height: 4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-1px) rotate(45deg); transition: transform .2s ease; }
.nav-dropdown[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 15px); left: -10px; z-index: 60; display: grid; min-width: 174px; gap: 2px; padding: 5px; border: 1px solid rgba(15,54,67,.1); border-radius: 10px; background: #fff; box-shadow: 0 16px 38px rgba(17,35,38,.16); }
.nav-dropdown-menu a { display: block; padding: 8px 9px; border-radius: 7px; color: #23333a; font-size: 11px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: #eaf7f7; color: #138b98; }
.services-section-head { position: relative; justify-content: center; margin-bottom: 13px; text-align: center; }
.cleaning-services-section .section-head { margin-bottom: 13px; }
.services-heading-copy { width: 100%; text-align: center; }
.catalogue-section .services-heading-copy h2 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 4px; font-size: clamp(24px, 3vw, 36px); }
.services-heading-note { color: #16848c; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.services-intro { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.services-section-head > .carousel-controls { position: absolute; right: 0; bottom: 1px; }
.service-track { align-items: stretch; grid-auto-rows: 1fr; }
.service-track .service-card { min-height: 0; border-color: rgba(15,54,67,.1); border-radius: 16px; box-shadow: 0 12px 28px rgba(22,50,59,.07); }
.service-track .service-card:hover { border-color: #54bfc8; background: #fff; box-shadow: 0 20px 42px rgba(31,139,149,.17); }
.service-track .service-thumb img { width: 100%; height: 180px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.service-track .service-thumb[aria-label*="Carpet"] img { object-position: center 62%; }
.service-track .service-card:hover .service-thumb img { transform: scale(1.035); }
.service-track .service-card .product-detail-mark { background: #173d4a; }
.service-track .service-card:hover .product-detail-mark { background: #19a7b5; }
.service-track .product-info { padding: 14px 15px 15px; }
.service-track .product-brand-row { margin-bottom: 6px; }
.service-track .product-tag { color: #138b98; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-track .product-info h3 { min-height: 0; margin-bottom: 6px; color: #18343d; font-size: 17px; line-height: 1.28; }
.service-track .product-info p { min-height: 0; margin-bottom: 11px; color: #52636b; font-size: 12px; line-height: 1.52; }
.service-track .product-actions { justify-content: center; gap: 16px; }
.service-track .product-actions .text-link { margin-right: 0; border-color: rgba(19,139,152,.4); color: #138b98; }
.service-track .product-actions .text-link,
.service-track .product-actions .button { font-size: 11px; }
.service-track .product-actions .button { min-height: 27px; padding: 0 8px; border-radius: 4px; background: #173d4a; color: #fff; font-size: 9px; font-weight: 600; line-height: 1; }
.service-track .product-actions .button:hover { background: #138b98; }
.cleaning-services-section { padding-top: 22px; }
.cleaning-services-section .section-head { margin-bottom: 20px; }
.cleaning-services-section .services-intro { max-width: 720px; margin: 9px auto 0; line-height: 1.7; }
.cleaning-service-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.cleaning-service-highlights li { padding: 6px 10px; border: 1px solid #d6e9e5; border-radius: 999px; background: #f2f8f6; color: #245650; font-size: 10px; font-weight: 500; line-height: 1.2; }
.cleaning-track .service-thumb img { height: 194px; }
.cleaning-service-card { background: #fff; }
.service-art { display: grid; flex: 0 0 230px; height: 230px; place-items: center; overflow: hidden; background: radial-gradient(circle at 75% 18%, rgba(255,255,255,.62), transparent 28%), linear-gradient(135deg, #d9f2ef, #a9d9db); }
.service-art svg { width: 118px; height: 90px; fill: none; stroke: #176f79; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 10px 14px rgba(22,111,121,.15)); }
.service-art-mattress { background: radial-gradient(circle at 24% 22%, rgba(255,255,255,.7), transparent 30%), linear-gradient(135deg, #dfeefa, #b4d7ed); }
.service-art-mattress svg { stroke: #286f9b; }
.service-art-space { background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.65), transparent 28%), linear-gradient(135deg, #e8eee1, #c8d8ae); }
.service-art-space svg { stroke: #587d46; }

.service-detail-page { width: min(1080px, 90%); margin: 0 auto; padding: 22px 0 30px; }
.service-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; border: 1px solid rgba(15,54,67,.1); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(17,35,38,.1); }
.service-detail-visual { position: relative; min-height: 360px; overflow: hidden; background: linear-gradient(140deg, #d9f2ef, #a9d9db); }
.service-detail-visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.service-detail-visual [hidden] { display: none; }
.service-detail-visual .service-art { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 360px; }
.service-detail-visual .service-art[hidden] { display: none; }
.service-detail-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 34px); }
.service-detail-copy .eyebrow { margin-bottom: 7px; color: #16848c; }
.service-detail-copy h1 { margin: 0 0 10px; color: #18343d; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.04em; }
.service-detail-summary { margin: 0 0 13px; color: #52636b; font-size: 12px; line-height: 1.6; }
.service-detail-copy h2 { margin: 0 0 7px; color: #18343d; font-size: 14px; }
.service-detail-points { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; color: #465a63; font-size: 11px; line-height: 1.5; }
.service-detail-points li { position: relative; padding-left: 24px; }
.service-detail-points li::before { position: absolute; top: 6px; left: 2px; width: 8px; height: 5px; border-bottom: 2px solid #19a7b5; border-left: 2px solid #19a7b5; content: ""; transform: rotate(-45deg); }
.service-detail-helpful { width: 100%; margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid #19a7b5; border-radius: 0 10px 10px 0; background: #f2f8f7; }
.service-detail-helpful h2 { margin: 0 0 6px; color: #18343d; font-size: 12px; }
.service-detail-helpful p { margin: 0; color: #52636b; font-size: 11px; line-height: 1.6; }
.service-detail-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: auto; }
.service-detail-cta .button { min-height: 38px; padding: 0 16px; border-radius: 8px; background: #173d4a; color: #fff; font-size: 11px; }
.service-detail-cta .text-link { border-color: rgba(19,139,152,.4); color: #138b98; font-size: 12px; }
.service-not-found { width: min(660px, 100%); margin: 60px auto; padding: 38px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 18px 48px rgba(17,35,38,.08); }
.service-not-found h1 { color: #18343d; font-size: 28px; }
.service-not-found p { color: var(--muted); }
.service-page-header .product-back-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid rgba(19,139,152,.2); border-radius: 999px; background: #eaf7f7; color: #138b98; font-size: 11px; font-weight: 700; }
.service-page-header .product-back-link:hover { background: #d7eff0; }

.service-order-page { min-height: calc(100vh - 82px); padding: 34px 0 52px; background: linear-gradient(180deg, #eff7f7 0, #f7f8f6 400px); font-family: "Montserrat", sans-serif; }
.service-order-shell { width: min(1160px, 92%); margin: 0 auto; }
.service-order-heading { margin: 0 0 22px; }
.service-order-heading .eyebrow { margin-bottom: 5px; color: #138b98; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.service-order-heading h1 { margin: 0 0 7px; color: #173d4a; font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; }
.service-order-heading > p:last-child { margin: 0; color: #60737a; font-size: 13px; line-height: 1.6; }
.service-order-item-fields > label { color: #243f48; font-size: 11px; font-weight: 700; }
.service-order-form input:not([type="checkbox"]), .service-order-form select { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #d5e0e1; border-radius: 9px; background: #fff; color: #18343d; font: inherit; font-size: 12px; }
.service-order-form input:focus, .service-order-form select:focus { outline: 0; border-color: #19a7b5; box-shadow: 0 0 0 3px rgba(25,167,181,.14); }
.button-outline { min-height: 36px; padding: 0 12px; border: 1px solid rgba(19,139,152,.26); border-radius: 8px; background: #effafa; color: #138b98; font-size: 10px; white-space: nowrap; }
.button-outline:hover { background: #dff3f3; }
.service-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 18px; align-items: stretch; }
.service-checkout-layout[hidden] { display: none; }
.service-order-form, .service-order-summary { min-width: 0; border: 1px solid #dce7e7; border-radius: 16px; background: #fff; box-shadow: 0 16px 38px rgba(17,35,38,.065); }
.service-order-form { display: grid; align-content: start; gap: 12px; padding: 17px 19px; box-sizing: border-box; }
.service-order-summary { align-self: stretch; border-top: 4px solid #19a7b5; padding: 20px; box-sizing: border-box; }
.service-order-page [hidden] { display: none !important; }
.service-order-section { display: grid; gap: 8px; }
.service-order-section h2 { margin: 0; color: #18343d; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.service-order-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-order-section-heading .eyebrow { margin: 0 0 3px; color: #138b98; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.service-order-section-heading h2 { font-size: 16px; }
.service-order-form .form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.service-order-form .field { min-width: 0; gap: 4px; }
.service-order-form .field label { color: #29444c; font-size: 11px; font-weight: 700; }
.service-order-form .field small { color: #72838a; font-size: 10px; line-height: 1.5; }
.service-order-form input:not([type="checkbox"]), .service-order-form select { min-height: 38px; }
.service-order-form select.service-item-select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23566f76' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 8px 5px; cursor: pointer; }
.service-order-form .field-full { grid-column: 1 / -1; }
.service-type-field { max-width: none; }
.service-fulfillment-field { width: min(100%, 430px); }
.service-location-status { margin: 0; color: #138b98; font-size: 10px; line-height: 1.4; }
.service-location-status[hidden] { display: none; }
.service-order-items { display: grid; gap: 8px; }
.service-order-item { padding: 9px 10px; border: 1px solid #dfebec; border-radius: 10px; background: #f8fcfc; }
.service-order-item-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; align-items: end; }
.service-order-item-fields > label { display: grid; min-width: 0; gap: 5px; }
.service-order-item-fields > label:last-child { grid-column: auto; }
.service-order-note { margin: 0; color: #6b7b81; font-size: 11px; line-height: 1.5; }
.service-order-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding-top: 7px; }
.service-order-submit { justify-self: auto; min-height: 40px; margin-top: 6px; padding: 0 20px; border-radius: 9px; background: #173d4a; color: #fff; font-size: 12px; font-weight: 700; }
.service-more-services-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 6px; padding: 0 16px; border: 1px solid #cfe1e2; border-radius: 9px; background: #f5fbfb; color: #138b98; font-size: 11px; font-weight: 700; text-decoration: none; }
.service-more-services-link:hover { border-color: #9bcacc; background: #eaf7f7; }
.service-order-form .form-message { margin: 0; font-size: 11px; }
.service-order-summary { display: grid; align-content: start; gap: 0; }
.service-order-summary > .eyebrow { margin: 0 0 4px; color: #138b98; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.service-order-summary h2 { margin: 0 0 12px; color: #18343d; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.service-order-customer-details { display: grid; gap: 0; margin: 0 0 7px; padding: 3px 0; border-bottom: 1px solid #e6eeee; }
.service-order-customer-details .service-order-summary-row { grid-template-columns: 48px minmax(0,1fr); align-items: baseline; gap: 8px; padding: 4px 0; border: 0; }
.service-order-customer-details .service-order-summary-row span { font-size: 9px; }
.service-order-summary-items { display: grid; align-content: start; gap: 0; margin: 0 0 6px; }
.service-order-summary-item { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid #e6eeee; color: #253f47; font-size: 12px; font-weight: 700; }
.service-order-summary-item small { color: #72838a; font-size: 11px; font-weight: 500; }
.service-order-empty { margin: 0; color: #72838a; font-size: 12px; }
.service-order-summary-row { display: grid; gap: 3px; padding: 8px 0; border-top: 1px solid #e6eeee; line-height: 1.35; }
.service-order-summary-row span { color: #72838a; font-size: 10px; }
.service-order-summary-row strong { overflow-wrap: anywhere; color: #253f47; font-size: 12px; }
.service-order-price-note { margin-top: 8px; padding: 12px; border-radius: 9px; background: #effafa; color: #42636a; font-size: 11px; line-height: 1.55; }
.service-order-contact { display: inline-block; margin-top: 8px; padding-top: 8px; color: #138b98; font-size: 11px; font-weight: 700; text-decoration: none; }
.service-order-success { display: grid; justify-items: center; width: min(620px,100%); margin: 46px auto; padding: 42px 36px; border: 1px solid #dcebe3; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 22px 60px rgba(17,35,38,.09); }
.service-order-success[hidden] { display: none; }
.service-order-success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border: 7px solid #e7f7ed; border-radius: 50%; background: #159b58; color: #fff; box-shadow: 0 8px 20px rgba(21,155,88,.18); }
.service-order-success-mark svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.service-order-success .eyebrow { margin: 0 0 8px; color: #138445; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.service-order-success h2 { margin: 0 0 8px; color: #18343d; font-size: clamp(25px,4vw,36px); line-height: 1.2; }
.service-order-success > p:not(.eyebrow) { max-width: 42ch; margin: 0 0 22px; color: #52636b; font-size: 14px; line-height: 1.7; }
.service-order-success .button { min-height: 48px; padding: 0 28px; border-radius: 12px; background: #173d4a; color: #fff; font-size: 13px; }
@media (max-width: 820px) {
  .service-checkout-layout { grid-template-columns: minmax(0,1fr); align-items: start; }
  .service-order-form, .service-order-summary { height: auto; }
  .service-order-summary { min-height: 0; padding: 16px; }
  .service-order-summary-items { flex: initial; }
}
@media (max-width: 560px) {
  .service-order-page { min-height: calc(100vh - 58px); padding: 20px 0 36px; }
  .service-order-shell { width: calc(100% - 24px); }
  .service-order-heading { margin-bottom: 15px; }
  .service-order-heading h1 { font-size: 28px; }
  .service-order-heading > p:last-child { font-size: 11px; }
  .service-order-form { gap: 13px; padding: 14px; border-radius: 14px; }
  .service-order-section { gap: 7px; }
  .service-order-section h2 { font-size: 16px; }
  .service-order-section-heading { align-items: flex-end; }
  .service-order-section-heading h2 { max-width: 24ch; font-size: 14px; }
  .service-order-section-heading .button { min-height: 33px; padding: 0 9px; font-size: 9px; }
  .service-order-form .form-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .service-order-form .field-full { grid-column: auto; }
  .service-order-form .field label { font-size: 11px; }
  .service-order-form input:not([type="checkbox"]), .service-order-form select { min-height: 40px; font-size: 12px; }
  .service-order-item { padding: 10px; }
  .service-order-item-fields { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .service-order-item-fields > label { font-size: 11px; }
  .service-order-summary { padding: 14px; }
  .service-order-summary h2 { margin-bottom: 7px; font-size: 16px; }
  .service-order-price-note { margin-top: 5px; padding: 8px; font-size: 9px; }
  .service-order-actions { gap: 8px; }
  .service-order-success { margin: 24px auto; padding: 24px 16px; }
}

body.service-order-confirmed > .service-page-header { display: none; }
body.service-order-confirmed .service-order-page { display: grid; min-height: 100vh; min-height: 100svh; align-items: center; padding: 24px 0; }
body.service-order-confirmed .service-order-shell { width: min(620px, calc(100% - 32px)); }
body.service-order-confirmed .service-order-heading,
body.service-order-confirmed .service-checkout-layout { display: none !important; }
body.service-order-confirmed .service-order-success { margin: 0 auto; padding: 38px 28px; }
body.service-order-confirmed .service-order-success h2 { margin: 0 0 20px; }
body.service-order-confirmed .service-order-success .button { margin-top: 0; }
@media (max-width: 560px) {
  body.service-order-confirmed .service-order-success { padding: 30px 20px; }
}

@media (max-width: 850px) {
  .main-nav { background: #173d4a; }
  .nav-dropdown { width: 100%; }
  .main-nav .nav-dropdown > summary { min-height: 34px; padding: 8px 10px; border-radius: 6px; color: #fff; font-size: 13px; line-height: 1.25; }
  .nav-dropdown-menu { position: static; min-width: 0; gap: 2px; margin: 0 0 5px 10px; padding: 4px 5px; border: 0; border-left: 2px solid #55c4d1; border-radius: 0; background: transparent; box-shadow: none; }
  .nav-dropdown-menu a { padding: 8px 10px; color: rgba(255,255,255,.9); font-size: 12px; }
  .nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
}

@media (max-width: 620px) {
  .services-section-head { gap: 12px; }
  .services-section-head > .carousel-controls { position: static; justify-content: center; }
  .catalogue-section .services-heading-copy h2 { gap: 3px 6px; font-size: 25px; }
  .services-heading-note { font-size: 8px; }
  .services-intro { font-size: 11px; }
  .service-track { grid-auto-columns: 100%; justify-content: start; gap: 12px; }
  .service-track .service-card { min-height: 0; }
  .service-track .service-thumb img { height: 166px; }
  .service-track .product-info { padding: 13px 13px 14px; }
  .service-track .product-info h3 { min-height: 0; }
  .service-track .product-info p { min-height: 0; }
  .service-track .product-actions .button { font-size: 9px; }
  .service-detail-page { width: min(100% - 28px, 560px); padding: 14px 0 24px; }
  .service-detail-layout { grid-template-columns: 1fr; border-radius: 18px; }
  .service-detail-visual, .service-detail-visual img, .service-detail-visual .service-art { min-height: 180px; height: 180px; }
  .service-detail-copy { padding: 18px 17px 20px; }
  .service-detail-copy h1 { font-size: 28px; }
  .service-detail-cta { gap: 11px; }
}

/* Public event planning requests stay separate from product orders. */
.event-request-page { min-height: calc(100svh - 76px); padding: clamp(22px, 5vw, 54px) 16px; background: radial-gradient(ellipse at 10% 0%, rgba(224,190,117,.18), transparent 38%), #f4f7f5; }
.event-request-shell { width: min(880px, 100%); margin: 0 auto; }
.event-request-intro { max-width: 680px; margin: 0 auto 22px; text-align: center; }
.event-request-intro .eyebrow { margin: 0 0 7px; color: #16834b; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.event-request-intro h1 { margin: 0 0 8px; color: #12243e; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.04em; }
.event-request-intro > p:last-child { margin: 0; color: #607087; font-size: 13px; line-height: 1.65; }
.event-request-form { padding: clamp(16px, 3vw, 26px); border: 1px solid #e0e8e3; border-radius: 18px; background: #fff; box-shadow: 0 16px 42px rgba(16,42,29,.07); }
.event-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
.event-request-form .field { display: grid; align-content: start; gap: 6px; min-width: 0; color: #26364b; font-size: 11px; font-weight: 700; }
.event-request-form .field small { color: #8390a1; font-weight: 500; }
.event-request-form input, .event-request-form select, .event-request-form textarea { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; border: 1px solid #dce4e8; border-radius: 9px; background: #fff; color: #26364b; font: inherit; font-size: 12px; }
.event-request-form textarea { min-height: 68px; resize: vertical; }
.event-service-options { display: flex; flex-wrap: wrap; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.event-service-options legend { width: 100%; margin-bottom: 2px; color: #26364b; font-size: 11px; font-weight: 700; }
.event-service-options label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #e1e9e4; border-radius: 999px; background: #f8faf9; color: #43556b; font-size: 10px; cursor: pointer; }
.event-service-options input { width: 14px; min-width: 14px; min-height: 14px; height: 14px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: #16834b; }
.event-notes-field { grid-column: 1 / -1; }
.event-request-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.event-request-submit p { margin: 0; color: #a33434; font-size: 11px; }
.event-request-submit p:empty { display: none; }
.event-request-submit .button { min-height: 42px; padding: 10px 18px; }
.event-request-form[hidden], .event-request-success[hidden] { display: none !important; }
.event-request-success { display: grid; justify-items: center; gap: 11px; width: min(560px, 100%); margin: 34px auto; padding: 32px 24px; border: 1px solid #d7e6dc; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(16,42,29,.08); text-align: center; }
.event-request-success-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #159b50; color: #fff; font-size: 30px; font-weight: 700; }
.event-request-success .eyebrow { margin: 0; color: #16834b; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.event-request-success h2 { margin: 0; color: #12243e; font-size: 25px; }
.event-request-success > p:not(.eyebrow) { margin: 0 0 5px; color: #607087; font-size: 13px; line-height: 1.6; }
.event-requests-table td { vertical-align: top; }
.event-requests-table td strong, .event-requests-table td small { display: block; }
.event-requests-table td small { max-width: 250px; margin-top: 4px; color: #718096; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.event-requests-table select { min-width: 110px; min-height: 34px; padding: 6px 8px; border: 1px solid #dce4ec; border-radius: 8px; background: #fff; color: #334155; font-size: 11px; }
@media (max-width: 640px) {
  .event-request-page { padding: 18px 10px; }
  .event-request-intro { margin-bottom: 14px; text-align: left; }
  .event-request-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .event-notes-field { grid-column: auto; }
  .event-request-submit { align-items: stretch; flex-direction: column-reverse; }
  .event-request-submit .button { width: 100%; }
}

.order-detail-card .sale-detail-grid,
.order-detail-card.record-detail-card .online-order-update-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.order-detail-card .sale-detail-grid > div { gap: 5px; padding: 11px 12px; border: 1px solid #e8edf2; border-radius: 11px; background: #f8fafc; }
.order-detail-card .sale-detail-grid dt { color: #758396; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.admin-view[data-page="orders"] > .online-orders-panel { width: min(94%, 1120px); min-width: 0; margin: 0 auto 20px; }
.online-orders-panel .online-orders-heading { align-items: center; justify-content: space-between; gap: 16px; }
.online-orders-panel .online-orders-heading #refresh-orders { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0 14px; border-color: #dfe7ec; border-radius: 10px; color: #42596d; background: #fff; font-size: 11px; font-weight: 650; }
.online-orders-panel .online-orders-heading #refresh-orders svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.online-orders-panel .panel-head #refresh-orders:hover:not(:disabled) { border-color: #cbd9e2; color: #31596f; background: #f7fafb; }
.online-orders-table .status-pill { flex-direction: row; gap: 0; min-width: 0; min-height: 26px; padding: 5px 9px; }
.online-orders-table .status-pill small { display: inline; margin-left: 0; }
.online-orders-table th:nth-child(6),
.online-orders-table td:nth-child(6) { padding-right: 4px; }
.online-orders-table th:nth-child(7),
.online-orders-table td:nth-child(7) { width: 96px; padding-left: 4px; text-align: center; }
.online-order-payment-cell { display: grid; justify-items: center; gap: 3px; }
.online-order-payment-cell > small { color: #748397; font-size: 9px; line-height: 1.2; text-align: center; }
.online-orders-table .online-order-update-button { width: 32px; min-width: 32px; height: 32px; padding: 0; }
.online-orders-table .online-order-item-cell { min-width: 150px; }
.order-detail-card { width: min(100%, 880px); max-height: min(90vh, 860px); padding: 28px; overflow-y: auto; scrollbar-gutter: stable; }
.order-detail-card .sales-dialog-heading { position: sticky; z-index: 2; top: -28px; align-items: center; margin: -28px -28px 20px; padding: 24px 28px 16px; background: #fff; }
.order-detail-card .sales-dialog-heading h2 { font-size: 24px; line-height: 1.25; }
.order-detail-card .sales-dialog-heading p { margin-top: 6px; line-height: 1.5; }
#close-online-order-detail { flex: 0 0 36px; border: 1px solid #e1e8ed; border-radius: 50%; color: #526579; background: #f7fafb; }
#close-online-order-detail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.order-detail-card .order-detail-sections { gap: 18px; }
.order-detail-card .order-detail-section h3 { margin-bottom: 9px; color: #16858b; font-size: 10px; letter-spacing: .1em; }
.order-detail-card .sale-detail-grid > div { min-height: 64px; padding: 13px 15px; border-color: #e4ebef; border-radius: 12px; background: #f8fbfc; }
.order-detail-card .sale-detail-grid dd { overflow-wrap: anywhere; line-height: 1.5; }
.order-detail-sections { display: grid; gap: 14px; }
.order-detail-section h3 { margin: 0 0 7px; color: #546579; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.order-detail-section .sale-detail-grid { margin: 0; }
.order-detail-section .sale-detail-grid > div { min-height: 55px; }
.order-detail-card .online-order-edit-items { grid-column: 1 / -1; display: grid; gap: 5px; padding: 11px 12px; border: 1px solid #e3eaef; border-radius: 9px; background: #f8fafc; }
.order-detail-card .online-order-edit-items > span { color: #758396; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.order-detail-card .online-order-edit-items > strong { color: #233446; font-size: 12px; font-weight: 650; }
.online-orders-panel .online-orders-heading { justify-content: flex-start; }
.online-orders-panel .online-orders-heading > div { flex: 0 0 auto; }
.online-orders-panel .online-orders-heading #refresh-orders { flex: 0 0 auto; }
.online-orders-table { min-width: 760px; }
.online-orders-table thead th { border: 0 !important; color: #fff; background: #118e98; box-shadow: none !important; }
.online-orders-table thead th:first-child { border-radius: 10px 0 0 10px; }
.online-orders-table thead th:last-child { border-radius: 0 10px 10px 0; }
.online-orders-table th:nth-child(5), .online-orders-table td:nth-child(5) { padding-right: 4px; }
.online-orders-table th:nth-child(6), .online-orders-table td:nth-child(6) { width: 104px; padding-left: 4px; text-align: center; }
.online-orders-table th:nth-child(7), .online-orders-table td:nth-child(7) { width: 112px; text-align: center; }
.online-orders-table .online-order-update-button { display: inline-grid; place-items: center; width: 32px; min-width: 32px; height: 32px; padding: 0; }
.online-orders-table .online-order-update-button svg { display: block; width: 15px; height: 15px; margin: auto; }
.online-orders-panel #online-orders-refresh-message.form-message.success { display: block; margin: 4px 0 0; padding: 0; border: 0; color: #16834b; background: transparent; font-size: 11px; line-height: 1.4; }
.pos-sales-panel #sales-refresh-message.form-message.success { display: block; margin: 4px 0 0; padding: 0; border: 0; color: #16834b; background: transparent; font-size: 11px; line-height: 1.4; }
.order-detail-card.record-detail-card { width: min(760px, calc(100vw - 32px)); max-width: 760px; }
@media (min-width: 981px) {
  .admin-shell:not(.sidebar-collapsed) #online-order-detail-dialog { padding-left: 272px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .admin-shell:not(.sidebar-collapsed) #online-order-detail-dialog { padding-left: 222px; }
}
@media (max-width: 760px) {
  .admin-view[data-page="orders"] > .online-orders-panel { width: 100%; margin-inline: 0; }
  .online-orders-panel .online-orders-heading { flex-wrap: wrap; }
  .order-detail-card.record-detail-card { width: min(100%, 760px); max-width: none; }
}
@media (max-width: 560px) {
  .order-detail-section .sale-detail-grid { grid-template-columns: 1fr; }
}
.order-detail-card .sale-detail-grid dd { color: #233446; font-size: 12px; font-weight: 600; }
.order-detail-card .online-order-update-grid .order-status-choice input { position: absolute; width: 1px; height: 1px; min-height: 1px; padding: 0; border: 0; }
@media (max-width: 560px) {
  .order-detail-card .sale-detail-grid,
  .order-detail-card.record-detail-card .online-order-update-grid { grid-template-columns: 1fr; }
}

/* Centered Clean Page footer */
.site-footer {
  position: relative;
  overflow: visible;
  padding: 48px 0 0;
  background: linear-gradient(180deg,rgba(10,32,31,.9),rgba(8,25,26,.96)),url("Images/optimized/backgroudn_hero%20(2).webp") center 48% / cover no-repeat;
}
.footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 34px; max-width: 1120px; padding-bottom: 32px; }
.footer-grid > div { align-items: flex-start !important; gap: 11px; text-align: left !important; }
.footer-about { gap: 7px !important; }
.footer-grid .eyebrow { margin: 0 0 2px; color: #f0cf91; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.footer-grid p,.footer-grid a,.footer-grid span { color: rgba(255,255,255,.86); font-size: 11px; font-weight: 400; line-height: 1.6; }
.footer-brand { display: grid; justify-items: start; gap: 2px; margin-top: -7px; color: #fff; text-align: left; text-decoration: none; }
.footer-brand img { display: block; width: min(150px,100%); height: auto; max-height: 86px; object-fit: contain; object-position: left center; border-radius: 0; mix-blend-mode: normal; }
.footer-about > p { max-width: 34ch; margin: -6px 0 0; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.55; text-align: left; }
.footer-about .contact-map-link { display: none !important; }
.footer-address { display: flex; align-items: center; justify-content: flex-start; gap: 7px; width: max-content; max-width: 100%; margin-top: -6px !important; white-space: nowrap; }
.footer-address span { font-size: 10px !important; text-align: left; }
.footer-address svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 2px; fill: none; stroke: #f0cf91; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-column { align-items: flex-start !important; gap: 7px !important; text-align: left !important; }
.footer-contact-column > .eyebrow { width: 100%; text-align: left; }
.footer-contact-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
.footer-contact-column .contact-email-link { display: flex; min-width: 0; align-items: center; justify-content: flex-start; gap: 7px; width: auto; margin: 0; padding: 0; color: rgba(255,255,255,.9); font-size: 10px; letter-spacing: 0; text-align: left; text-decoration: none; text-transform: none; }
.contact-email-link svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: #f0cf91; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-email-link span { color: inherit !important; font-size: 11px !important; font-weight: 400 !important; text-transform: none !important; }
.contact-phone-options { width: 100%; }
.contact-phone-toggle { justify-content: flex-start; gap: 9px; width: auto; padding: 0; color: #fff; text-align: left; }
.footer-phone-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: #f0cf91; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-phone-copy { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.8); font-size: 10px; line-height: 1.3; text-align: left; white-space: nowrap; }
.contact-phone-toggle strong { color: #fff; font-size: 11px; font-weight: 500; }
.footer-whatsapp-contact { display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; color: rgba(255,255,255,.9); font-size: 11px; text-decoration: none; }
.footer-whatsapp-contact svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: #42d477; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.footer-whatsapp-contact:hover { color: #42d477; }
.phone-channel-list { position: absolute; z-index: 30; top: calc(100% + 7px); left: 50%; display: none; min-width: 148px; flex-direction: column; gap: 4px; padding: 7px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(11,31,31,.97); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.contact-phone-options:hover .phone-channel-list,.contact-phone-options.is-open .phone-channel-list,.contact-phone-options:focus-within .phone-channel-list { display: flex; }
.phone-channel-list a { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 5px 8px; border: 0; border-radius: 7px; color: rgba(255,255,255,.9); font-size: 10px; text-align: left; }
.phone-channel-list a:hover,.phone-channel-list a:focus-visible { background: rgba(255,255,255,.1); color: #f0cf91; }
.phone-channel-list svg { width: 13px; height: 13px; flex: 0 0 13px; }
.phone-channel-list .whatsapp-mini-icon { fill: none; stroke: #43d17d; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social-links { align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.footer-contact-column .social-links { justify-content: flex-start; }
.social-links a { display: grid; width: 29px; min-width: 29px; min-height: 29px; place-items: center; padding: 0; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9); }
.social-links svg { width: 13px; height: 13px; }
.social-links .social-handle { width: 100%; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 400; text-align: left; }
.footer-quick-links { align-items: flex-start !important; gap: 8px !important; text-align: left !important; }
.footer-quick-links .eyebrow { margin: 0 0 3px; }
.footer-quick-links a { color: rgba(255,255,255,.84); font-size: 11px; font-weight: 400; text-decoration: none; }
.footer-quick-links a:hover { color: #f0cf91; }
.footer-contact-column .social-links { margin-top: 0; }
.footer-bottom { justify-content: center !important; padding: 15px 0 20px; border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.68); text-align: center; }
.footer-bottom span { color: inherit; font-size: 10px; font-weight: 400; }
@media (max-width: 760px) {
  .site-footer { padding-top: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 25px; }
  .footer-grid > div { gap: 9px; }
  .footer-contact-column { padding: 0; border: 0; background: transparent; }
  .footer-quick-links { gap: 7px !important; }
  .footer-bottom { justify-content: center !important; text-align: center; }
}

.cleaning-promo { display: grid; grid-template-columns: 65% 35%; min-height: 430px; height: clamp(430px,39vw,520px); overflow: hidden; background: #fff; }
.cleaning-promo-image-panel { position: relative; min-width: 0; min-height: 0; overflow: hidden; isolation: isolate; background: #17423b; }
.cleaning-promo-image-panel > img { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 24% center; }
.cleaning-promo-image-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(7,26,22,.04),rgba(7,26,22,.14) 42%,rgba(7,26,22,.66) 100%),linear-gradient(0deg,rgba(7,26,22,.24),transparent 46%); }
.cleaning-promo-content { position: relative; display: flex; width: min(61%,580px); height: 100%; margin-left: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: clamp(24px,3.4vw,48px); color: #fff; }
.cleaning-promo-kicker { margin: 0; color: #f5d56b; font-size: 9px; font-weight: 600; letter-spacing: .15em; line-height: 1.5; }
.cleaning-promo-content h2 { max-width: 20ch; margin: 0; color: #fff; font-size: clamp(21px,2.35vw,31px); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.cleaning-promo-content > p:not(.cleaning-promo-kicker) { max-width: 36ch; margin: 0; color: rgba(255,255,255,.96); font-size: 12px; font-weight: 400; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.cleaning-promo-video-panel { position: relative; min-width: 0; min-height: 0; overflow: hidden; isolation: isolate; border-left: 2px solid rgba(255,255,255,.94); background: #102d2a; }
.cleaning-promo-tiktok { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #102d2a; object-fit: cover; object-position: center; pointer-events: none; }
.cleaning-promo-audio-toggle { position: static; z-index: 3; flex: 0 0 34px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(8,32,29,.72); color: #fff; cursor: pointer; }
.cleaning-promo-audio-toggle:hover { background: #fff; color: #153c38; }
.cleaning-promo-audio-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cleaning-promo-audio-toggle .promo-sound-on { display: none; }
.cleaning-promo-audio-toggle.is-unmuted .promo-sound-muted { display: none; }
.cleaning-promo-audio-toggle.is-unmuted .promo-sound-on { display: block; }
.cleaning-promo-video-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,rgba(5,20,18,.02) 16%,rgba(5,20,18,.16) 53%,rgba(5,20,18,.82) 100%); }
.cleaning-promo-social { position: absolute; z-index: 2; right: clamp(15px,2.2vw,28px); bottom: clamp(15px,2vw,26px); left: clamp(15px,2.2vw,28px); display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; }
.cleaning-promo-watch { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.cleaning-promo-watch > span { margin-right: 2px; }
.cleaning-promo-watch a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; transition: color .2s,background .2s,transform .2s; }
.cleaning-promo-watch a:hover { transform: translateY(-2px); background: #fff; color: #153c38; }
.cleaning-promo-watch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cleaning-promo-watch svg path { fill: currentColor; stroke: none; }
.cleaning-promo-watch svg .icon-fill { fill: currentColor; stroke: none; }
.cleaning-promo-watch .cleaning-promo-audio-toggle svg path { fill: none; stroke: currentColor; }
.cleaning-promo-cta { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 13px; margin-top: 3px; padding: 0 15px; border: 1px solid #f1d56c; border-radius: 2px; background: #f1d56c; color: #173632; font-family: Montserrat,Arial,sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; transition: background .2s,color .2s,transform .2s; }
.cleaning-promo-cta:hover { transform: translateY(-2px); background: #fff; border-color: #fff; color: #173632; }
@media (max-width: 760px) {
  .cleaning-promo { grid-template-columns: minmax(0,1fr); height: auto; min-height: 0; }
  .cleaning-promo-image-panel { min-height: clamp(350px,94vw,450px); }
  .cleaning-promo-content { width: min(73%,440px); gap: 10px; padding: 28px clamp(18px,5vw,30px); }
  .cleaning-promo-content h2 { max-width: 20ch; font-size: clamp(21px,6vw,27px); }
  .cleaning-promo-video-panel { min-height: clamp(250px,68vw,340px); }
  .cleaning-promo-video-panel { border-top: 2px solid rgba(255,255,255,.94); border-left: 0; }
  .cleaning-promo-tiktok { width: 100%; height: 100%; }
  .cleaning-promo-social { right: 14px; bottom: 14px; left: 14px; gap: 8px; }
  .cleaning-promo-watch { gap: 7px; font-size: 9px; }
  .cleaning-promo-watch a { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .cleaning-promo-cta { transition: none; }
}

/* Final navigation and service-promise refinements */
.service-value-card h2 { font-family: Montserrat,Arial,sans-serif; font-size: 16px; font-weight: 600; line-height: 1.3; }
.service-value-card p { font-family: Montserrat,Arial,sans-serif; font-size: 12px; font-weight: 400; line-height: 1.5; }
.floating-action { width: 42px; height: 42px; }
.floating-action svg { width: 19px; height: 19px; }
.nav-dropdown-menu { top: 100%; }
@media (max-width: 850px) {
  .main-nav {
    width: min(52vw,198px);
    min-width: 160px;
    gap: 1px;
    padding: 7px;
  }
  .main-nav > a,
  .main-nav .nav-dropdown > summary {
    min-height: 31px;
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.25;
  }
  .main-nav .nav-contact { gap: 6px; padding: 6px 7px; }
  .main-nav .nav-contact-copy small { font-size: 9px; line-height: 1.25; }
  .main-nav .nav-contact-copy strong { font-size: 10px; line-height: 1.25; }
  .nav-whatsapp-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .nav-whatsapp-icon svg { width: 16px; height: 16px; }
  .nav-dropdown-menu { top: auto; }
  .nav-dropdown-menu a { min-height: 28px; padding: 6px 8px; font-size: 10px; }
  .service-value-card { align-items: flex-start; text-align: left; }
  .service-value-card > div { width: 100%; min-width: 0; text-align: left; }
  .service-value-card h2 { margin: 0 0 3px; font-size: 11px; font-weight: 600; }
  .service-value-card p { font-size: 9px; font-weight: 400; line-height: 1.35; overflow-wrap: normal; word-break: normal; }
  .floating-action { width: 37px; height: 37px; }
  .floating-action svg { width: 17px; height: 17px; }
}
@media (max-width: 760px) {
  .service-value-card { flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 8px; text-align: left; }
  .service-value-icon { flex-basis: 22px; width: 22px; height: 22px; }
  .service-value-card h2 { font-size: 10px; }
  .service-value-card p { font-size: 8.5px; }
  .floating-actions { right: 12px; bottom: 13px; gap: 8px; }
  .floating-action { width: 35px; height: 35px; }
  .floating-action svg { width: 16px; height: 16px; }
}

/* Compact desktop navigation and idle service carousel pages */
@media (min-width: 851px) {
  .main-nav { gap: clamp(12px,1.3vw,20px); }
  .main-nav > a:not(.nav-contact),
  .nav-dropdown > summary { font-size: 12px; font-weight: 600; }
  .nav-dropdown > summary { gap: 5px; }
  .nav-dropdown-menu {
    left: -8px;
    min-width: 130px;
    gap: 3px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    background: #173d4a;
    box-shadow: 0 15px 30px rgba(17,35,38,.24);
  }
  .nav-dropdown-menu a { padding: 10px 8px; border-radius: 5px; color: rgba(255,255,255,.94); font-size: 9px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible { background: rgba(255,255,255,.12); color: #f3d28a; }
}
.hero-actions .button { min-height: 42px; padding: 0 18px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.service-track { scroll-behavior: smooth; }
@media (min-width: 761px) {
  .service-track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
}
@media (max-width: 760px) {
  .service-track { grid-auto-columns: 100%; gap: 12px; }
}
@media (max-width: 760px) {
  .hero-actions .button { min-height: 36px; padding: 0 12px; border-radius: 7px; font-size: 10px; }
}

/* Laundry-focused, mobile-friendly staff sign-in */
.login-panel { padding: 26px; }
.login-shell { width: min(1640px,100%); height: min(844px,calc(100svh - 52px)); border: 1px solid rgba(26,35,29,.15); }
.login-form-side { padding: clamp(14px,2vw,26px); }
.login-form-side .login-box { width: min(580px,100%); max-height: 100%; overflow-y: auto; border: 1px solid rgba(26,35,29,.13); border-radius: 14px; }
.login-visual > img { object-position: center 42%; transform: none; }
.login-visual-shade { background: linear-gradient(110deg,rgba(6,31,73,.84),rgba(6,31,73,.76) 52%,rgba(3,14,34,.72)); }
.login-visual-copy { right: 8%; left: 18%; justify-items: end; text-align: right; }
.login-visual-copy h2 { max-width: 14ch; font-size: clamp(34px,4.2vw,58px); line-height: 1.08; letter-spacing: -.035em; }
.login-visual-copy .login-visual-kicker { font-size: 11px; letter-spacing: .16em; }
.login-brand-head { gap: 8px; }
.login-brand-logo { display: block; width: 76px; height: 76px; padding: 3px; border: 3px solid rgba(255,255,255,.72); border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 8px 20px rgba(2,15,39,.16); }
.login-visual-copy { right: 6%; left: auto; width: min(440px,72%); justify-items: stretch; gap: 13px; text-align: right; }
.login-visual-copy .login-visual-kicker { margin: 0; padding-left: 19px; color: #f3ce72; font-size: 8px; font-weight: 700; letter-spacing: .17em; text-align: left; }
.login-visual-points { position: relative; display: grid; gap: 15px; width: 100%; margin: 0; padding: 4px 0 4px 19px; list-style: none; text-align: left; }
.login-visual-points::before { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 1px; background: #08c5c2; content: ""; }
.login-visual-points li { position: relative; display: flex; min-height: 48px; align-items: center; justify-content: flex-start; gap: 12px; padding: 4px 0; color: #fff; font-size: clamp(34px,3.6vw,42px) !important; font-weight: 900; letter-spacing: 0; line-height: 1.15; }
.login-visual-points li span { position: absolute; left: -19px; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #08c5c2; box-shadow: 0 0 0 3px rgba(8,197,194,.15); }
.login-home-link { position: relative; order: 3; justify-self: start; display: inline-flex; min-height: 32px; align-items: center; gap: 7px; margin: 0 0 0 19px; padding: 0 12px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(4,25,42,.42); color: #fff; font-size: 10px; font-weight: 600; text-decoration: none; backdrop-filter: blur(5px); transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.login-home-link:hover { border-color: rgba(243,206,114,.75); background: rgba(4,25,42,.72); transform: translateY(-1px); }
.login-home-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.login-brand-head { padding: 9px 14px 10px; gap: 5px; }
.login-brand-logo { width: 96px; height: 96px; padding: 3px; object-fit: contain; object-position: center; }
.login-form-content { max-width: 500px; margin: 0 auto; padding: 11px 20px 10px; }
.login-form-content .field { margin-bottom: 7px; }
.login-form-content .field label { margin-bottom: 3px; font-size: 10px; }
.login-form-side .login-box .field input { min-height: 35px; padding-top: 7px; padding-bottom: 7px; border-radius: 5px; font-size: 12px; }
.login-form-side .field input:focus { border-color: #8b9db3; outline: 0; box-shadow: 0 0 0 2px rgba(18,59,114,.12); }
.login-form-side .login-box h1 { margin-bottom: 4px; font-size: 22px; }
.login-form-side .login-instructions { margin-bottom: 8px; font-size: 10px; }
.login-form-side .button-gold { min-height: 37px; }
.login-reset-prompt { margin-top: 8px; font-size: 10px; }
.password-reset-message:not(:empty) { min-height: 12px; }
.login-form-content #staff-login-form,
.login-form-content .login-reset-prompt,
.login-form-content .password-reset-message,
.login-form-content .password-update-form { width: min(100%,460px); }
@media (max-width: 760px) {
  .admin-body:has(#login-panel:not(.hidden)) { height: auto; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; }
  .login-panel { height: auto; min-height: 100dvh; padding: 10px; overflow: visible; }
  .login-shell { grid-template-columns: minmax(0,1fr); grid-template-rows: clamp(180px,29dvh,230px) auto; height: auto; min-height: calc(100dvh - 20px); overflow: hidden; }
  .login-visual { min-height: 180px; border-radius: 0 0 26px 26px; }
  .login-visual-copy { right: 4%; left: auto; width: min(280px,72%); justify-items: stretch; gap: 9px; text-align: right; }
  .login-visual-copy h2 { max-width: 13ch; font-size: clamp(26px,6vw,38px); }
  .login-visual-copy .login-visual-kicker { font-size: 7px; letter-spacing: .12em; }
  .login-visual-points { gap: 7px; padding-left: 17px; }
  .login-visual-copy .login-visual-kicker { padding-left: 17px; }
  .login-visual-points li { min-height: 38px; font-size: 26px !important; }
  .login-visual-points li span { left: -17px; }
  .login-form-side { min-height: 0; overflow: visible; padding: 0; }
  .login-form-side .login-box { width: 100%; }
  .login-brand-head { padding: 12px 14px; }
  .login-brand-logo { width: 78px; height: 78px; }
  .login-form-content { padding: 15px 20px 18px; }
  .login-home-link { min-height: 29px; margin-left: 17px; padding: 0 10px; font-size: 9px; }
  .login-brand-head { padding: 9px 14px; }
  .login-brand-logo { width: 84px; height: 84px; padding: 3px; }
  .login-form-content { max-width: none; padding: 12px 18px 14px; }
}
@media (max-width: 760px) {
  .cleaning-services-section { padding-top: 18px; }
  .cleaning-services-section .section-head { margin-bottom: 17px; }
  .cleaning-services-section .services-intro { max-width: 560px; margin-top: 8px; font-size: 11px; line-height: 1.65; }
  .cleaning-service-highlights { gap: 6px; margin-top: 9px; }
  .cleaning-service-highlights li { padding: 5px 8px; font-size: 9px; }
  .cleaning-track .service-thumb img { height: 176px; }
}


/* POS service order form and customer list */
.service-order-filters { align-items: end; flex-wrap: wrap; }
.service-order-filters label { min-width: 150px; flex: 1 1 155px; }
.service-order-filters input, .service-order-filters select { min-height: 42px; }
.service-order-bulk-actions { display:flex; align-items:center; gap:7px; }
.service-order-bulk-actions .mini-btn { min-height:42px; padding:0 13px; white-space:nowrap; }
.service-order-bulk-actions button:disabled { opacity:.48; cursor:not-allowed; }
.service-orders-table { width: max-content; min-width: 980px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.service-orders-table .orders-col-select { width: 38px; }
.service-orders-table .orders-col-date { width: 105px; }
.service-orders-table .orders-col-customer { width: 138px; }
.service-orders-table .orders-col-phone { width: 108px; }
.service-orders-table .orders-col-service { width: 138px; }
.service-orders-table .orders-col-category { width: 80px; }
.service-orders-table .orders-col-status { width: 118px; }
.service-orders-table .orders-col-served { width: 84px; }
.service-orders-table .orders-col-actions { width: 120px; }
.service-orders-table th:nth-child(7), .service-orders-table td:nth-child(7) { box-sizing:border-box; width:118px; max-width:118px; padding-right:2px; }
.service-orders-table th:nth-child(8), .service-orders-table td:nth-child(8) { padding-left:2px; }
.service-orders-table td:last-child { padding: 8px 9px 8px 5px !important; }
.service-orders-table .sales-actions { min-width: max-content; justify-content:flex-end; gap: 3px; }
.service-orders-table .sales-action-button { flex: 0 0 23px; width:23px; height:29px; }
.service-orders-table .service-order-served-by { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.service-orders-table th, .service-orders-table td { vertical-align: middle; padding: 8px 4px; }
.service-orders-table thead th { color:#526477; font:700 11px/1.2 Montserrat,sans-serif; letter-spacing:.055em; }
.service-orders-table tbody td { color:#27364a; font:500 13px/1.4 Montserrat,sans-serif; border-bottom:1px solid #edf1f3; }
.service-orders-table tbody tr { transition:background-color .15s ease; }
.service-orders-table tbody tr:hover { background:#f7fbf8; }
.service-orders-table .sales-item-cell { gap:10px; }
.service-orders-table .sales-item-cell strong { font:700 13px/1.3 Montserrat,sans-serif; }
.service-orders-table .status-pill { font:700 10px/1 Montserrat,sans-serif; letter-spacing:.04em; }
.service-orders-table td small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.service-type-pill { display:inline-flex; padding:5px 9px; border-radius:999px; background:#eaf4ee; color:#215a3d; font-size:11px; font-weight:650; }
.service-type-pill.cleaning-service-pill { background:#eaf1ff; color:#2855a0; }
.service-order-status-text { color:#778398; }
.service-orders-table .sale-quick-update { width:auto; min-width:54px; padding:0 8px; font-size:0; }
.service-orders-table .sale-quick-update::after { content:"Update"; font-size:10px; font-weight:650; }
.order-form-notice, .update-notice { display:block; padding:9px 12px; border:1px solid #c9ded2; border-radius:10px; background:#eff7f1; color:#27593d; font-size:12px; line-height:1.45; }
.sales-order-toast { position:fixed; z-index:3000; right:22px; bottom:22px; max-width:min(460px,calc(100vw - 32px)); margin:0; padding:13px 17px; border:1px solid #b8dcc5; border-radius:14px; background:#effaf3; box-shadow:0 12px 34px rgba(16,61,37,.18); color:#1d5536; font:500 13px/1.5 Montserrat,sans-serif; opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .2s ease,transform .2s ease; }
.sales-order-toast.is-visible { opacity:1; transform:translateY(0); }
.service-sms-card, .service-update-card { width:min(100%,560px); }
#service-sms-dialog .service-sms-card { box-sizing:border-box; width:min(610px,calc(100vw - 32px)); }
.service-sms-label, .service-update-grid label { display:flex; flex-direction:column; gap:7px; color:#263d55; font:600 12px Montserrat,sans-serif; }
.service-sms-card textarea, .service-update-grid input, .service-update-grid select { width:100%; min-height:42px; padding:11px 12px; border:1px solid #d8e2e8; border-radius:10px; background:#fbfdfc; color:#24374b; font:400 13px/1.55 Montserrat,sans-serif; }
#service-sms-message { display:block; box-sizing:border-box; width:100%; min-height:112px; max-height:220px; resize:vertical; margin:8px 0 0 auto; border:1px solid #19aeb5; border-radius:9px; }
#service-sms-message:focus { border-color:#078f9c; outline:0; box-shadow:0 0 0 2px rgba(8,166,177,.13); }
.service-sms-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; color:#778398; font:400 11px Montserrat,sans-serif; }
.service-sms-footer p { margin:0 auto 0 0; color:#42644e; }
.service-savings-note { grid-column:1/-1; padding:11px 14px; border:1px solid #bcdcc8; border-radius:12px; background:#eff9f2; color:#255b3d; font:500 12px/1.5 Montserrat,sans-serif; }
.service-savings-choice { display:flex; align-items:center; gap:9px; font:500 12px/1.5 Montserrat,sans-serif; }
.service-savings-choice input { flex:0 0 auto; width:15px; height:15px; accent-color:#16824c; }
.service-update-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:18px 0; }
.service-update-payment-fields { display:grid; grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.service-update-balance { grid-column:1/-1; margin:0; padding:11px 13px; border:1px solid #c9ded2; border-radius:10px; background:#eff7f1; color:#27593d; font:600 12px/1.45 Montserrat,sans-serif; }
#sale-update-feedback { margin:0 0 12px; color:#42644e; font:400 12px/1.5 Montserrat,sans-serif; }
.service-customer-grid .field:nth-child(2) { max-width:225px; }
.service-order-dialog-card { width:min(100%, 860px); }
#sale-detail-dialog .record-detail-card { width:min(760px,calc(100vw - 28px)); padding:25px; border-color:#d9e7df; background:linear-gradient(155deg,#fff 0%,#fbfdfc 75%,#f2f8f4 100%); }
#sale-detail-dialog .sales-dialog-heading { margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #e4ece7; }
#sale-detail-dialog .sales-dialog-heading h2 { color:#173f2c; font:700 20px/1.3 Montserrat,sans-serif; }
.sale-detail-hero { display:flex; align-items:center; gap:13px; margin:4px 0 17px; padding:15px; border:1px solid #dceae1; border-radius:15px; background:linear-gradient(110deg,#f1f8f3,#f8fbf9); }
.sale-detail-avatar { display:grid; flex:0 0 46px; width:46px; height:46px; place-items:center; border-radius:50%; background:#dcefe2; color:#216442; font:700 14px Montserrat,sans-serif; }
.sale-detail-identity { display:grid; min-width:0; gap:4px; }
.sale-detail-identity strong { color:#23384c; font:700 14px Montserrat,sans-serif; }
.sale-detail-identity span { color:#718093; font:400 11px Montserrat,sans-serif; }
.sale-detail-badges { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; margin-left:auto; }
#sale-detail-dialog .service-order-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
#sale-detail-dialog .service-order-detail-grid>div { gap:6px; padding:11px 12px; border:1px solid #e7eee9; border-radius:11px; background:#fff; }
#sale-detail-dialog .service-order-detail-grid dt { color:#7a8b80; font-size:9px; font-weight:750; letter-spacing:.06em; text-transform:uppercase; }
#sale-detail-dialog .service-order-detail-grid dd { color:#263d32; font-size:12px; line-height:1.45; }
.service-order-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 18px; }
.service-order-form-grid .field { min-width:0; }
.service-order-form-grid select[multiple] { min-height:125px; padding:9px 12px; }
.service-order-form-grid select[multiple] option { padding:5px 4px; }
.service-order-form-grid .field-hint { display:block; margin-top:5px; color:var(--muted); font-size:10px; line-height:1.4; }
.service-payment-preview { display:flex; flex-direction:column; gap:7px; justify-content:center; padding:10px 14px; border:1px solid var(--line); border-radius:12px; background:#f8faf9; }
.service-payment-preview > span { color:var(--muted); font-size:11px; }
.service-payment-preview small { color:var(--muted); }
.service-order-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.service-order-detail-grid dd { white-space:pre-line; }
.status-pill.partial { color:#935e07; background:#fff4db; }
@media(max-width:760px) {
  .service-order-form-grid,.service-order-detail-grid { grid-template-columns:1fr; }
  .service-order-dialog-card { width:min(100%, 620px); }
}


/* Guided laundry service order form */
.service-order-dialog-card { width:min(760px,calc(100vw - 32px)) !important; max-height:min(92vh,880px); padding:22px !important; }
.service-order-dialog-card .icon-button { flex:0 0 36px; font-size:20px; line-height:1; }
.service-order-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; }
.service-order-form-grid .field { min-width:0; }
.service-field-full { grid-column:1/-1; }
.sales-filter-row #sales-customer-search { border-radius:10px !important; min-height:42px; }
.service-stepper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0 0 19px; padding:0 0 14px; border-bottom:1px solid #e8edf2; }
.service-step { position:relative; display:flex; align-items:center; gap:8px; min-width:0; padding:7px 5px; border:0; background:transparent; color:#718096; text-align:left; font:inherit; font-size:12px; cursor:pointer; }
.service-step-number { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border-radius:50%; background:#eef2f6; color:#64748b; font-size:11px; font-weight:700; }
.service-step.is-active { color:#10294c; font-weight:700; }
.service-step.is-active .service-step-number { background:#eaf4ee; color:#188750; }
.service-step.is-complete .service-step-number { background:#178a51; color:#fff; }
.service-step b { display:none; margin-left:auto; color:#13864c; }
.service-step.is-complete b { display:inline; }
.service-step-heading { margin:0 0 17px; }
.service-step-heading > span { color:#bd8431; font-size:9px; font-weight:750; letter-spacing:.14em; }
.service-step-heading h3 { margin:4px 0 3px; color:#142a45; font-size:17px; }
.service-step-heading p { margin:0; color:#718096; font-size:11px; }
.service-order-form-grid .field label { display:block; margin-bottom:6px; }
.service-order-form-grid .field-hint { display:block; margin-top:5px; color:#78869a; font-size:10px; line-height:1.45; }
.service-checklist { position:relative; }
.service-checklist-trigger { display:flex; width:100%; min-height:42px; align-items:center; justify-content:space-between; gap:10px; padding:0 12px; border:1px solid #dce4ec; border-radius:10px; background:#fff; color:#263950; font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.service-checklist-trigger:focus-visible { outline:3px solid rgba(216,170,91,.25); border-color:#d5a74d; }
.service-checklist-popover { position:absolute; z-index:12; top:calc(100% + 5px); left:0; width:100%; padding:8px; border:1px solid #e0e7ed; border-radius:12px; background:#fff; box-shadow:0 14px 36px rgba(13,35,58,.16); }
.service-checklist-options { display:grid; max-height:190px; overflow:auto; }
.service-checklist-option { display:flex !important; align-items:center; gap:9px; margin:0 !important; padding:8px 7px; border-radius:7px; color:#334155 !important; font-size:11px !important; font-weight:500 !important; cursor:pointer; }
.service-checklist-option:hover { background:#f3f7f4; }
.service-checklist-option input { width:15px; height:15px; accent-color:#16884f; }
.service-checklist-done { display:block; min-height:31px; margin:7px 0 0 auto; padding:0 12px; border-radius:8px; font-size:11px; }
.service-checklist-empty { margin:8px; color:#7b8796; font-size:11px; }
.service-native-select { position:absolute; width:1px !important; height:1px !important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.service-time-hint { margin:0 0 7px !important; }
.service-step-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:20px; padding-top:13px; border-top:1px solid #e9edf2; }
.service-step-actions .mini-btn { min-height:34px; padding:0 12px; border-radius:9px; font-size:11px; }
.service-next-button { margin-left:auto; }
.service-save-button { min-height:36px !important; padding:0 15px !important; border-radius:9px !important; font-size:11px !important; }
.service-payment-preview { display:flex; flex-direction:column; justify-content:center; gap:6px; padding:10px 13px; border:1px solid #e5ebef; border-radius:10px; background:#f8faf9; }
@media(max-width:640px) {
  .service-order-dialog-card { width:min(100%,calc(100vw - 18px)) !important; padding:15px !important; }
  .service-order-form-grid { grid-template-columns:1fr; gap:12px; }
  .service-field-full { grid-column:auto; }
  .service-stepper { gap:2px; }
  .service-step { justify-content:center; gap:5px; font-size:10px; }
  .service-step-number { width:24px; height:24px; flex-basis:24px; }
  .service-step b { display:none !important; }
}


/* Compact service-order wizard refinements */
@media (min-width: 981px) {
  .admin-shell:not(.sidebar-collapsed) #sales-dialog { padding-left: 272px; }
  .admin-shell:not(.sidebar-collapsed) #service-sms-dialog { padding-left: 272px; }
  .admin-shell:not(.sidebar-collapsed) #sale-detail-dialog,
  .admin-shell:not(.sidebar-collapsed) #sale-update-dialog { padding-left: 272px; }
}
#sales-dialog .service-order-dialog-card { width: min(820px, calc(100vw - 36px)) !important; }
#sales-dialog .service-customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#sales-dialog .service-order-form-grid { gap: 12px 14px; }
#sales-dialog .service-order-form-grid .field label { margin-bottom: 4px; color: #263d54; font: 600 11px/1.35 Inter, Arial, sans-serif; }
#sales-dialog .service-order-form-grid input:not([type="checkbox"]),
#sales-dialog .service-order-form-grid select,
#sales-dialog .service-checklist-trigger { min-height: 38px; padding-top: 7px; padding-bottom: 7px; border: 1px solid #dce4e9; border-radius: 8px; color: #21364b; font: 400 12px/1.35 Inter, Arial, sans-serif; box-shadow: none; }
#sales-dialog .service-order-form-grid input:focus,
#sales-dialog .service-order-form-grid select:focus,
#sales-dialog .service-checklist-trigger:focus { border-color: #9bbfc2 !important; outline: 0; box-shadow: 0 0 0 2px rgba(41, 139, 145, .08) !important; }
#sales-dialog .service-step-heading { margin-bottom: 13px; }
#sales-dialog .service-step-heading h3 { margin: 0 0 3px; font: 650 16px/1.3 Inter, Arial, sans-serif; }
#sales-dialog .service-step-heading p { font: 400 11px/1.45 Inter, Arial, sans-serif; }
#sales-dialog .service-stepper { margin-bottom: 15px; padding-bottom: 10px; }
#sales-dialog .service-step { font: 500 11px/1.3 Inter, Arial, sans-serif; }
#sales-dialog .service-step-number { width: 26px; height: 26px; flex-basis: 26px; }
#sales-dialog .service-step.is-complete .service-step-number { background: #e8f5ef; color: #178b8d; }
#sales-dialog .service-step.is-complete b { color: #168b91; font-size: 14px; }
#sales-dialog .service-step.is-active .service-step-number { background: #edf6f3; color: #168b91; box-shadow: inset 0 0 0 1px rgba(22,139,145,.12); }
#sales-dialog .service-step.is-entering { animation: service-step-nudge .48s ease-out; }
#sales-dialog .service-step-actions { margin-top: 15px; padding-top: 10px; }
#sales-dialog .service-step-actions .mini-btn { min-height: 32px; padding: 0 13px; font: 600 11px/1 Inter, Arial, sans-serif; }
#sales-dialog .service-step-actions .service-save-button { min-height: 34px !important; }
@keyframes service-step-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { #sales-dialog .service-step.is-entering { animation: none; } }
@media (max-width: 980px) { #sales-dialog .service-customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { #sales-dialog .service-customer-grid { grid-template-columns: 1fr; } }


/* Compact searchable customer filter and service order fields */
.service-order-filters .service-customer-search { display:flex; align-items:flex-end; height:34px; min-width:0; flex:0 1 220px; }
.service-order-filters .service-customer-search input { box-sizing:border-box; display:block; width:100%; height:34px !important; min-height:34px !important; max-height:34px; margin:0; padding:0 10px; border:1px solid #dfe6ed; border-radius:8px; color:#27364a; font:500 10px/1.2 Montserrat,Arial,sans-serif; }
.service-order-filters .service-customer-search input:focus { border-color: #cfd9df; outline: 0; box-shadow: none; }
#sales-dialog .service-order-form-grid input:not([type="checkbox"]),
#sales-dialog .service-order-form-grid select,
#sales-dialog .service-checklist-trigger { min-height: 36px; padding: 6px 10px; border-color: #dfe6ed; border-radius: 8px; font: 400 11px/1.35 Inter, Arial, sans-serif; }
#sales-dialog .service-order-form-grid .field label { font-size: 10px; }
#sales-dialog .service-order-form-grid input::placeholder { color: #8a96a3; font-size: 10px; opacity: 1; }
#sales-dialog .service-wizard-message:empty { display: none; }
#sales-dialog .service-wizard-message:not(:empty) { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; font-size: 11px; }

#sales-dialog #sale-form-message:empty { display: none; }
#sales-dialog #sale-form-message:not(:empty) { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; font-size: 11px; }


/* Professional Montserrat service-order stepper and controls */
#sales-dialog .service-stepper,
#sales-dialog .service-step,
#sales-dialog .service-step-heading,
#sales-dialog .service-order-form-grid,
#sales-dialog .service-step-actions { font-family: Montserrat, Arial, sans-serif; }
#sales-dialog .service-stepper { gap: 12px; margin-bottom: 18px; padding: 0 0 13px; }
#sales-dialog .service-step { gap: 10px; padding: 8px 6px; color: #64748b; font-size: 13px; font-weight: 550; }
#sales-dialog .service-step.is-active { color: #173451; font-weight: 700; }
#sales-dialog .service-step-number { position: relative; width: 34px; height: 34px; flex-basis: 34px; border: 1px solid #e2e9ed; background: #f1f5f7; color: #607387; font: 700 13px/1 Montserrat, Arial, sans-serif; }
#sales-dialog .service-step-number [data-step-number] { display: grid; place-items: center; }
#sales-dialog .service-step-number [data-step-mark] { display: none; place-items: center; margin: 0; color: #15864d; font: 800 18px/1 Montserrat, Arial, sans-serif; }
#sales-dialog .service-step.is-complete .service-step-number { border-color: #cae9d6; background: #e6f5eb; color: #16864d; box-shadow: none; }
#sales-dialog .service-step.is-complete .service-step-number [data-step-number] { display: none; }
#sales-dialog .service-step.is-complete .service-step-number [data-step-mark] { display: grid !important; }
#sales-dialog .service-step.is-active:not(.is-complete) .service-step-number { border-color: #b9dfe0; background: #eaf6f5; color: #14858b; box-shadow: 0 0 0 3px rgba(20,133,139,.07); }
#sales-dialog .service-step-heading h3 { font: 700 18px/1.3 Montserrat, Arial, sans-serif; }
#sales-dialog .service-step-heading p { font: 400 13px/1.5 Montserrat, Arial, sans-serif; }
#sales-dialog .service-order-form-grid .field label { margin-bottom: 5px; font: 600 12px/1.4 Montserrat, Arial, sans-serif; }
#sales-dialog .service-order-form-grid input:not([type="checkbox"]),
#sales-dialog .service-order-form-grid select,
#sales-dialog .service-checklist-trigger { min-height: 42px; padding: 8px 12px; font: 500 13px/1.4 Montserrat, Arial, sans-serif; }
#sales-dialog .service-order-form-grid input::placeholder { font: 400 11px/1.4 Montserrat, Arial, sans-serif; }
#sales-dialog .service-checklist-option { font: 500 12px/1.4 Montserrat, Arial, sans-serif !important; }
#sales-dialog .service-step-actions .mini-btn { min-height: 36px; padding: 0 15px; font: 650 12px/1 Montserrat, Arial, sans-serif; }
#sales-dialog .service-step-actions .service-save-button { min-height: 38px !important; font: 650 12px/1 Montserrat, Arial, sans-serif !important; }


/* Tight, green service selectors and completed step marks */
#sales-dialog .service-checklist-trigger { min-height: 34px; padding: 5px 9px; gap: 6px; border-color: #b9d9c2; border-radius: 7px; background: #f2f9f3; color: #25543a; font: 500 10.5px/1.25 Montserrat, Arial, sans-serif; }
#sales-dialog .service-checklist-trigger:hover { border-color: #81bd91; background: #edf7ef; }
#sales-dialog .service-checklist-trigger:focus { border-color: #75b887 !important; box-shadow: 0 0 0 2px rgba(39, 132, 71, .09) !important; }
#sales-dialog .service-checklist-popover { padding: 5px; border-color: #d2e5d5; border-radius: 9px; }
#sales-dialog .service-checklist-options { max-height: 150px; gap: 1px; }
#sales-dialog .service-checklist-option { gap: 7px; padding: 4px 6px; border-radius: 5px; font: 500 10px/1.25 Montserrat, Arial, sans-serif !important; }
#sales-dialog .service-checklist-option:has(input:checked) { background: #e9f5eb; color: #216b38 !important; }
#sales-dialog .service-checklist-option input { width: 13px; height: 13px; margin: 0; accent-color: #168b4c; }
#sales-dialog .service-checklist-done { min-height: 27px; margin-top: 4px; padding: 0 9px; border-radius: 7px; font: 650 10px/1 Montserrat, Arial, sans-serif; }
#sales-dialog .service-step-number { background: #edf6ef; color: #287244; border-color: #d2e8d6; }
#sales-dialog .service-step.is-active:not(.is-complete) .service-step-number { border-color: #168b4c; background: #168b4c; color: #fff; box-shadow: 0 0 0 3px rgba(22,139,76,.11); }
#sales-dialog .service-step.is-complete .service-step-number { border-color: #168b4c; background: #168b4c; color: #fff; }
#sales-dialog .service-step-number [data-step-mark] { color: #fff; font-size: 19px; font-weight: 900; }
#sales-dialog .service-step.is-complete .service-step-number [data-step-mark] { color: #fff; font-weight: 900; }
#sales-dialog .service-step-number { width: 36px; height: 36px; flex-basis: 36px; }
#sales-dialog .service-item-field { align-self: end; }


/* Remove excess space between selector choices */
#sales-dialog .service-order-form-grid { column-gap: 10px; row-gap: 8px; }
#sales-dialog .service-checklist { margin: 0; }
#sales-dialog .service-checklist-popover { padding: 4px; }
#sales-dialog .service-checklist-options { display: grid; grid-auto-rows: min-content; align-content: start; gap: 0; padding: 0; }
#sales-dialog .service-checklist-option { min-height: 22px; justify-content: flex-start !important; gap: 4px !important; margin: 0 !important; padding: 2px 4px !important; line-height: 1.1 !important; }
#sales-dialog .service-checklist-option input { flex: 0 0 13px; margin: 0 !important; }
#sales-dialog .service-checklist-option span { margin: 0 !important; padding: 0 !important; }
#sales-dialog .service-checklist-done { margin-top: 3px; }


/* Clear, readable service-order fields and step transition */
#sales-dialog .service-order-form-grid .field label { font-size: 13px; line-height: 1.45; }
#sales-dialog .service-order-form-grid input:not([type="checkbox"]),
#sales-dialog .service-order-form-grid select,
#sales-dialog .service-checklist-trigger { min-height: 44px; font-size: 14px; }
#sales-dialog .service-order-form-grid input::placeholder { font-size: 12px; }
#sales-dialog .service-step-heading h3 { font-size: 19px; }
#sales-dialog .service-step-heading p { font-size: 14px; }
#sales-dialog .service-step { font-size: 14px; }
#sales-dialog .service-step-actions .mini-btn { min-height: 38px; font-size: 13px; }
#sales-dialog .service-checklist-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#sales-dialog .service-select-chevron { flex: 0 0 17px; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
#sales-dialog .service-checklist-trigger[aria-expanded="true"] .service-select-chevron { transform: rotate(180deg); }
#sales-dialog .service-item-field { align-self: end; }
#sales-dialog .service-item-field label { display: block; margin: 0 0 5px; }
#sales-dialog .service-step.is-exiting { animation: service-step-exit .48s ease both; }
#sales-dialog .service-step.is-entering { animation: service-step-arrive .48s cubic-bezier(.2,.75,.25,1) both; }
#sales-dialog .service-step-panel.is-entering { animation: service-panel-arrive .32s ease-out both; }
@keyframes service-step-exit { to { transform: translateX(-22px); opacity: .45; } }
@keyframes service-step-arrive { from { transform: translateX(18px); opacity: .55; } to { transform: translateX(0); opacity: 1; } }
@keyframes service-panel-arrive { from { transform: translateX(10px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #sales-dialog .service-step.is-exiting, #sales-dialog .service-step.is-entering, #sales-dialog .service-step-panel.is-entering { animation: none; } }
@media (max-width: 640px) { #sales-dialog .service-step-panel[data-step-panel="3"] .service-order-form-grid { grid-template-columns: 1fr 1fr; } }

/* Keep the Items field label visible and aligned with Quantity. */
#sales-dialog .service-item-field { align-self: start !important; }
#sales-dialog .service-item-field > label { display: block !important; visibility: visible !important; color: #263d54 !important; margin: 0 0 5px !important; font: 600 13px/1.45 Montserrat, Arial, sans-serif !important; }


/* Match the task selector to the service field and keep save action compact. */
#sales-dialog .service-checklist-trigger { min-height: 44px !important; padding: 8px 12px !important; font: 500 14px/1.4 Montserrat, Arial, sans-serif !important; }
#sales-dialog .service-step-actions .service-save-button { width: auto !important; min-width: 0 !important; min-height: 36px !important; padding: 0 13px !important; border: 1px solid #188a55 !important; border-radius: 8px !important; background: #188a55 !important; color: #fff !important; font: 650 12px/1 Montserrat, Arial, sans-serif !important; box-shadow: none !important; }
#sales-dialog .service-step-actions .service-save-button:hover { background: #126e43 !important; border-color: #126e43 !important; }


/* Tighter category checklist with a distinct color per category. */
#sales-dialog .service-checklist-options { gap: 1px !important; padding: 2px !important; }
#sales-dialog .service-checklist-option { box-sizing: border-box; min-height: 27px !important; height: 27px; gap: 7px !important; padding: 2px 5px !important; border-radius: 5px; line-height: 1.15 !important; }
#sales-dialog .service-checklist-option input { width: 14px !important; height: 14px !important; min-height: 14px !important; flex: 0 0 14px !important; padding: 0 !important; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(1) input { accent-color: #16864d; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(1):has(input:checked) { background: #e8f5ec; color: #17633d !important; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(2) input { accent-color: #263d63; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(2):has(input:checked) { background: #edf1f8; color: #24385b !important; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(3) input { accent-color: #a66c17; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(3):has(input:checked) { background: #fbf3e5; color: #80520f !important; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(4) input { accent-color: #176b72; }
#sales-dialog [data-checklist-options="service-categories"] .service-checklist-option:nth-child(4):has(input:checked) { background: #eaf5f4; color: #155b61 !important; }
#sales-dialog .money-entry { font-variant-numeric: tabular-nums; }


/* Compact payment progress visualization. */
#sales-dialog .service-payment-preview { gap: 5px; padding: 8px 10px; border: 1px solid #e3ebe5; border-radius: 9px; background: #f8fbf8; }
#sales-dialog .service-payment-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#sales-dialog .service-payment-percent { color: #52677a; font: 650 11px/1.2 Montserrat, Arial, sans-serif; }
#sales-dialog .service-payment-percent.is-partial { color: #9a6a1b; }
#sales-dialog .service-payment-percent.is-complete { color: #16864d; }
#sales-dialog .service-payment-summary small, #sales-dialog #sale-balance-preview { color: #718096; font: 500 10px/1.25 Montserrat, Arial, sans-serif; }
#sales-dialog .service-payment-progress { height: 5px; overflow: hidden; border-radius: 99px; background: #e8eef0; }
#sales-dialog .service-payment-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #d69a34; transition: width .22s ease, background-color .22s ease; }
#sales-dialog .service-payment-progress > span.is-complete { background: #16864d; }


/* Mobile layout for the service-order dialog */
@media (max-width: 640px) {
  #sales-dialog { box-sizing: border-box; display: grid; place-items: center; padding: 8px !important; overflow-y: auto; }
  #sales-dialog .service-order-dialog-card { box-sizing: border-box; width: 100% !important; max-width: 100% !important; max-height: calc(100dvh - 16px) !important; margin: auto; padding: 17px 14px !important; border-radius: 20px !important; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  #sales-dialog .sales-dialog-heading { gap: 10px; margin-bottom: 14px !important; padding-bottom: 12px !important; }
  #sales-dialog .sales-dialog-heading h2 { font-size: 20px; line-height: 1.2; }
  #sales-dialog .sales-dialog-heading p { font-size: 12px; line-height: 1.4; }
  #sales-dialog .service-stepper { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 0 0 16px; padding: 0 0 11px; }
  #sales-dialog .service-step { display: flex; min-width: 0; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 4px 1px; text-align: center; font-size: 10px; line-height: 1.2; }
  #sales-dialog .service-step > span:last-child { display: block; width: 100%; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
  #sales-dialog .service-step-number { width: 28px; height: 28px; flex-basis: 28px; margin: 0 auto; }
  #sales-dialog .service-step-heading { margin-bottom: 12px; }
  #sales-dialog .service-step-heading h3 { font-size: 17px; }
  #sales-dialog .service-step-heading p { font-size: 12px; line-height: 1.45; }
  #sales-dialog .service-customer-grid, #sales-dialog .service-order-form-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  #sales-dialog .service-order-form-grid .field { min-width: 0; }
  #sales-dialog .service-order-form-grid input:not([type="checkbox"]), #sales-dialog .service-order-form-grid select, #sales-dialog .service-checklist-trigger { box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px; }
  #sales-dialog .service-step-actions { gap: 8px; margin-top: 14px; padding-top: 10px; }
  #sales-dialog .service-step-actions .mini-btn { min-height: 36px; padding: 0 12px; }
  #sales-dialog .service-step-actions .service-save-button { max-width: 190px; white-space: nowrap; }
  #sales-dialog .service-checklist-popover { max-width: 100%; }
}
@media (max-width: 360px) {
  #sales-dialog { padding: 5px !important; }
  #sales-dialog .service-order-dialog-card { max-height: calc(100dvh - 10px) !important; padding: 14px 11px !important; }
  #sales-dialog .service-step { font-size: 9px; }
}
@media (max-width: 640px) {
  .service-update-grid, .service-update-payment-fields { grid-template-columns: 1fr; }
  .service-sms-footer { align-items: flex-start; flex-wrap: wrap; }
  .service-sms-footer .button { width: 100%; }
  .sale-detail-hero { align-items:flex-start; flex-wrap:wrap; }
  .sale-detail-badges { justify-content:flex-start; width:100%; margin-left:59px; }
  #sale-detail-dialog .service-order-detail-grid { grid-template-columns:1fr; }
  .sales-order-toast { right: 12px; bottom: 12px; }
}


/* On phones, show only the current wizard step. */
@media (max-width: 640px) {
  #sales-dialog .service-stepper { display: flex; justify-content: center; align-items: center; min-height: 52px; }
  #sales-dialog .service-step:not(.is-active) { display: none !important; }
  #sales-dialog .service-step.is-active { display: flex !important; flex-direction: row; align-items: center; justify-content: center; width: max-content; min-width: 150px; gap: 9px; padding: 6px 12px; text-align: left; font-size: 13px; }
  #sales-dialog .service-step.is-active > span:last-child { width: auto; max-width: none; overflow: visible; white-space: nowrap; }
  #sales-dialog .service-step.is-active .service-step-number { flex: 0 0 30px; width: 30px; height: 30px; margin: 0; }
}
.notifications-view { gap: 20px; }
.notifications-heading { display:flex; align-items:center; gap:18px; padding: 8px 4px 4px; }
.notifications-heading-icon { display:grid; place-items:center; width:58px; height:58px; flex:0 0 58px; border-radius:50%; color:#08275d; background:#edf4ff; }
.notifications-heading-icon svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.notifications-heading h2 { color:#102b5c; font-size:30px !important; }
.notifications-heading p { margin:5px 0 0; color:#6c7789; font-size:14px; }
.notification-insight-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.notification-insight-grid article { min-width:0; padding:16px 18px; border:1px solid #e8edf3; border-radius:15px; background:#fff; box-shadow:0 4px 16px rgba(14,35,62,.035); }
.notification-insight-grid article span { display:block; color:#68768a; font-size:12px; }
.notification-insight-grid article strong { display:block; overflow:hidden; margin-top:8px; color:#112d5d; font-size:19px; text-overflow:ellipsis; white-space:nowrap; }
.notification-feed-panel { padding:0; overflow:hidden; }
.notification-feed-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px; border-bottom:1px solid #edf0f4; }
.notification-feed-heading h3 { margin:0; color:#132d59; font-size:18px; }
.notification-feed-heading p { margin:5px 0 0; color:#728094; font-size:13px; }
.notifications-list { display:grid; gap:9px; padding:14px; }
.notification-card { display:grid; grid-template-columns:48px minmax(0,1fr) auto 10px; align-items:center; gap:14px; width:100%; padding:14px 16px; border:1px solid transparent; border-radius:13px; background:#fff; color:inherit; text-align:left; cursor:pointer; transition:background .15s ease,border-color .15s ease,transform .15s ease; }
.notification-card { appearance:none; font:inherit; }
.notification-card:focus-visible { outline:3px solid #3478d4; outline-offset:2px; }
.notification-card:hover { border-color:#e5edf5; background:#fbfdff; transform:translateY(-1px); }
.notification-card.is-unread { background:#f8fbff; }
.notification-card-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; color:#178b75; background:#e9f7f3; }
.notification-card-icon.is-online { color:#2868b2; background:#eaf2ff; }
.notification-card-icon.is-service { color:#168b75; background:#e9f7f3; }
.notification-card-icon.is-invoice { color:#8a58b5; background:#f3ecfb; }
.notification-card-icon.is-deleted { color:#bd4d4d; background:#fff0ef; }
.notification-card-icon.is-delivered { color:#2e8a50; background:#eaf7ed; }
.notification-card-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.notification-card-copy { display:grid; min-width:0; gap:5px; }
.notification-card-copy strong { overflow:hidden; color:#172d54; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.notification-card-copy small { overflow:hidden; color:#69778b; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.notification-card time { color:#748095; font-size:12px; white-space:nowrap; }
.notification-unread-dot { width:9px; height:9px; border-radius:50%; background:#3478d4; }
.recent-orders-subheading { margin:6px 0 0; color:#168b81; font-size:12px; font-weight:700; }
@media(max-width:900px) { .notification-insight-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .notifications-heading h2 { font-size:24px !important; } .notification-card { grid-template-columns:40px minmax(0,1fr) 9px; gap:10px; padding:12px; } .notification-card-icon { width:38px; height:38px; } .notification-card time { grid-column:2; grid-row:2; } .notification-card-copy { grid-column:2; } .notification-unread-dot { grid-column:3; grid-row:1; } .notification-feed-heading { align-items:flex-start; flex-direction:column; } }

.admin-body.is-restoring #login-panel { display:none !important; }
.admin-body.is-restoring { min-height:100vh; background:#f3f6f9; }

.topbar-actions { display:flex; flex-direction:row; align-items:center; gap:12px; }
.profile-menu-wrap { display:flex; flex-direction:row; align-items:center; gap:8px; }
.topbar-role-badge { display:block; margin:0; white-space:nowrap; }
.topbar-popover-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.topbar-popover-close { display:grid; flex:0 0 28px; place-items:center; width:28px; height:28px; padding:0; border:0; border-radius:7px; background:transparent; color:#66758a; font:400 22px/1 Arial,sans-serif; cursor:pointer; }
.profile-menu .topbar-popover-close { width:28px; padding:0; text-align:center; }
.topbar-popover-close:hover { background:#eef3f8; color:#17345e; }
.notifications-list { gap:7px; padding:10px 12px; }
.notification-card { grid-template-columns:38px minmax(0,1fr) auto 9px; grid-template-rows:auto auto; column-gap:10px; row-gap:1px; min-height:58px; padding:7px 11px; border:1px solid #edf1f6; border-radius:12px; }
.notification-card-icon { grid-column:1; grid-row:1 / span 2; width:32px; height:32px; }
.notification-card-icon svg { width:17px; height:17px; }
.notification-card-copy { grid-column:2; grid-row:1 / span 2; gap:2px; }
.notification-card-copy strong { font-size:13px; }
.notification-card-copy small { font-size:11px; }
.notification-card time { grid-column:3; grid-row:1; justify-self:end; font-size:11px; }
.notification-card.is-unread .notification-card-copy strong { font-weight:700; }
.notification-card.is-read .notification-card-copy strong { font-weight:400; }
.notification-card.is-read .notification-unread-dot { visibility:hidden; }
.notification-unread-dot { grid-column:4; grid-row:1 / span 2; }
@media(max-width:700px) { .topbar-actions { gap:5px; } .profile-menu-wrap { gap:5px; } .notification-card { grid-template-columns:34px minmax(0,1fr) 9px; grid-template-rows:auto auto; min-height:0; padding:9px; } .notification-card-icon { grid-column:1; grid-row:1 / span 2; width:30px; height:30px; } .notification-card-copy { grid-column:2; grid-row:1; } .notification-card time { grid-column:2; grid-row:2; justify-self:start; } .notification-unread-dot { grid-column:3; grid-row:1; } .notifications-list { min-width:0; padding:8px; } .notification-feed-panel { min-width:0; max-width:100%; } .notification-popover { position:fixed; top:70px; right:8px; left:8px; width:auto; max-width:none; max-height:calc(100dvh - 82px); overflow-y:auto; box-sizing:border-box; } }

.users-view #users-list-view { display:grid; align-content:start; gap:16px; min-width:0; }
.users-view .users-page-heading { margin:0; }
.users-view .user-summary-grid { margin:0; }
.users-view .user-summary-grid .sales-summary-card { min-height:96px; }
.users-view > #users-list-view > .panel { overflow:hidden; }
.users-filter-row { align-items:center; flex-wrap:wrap; margin:0 0 12px; }
.users-filter-row label:first-child { flex:1 1 260px; }
.users-filter-row input[type=search] { min-width:240px; min-height:36px; }
.users-filter-row select { min-height:36px; }
.users-table-scroll { width:100%; min-width:0; overflow-x:auto; }
.users-table { width:100%; min-width:980px !important; table-layout:fixed; }
.users-table th,.users-table td { padding:10px 8px; font-size:11px; white-space:nowrap; }
.users-table th:nth-child(1) { width:4%; }
.users-table th:nth-child(2) { width:15%; }
.users-table th:nth-child(3) { width:22%; }
.users-table th:nth-child(4) { width:13%; }
.users-table th:nth-child(5) { width:9%; }
.users-table th:nth-child(6) { width:10%; }
.users-table th:nth-child(7) { width:13%; }
.users-table th:nth-child(8) { width:14%; }
.users-table td:nth-child(3) { overflow:hidden; text-overflow:ellipsis; }
.users-view .sales-table-footer { padding:10px 2px 0; }
@media(max-width:760px) { .users-filter-row { align-items:stretch; } .users-filter-row label:first-child { flex-basis:100%; } .users-filter-row input[type=search] { width:100%; min-width:0; } .users-table { min-width:980px !important; } }

.user-summary-grid article:nth-child(2) { border-left-color:var(--brand-blue); }
.user-summary-grid article:nth-child(3) { border-left-color:#ef982f; }

/* Site Management user creation follows the service form wizard styling. */
.user-create-wizard { max-width:900px; margin:0 auto; padding:22px; border:1px solid #e5eaf0; border-radius:16px; background:linear-gradient(145deg,#fff,#f8fafc); }
.user-create-stepper { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 20px; padding:0 0 14px; border-bottom:1px solid #e8edf2; }
.user-create-step { display:flex; align-items:center; gap:10px; min-width:0; padding:7px 5px; color:#718096; }
.user-create-step > span:nth-child(2) { display:grid; gap:2px; }
.user-create-step strong { color:inherit; font-size:12px; }
.user-create-step small { color:#8491a2; font-size:10px; }
.user-create-step-number { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:50%; background:#eef2f6; color:#64748b; font-size:11px; font-weight:700; }
.user-create-step.is-active { color:#10294c; }
.user-create-step.is-active .user-create-step-number { background:#eaf4ee; color:#188750; }
.user-create-step.is-complete .user-create-step-number { background:#178a51; color:#fff; }
.user-create-step > b { display:none; margin-left:auto; color:#13864c; }
.user-create-step.is-complete > b { display:block; }
.user-create-step-panel[hidden] { display:none !important; }
.user-create-wizard .service-step-heading { margin-bottom:17px; }
.user-create-wizard .service-step-heading > span { color:#bd8431; font-size:9px; font-weight:750; letter-spacing:.14em; }
.user-create-wizard .service-step-heading h3 { margin:4px 0 3px; color:#142a45; font-size:17px; }
.user-create-wizard .service-step-heading p { margin:0; color:#718096; font-size:11px; }
.user-create-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 18px; margin-bottom:0; }
.user-create-grid .field { display:grid; align-content:start; gap:7px; min-width:0; }
.user-create-grid .field label { margin:0; color:#263d54; font-size:11px; font-weight:600; }
.user-create-grid .field input,.user-create-grid .field select { min-height:40px; padding:8px 11px; border:1px solid #dce4e9; border-radius:8px; color:#21364b; font:400 12px/1.35 Inter,Arial,sans-serif; box-shadow:none; }
.user-create-grid .field input:focus,.user-create-grid .field select:focus { border-color:#9bbfc2; outline:0; box-shadow:0 0 0 2px rgba(41,139,145,.08); }
.user-create-grid .field small { color:#78869a; font-size:10px; line-height:1.45; }
.user-create-wizard .service-step-actions { margin-top:20px; }
.user-create-wizard .user-create-next,.user-create-wizard .user-create-submit { min-height:36px; padding:8px 15px; border-radius:9px; font-size:11px; }
.user-create-wizard #create-user-message { margin:12px 0 0; }
@media(max-width:640px) {
  .user-create-wizard { padding:16px; }
  .user-create-grid { grid-template-columns:1fr; gap:12px; }
  .user-create-stepper { gap:2px; }
  .user-create-step { gap:6px; padding:6px 2px; }
  .user-create-step-number { width:26px; height:26px; flex-basis:26px; }
  .user-create-step strong { font-size:10px; }
  .user-create-step small { font-size:9px; }
}
/* Final Site Management table refinements. */
.users-view { box-sizing:border-box; padding-left:14px; }
.users-view .users-list-panel > .panel-head { justify-content:flex-end; min-height:38px; margin-bottom:10px; }
.users-view .users-list-panel > .panel-head .users-toolbar { justify-content:flex-end; }
.users-filter-row { gap:10px; }
.users-filter-row label:first-child { flex:1 1 300px; }
.users-filter-row input[type=search] { box-sizing:border-box; width:100%; min-width:220px; padding:0 12px; border:1px solid transparent !important; border-radius:9px; background:#f4f7fa; color:#263950; box-shadow:none !important; }
.users-filter-row input[type=search]:focus { border-color:transparent !important; outline:2px solid rgba(43,112,178,.15); outline-offset:1px; }
.users-filter-row label:not(:first-child) { flex:0 0 auto; gap:7px; }
.users-filter-row select { width:132px; min-width:132px; padding:0 24px 0 10px; }
.users-table thead { background:#eaf1f8; }
.users-table thead th { border-bottom:1px solid #d8e3ef; color:#173c68; font-weight:750; }
.users-table tbody tr:hover { background:#f7faff; }
.user-row-actions .sales-action-button { width:30px; height:30px; border-radius:8px; color:#315b84; }
.user-row-actions .sales-action-button:hover { background:#edf4fa; color:#173c68; }
.user-row-actions .user-delete-button { color:#bd4c4c; }
.user-row-actions .user-delete-button:hover { background:#fff0ef; color:#a93434; }
.user-row-actions svg { width:15px; height:15px; }
@media(max-width:760px) {
  .users-view { padding-left:0; }
  .users-filter-row label:not(:first-child) { flex:1 1 150px; justify-content:space-between; }
  .users-filter-row label:not(:first-child) select { flex:0 1 132px; }
}
/* Keep the account details fields together in one row on desktop. */
.user-create-step-panel[data-user-step-panel="0"] .user-create-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:640px) {
  .user-create-step-panel[data-user-step-panel="0"] .user-create-grid { grid-template-columns:1fr; }
}
/* Compact report insight and payment cards without clipping their text. */
.reports-view .report-insights { align-items:start; }
.reports-view .report-insights article { min-width:0; padding:12px 14px; }
.reports-view .report-insights h3 { margin:5px 0 4px; font-size:12px; line-height:1.35; }
.reports-view .report-insights p,.reports-view .report-insights small { font-size:10px; line-height:1.42; overflow-wrap:break-word; word-break:normal; hyphens:none; }
.reports-view .report-insights small { margin-top:6px; }
.reports-view .overview-payment-bars { gap:18px; padding:16px 0 8px; }
.reports-view .report-payment-row { gap:9px; }
.reports-view .report-payment-row > div:first-child { font-size:12px; }
.reports-view .report-payment-row strong { font-size:12px; }
.reports-view .report-payment-row .payment-track { height:9px; }
/* Use the service palette for browser focus borders throughout the staff dashboard. */
.admin-body :is(button,input,select,textarea):focus { border-color:var(--brand-turquoise) !important; outline:2px solid rgba(11,146,153,.2) !important; outline-offset:1px; }
.admin-body :is(button,input,select,textarea):focus-visible { border-color:var(--brand-turquoise) !important; outline:2px solid var(--brand-turquoise) !important; outline-offset:2px; }

/* Align the storefront accents with the turquoise and orange shop sign. */
.site-header .brand > span:last-child { min-width:0; font-size:17px; line-height:1.05; letter-spacing:.055em; text-align:center; }
.site-header .brand img { width:110px; max-height:62px; image-rendering:auto; }
.site-header .brand > span:last-child { width:150px; flex:0 0 150px; }
.site-header .brand small { display:block; max-width:100%; overflow:hidden; font-size:6px; font-weight:500; letter-spacing:0; line-height:1.25; text-align:center; }
.about-copy .about-slogan { color:var(--brand-turquoise); font-weight:700; }
.nav-dropdown-menu { min-width:165px; padding:6px; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:#123f4c; box-shadow:0 16px 34px rgba(12,35,44,.24); }
.nav-dropdown-menu a { padding:9px 10px; border-radius:7px; color:#f1fbfc; font:600 10px/1.3 Montserrat,Arial,sans-serif; letter-spacing:.01em; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.nav-dropdown-menu a:hover,.nav-dropdown-menu a:focus-visible { background:#245967; color:#f3a23a; }
.button-gold { background:linear-gradient(135deg,#f3a23a,#ed8e2c); color:#18343d; }
.nav-book { background:#ef982f; color:#17343b !important; }
.main-nav .nav-book { background:#ef982f; color:#17343b !important; }
.service-value-card-featured { background:var(--brand-turquoise); }
.service-track .service-card { border-top:3px solid var(--brand-turquoise); }
.service-track .product-tag { color:#c8751c; }
.service-track .service-card .product-detail-mark,
.service-track .service-card:hover .product-detail-mark { background:var(--brand-turquoise); }
.service-track .product-info h3 { color:#137b88; font:800 20px/1.25 Montserrat,Arial,sans-serif; letter-spacing:-.025em; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.service-track .product-info p { color:#455b62; font:500 13px/1.55 Montserrat,Arial,sans-serif; }
.service-track .product-actions .text-link { color:#137b88; font-weight:700; }
.service-track .product-actions .button { min-height:32px; padding:0 10px; background:#28b9c9; color:#123b43; font-size:10px; font-weight:750; }
.service-track .product-actions .button:hover { background:#1aa5b6; }
.whatsapp-action,.nav-whatsapp-icon { background:#f1a23a; color:#fff; }
.footer-whatsapp-contact svg,.phone-channel-list .whatsapp-mini-icon { stroke:#f1a23a; }
.footer-whatsapp-contact:hover { color:#f1a23a; }
.cleaning-promo-cta { border-color:#f1a23a; background:#f1a23a; color:#18343d; }
.cleaning-promo-cta:hover { border-color:#fff; background:#fff; color:#18343d; }
@media(max-width:760px) {
  .site-header .brand > span:last-child { font-size:15px; }
  .site-header .brand > span:last-child { width:140px; flex-basis:140px; }
  .site-header .brand img { width:88px; max-height:50px; }
  .site-header .brand small { font-size:5.5px; }
  .service-track .product-info h3 { font-size:19px; }
  .service-track .product-info p { font-size:12px; }
}

/* Keep WhatsApp accents compact and in the storefront turquoise. */
.whatsapp-action { width:38px; height:38px; background:var(--brand-turquoise); color:#fff; }
.whatsapp-action svg { width:16px; height:16px; }
.nav-whatsapp-icon { width:30px; height:30px; flex-basis:30px; background:var(--brand-turquoise); }
.nav-whatsapp-icon svg { width:16px; height:16px; }
.footer-whatsapp-contact svg { width:15px; height:15px; flex-basis:15px; stroke:var(--brand-turquoise); }
.footer-whatsapp-contact:hover { color:var(--brand-turquoise); }
.phone-channel-list .whatsapp-mini-icon { stroke:var(--brand-turquoise); }
@media(max-width:760px) {
  .whatsapp-action { width:34px; height:34px; }
  .whatsapp-action svg { width:15px; height:15px; }
  .nav-whatsapp-icon { width:26px; height:26px; flex-basis:26px; }
  .nav-whatsapp-icon svg { width:14px; height:14px; }
}

/* Keep the back-to-top action orange, distinct from WhatsApp turquoise. */
.top-action { background:#f1a23a; color:#fff; }

/* Brand colors for the social media icons. */
.social-links a,.cleaning-promo-watch a { color:var(--brand-turquoise); border-color:rgba(40,185,201,.65); }
.social-links a:nth-of-type(even),.cleaning-promo-watch a:nth-of-type(even) { color:#f1a23a; border-color:rgba(241,162,58,.72); }
.social-links a:hover,.cleaning-promo-watch a:hover { background:rgba(40,185,201,.14); color:#fff; }

/* Turquoise staff sign-in panel and a clear password visibility control. */
.login-brand-head { background:linear-gradient(135deg,#28b9c9,#138b98); color:#fff; }
.login-form-side .button-gold { background:linear-gradient(120deg,#28b9c9,#138b98); box-shadow:0 8px 18px rgba(19,139,152,.22); }
.login-form-side .button-gold:hover { background:linear-gradient(120deg,#20aebe,#107d89); }
.password-visibility-toggle { border:1px solid rgba(19,139,152,.18); background:#f2fbfc; color:#137b88; }
.password-visibility-toggle:hover { background:#dff5f7; color:#0c6470; }
.password-visibility-toggle:focus-visible { outline:2px solid var(--brand-turquoise); }

/* Restore the staff login navy; keep the visible password eye styling. */
.login-brand-head { background:linear-gradient(135deg,#061f49,#123b72); }
.login-form-side .button-gold { background:linear-gradient(120deg,#061f49,#17447e); box-shadow:0 8px 18px rgba(6,31,73,.2); }
.login-form-side .button-gold:hover { background:linear-gradient(120deg,#0b2c5e,#20558f); }

/* Warm dashboard accents in the recent order list. */
.recent-order-source.is-shop { color:#9a5710; background:#fff0d2; }
.recent-orders-subheading { color:#d9781c; }

/* Keep the notification read-all action visually quiet. */
.notification-mark-read { padding:0; border:0; background:transparent; box-shadow:none; color:#138b98; font:600 12px/1.4 Montserrat,Arial,sans-serif; cursor:pointer; }
.notification-mark-read:hover,.notification-mark-read:focus-visible { border:0; background:transparent; box-shadow:none; color:#f1a23a; text-decoration:underline; }
.notification-mark-read:focus-visible { outline:2px solid var(--brand-turquoise); outline-offset:3px; }

/* Use a crisp, scalable close icon in the invoice details dialog. */
.invoice-dialog-close { display:grid; flex:0 0 34px; width:34px; height:34px; place-items:center; padding:0; border:1px solid #dbe5eb; border-radius:9px; background:#fff; color:#536477; cursor:pointer; }
.invoice-dialog-close:hover { border-color:#f1a23a; background:#fff8ed; color:#a85c10; }
.invoice-dialog-close svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }

/* Draw the invoice close mark with CSS strokes to avoid font glyph substitution. */
.invoice-dialog-close { position:relative; font-size:0; }
.invoice-dialog-close svg { display:none; }
.invoice-dialog-close::before,.invoice-dialog-close::after { position:absolute; width:15px; height:2px; border-radius:2px; background:currentColor; content:""; }
.invoice-dialog-close::before { transform:rotate(45deg); }
.invoice-dialog-close::after { transform:rotate(-45deg); }


/* Social media workspace */
.social-media-intro{padding:24px;background:linear-gradient(120deg,#f2f8f8,#fff);}.social-media-intro h2{margin:6px 0}.social-media-intro p,.social-drafts-heading p{margin:6px 0 0;color:#738193}.social-media-composer,.social-drafts-panel{padding:22px}.social-media-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.social-media-composer label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#334155}.social-media-composer select,.social-media-composer textarea{width:100%;padding:12px;border:1px solid #d8e1e8;border-radius:10px;background:#fff;color:#243447;font:inherit}.social-prompt-label{margin:0 0 8px}.social-composer-actions,.social-drafts-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.social-composer-actions p{margin:0;color:#627386;font-size:13px}.social-result{display:grid;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #e5ebef}.social-result textarea{min-height:150px}.social-result .mini-btn{justify-self:start}.social-drafts-heading{margin:0 0 18px}.social-drafts-heading h2{margin:0}.social-drafts-list{display:grid;gap:12px}.social-draft-card{padding:16px;border:1px solid #e2e9ed;border-radius:12px}.social-draft-meta{display:flex;justify-content:space-between;gap:12px;color:#607386;font-size:12px}.social-draft-card p{white-space:pre-wrap;line-height:1.6;margin:12px 0}.social-draft-actions{display:flex;flex-wrap:wrap;gap:8px}.social-draft-actions button{padding:8px 12px;border:1px solid #d7e1e7;border-radius:8px;background:#fff;color:#264357;font-weight:700;cursor:pointer}.social-draft-actions button[data-social-action="approve"]{background:#e7f5eb;color:#28663e;border-color:#c8e5d0}.social-draft-actions button[data-social-action="delete"]{color:#a33c3c}.social-draft-card[data-status="approved"]{border-color:#b8dfc3}.social-draft-status{font-weight:700;color:#3d7650;text-transform:capitalize}@media(max-width:650px){.social-media-form-grid{grid-template-columns:1fr}.social-media-composer,.social-drafts-panel{padding:16px}.social-composer-actions,.social-drafts-heading{align-items:flex-start;flex-direction:column}}
.social-image-help{margin:-3px 0 0;color:#738193;font-size:12px}.social-required{color:#a33c3c;font-size:11px}.social-image-preview{display:block;width:min(100%,520px);max-height:360px;object-fit:contain;object-position:left center;background:#f4f7f8;border-radius:10px}.social-draft-card>.social-image-preview{margin:12px 0}.social-draft-status{text-transform:capitalize}.social-draft-card[data-status="pending_approval"]{border-color:#e7cf91}.social-draft-card[data-status="changes_requested"]{border-color:#e7b9a7}.social-draft-card[data-status="approved"]{border-color:#b8dfc3}
.social-platform-options{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 20px;margin:0;padding:12px 14px;border:1px solid #d8e1e8;border-radius:10px}.social-platform-options legend{padding:0 6px;font-size:13px;font-weight:700;color:#334155}.social-platform-options label{display:flex!important;align-items:center;gap:7px}.social-platform-options input{accent-color:#178f9a}
.social-card-upload{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px dashed #9aabb6;border-radius:10px;color:#334155;font-size:13px;font-weight:700}.social-card-upload input{font:inherit;font-weight:400}.social-draft-card[data-status="awaiting_image"]{border-color:#e7cf91}.social-draft-card[data-status="rejected"]{opacity:.76;border-color:#ddc6c6}.social-draft-status{text-transform:capitalize}
.social-mode-options{display:flex;flex-wrap:wrap;gap:10px 20px;margin:14px 0;padding:12px 14px;border:1px solid #d8e1e8;border-radius:10px}.social-mode-options legend{padding:0 6px;font-weight:700;color:#334155}.social-mode-options label{display:flex!important;align-items:center;gap:7px}.social-mode-options input{accent-color:#178f9a}.social-media-composer>#social-content-date{max-width:280px;margin:8px 0 14px}
.social-date-generate-row{display:grid;grid-template-columns:minmax(210px,280px) minmax(210px,260px);align-items:end;gap:16px;margin:14px 0 18px}.social-media-composer .social-date-field{display:grid;gap:8px;margin:0;color:#26384d;font-size:13px;font-weight:700}.social-date-field span{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px}.social-date-field small{color:#748397;font-size:11px;font-weight:500}.social-date-field input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd7df;border-radius:11px;background:linear-gradient(180deg,#fff,#f7fafb);color:#1d3449;font-family:inherit;font-size:15px;font-weight:600;box-shadow:0 2px 7px #1639560a;accent-color:#168e9b}.social-date-field input:focus{outline:3px solid #198c9b2b;border-color:#168e9b}.social-date-generate-row #social-generate{min-height:48px;width:100%;padding:10px 18px;border-radius:11px;white-space:normal}.social-created-by{margin-top:8px;color:#728195;font-size:12px}.social-created-by strong{color:#30445a;font-weight:700}
@media(max-width:700px){.social-date-generate-row{grid-template-columns:minmax(0,1fr);gap:12px}.social-date-field input,.social-date-generate-row #social-generate{width:100%;max-width:none}.social-mode-options{gap:10px;padding:11px}.social-mode-options label{font-size:12px}.social-platform-options{gap:10px 14px;padding:11px}.social-draft-meta{align-items:flex-start;flex-direction:column;gap:5px}.social-draft-card{padding:13px}.social-draft-actions button{flex:1 1 auto;min-height:42px}.social-composer-actions{min-height:0}.social-media-intro,.social-media-composer,.social-drafts-panel{padding:16px}.social-media-intro h2,.social-drafts-heading h2{font-size:20px}.social-media-intro p,.social-drafts-heading p{font-size:13px;line-height:1.5}}
.social-upload-action{display:inline-flex;position:relative;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #d7e1e7;border-radius:8px;background:#f6fafb;color:#264357;font-size:12px;font-weight:700;cursor:pointer}.social-upload-action input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.social-draft-card[data-status="partial_publish"]{border-color:#e7cf91}.social-draft-card[data-status="publish_failed"]{border-color:#e0b7b7}
.social-channel-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.social-channel-chips span{padding:7px 11px;border:1px solid #d6e6e8;border-radius:99px;background:#fff;color:#26717a;font-size:12px;font-weight:700}.social-media-composer>h3{margin:0 0 5px}.social-media-composer>p{color:#738193;line-height:1.55}.social-draft-card[data-status="suggestion"]{background:linear-gradient(135deg,#fff,#f9fcfc)}.social-draft-card[data-status="published"]{border-color:#9acdad;background:#f7fcf8}.social-impact{display:inline-flex;margin:4px 0 10px;padding:6px 9px;border-radius:7px;background:#eef7f5;color:#28655e;font-size:12px;font-weight:700}
.social-review-hint{margin:4px 0 14px;color:#738193;font-size:13px}.social-platform-tabs{display:flex;gap:8px;margin:0 0 16px;padding:6px;border:1px solid #e3ebef;border-radius:14px;background:#f5f9fa}.social-platform-tab{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:44px;padding:8px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#526578;font:700 13px Montserrat,Arial,sans-serif;cursor:pointer}.social-platform-tab span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#e5edef;color:#526578;font-size:11px}.social-platform-tab.is-active{border-color:#dce8e9;background:#fff;color:#147f87;box-shadow:0 3px 10px #132f3b0b}.social-platform-tab.is-active span{background:#e4f5f3;color:#147f87}@media(max-width:500px){.social-platform-tabs{gap:4px;padding:4px}.social-platform-tab{gap:5px;padding:7px 5px;font-size:12px}}
.social-records-panel{margin-top:18px;padding:22px}.social-records-badge{padding:7px 11px;border:1px solid #dcebe6;border-radius:99px;background:#f0f8f4;color:#32815a;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.social-record-table-wrap{width:100%;overflow:auto;border:1px solid #e5ecef;border-radius:14px}.social-record-table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}.social-record-table th{padding:12px 14px;background:#f5f8fa;color:#778494;font-size:10px;letter-spacing:.08em;text-align:left;text-transform:uppercase}.social-record-table td{padding:13px 14px;border-top:1px solid #edf1f3;color:#35485b;font-size:12px;vertical-align:middle}.social-record-table td strong,.social-record-table td small{display:block}.social-record-table td small{margin-top:5px;color:#8591a0;font-size:10px}.social-record-table td a{color:#167f88;font-weight:700;text-decoration:none}.social-record-table td a:hover{text-decoration:underline}.social-record-platform{display:inline-flex;padding:6px 9px;border-radius:99px;background:#eef8f7;color:#167f88;font-size:10px;font-weight:800}.social-record-row-actions{display:flex;gap:6px}.social-record-row-actions button{padding:7px 9px;border:1px solid #dce5e9;border-radius:8px;background:#fff;color:#355065;font-size:11px;font-weight:700;cursor:pointer}.social-record-row-actions button:last-child{color:#a94d4d}.social-record-dialog-card{width:min(720px,calc(100vw - 30px));max-height:min(92vh,860px);overflow:auto}.social-record-dialog-card .sales-dialog-heading{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e9eef0}.social-record-dialog-card .sales-dialog-heading h2{margin:0;color:#16394b;font-size:22px}.social-record-kicker{display:block;margin-bottom:5px;color:#168b92;font-size:9px;font-weight:800;letter-spacing:.14em}.social-record-form{display:grid;gap:16px}.social-record-caption{padding:14px;border:1px solid #e5edeb;border-radius:12px;background:#f7faf9}.social-record-caption>span{color:#788990;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.social-record-caption p{margin:8px 0 0;color:#263f4d;font-size:13px;line-height:1.65;white-space:pre-wrap}.social-record-form label{display:grid;gap:6px;color:#4c6070;font-size:11px;font-weight:700}.social-record-form input{width:100%;min-height:40px;padding:9px 11px;border:1px solid #dce5e9;border-radius:9px;background:#fff;color:#243747;font:500 13px Montserrat,Arial,sans-serif}.social-record-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.social-analysis-panel{padding:16px;border:1px solid #e3ece9;border-radius:13px;background:linear-gradient(145deg,#f3f8f6,#fff)}.social-analysis-panel h3{margin:0;color:#183b46;font-size:16px}.social-analysis-panel p{margin:12px 0 0;color:#445b65;font-size:12px;line-height:1.7;white-space:pre-wrap}.social-record-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:6px}.social-record-actions #social-record-delete{margin-right:auto;color:#a94d4d}.social-platform-tab.is-done span{background:#e5f5eb;color:#31824d}@media(max-width:600px){.social-records-panel{padding:15px}.social-record-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.social-record-dialog-card{padding:18px}.social-record-actions>*{flex:1 1 42%}.social-record-actions #social-record-delete{margin-right:0}}
.social-analysis-badge{display:inline-flex;padding:6px 8px;border:1px solid #e5e9ec;border-radius:99px;background:#f6f7f8;color:#7d8991;font-size:10px;font-weight:800}.social-analysis-badge.is-ready{border-color:#d7eee0;background:#edf8f0;color:#368052}
.social-record-table{min-width:920px}
/* Social approvals: clear three-step review and compact posting ledger. */
.social-media-intro{position:relative;overflow:hidden;padding:30px 34px;border:1px solid #dfe9eb;background:radial-gradient(ellipse at 92% 0%,#e9f6f2 0,transparent 34%),linear-gradient(120deg,#fff 0%,#f8fbfc 100%)}
.social-media-intro h2{margin:9px 0 8px;color:#14374b;font-size:clamp(23px,3vw,32px);letter-spacing:-.035em}
.social-media-intro>p{max-width:850px;margin:0;color:#5a6f7c;font-size:14px;line-height:1.75}
.social-drafts-panel,.social-records-panel{border:1px solid #e2eaed;border-radius:18px;box-shadow:0 10px 30px #0b2c3b0a}
.social-platform-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:4px;border:0;background:transparent}
.social-platform-tab{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-content:center;justify-content:start;column-gap:11px;min-height:72px;padding:12px 16px;border:1px solid #e1e9ed;border-radius:14px;background:#fff;text-align:left;box-shadow:0 4px 12px #173b4b08;transition:border-color .18s,box-shadow .18s,transform .18s}
.social-platform-tab:hover{transform:translateY(-1px);border-color:#a9d7d1;box-shadow:0 8px 20px #173b4b10}
.social-platform-tab .social-step-number{grid-row:1/3;align-self:center;display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid #dce7ea;border-radius:50%;background:#f3f7f8;color:#49616e;font-size:13px;font-weight:800}
.social-platform-tab strong{align-self:end;color:#254658;font-size:13px}
.social-platform-tab .social-step-status{align-self:start;color:#7c8c95;font-size:10px;font-weight:600}
.social-platform-tab.is-active{border-color:#f49a2c;background:linear-gradient(125deg,#fffaf3,#fff);box-shadow:0 0 0 3px #f49a2c1c,0 8px 20px #173b4b0b}
.social-platform-tab.is-active strong{color:#b9670d}
.social-platform-tab.is-active .social-step-number{border-color:#f49a2c;background:#f49a2c;color:#fff}
.social-platform-tab.is-done .social-step-number{border-color:#a8d7b4;background:#eaf7ed;color:#258049}
.social-draft-card{border:1px solid #e1e9ed;border-radius:16px;box-shadow:0 8px 22px #0b2c3b09}
.social-draft-card>p{color:#344e5d;font-size:14px;line-height:1.8}
.social-draft-actions button{min-height:38px;border-radius:9px;font-weight:700}
.social-records-panel{margin-top:22px;padding:24px}
.social-records-analyze-all{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border:1px solid #dbe8e9;border-radius:11px;background:#fff;color:#167f88;font:700 12px Montserrat,Arial,sans-serif;cursor:pointer;transition:background .18s,border .18s}
.social-records-analyze-all:hover{border-color:#93ccc4;background:#eff9f7}
.social-record-table-wrap{border-color:#e1e9ed;border-radius:14px;box-shadow:0 4px 14px #13374708}
.social-record-table{min-width:980px}
.social-record-table th{padding:14px 16px;background:#f2f7f8;color:#6b7e89;font-size:10px}
.social-record-table td{padding:15px 16px}
.social-record-table tbody tr:hover{background:#fbfdfd}
.social-record-cell{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:140px}
.social-record-cell button,.social-record-analyze-icon{padding:8px 10px;border:1px solid #dbe6e8;border-radius:8px;background:#fff;color:#315666;font-size:10px;font-weight:700;cursor:pointer}
.social-record-cell button:hover,.social-record-analyze-icon:hover{border-color:#a6d5ce;background:#eff9f7;color:#167f88}
.social-record-cell .social-record-pending,.social-record-pending{color:#8a969d;font-size:10px}
.social-record-cell .social-record-posted{padding:5px 8px;border-radius:20px;background:#eaf7ee;color:#28794a;font-size:10px;font-weight:800}
.social-record-cell a{display:inline-flex;padding:7px 9px;border-radius:8px;background:#eaf6f4;color:#137b76!important;font-size:10px}
.social-record-analyze-icon{white-space:nowrap;color:#b36a13}
.social-record-delete-icon{align-self:flex-end;width:28px;height:28px;padding:0!important;color:#a24c4c!important}
@media(max-width:640px){.social-media-intro{padding:22px}.social-platform-tabs{gap:6px}.social-platform-tab{grid-template-columns:30px 1fr;column-gap:7px;min-height:66px;padding:9px 7px}.social-platform-tab .social-step-number{width:28px;height:28px;min-width:28px;font-size:11px}.social-platform-tab strong{font-size:11px}.social-platform-tab .social-step-status{font-size:9px}.social-records-panel{padding:16px}.social-records-analyze-all{min-height:38px;padding:0 10px;font-size:10px}}
.social-record-awaiting{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #f1d9a8;border-radius:99px;background:#fff8e9;color:#a56b10;font-size:10px;font-weight:800}
.social-record-awaiting:before{content:"";width:6px;height:6px;border-radius:50%;background:#e4a42f}
/* Compact social option picker and readable full-content dialog. */
.social-drafts-heading h2{font-size:18px;letter-spacing:-.02em}.social-drafts-heading p{font-size:11px;line-height:1.45}
.social-platform-tab{min-height:58px;padding:9px 12px}.social-platform-tab strong{font-size:12px}.social-platform-tab .social-step-status{font-size:9px}
.social-drafts-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.social-draft-card{padding:0;border-radius:12px;overflow:hidden}.social-option-tile{display:grid;gap:7px;padding:13px}.social-option-number{width:max-content;padding:5px 8px;border-radius:7px;background:#edf5f4;color:#187e78;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.social-option-tile>strong{color:#244454;font-size:12px;line-height:1.4}.social-option-tile small{color:#7d8b93;font-size:9px}.social-option-tile button{justify-self:start;margin-top:2px;padding:7px 10px;border:1px solid #d8e7e6;border-radius:8px;background:#fff;color:#137d78;font-size:10px;font-weight:800;cursor:pointer}.social-option-tile button:hover{background:#eff8f6;border-color:#a9d3ce}
.social-option-dialog-card{width:min(680px,calc(100vw - 28px));max-height:min(88vh,760px);overflow:auto;padding:22px}.social-option-dialog-card .sales-dialog-heading{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #e7edef}.social-option-dialog-card .sales-dialog-heading h2{margin:0;color:#183b4c;font-size:20px}.social-option-dialog-card .sales-dialog-heading p{margin:5px 0 0;color:#74848d;font-size:10px}.social-option-content{display:grid;gap:11px}.social-option-content section{padding:13px;border:1px solid #e4ebed;border-radius:10px;background:#fff}.social-option-content section>span{color:#788990;font-size:9px;font-weight:800;letter-spacing:.1em}.social-option-content section p{margin:8px 0 0;color:#304957;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.social-option-content #social-option-hashtag-section{background:#f4f9f7;border-color:#dcece5}.social-option-content #social-option-hashtags{color:#287367;font-size:11px;font-weight:700;line-height:1.7}.social-option-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:13px}.social-option-actions button{min-height:36px;padding:8px 11px;border-radius:8px;font-size:10px;font-weight:800}.social-option-reject{color:#a45745}
.social-record-awaiting{font-size:9px}.social-record-table th{font-size:9px}.social-record-table td{font-size:10px}
@media(max-width:680px){.social-drafts-list{grid-template-columns:1fr}.social-option-dialog-card{padding:15px}.social-option-actions{justify-content:stretch}.social-option-actions button{flex:1}}
.social-platform-tabs{grid-template-columns:minmax(220px,300px);margin-bottom:12px}
.social-drafts-heading h2{font-size:17px}.social-drafts-heading p{font-size:10px}
.social-records-panel .social-drafts-heading{align-items:center}.social-records-panel .social-drafts-heading p{font-size:10px}
.social-record-summary{display:flex;gap:9px;margin:0 0 12px}
.social-record-summary span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e4ebee;border-radius:9px;background:#f8fafb;color:#687982;font-size:10px;font-weight:700}
.social-record-summary span:first-child{border-color:#f0dfbb;background:#fffaf0;color:#946619}
.social-record-summary span:last-child{border-color:#d9ecdf;background:#f4faf5;color:#34734d}
.social-record-summary strong{font-size:13px;color:#25485a}
.social-record-table.social-record-facebook-only{min-width:0;table-layout:fixed}
.social-record-facebook-only th:nth-child(1){width:16%}.social-record-facebook-only th:nth-child(2){width:48%}.social-record-facebook-only th:nth-child(3){width:20%}.social-record-facebook-only th:nth-child(4){width:16%}
.social-record-facebook-only td{font-size:10px}.social-record-facebook-only td:first-child strong{font-size:11px;color:#244556}
.social-record-status{display:inline-flex;padding:6px 9px;border-radius:99px;font-size:9px;font-weight:800;white-space:nowrap}
.social-record-status.is-pending{border:1px solid #f1dfb7;background:#fff9ec;color:#956b16}
.social-record-status.is-complete{border:1px solid #d6ebdc;background:#f0f8f2;color:#34774d}
.social-record-row-actions{align-items:center;flex-wrap:wrap}.social-record-row-actions button{padding:6px 8px;border:1px solid #dce5e9;border-radius:7px;background:#fff;color:#435c69;font-size:9px;font-weight:700;cursor:pointer}
.social-record-facebook-only .social-record-cell{min-width:0;gap:6px}.social-record-facebook-only .social-record-cell button{padding:6px 8px;font-size:9px}
@media(max-width:680px){.social-platform-tabs{grid-template-columns:minmax(200px,1fr)}.social-records-panel .social-drafts-heading{align-items:flex-start}.social-record-table.social-record-facebook-only{min-width:640px}}
/* Facebook tracker finish: tidy rows and an in-page delete confirmation. */
.social-records-panel{padding:22px;border-color:#dfe8eb;background:linear-gradient(180deg,#fff 0%,#fbfdfd 100%);box-shadow:0 12px 32px #1637470b}
.social-records-panel .social-drafts-heading{padding:0 0 14px;border-bottom:1px solid #edf1f2}
.social-record-summary{gap:8px;margin:14px 0}
.social-record-summary span{min-width:98px;justify-content:center;padding:8px 12px;border-radius:10px;box-shadow:0 2px 6px #102e3d06}
.social-record-table-wrap{border-radius:12px;box-shadow:0 4px 14px #183b4a08}
.social-record-table.social-record-facebook-only{width:100%;min-width:600px;border-spacing:0;background:#fff}
.social-record-facebook-only th{padding:12px 14px;background:#f2f6f7;color:#647983;font-size:9px;letter-spacing:.09em}
.social-record-facebook-only td{padding:13px 14px;border-top:1px solid #edf1f2;color:#38515d;font-size:10px;vertical-align:middle}
.social-record-facebook-only tbody tr:nth-child(even){background:#fbfcfc}
.social-record-facebook-only tbody tr:hover{background:#f3f9f7}
.social-record-facebook-only td:first-child strong{font-size:11px;font-weight:800}
.social-record-facebook-only .social-record-cell{gap:6px}
.social-record-facebook-only .social-record-cell button,.social-record-row-actions button{min-height:29px;padding:6px 9px;border:1px solid #dce7e8;border-radius:8px;background:#fff;color:#286068;font-size:9px;font-weight:700;transition:background .15s,border-color .15s}
.social-record-facebook-only .social-record-cell button:hover,.social-record-row-actions button:hover{border-color:#9dcac3;background:#eff8f5}
.social-record-row-actions{justify-content:flex-start;gap:6px}
.social-record-status{padding:6px 9px;font-size:9px;letter-spacing:.02em}
.social-delete-confirm-card{width:min(410px,calc(100vw - 32px));padding:25px;border:1px solid #e3ebed;border-radius:18px;text-align:center;box-shadow:0 24px 70px #102d3b35}
.social-delete-mark{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 12px;border-radius:50%;background:#eaf7ed;color:#36854e;font-size:20px;font-weight:800}
.social-delete-confirm-card h2{margin:6px 0 8px;color:#183b4b;font-size:18px}
.social-delete-confirm-card>p{margin:0 auto;color:#647782;font-size:11px;line-height:1.65}
.social-delete-actions{display:flex;justify-content:center;gap:9px;margin-top:18px}
.social-delete-actions button{min-height:38px;padding:8px 14px;border:1px solid #cfe5d4;border-radius:9px;background:#f0f8f1;color:#34784b;font-size:10px;font-weight:800;cursor:pointer}
.social-delete-actions button:last-child{border-color:#398652;background:#398652;color:#fff;box-shadow:0 4px 10px #3986522c}
.social-delete-actions button:hover{filter:brightness(.97)}
@media(max-width:600px){.social-records-panel{padding:15px}.social-delete-confirm-card{padding:21px}.social-record-table.social-record-facebook-only{min-width:570px}}
#social-delete-confirm{z-index:1010}
/* Customer service chat beside the WhatsApp and return-home actions. */
.chat-assistant-action{width:auto;min-width:44px;padding:0 12px;gap:7px;border-radius:24px;background:#173b4a;color:#fff;font:700 11px Montserrat,Arial,sans-serif;box-shadow:0 5px 16px #173b4a35}
.chat-assistant-action svg{width:18px;height:18px;flex:0 0 auto}
.chat-assistant-action span{white-space:nowrap}
.customer-chat-panel{position:fixed;z-index:120;right:22px;bottom:92px;display:flex;flex-direction:column;width:min(360px,calc(100vw - 28px));height:min(520px,calc(100dvh - 120px));overflow:hidden;border:1px solid #dce7e9;border-radius:18px;background:#fff;box-shadow:0 18px 55px #17374630;font-family:Montserrat,Arial,sans-serif}
.customer-chat-panel.hidden{display:none}
.customer-chat-header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:#103448;color:#fff}
.customer-chat-header>div{display:flex;align-items:center;gap:10px}
.customer-chat-header>div>div{display:grid;gap:3px}.customer-chat-header strong{font-size:12px}.customer-chat-header small{color:#d1e1e4;font-size:9px}
.customer-chat-online{width:9px;height:9px;border-radius:50%;background:#61d58b;box-shadow:0 0 0 4px #ffffff18}
.customer-chat-header button{width:30px;height:30px;border:0;border-radius:8px;background:#ffffff18;color:#fff;font-size:20px;cursor:pointer}
.customer-chat-messages{display:flex;flex:1;flex-direction:column;gap:9px;overflow:auto;padding:14px;background:#f5f8f8;overscroll-behavior:contain}
.customer-chat-bubble{max-width:88%;padding:10px 12px;border-radius:13px;font-size:11px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-chat-bot{align-self:flex-start;border:1px solid #e2ebec;border-bottom-left-radius:4px;background:#fff;color:#354d58}
.customer-chat-user{align-self:flex-end;border-bottom-right-radius:4px;background:#147e78;color:#fff}
.customer-chat-typing{color:#73838b;font-style:italic}
.customer-chat-order-link{padding:8px 12px 0;background:#fff}
.customer-chat-order-link a{display:flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #d2e8df;border-radius:9px;background:#f0f8f3;color:#2b764a;text-decoration:none;font-size:10px;font-weight:800}
.customer-chat-form{display:flex;gap:8px;padding:9px 12px;background:#fff}
.customer-chat-form input{flex:1;min-width:0;min-height:40px;padding:0 12px;border:1px solid #dce5e8;border-radius:10px;font:400 11px Montserrat,Arial,sans-serif;outline:none}
.customer-chat-form input:focus{border-color:#45a9a0;box-shadow:0 0 0 3px #16877c18}
.customer-chat-form button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:#16877c;color:#fff;cursor:pointer}
.customer-chat-form button:disabled{opacity:.55;cursor:wait}.customer-chat-form button svg{width:17px;height:17px}
.customer-chat-footnote{margin:0;padding:0 12px 9px;color:#8a969c;background:#fff;font-size:8px;text-align:center}
@media(max-width:600px){.chat-assistant-action{width:38px;height:38px;min-width:38px;padding:0;justify-content:center}.chat-assistant-action span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.customer-chat-panel{right:12px;bottom:78px;height:min(500px,calc(100dvh - 100px))}}
.whatsapp-action{order:1}.chat-assistant-action{order:2}.top-action{order:3}
@media(max-width:600px){.chat-assistant-action{width:auto;height:36px;min-width:104px;padding:0 10px}.chat-assistant-action span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:9px}}
/* Match the WhatsApp launcher size while retaining an accessible label. */
.floating-actions .chat-assistant-action{box-sizing:border-box;width:38px;height:38px;min-width:38px;max-width:38px;padding:0;border-radius:50%;display:grid;place-items:center;gap:0}
.floating-actions .chat-assistant-action svg{width:16px;height:16px;flex:0 0 16px}
.floating-actions .chat-assistant-action span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.customer-chat-order-link button{display:flex;align-items:center;justify-content:center;width:100%;min-height:34px;border:1px solid #d2e8df;border-radius:9px;background:#f0f8f3;color:#2b764a;text-decoration:none;font:800 10px Montserrat,Arial,sans-serif;cursor:pointer}
.customer-chat-bubble.customer-chat-menu{max-width:96%;padding:10px}
.customer-chat-menu>p{margin:0 0 8px;font-size:10px;line-height:1.5}
.customer-chat-choices{display:flex;flex-wrap:wrap;gap:6px}
.customer-chat-choices button{min-height:30px;padding:6px 9px;border:1px solid #d5e7e4;border-radius:8px;background:#f7fbfa;color:#23675f;font:700 9px/1.3 Montserrat,Arial,sans-serif;text-align:left;cursor:pointer}
.customer-chat-choices button:hover{border-color:#9bcac1;background:#edf7f4}
.customer-chat-choices button:disabled{opacity:.65;cursor:default}
.customer-chat-inline-order{display:flex;align-items:center;justify-content:center;min-height:32px;margin-top:9px;padding:6px 10px;border:1px solid #cfe6d7;border-radius:8px;background:#eff8f1;color:#2e7547;font-size:10px;font-weight:800;text-decoration:none}
