:root {
  --ink: #042818;
  --forest: #005424;
  --leaf: #3c9c00;
  --mint: #e7f6d4;
  --cream: #f4faf0;
  --paper: #ffffff;
  --gold: #3c9c00;
  --line: rgba(0, 84, 36, 0.14);
  --shadow: 0 16px 40px rgba(0, 84, 36, 0.12);
  --dock: 5.1rem;
  --bangla: "Noto Sans Bengali", "Nirmala UI", "Kalpurush", sans-serif;
  font-family: var(--bangla);
  color: var(--ink);
  background: #d7ebc8;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--bangla);
}
body, .admin-body, .admin, h1, h2, h3, p, a, span, strong, small, label, button, input, select, textarea, .btn {
  font-family: var(--bangla);
}
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.phone {
  width: min(440px, 100%);
  touch-action: pan-y;
  min-height: 100dvh;
  margin: 0 auto;
  background:
    radial-gradient(120% 46% at 100% 0%, rgba(60, 156, 0, 0.2), transparent 48%),
    radial-gradient(80% 28% at 0% 8%, rgba(0, 84, 36, 0.08), transparent 42%),
    var(--cream);
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}

.landing-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0b3d24;
  background: linear-gradient(90deg, #dff3c8, #eef8e2);
  border-bottom: 1px solid rgba(0, 84, 36, 0.12);
}
.landing-ribbon span {
  font-weight: 600;
  color: #4d6a58;
}
.landing-ribbon.is-draft {
  color: #6a4a12;
  background: linear-gradient(90deg, #fff1cf, #fff8e6);
  border-bottom-color: rgba(160, 110, 20, 0.18);
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0.77rem 1.05rem 0.67rem 1.2rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.top::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.7rem;
  right: 0.7rem;
  top: 0.45rem;
  bottom: 0.35rem;
  border-radius: 1.15rem;
  background: rgba(244, 250, 240, 0.94);
  border: 0;
  box-shadow:
    0 10px 28px rgba(0, 40, 16, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (min-width: 721px) and (hover: hover) {
  .top::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    backdrop-filter: blur(12px) saturate(1.3);
  }
}

.brand {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: var(--forest);
  display: grid;
  place-items: center;
}
.mark svg { width: 1.35rem; height: 1.35rem; fill: #3c9c00; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand small {
  font-family: var(--bangla);
  color: var(--leaf);
}

.lang { display: flex; background: #fff; border-radius: 999px; padding: 0.15rem; border: 1px solid var(--line); }
.lang a {
  text-decoration: none;
  min-width: 2.4rem;
  text-align: center;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang a.on { background: var(--forest); color: #f4fff0; }

.hero { padding: 1.1rem 1.1rem 0.4rem; }
.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(60, 156, 0, 0.45);
  color: #005424;
  font-size: 0.78rem;
  font-weight: 600;
}
.hero h1 {
  font-size: 2.15rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.lede { margin-top: 0.75rem; color: #1d4a32; line-height: 1.55; }
.hero-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.trust {
  display: flex;
  gap: 0.45rem;
  padding: 0.95rem 0 0.2rem;
  list-style: none;
  margin: 0;
}
.trust li {
  background: var(--forest);
  color: #f3ead7;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.btn-wa { background: #3c9c00; color: white; flex: 1; }
.btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); flex: 1; }
.btn-solid { background: var(--forest); color: #f4fff0; width: 100%; }
.block { width: 100%; margin-bottom: 0.8rem; }

.catalog, .why, .stories, .ask { padding: 1.15rem 1.1rem 0.3rem; }
#order { scroll-margin-top: 4.6rem; }
.section-head h2, .why h2, .stories h2, .ask h2 { font-size: 1.35rem; }
.section-head p, .ask > p { margin-top: 0.35rem; color: #1f5a38; line-height: 1.5; }

.filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.85rem 0 0.35rem;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
  cursor: pointer;
}
.chip.on { background: var(--ink); color: #f4fff0; border-color: var(--ink); }

.search { display: block; margin: 0.35rem 0 0.8rem; }
.search input, .ask input, .ask select, .ask textarea, .admin input, .admin select, .admin textarea {
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
}
.cards { display: grid; gap: 0.7rem; }
.card {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem;
  background: var(--paper);
  border-radius: 1.1rem;
  border: 1px solid rgba(20, 36, 28, 0.06);
}
.thumb {
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #f4fff0;
  overflow: hidden;
  min-height: 4.4rem;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.soil { background: #2f6b4f; }
.thumb.pest { background: #8d3d2f; }
.thumb.herb { background: #8a6232; }
.thumb.growth { background: #245c4a; }
.thumb.plant { background: #1d4e39; }
.card-line { display: flex; justify-content: space-between; gap: 0.4rem; align-items: start; }
.card h3 { font-size: 1rem; }
.card em {
  font-style: normal;
  font-size: 0.68rem;
  background: #e7f6d4;
  color: #005424;
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  white-space: nowrap;
}
.card-copy p { color: #2f6a45; font-size: 0.86rem; margin: 0.15rem 0; }
.card-copy strong { font-size: 0.86rem; }
.text-btn {
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--leaf);
  font-weight: 700;
  cursor: pointer;
}
.empty { color: #2f6a45; }

.why-grid { display: grid; gap: 0.6rem; margin-top: 0.8rem; }
.why-grid article, .stories blockquote {
  background: #fff;
  border-radius: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(20, 36, 28, 0.06);
}
.why-grid span { color: var(--gold); font-weight: 700; font-size: 0.78rem; }
.why-grid h3 { margin: 0.2rem 0; font-size: 1rem; }
.why-grid p { color: #1f5a38; line-height: 1.45; }
.photo-reviews {
  padding-bottom: 0.55rem;
  background: transparent;
}
.photo-reviews h2 { text-align: center; font-size: 1.02rem; }
.photo-stage,
.voice-stage,
.fb-stage {
  position: relative;
  margin: 0.85rem 0 0.35rem;
  padding: 0.2rem 0 0.55rem;
  isolation: isolate;
}
.photo-stage.is-plain {
  margin-top: 0.7rem;
}
.photo-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.photo-card {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 0;
  display: block;
}
.photo-card-shell {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.12);
  box-shadow: 0 8px 22px rgba(0, 50, 20, 0.08);
}
.photo-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(0, 84, 36, 0.08);
  background: #fff;
}
.photo-card-av {
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid #3c9c00;
  box-shadow: 0 0 0 1px #fff;
  background: #3c9c00;
}
.photo-card-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-card-meta {
  min-width: 0;
  flex: 1;
  padding-top: 0.05rem;
}
.photo-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.photo-card-name {
  font-size: 1.02rem;
  font-weight: 750;
  color: #042818;
  line-height: 1.2;
}
.photo-card-place {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  color: #005424;
  background: #e7f6d4;
  line-height: 1.2;
}
.photo-card-title {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
  color: #1a4730;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.photo-card-shot {
  margin: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  padding: 0.65rem 0.75rem 0.85rem;
  box-sizing: border-box;
}
.photo-card-shot img {
  width: 100%;
  height: auto;
  max-height: min(68vh, 34rem);
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border-radius: 1rem;
  overflow: hidden;
}
.photo-card-cta {
  display: flex;
  justify-content: center;
  padding: 0.55rem 0.5rem 0.15rem;
}
.photo-order-btn {
  display: inline-flex;
  width: auto;
  min-width: 7.5rem;
  justify-content: center;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: #d32f2f;
  color: #fff;
  border: 0;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.28);
}
.photo-order-btn:hover,
.photo-order-btn:focus-visible {
  background: #b71c1c;
  color: #fff;
}
.photo-reviews .photo-viewport,
.photo-reviews .fb-viewport {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.photo-reviews .fb-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0.35;
  color: #005424;
  font-size: 1.65rem;
  font-weight: 700;
}
.photo-reviews .fb-nav:hover,
.photo-reviews .fb-nav:focus-visible {
  background: transparent;
  opacity: 0.7;
  box-shadow: none;
}
.photo-reviews .fb-prev { left: 0.15rem; }
.photo-reviews .fb-next { right: 0.15rem; }
.photo-reviews .review-dots {
  margin-top: 0.55rem;
}
.fb-glass {
  position: absolute;
  top: 0;
  bottom: 0.4rem;
  width: clamp(2.2rem, 9vw, 3.6rem);
  z-index: 3;
  pointer-events: none;
  border-radius: 1.1rem;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: linear-gradient(
    90deg,
    rgba(232, 245, 220, 0.72),
    rgba(255, 255, 255, 0.28) 55%,
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.fb-glass-l {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(232, 245, 220, 0.88),
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0)
  );
}
.fb-glass-r {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(232, 245, 220, 0.88),
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0)
  );
}
.fb-viewport {
  overflow: hidden;
  margin: 0 clamp(1.6rem, 7vw, 2.6rem);
  border-radius: 1.15rem;
}
.review-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.review-track.is-scroll {
  gap: 0.7rem;
  padding: 0.25rem 0 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  transition: none;
  will-change: auto;
  transform: none !important;
}
.review-track.is-scroll::before,
.review-track.is-scroll::after {
  content: "";
  flex: 0 0 calc(8% - 0.7rem);
}
.review-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: 1.15rem 1.15rem 1.05rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(243, 251, 236, 0.9));
  border: 1px solid rgba(0, 84, 36, 0.12);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 50, 20, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
}
.review-track.is-scroll .review-card {
  flex: 0 0 84%;
  scroll-snap-align: center;
}
.fb-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-55%);
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #005424;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 40, 20, 0.12);
}
.fb-prev { left: 0.35rem; }
.fb-next { right: 0.35rem; }
.fb-nav:hover { background: rgba(255, 255, 255, 0.85); }
.gov-approved {
  padding-top: 0.85rem;
  padding-bottom: 0.15rem;
}
.gov-approved .perk-title {
  margin-bottom: 0.55rem;
}
.gov-approved h2 {
  text-align: center;
  font-size: 1.02rem;
}
.gov-approved-frame {
  margin: 0 auto;
  width: min(78%, 18rem);
  border-radius: 0.85rem;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}
.gov-approved-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}
.gov-approved-cta {
  display: flex;
  justify-content: center;
  padding: 0.55rem 0.5rem 0.1rem;
}
.reviews h2 { text-align: center; font-size: 1.02rem; }
.review-card p {
  margin: 0;
  color: #143d28;
  line-height: 1.55;
  font-size: 0.98rem;
}
.review-card p::before {
  content: "“";
  display: block;
  margin-bottom: 0.15rem;
  color: var(--leaf);
  font-size: 2.3rem;
  line-height: 0.85;
  font-weight: 700;
}
.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}
.review-av {
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1.5px solid #3c9c00;
  box-shadow: 0 0 0 1px #fff;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  box-sizing: border-box;
}
.review-av img { width: 100%; height: 100%; object-fit: cover; }
.review-film {
  position: relative;
  height: 9.4rem;
  margin-bottom: 0.75rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #7dcc3a, #005424 72%);
}
.review-film video,
.review-film iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}
.review-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.review-play img { width: 100%; height: 100%; object-fit: cover; }
.review-play .play-badge { width: 3.3rem; height: 3.3rem; }
.review-play .play-badge::before {
  left: 1.28rem;
  top: 1.02rem;
  border-width: 0.6rem 0 0.6rem 0.95rem;
}
.review-card.has-video p::before { display: none; }
.review-card.has-image-fb p::before { display: none; }
.review-shot {
  margin: 0 0 0.85rem;
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(0, 84, 36, 0.06);
  border: 1px solid rgba(0, 84, 36, 0.1);
  max-height: min(58vh, 28rem);
}
.review-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 28rem);
  object-fit: contain;
  object-position: center top;
  background: #f4faf0;
}
.review-card.has-image-fb {
  padding-top: 0.85rem;
}
.review-card.has-image-fb p {
  font-size: 0.92rem;
}
.review-who { display: flex; flex-direction: column; }
.review-who strong { font-size: 0.95rem; }
.review-who span { color: #2f6a45; font-size: 0.82rem; }
.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.review-dots button {
  width: 0.42rem;
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 84, 36, 0.22);
  cursor: pointer;
}
.review-dots button.on { width: 1.15rem; background: var(--leaf); }

.ask h2, .ask > p { text-align: center; }
.ask h2 { font-size: 1.7rem; }
.order-card {
  padding: 0.9rem 0.8rem 0.85rem;
  background: #fff;
  border-radius: 1.15rem;
  box-shadow: 0 16px 34px rgba(0, 84, 36, 0.12);
}
.order-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  text-align: center;
}
.order-logo {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}
.order-head h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
  text-align: center;
  color: var(--forest);
}
.order-head p { margin: 0.12rem 0 0; color: #5d7a68; font-size: 0.72rem; line-height: 1.35; text-align: center; }
.order-pick {
  display: grid;
  grid-template-columns: 4.1rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.5rem 0.7rem 0.5rem 0.5rem;
  border: 0.7px solid var(--leaf);
  border-radius: 1rem;
  background: #fff;
  text-align: left;
}
.order-pick img {
  width: 4.1rem;
  height: 4.1rem;
  object-fit: contain;
  padding: 0.28rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #f7fdf1, #e7f6d4);
}
.order-pick strong { display: block; color: var(--forest); font-size: 1.12rem; line-height: 1.15; }
.pick-qty {
  display: inline-flex;
  margin-top: 0.32rem;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: #f3fbe8;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
}
.pick-pay { text-align: right; }
.pick-price { display: block; color: var(--forest); font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pick-was { display: block; margin-top: 0.22rem; color: #8aa394; font-size: 0.78rem; font-weight: 600; text-decoration: line-through; }
.ask form { position: relative; display: grid; gap: 0.9rem; }
.form-links { display: none; }
.ask label { font-weight: 600; font-size: 0.92rem; }
.field {
  position: relative;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.55rem;
  align-items: center;
  margin: 0;
  min-height: 2.95rem;
  padding: 0.72rem 0.82rem;
  border: 1.4px solid rgba(0, 84, 36, 0.32);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--leaf);
  box-shadow: none;
  --stroke: rgba(0, 84, 36, 0.32);
  --notch-x: 0.85rem;
  --notch-w: 2rem;
}
.field > svg { margin-top: 0; }
.field span { position: static; min-width: 0; color: var(--ink); }
.field em {
  position: absolute;
  left: 2.35rem;
  top: 50%;
  z-index: 1;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  background: transparent;
  color: #7d9486;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  transition: top 0.16s ease, left 0.16s ease, font-size 0.16s ease, color 0.16s ease;
}
.field:focus-within em,
.field.is-filled em {
  top: 0;
  left: 0.85rem;
  padding: 0 0.28rem;
  background: transparent;
  color: var(--leaf);
  font-size: 0.72rem;
  line-height: 1;
}
.field:focus-within,
.field.is-filled {
  border-color: transparent;
  box-shadow: none;
}
.field:focus-within { --stroke: var(--leaf); }
.field:focus-within::before,
.field.is-filled::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1.4px solid var(--stroke);
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, #000 0, #000 var(--notch-x), transparent var(--notch-x), transparent calc(var(--notch-x) + var(--notch-w)), #000 calc(var(--notch-x) + var(--notch-w)), #000 100%),
    linear-gradient(#000, #000);
  -webkit-mask-size: 100% 12px, 100% calc(100% - 12px);
  -webkit-mask-position: 0 0, 0 12px;
  -webkit-mask-repeat: no-repeat;
  mask-image:
    linear-gradient(to right, #000 0, #000 var(--notch-x), transparent var(--notch-x), transparent calc(var(--notch-x) + var(--notch-w)), #000 calc(var(--notch-x) + var(--notch-w)), #000 100%),
    linear-gradient(#000, #000);
  mask-size: 100% 12px, 100% calc(100% - 12px);
  mask-position: 0 0, 0 12px;
  mask-repeat: no-repeat;
}
.order-card .field input,
.order-card .field textarea,
.order-card .field select {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  color: var(--forest);
}
.order-card .field textarea { resize: none; height: 1.2rem; min-height: 0; overflow: hidden; }
.order-card .field select {
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2L6 6.2 11 1.2' fill='none' stroke='%23005424' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.1rem center;
  padding-right: 1.1rem;
}
.place-field[hidden] { display: none; }
.place-open {
  width: 100%;
  min-height: 1.2rem;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.place-open::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.6px solid var(--forest);
  border-bottom: 1.6px solid var(--forest);
  transform: translateY(-70%) rotate(45deg);
}
.place-layer {
  position: fixed;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  margin: 0;
  pointer-events: none;
  box-sizing: border-box;
}
.place-layer[hidden] { display: none !important; }
.place-scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 40, 24, 0.34);
  cursor: pointer;
  pointer-events: auto;
}
.place-menu {
  position: relative;
  z-index: 1;
  left: auto;
  top: auto;
  transform: none;
  width: min(17rem, 100%);
  max-height: min(58dvh, 22rem);
  margin: 0;
  padding: 0.45rem 0 0.3rem;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1.2px solid rgba(60, 156, 0, 0.55);
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 40, 16, 0.22);
  pointer-events: auto;
}
.place-field > .place-menu { display: none !important; }
.place-menu p {
  display: table;
  margin: 0.15rem auto 0.35rem;
  padding: 0.18rem 0.7rem;
  border: 0.7px solid var(--leaf);
  border-radius: 0.45rem;
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.place-menu button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.22rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.place-menu button.is-on,
.place-menu button:hover { background: #f4faf0; color: var(--leaf); }
.order-card .field input::placeholder,
.order-card .field textarea::placeholder { color: #7d9486; font-weight: 600; }
.order-card .field input:focus,
.order-card .field textarea:focus,
.order-card .field select:focus { outline: none; }
.field:focus-within { border-color: transparent; }
.field small { display: block; margin-top: 0.12rem; color: #8aa394; font-size: 0.75rem; font-weight: 500; }
.field:focus-within small,
.field.is-filled small { display: none; }
.order-card .field input:focus::placeholder,
.order-card .field textarea:focus::placeholder { color: transparent; }
.order-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.4rem;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.offer-join {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.4rem;
  padding: 0.4rem;
  border: 0.5px solid rgba(0, 84, 36, 0.28);
  border-radius: 0.7rem;
  background: #f7fbf4;
}
.offer-join .pack-pick,
.offer-join .qty-deal,
.offer-join .cart-pick { grid-column: auto; }
.pack-with { display: block; color: var(--forest) !important; }
.cart-count {
  flex: none;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--forest);
}
.cart-pick {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.35rem;
}
.cart-pick > p {
  margin: 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}
.cart-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--forest);
}
.cart-row.is-on {
  border-color: rgba(0, 84, 36, 0.45);
  background: #fff;
}
.cart-row img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: cover;
  flex: none;
  border-radius: 0.55rem;
  background: #f4faf0;
}
.cart-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cart-copy strong {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
}
.cart-copy small {
  color: #d10000;
  font-size: 0.64rem;
  font-weight: 800;
}
.cart-pay {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.cart-qty { flex: none; margin-top: 0 !important; }
.pack-pick {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.28rem;
  margin: 0;
  padding: 0.42rem 0.45rem 0.4rem;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--forest);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pack-meta { margin-left: 0; align-items: flex-start; }
.pack-id {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.pack-id img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  flex: none;
}
.pack-id strong { font-size: 0.76rem; font-weight: 800; }
.pack-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02rem;
}
.pack-meta b { font-size: 0.78rem; line-height: 1.1; }
.pack-pay { font-size: 0.84rem; font-weight: 800; line-height: 1.1; }
.pack-card s { color: #8aa394; font-size: 0.66rem; font-weight: 600; }
.pack-card small {
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  color: #d10000;
}
.pack-card em {
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--leaf);
}
.pack-tick {
  position: absolute;
  top: 0.32rem;
  right: 0.32rem;
  width: 0.95rem;
  height: 0.95rem;
  border: 0.5px solid rgba(0, 84, 36, 0.55);
  border-radius: 0.22rem;
  background: #fff;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pack-card.is-on .pack-tick::after {
  content: "";
  width: 0.42rem;
  height: 0.22rem;
  margin-top: -0.12rem;
  border-left: 1.6px solid var(--leaf);
  border-bottom: 1.6px solid var(--leaf);
  transform: rotate(-45deg);
}
.pair-offer { background: #fff; }
.pack-id > span { display: flex; flex-direction: column; align-items: flex-start; gap: 0.08rem; }
.pack-id small,
.pair-offer .pack-id small {
  color: #d10000;
  font-size: 0.68rem;
  font-weight: 800;
}
.pack-card.is-on {
  border-color: #d10000;
  background: #fff5f5;
  box-shadow: none;
}
.pack-card:disabled { opacity: 0.45; cursor: not-allowed; }
.ship-fee {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}
.ship-free-note {
  display: none;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0.5px solid rgba(209, 0, 0, 0.35);
  border-radius: 0.55rem;
  background: #fff5f5;
  color: #d10000;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}
.ship-fee.is-free > strong,
.ship-fee.is-free .ship-zone { display: none; }
.ship-fee.is-free .ship-free-note { display: block; }
.ship-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.ship-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  margin: 0;
  padding: 0.42rem 0.5rem;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.ship-opt input {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: #3c9c00;
  flex: none;
}
.ship-opt span { min-width: 0; line-height: 1.25; }
.ship-opt:has(input:checked) {
  border-color: #d10000;
  background: #fff5f5;
}
.ship-opt b { color: #d10000; font-weight: 800; white-space: nowrap; }
.bill-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}
.bill-pay { display: flex; align-items: baseline; gap: 0.35rem; }
.bill-total strong { font-size: 1.15rem; line-height: 1; }
.bill-total s { color: #8aa394; font-size: 0.74rem; font-weight: 600; }
.order-qty, .order-total { min-width: 0; grid-column: 1 / -1; }
.order-total { padding-left: 0; border-left: 0; }
.order-total-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  flex-wrap: nowrap;
}
.order-qty p, .order-total p {
  margin: 0;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}
.order-off {
  flex: none;
  margin: 0;
  padding: 0.08rem 0.28rem;
  border-radius: 0.32rem;
  background: var(--leaf);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transform: rotate(-8deg);
}
.order-price-row { display: flex; align-items: baseline; gap: 0.28rem; flex-wrap: nowrap; min-width: 0; }
.order-was { color: #8aa394; font-size: 0.72rem; font-weight: 600; text-decoration: line-through; white-space: nowrap; }
.order-card .qty { gap: 0.22rem; margin-top: 0.22rem; }
.order-card .qty button {
  width: 1.45rem;
  height: 1.45rem;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.32rem;
  background: #fff;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}
.order-card .qty input {
  width: 1.7rem;
  height: 1.45rem;
  margin: 0;
  padding: 0;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.32rem;
  background: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
}
.order-total strong {
  display: block;
  color: var(--forest);
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.order-pack { display: block; margin-top: 0.08rem; color: #2f6a45; font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qty-deal {
  grid-column: 1 / -1;
  margin: 0.28rem 0 0;
  padding: 0.16rem 0.4rem;
  border: 0.5px solid #d10000;
  border-radius: 0.4rem;
  background: #fff;
  color: #d10000;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.qty-deal b {
  display: inline-block;
  margin-left: 0.12rem;
  padding: 0 0.22rem;
  border-radius: 0.22rem;
  background: #d10000;
  color: #fff;
  font-weight: 800;
}
.order-go:disabled { opacity: 0.55; cursor: not-allowed; }
.qty-deal.is-on { background: #d10000; color: #fff; }
.qty-deal.is-on b { background: #fff; color: #d10000; }
.choice-set { margin: 0.15rem 0 0; padding: 0; border: 0; min-inline-size: 0; }
.choice-set legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  padding: 0;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.95rem;
}
.ship-grid, .pay-grid { display: grid; gap: 0.45rem; }
.ship-grid { grid-template-columns: 1fr 1fr; }
.pay-grid { grid-template-columns: repeat(3, 1fr); }
.choice {
  position: relative;
  display: grid;
  align-items: center;
  margin: 0;
  padding: 0.7rem 0.5rem 0.65rem 0.55rem;
  border: 1.5px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.9rem;
  background: #fff;
  cursor: pointer;
  color: var(--leaf);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice.ship { grid-template-columns: auto auto 1fr; gap: 0.35rem; padding-right: 0.4rem; border-width: 0.7px; }
.choice.ship:has(input:checked) { box-shadow: none; }
.choice.pay { justify-items: center; text-align: center; gap: 0.2rem; min-height: 6.5rem; padding-top: 1.35rem; }
.choice span { color: var(--ink); }
.choice strong, .choice small { display: block; }
.choice strong { color: var(--forest); font-size: 0.78rem; line-height: 1.25; }
.choice small { color: #6d8878; font-size: 0.68rem; font-weight: 500; line-height: 1.3; }
.choice-check {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 84, 36, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
  background: #fff;
}
.choice-check svg { opacity: 0; }
.choice:has(input:checked) .choice-check svg { opacity: 1; }
.choice.pay .choice-check { position: absolute; top: 0.4rem; left: 0.4rem; }
.choice:has(input:checked) {
  border-color: var(--leaf);
  background: #f4fbe9;
  box-shadow: inset 0 0 0 1px var(--leaf);
}
.choice:has(input:checked) .choice-check { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.choice-tag {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
}
.pay-logo { font-weight: 800; font-size: 0.95rem; line-height: 1; }
.choice .pay-logo.bkash { color: #e2136e; }
.choice .pay-logo.nagad { color: #f15a24; }
.pay-mark { color: var(--leaf); }
.order-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 3.15rem;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 0.9rem;
  background: #d10000;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
.note { border-radius: 0.8rem; padding: 0.7rem 0.8rem; margin: 0.7rem 0; }
.note.ok { background: #e5f6ea; color: #145c32; }
.note.bad { background: #fde8e4; color: #8a2e22; }
.phone-miss { margin: -0.55rem 0.15rem 0; color: #d10000; font-size: 0.78rem; font-weight: 700; }
.field.is-bad { --stroke: #d10000; border-color: #d10000; }
.field.is-bad em,
.field.is-bad:focus-within em { color: #d10000; }

.foot { padding: 1.4rem 1.1rem 1rem; color: #1d4a32; }
.foot p { margin-top: 0.25rem; }
.foot a { color: var(--leaf); }
.admin-link { display: inline-block; margin-top: 0.8rem; font-size: 0.85rem; }

.logo-mark {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex: none;
}
.logo-mark.is-custom {
  width: auto;
  max-width: 12rem;
  height: 2.2rem;
}
.wordmark {
  display: block;
  height: 1.55rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
}
.wordmark.is-custom { height: 1.7rem; }
.live-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.16rem 0.42rem 0.16rem 0.38rem;
  border-radius: 999px;
  background: #fff;
  border: 0.7px solid rgba(209, 0, 0, 0.28);
  color: #d10000;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.live-watch i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #d10000;
  opacity: 1;
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.top-order {
  text-decoration: none;
  background: #d10000;
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.92rem;
}
.film-copy { position: relative; margin: 0.85rem 1.1rem 0; }
.film-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(60, 156, 0, 0.45);
  color: #005424;
  font-size: 0.78rem;
  font-weight: 600;
}
.film-head {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
}
.top-order.is-hit { animation: order-tap 0.42s ease; }
@keyframes order-tap {
  0% { transform: scale(1); }
  30% { transform: scale(0.86); }
  65% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.order-rail {
  position: fixed;
  z-index: 6;
  overflow: visible;
  pointer-events: none;
}
.film-sub {
  margin-top: 0.35rem;
  color: #1d4a32;
  line-height: 1.45;
  text-align: center;
}
.film-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.film-points li:only-child { grid-column: 1 / -1; }
.film-points li {
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
  border-radius: 0.8rem;
  padding: 0.48rem 0.6rem 0.48rem 1.55rem;
  color: #d10000;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
}
.film-points li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.28rem;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
.fake-stock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 3.2rem);
  margin: 0.4rem auto 0;
  padding: 0.18rem 0.55rem;
  border: 0.7px solid #d10000;
  border-radius: 0.7rem;
  background: #fff5f5;
  color: #111;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.fake-stock b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0 0.32rem;
  border-radius: 50%;
  background: #d10000;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  animation: stock-pulse 2.4s ease-in-out infinite;
}
@keyframes stock-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.film {
  position: relative;
  margin: 0.65rem 1rem 0;
  aspect-ratio: 16 / 9;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #005424;
}
.film iframe, .film video { width: 100%; height: 100%; border: 0; display: block; background: #000; object-fit: cover; }
.film-sound {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.film-sound.is-on { background: rgba(0, 84, 36, 0.88); }
.film-order {
  position: relative;
  overflow: hidden;
  display: flex;
  width: calc(100% - 13rem);
  margin: 0.7rem auto 0;
  border-radius: 0.95rem;
  background: #d10000;
  color: #fff;
}
.film-order::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.45) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: order-shine 3.4s ease-in-out infinite;
  will-change: transform;
}
@keyframes order-shine {
  0%, 55% { transform: translateX(-130%); }
  85%, 100% { transform: translateX(130%); }
}
.film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #005424;
  cursor: pointer;
}
.film-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(0, 40, 16, 0.28);
  transform: translate(-50%, -50%);
}
.play-badge::before {
  content: "";
  position: absolute;
  left: 1.65rem;
  top: 1.35rem;
  border-style: solid;
  border-width: 0.75rem 0 0.75rem 1.2rem;
  border-color: transparent transparent transparent #005424;
}
.film-empty {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.25rem;
  color: #f4fff0;
}
.film-empty img { width: 4.2rem; height: 4.2rem; object-fit: contain; }
.banner {
  margin: 0.75rem 1rem 0;
  height: 8.2rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.06);
}
.banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s ease;
}
.banner-slide { min-width: 100%; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.block-sec { padding: 1.15rem 1.1rem 0.2rem; }
.block-sec h2 { font-size: 1.35rem; }
.sec-lead { margin-top: 0.35rem; color: #1f5a38; line-height: 1.5; }
.perks h2, .perks .sec-lead, .perk-kicker { text-align: center; }
.perk-title { display: flex; justify-content: center; margin: 0 0 0.15rem; }
.perk-title h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 100%;
  margin: 0;
  padding: 0.48rem 0.85rem;
  border: 0.7px solid var(--leaf);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 84, 36, 0.08);
  color: var(--forest);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}
.perk-title h2 span:first-child { color: var(--leaf); }
.perk-title h2 i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--forest);
}
.perk-kicker {
  margin: 0 0 0.25rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 700;
}
.perks h2 { font-size: 1.02rem; }
.perk-list { position: relative; display: grid; gap: 2.35rem; margin-top: 0.85rem; }
.perk-links {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.perk {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 0.5px solid rgba(0, 84, 36, 0.4);
  border-radius: 0.85rem;
}
.perk-photo {
  position: relative;
  width: 4.8rem;
  height: 4.8rem;
  margin: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, #ffffff 0%, #f4fbe9 48%, #d9f0b8 100%);
}
.perk-copy { min-width: 0; }
.perk.is-flip { grid-template-columns: 1fr 4.8rem; }
.perk.is-flip .perk-photo { order: 2; }
.perk.is-flip .perk-copy { text-align: right; }
.perk-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 156, 0, 0.2), transparent 68%);
}
.perk img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
  mix-blend-mode: multiply;
}
.perk-photo.is-photo { background: #e5f0d8; }
.perk-photo.is-photo::before { display: none; }
.perk-photo.is-photo img {
  object-fit: cover;
  padding: 0;
  mix-blend-mode: normal;
}
.perk h3 {
  margin: 0;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}
.perk p {
  margin: 0.28rem 0 0;
  color: #1f5a38;
  line-height: 1.45;
  font-size: 0.9rem;
}
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; margin-top: 0.7rem; }
.price-line strong { font-size: 1.3rem; }
.price-line span { color: #2f6a45; }
.qty { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.qty button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 0;
  background: var(--leaf);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.qty input {
  width: 3.2rem;
  margin: 0;
  text-align: center;
  padding: 0.4rem;
  background: #fff;
}
.offer-pop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 40, 24, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.offer-pop.is-on {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}
.offer-pop-card {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.15rem 1rem 1rem;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 84, 36, 0.22);
  display: grid;
  gap: 0.55rem;
  text-align: center;
}
.offer-pop-card img {
  width: 100%;
  max-height: 10rem;
  object-fit: cover;
  border-radius: 0.85rem;
}
.offer-pop-card h3 { color: var(--forest); font-size: 1.2rem; }
.offer-pop-card p { color: #355744; line-height: 1.45; }
.offer-pop-card .btn { width: 100%; }
.offer-pop-x {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #eef8e8;
  color: var(--forest);
  font-size: 1.2rem;
  cursor: pointer;
}
.fake-order {
  position: fixed;
  z-index: 7;
  left: max(0.75rem, calc(50% - 220px + 0.75rem));
  bottom: calc(var(--dock) + 0.35rem);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: min(14.5rem, calc(100% - 6.8rem));
  padding: 0.42rem 0.4rem 0.42rem 0.48rem;
  border: 0.7px solid var(--leaf);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 84, 36, 0.16);
  opacity: 0;
  transform: translateY(0.6rem);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, bottom 0.28s ease;
}
.fake-order.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fake-order.is-low { bottom: calc(0.7rem + env(safe-area-inset-bottom)); }
.fake-av {
  position: relative;
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #3c9c00;
  box-shadow: 0 0 0 1px #fff;
  background: var(--leaf);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-sizing: border-box;
}
.fake-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}
.fake-av img[hidden] { display: none !important; }
.fake-order p { min-width: 0; margin: 0; }
.fake-order strong,
.fake-order span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fake-order strong { color: var(--forest); font-size: 0.78rem; line-height: 1.2; }
.fake-order span { color: #2f6a45; font-size: 0.68rem; line-height: 1.25; }
.fake-av.has-photo {
  background: #e7f6d4;
  color: transparent;
}
.fake-av.has-photo #fake-av-letter { display: none; }
.fake-x {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f3fbe8;
  color: var(--forest);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  isolation: isolate;
  width: min(440px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem 1.15rem calc(0.72rem + env(safe-area-inset-bottom));
  background: transparent;
  border: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.dock.is-hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.dock::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.7rem;
  right: 0.7rem;
  top: 0.35rem;
  bottom: calc(0.4rem + env(safe-area-inset-bottom));
  border-radius: 1.15rem;
  background: #fff;
  border: 1.2px solid rgba(0, 84, 36, 0.28);
  box-shadow: 0 8px 24px rgba(0, 40, 16, 0.1);
}
.dock-side {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.dock-line {
  width: 1px;
  height: 1.35rem;
  background: rgba(0, 84, 36, 0.28);
}
.dock a {
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  color: var(--forest);
  background: transparent;
}
.dock a img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  flex: none;
}
.dock a.dock-wa { justify-self: center; }
.dock.is-no-wa {
  grid-template-columns: 1fr;
}
.dock.is-no-wa .dock-side {
  grid-template-columns: 1fr auto 1fr;
}
.dock.is-no-call .dock-side {
  grid-template-columns: 1fr;
  justify-items: center;
}
.dock.is-no-order .dock-side {
  grid-template-columns: 1fr;
  justify-items: center;
}
.dock.is-no-order.is-no-call {
  grid-template-columns: 1fr;
}
.dock.is-no-order.is-no-call .dock-side { display: none; }
.dock.is-order-only {
  grid-template-columns: 1fr;
}
.dock.is-order-only .dock-side {
  grid-template-columns: 1fr;
  justify-items: center;
}
.dock a.dock-order { color: #d10000; }
.tpl-offer .dock a.dock-order { gap: 0.28rem; }
.tpl-offer .dock-price {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.42rem;
  border: 2px solid #0e7a32;
  border-radius: 0.45rem;
  background: #e7ffe8;
  color: #0e7a32;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  animation: dock-price-glow 1.15s ease-in-out infinite;
}
@keyframes dock-price-glow {
  0%, 100% { background: #e7ffe8; box-shadow: 0 0 0 0 rgba(14, 122, 50, 0.35); }
  50% { background: #ffe56a; box-shadow: 0 0 0 4px rgba(14, 122, 50, 0.28); }
}
.dock a.dock-order img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(96%) saturate(6400%) hue-rotate(355deg) brightness(0.85);
}
.live-chat-wrap {
  position: fixed;
  z-index: 8;
  right: max(0.85rem, calc(50% - 220px + 0.85rem));
  bottom: calc(var(--dock) + 0.4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  width: min(18.4rem, calc(100vw - 1.7rem));
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.live-chat-wrap.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.live-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 2.15rem;
  padding: 0.28rem 0.7rem 0.28rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 84, 36, 0.18);
  cursor: pointer;
}
.live-chat svg { flex: none; }
.chat-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(24rem, calc(100dvh - var(--dock) - 5.2rem));
  background: #fff;
  border: 0.7px solid rgba(0, 84, 36, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 28, 22, 0.16);
}
.chat-panel[hidden] { display: none; }
.chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 0.75rem;
  background: #5e7088;
  color: #fff;
}
.chat-panel header strong { font-size: 0.92rem; }
.chat-panel header button {
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.chat-log {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem;
  background: #f6f7f4;
}
.chat-bubble {
  max-width: 86%;
  margin: 0;
  padding: 0.42rem 0.62rem;
  border-radius: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-bubble.theirs { align-self: flex-start; background: #fff; color: #14241c; border: 0.7px solid rgba(0, 84, 36, 0.1); }
.chat-bubble.mine { align-self: flex-end; background: var(--leaf); color: #fff; }
.chat-bubble img { display: block; max-width: 12rem; margin-top: 0.28rem; border-radius: 0.55rem; }
.chat-file {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 999px;
  border: 0.5px solid rgba(0, 84, 36, 0.28);
  color: var(--forest);
  cursor: pointer;
}
.chat-file input { display: none; }
.chat-shot {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
}
.chat-shot[hidden] { display: none; }
.chat-shot img { width: 2.4rem; height: 2.4rem; object-fit: cover; border-radius: 0.4rem; }
.chat-shot button {
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #5e7088;
  color: #fff;
  cursor: pointer;
}
.chat-reply { flex-wrap: wrap; }
.chat-gate,
.chat-reply {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem;
  background: #fff;
  border-top: 0.7px solid rgba(0, 84, 36, 0.1);
}
.chat-gate { flex-direction: column; }
.chat-ask { margin: 0.15rem 0.15rem 0.2rem; color: var(--forest); font-size: 0.82rem; font-weight: 700; line-height: 1.35; }
.chat-gate label { display: grid; gap: 0.12rem; color: var(--forest); font-size: 0.74rem; font-weight: 800; }
.chat-gate label input { width: 100%; }
.chat-miss { margin: 0; color: #d10000; font-size: 0.78rem; font-weight: 700; }
.chat-gate[hidden],
.chat-reply[hidden] { display: none; }
.chat-gate input,
.chat-reply input {
  flex: 1;
  min-width: 0;
  border: 0.5px solid rgba(0, 84, 36, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.86rem;
}
.chat-gate button,
.chat-reply button {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: var(--leaf);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.sheet {
  width: min(440px, 100%);
  max-height: 86dvh;
  margin: auto auto 0;
  border: 0;
  border-radius: 1.3rem 1.3rem 0 0;
  padding: 0 0 1rem;
  background: var(--paper);
}
.sheet::backdrop { background: rgba(16, 28, 22, 0.48); }
.sheet-bar { display: flex; justify-content: flex-end; padding: 0.45rem 0.55rem 0; }
.icon-x {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 0;
  background: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
}
.sheet-body { padding: 0 1rem 0.4rem; }
.sheet-body img, .sheet-fallback {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
}
.sheet-fallback { display: grid; place-items: center; color: #f4fff0; font-size: 2rem; font-weight: 700; }
.sheet-body h3 { font-size: 1.35rem; }
.sheet-body .meta { color: #2f6a45; margin: 0.25rem 0 0.55rem; }
.sheet-body .desc { line-height: 1.55; margin-bottom: 0.9rem; }

.admin-body {
  --admin-font: "Hind Siliguri", "Noto Sans Bengali", "Nirmala UI", sans-serif;
  --admin-display: "Outfit", "Hind Siliguri", sans-serif;
  background: #f4f5f7;
  font-family: var(--admin-font);
  color: #0f1b3d;
}
.admin-body,
.admin-body .admin,
.admin-body button,
.admin-body input,
.admin-body select,
.admin-body textarea,
.admin-body .btn,
.admin-body .btn-admin,
.admin-body label,
.admin-body p,
.admin-body a,
.admin-body span,
.admin-body small,
.admin-body strong {
  font-family: var(--admin-font);
}
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body .admin-top strong,
.admin-body .admin-brand strong,
.admin-body .pu-name-row h1,
.admin-body .pu-card-head h2,
.admin-body .pu-complete h3,
.admin-body .pu-quick h3,
.admin-body .pu-ring strong,
.admin-body .login-box h1,
.admin-body .panel-head h2 {
  font-family: var(--admin-display);
  letter-spacing: -0.02em;
}
.admin-side,
.admin-side .admin-nav,
.admin-side .admin-nav a,
.admin-side .admin-item-txt,
.admin-side .admin-item-txt b,
.admin-side .admin-item-txt small {
  font-family: var(--admin-font) !important;
  letter-spacing: 0;
}
.admin {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  background: transparent;
  position: relative;
}
.admin-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 14, 24, 0.5);
  cursor: pointer;
}
.admin-side {
  --side-bg: #1A1D29;
  --side-text: #B8BBC7;
  --side-muted: #B8BBC7;
  --side-active: #1554F0;
  --side-hover: rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0 0 20px;
  background: #1A1D29;
  color: #fff;
  z-index: 50;
  border-right: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
}
.admin-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  margin: 0 0 8px;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: none;
}
.admin-drawer-close {
  display: none;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.45rem;
  background: #f8fafc;
  color: #334155;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.admin-brand,
.admin-top-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: #1e293b;
  text-decoration: none;
  min-width: 0;
  flex: none;
}
.admin-brand-mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
  background: transparent;
}
.admin-brand-word {
  width: auto;
  height: 24px; /* PriceList .brand img */
  max-width: 140px;
  object-fit: contain;
  flex: none;
  background: transparent;
}
.admin-top-brand .admin-brand-mark {
  width: 2.15rem;
  height: 2.15rem;
}
.admin-top-brand .admin-brand-word {
  height: 1.45rem;
  max-width: 8.2rem;
}
.admin-content { min-width: 0; }
.admin-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.25rem 0.7rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 247, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.admin-top-text { display: grid; gap: 0.06rem; min-width: 0; flex: 1; }
.admin-top strong { font-size: 1.2rem; line-height: 1.2; color: #3e4a5a; }
.admin-kicker {
  display: block;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.admin-top-link {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  flex: none;
}
.admin-top-link:hover { background: #f9fafb; color: #3e4a5a; }
.admin-menu-btn { display: none; }
.admin-menu-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.55rem;
  background: #fff;
  color: #374151;
  padding: 0.65rem 0.58rem;
  cursor: pointer;
  flex: none;
  place-items: center;
  gap: 0.26rem;
}
.admin-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.admin-user { position: relative; flex: none; }
.admin-user > summary { list-style: none; cursor: pointer; }
.admin-user > summary::-webkit-details-marker { display: none; }
.admin-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 9.5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 30;
}
.admin-user-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  color: #3e4a5a;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.86rem;
}
.admin-user-menu a:hover { background: #f3f4f6; }
.admin-user-menu a.is-out { color: #9b3b3b; }
.admin-top-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 12rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: #0f172a;
  flex: none;
}
.admin-top-profile:hover,
.admin-top-profile.on {
  background: transparent;
  border: 0;
  opacity: 0.88;
}
.admin-top-profile .admin-avatar {
  width: 2rem;
  height: 2rem;
}
.admin-top-profile-txt {
  display: grid;
  gap: 0.02rem;
  min-width: 0;
  line-height: 1.15;
}
.admin-top-profile-txt b {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-top-profile-txt small {
  font-size: 0.66rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-avatar, .profile-pic {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  flex: none;
  background: #334155;
  color: #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-avatar.is-empty, .profile-pic.is-empty {
  background: #2563eb;
  color: #fff;
  border-color: rgba(37, 99, 235, 0.4);
}
.profile-pic { width: 4.4rem; height: 4.4rem; font-size: 1.4rem; }
.profile-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}
.profile-head strong { display: block; color: var(--forest); font-size: 1.05rem; }
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.admin-nav-group {
  margin: 2px 0 6px;
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7388;
}
/* Exact PriceList sidebar link */
.admin-nav a,
.admin-nav summary,
.admin-item {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  box-sizing: border-box;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-left: 3px solid transparent;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 10px 16px;
  color: #B8BBC7;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: background 0.12s ease, color 0.12s ease;
}
.admin-nav a:hover,
.admin-nav summary:hover,
.admin-item:hover,
.admin-item.on,
.admin-nav a.on,
.admin-nav summary.on {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-left-color: #1554F0;
}
.admin-nav a:hover .admin-ico,
.admin-nav summary:hover .admin-ico,
.admin-item:hover .admin-ico,
.admin-item.on .admin-ico,
.admin-nav a.on .admin-ico {
  color: #ffffff;
}
.admin-nav summary::-webkit-details-marker { display: none; }
.admin-ico {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0;
  color: inherit;
  opacity: 1;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-ico.bi {
  width: auto;
  height: auto;
}
.admin-item-txt {
  display: grid;
  gap: 0;
  min-width: 0;
  line-height: 1.45;
}
.admin-item-txt b {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}
.admin-item-txt small { display: none; }
.admin-item.on::before,
.admin-nav a.on::before {
  display: none;
}
.admin-item.on .admin-item-txt small { color: #93c5fd; }
.admin-fold { display: grid; }
.admin-sub { display: grid; gap: 0; padding: 0 0 0.2rem; }
.admin-sub.is-open { display: grid; }
.admin-item.is-sub {
  padding: 0.55rem 1.1rem 0.55rem 2.65rem;
  color: var(--side-muted);
  font-size: 0.88rem;
}
.admin-item.is-sub.on {
  background: rgba(59, 130, 246, 0.12);
  color: #fff;
}
.admin-main { padding: 0.85rem 1.25rem 2.2rem; display: grid; gap: 0.9rem; }
.admin-guide {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f3fbee, #e7f4dc);
  border: 1px solid rgba(0, 84, 36, 0.12);
  color: #194528;
}
.admin-guide-ico {
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #005424;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.admin-guide p { margin: 0; font-size: 0.92rem; line-height: 1.45; font-weight: 600; }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.panel-head h2 { margin: 0; }
.admin-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.admin-quick-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.95rem;
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-quick-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 60, 30, 0.08);
}
.admin-quick-card strong { color: #005424; font-size: 0.98rem; }
.admin-quick-card span { color: #5d7668; font-size: 0.8rem; font-weight: 600; }
.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  border: 0;
  font: inherit;
  font-weight: 750;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-admin-primary { background: #5e7088; color: #fff; }
.btn-admin-ok { background: #5e7088; color: #fff; }
.btn-admin-ghost {
  background: #fff;
  color: #3e4a5a;
  border: 1px solid #e5e7eb;
}
.btn-admin-warn { background: #fff4e5; color: #9a5b00; border: 1px solid rgba(180, 110, 0, 0.2); }
.btn-admin-danger { background: #fde8e4; color: #8a2e22; border: 1px solid rgba(160, 50, 40, 0.18); }
.order-hero-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.order-flow h2, .order-danger h2 { margin: 0; }
.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.order-steps li {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 0.75rem;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 750;
}
.order-steps li.is-done {
  background: #e5e7eb;
  color: #3e4a5a;
  animation: ov-step-wipe 0.55s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}
.order-steps li.is-done:nth-child(2) { animation-delay: 0.18s; }
.order-steps li.is-done:nth-child(3) { animation-delay: 0.36s; }
.order-steps li.is-done:nth-child(4) { animation-delay: 0.54s; }
.order-steps li.is-now {
  background: #5e7088;
  color: #fff;
  z-index: 1;
  animation: none;
}
.order-steps li.is-now::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.42) 50%, transparent 80%);
  transform: translateX(-130%);
  animation: ov-step-shine 1.7s ease-in-out 0.7s infinite;
}
@keyframes ov-step-wipe {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes ov-step-shine {
  0% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}
.order-action-card { animation: ov-card-in 0.5s cubic-bezier(0.22, 0.8, 0.28, 1) 0.55s both; }
@keyframes ov-card-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .order-steps li.is-done,
  .order-steps li.is-now,
  .order-steps li.is-now::after,
  .order-action-card { animation: none; }
}
.order-actions { display: grid; gap: 0.7rem; }
.order-action-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border-radius: 0.95rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.order-action-card.is-muted { opacity: 0.85; background: #f3f4f6; }
.order-action-card strong { color: #3e4a5a; font-size: 1rem; }
.order-action-card p { margin: 0; color: #6b7280; font-size: 0.88rem; line-height: 1.45; }
.order-action-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.order-action-sub { margin-top: 0.15rem; }
.order-danger {
  border-color: rgba(160, 50, 40, 0.14);
  background: linear-gradient(180deg, #fffaf9, #fff);
}
.ov { display: grid; gap: 0.85rem; }
.ov-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.07);
  border-radius: 1.05rem;
}
.ov-back {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.ov-head h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  color: #3e4a5a;
}
.ov-head p { margin: 0.25rem 0 0; color: #6b7280; font-size: 0.88rem; }
.ov-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 0.85rem;
  align-items: start;
}
.ov-main, .ov-side { display: grid; gap: 0.85rem; min-width: 0; }
.ov-side { position: sticky; top: 0.75rem; }
.ov-info h2 { margin: 0 0 0.35rem; font-size: 0.95rem; color: #3e4a5a; }
.ov-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .ov-info dl { grid-template-columns: 1fr; }
}
.ov-info dl > div {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  align-items: start;
  padding: 0.48rem 0;
  border-top: 1px solid #eef0f2;
}
.ov-info dt { margin: 0; color: #6b7280; font-size: 0.8rem; font-weight: 700; }
.ov-info dd { margin: 0; color: #3e4a5a; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.ov-info .is-total { border-top-color: #e5e7eb; }
.ov-info .is-total dd { font-size: 1.05rem; }
.ov-info-acts { display: inline-flex; margin-left: 0.35rem; vertical-align: middle; }
.ov-info .row-actions { margin-top: 0.75rem; }
.ov .hint { color: #6b7280; }
.ov-danger {
  background: #fff;
  border: 1px solid rgba(160, 50, 40, 0.16);
  border-radius: 1.05rem;
  padding: 0.75rem 0.9rem;
}
.ov-danger summary {
  cursor: pointer;
  font-weight: 750;
  color: #374151;
}
.ov .btn-admin-ok,
.ov .btn-admin-primary {
  background: #5e7088;
  color: #fff;
  border-color: #5e7088;
}
.ov .btn-admin-ghost {
  background: #fff;
  color: #3e4a5a;
  border-color: #e5e7eb;
}
.ov .btn-admin-warn {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}
.ov .btn-admin-danger {
  background: #fff;
  color: #374151;
  border-color: #d1d5db;
}
.ov .st,
.ov .st-new,
.ov .st-ok,
.ov .st-call,
.ov .st-miss,
.ov .st-later,
.ov .st-done,
.ov .st-ship,
.ov .st-pack,
.ov .st-cancel {
  background: #f3f4f6;
  color: #3e4a5a;
}
.ov .hist-who strong,
.ov .hist-pay-total strong,
.ov .hist-steps li.on,
.ov .fraud-check-summary strong,
.ov .fraud-check-summary.is-safe strong,
.ov .fraud-check-summary.is-mid strong,
.ov .fraud-check-summary.is-bad strong {
  color: #3e4a5a;
}
.ov .hist-pay-total { border-top-color: #e5e7eb; }
.ov .fraud-check-summary > div,
.ov .fraud-check-summary.is-safe > div,
.ov .fraud-check-summary.is-mid > div,
.ov .fraud-check-summary.is-bad > div {
  background: #f9fafb;
  border-color: #e5e7eb;
}
.ov .fraud-check-summary span { color: #6b7280; }
.ov .fraud-check-table td.is-ok,
.ov .fraud-check-table td.is-bad { color: #374151; }
.ov .risk-badge {
  background: #f3f4f6;
  color: #374151;
}
.ov .hist-steps li.on::before { border-color: #5e7088; background: #5e7088; }
.ov .order-action-sub input { border-color: #e5e7eb; }
.ov .mini:not(.phone-call-btn) {
  background: #fff;
  color: #3e4a5a;
  border-color: #e5e7eb;
}
.ov .phone-call-btn {
  background: #5e7088;
  color: #fff !important;
  border-color: #5e7088;
}
.ov-danger .order-action-row { margin-top: 0.7rem; }
.order-action-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.order-action-sub input {
  flex: 1 1 10rem;
  min-height: 2.3rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.55rem;
  padding: 0.35rem 0.6rem;
  font: inherit;
}
@media (max-width: 980px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-side { position: static; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stat, .panel, .login-box {
  background: #fff;
  border-radius: 1.05rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(20, 36, 28, 0.07);
  box-shadow: 0 10px 28px rgba(20, 50, 30, 0.04);
}
.stat-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.2rem;
  transition: transform 0.15s ease;
}
.stat-link:hover { transform: translateY(-1px); }
.stat-link em {
  font-style: normal;
  color: #3c9c00;
  font-size: 0.78rem;
  font-weight: 750;
}
.panel, .login-box { display: grid; gap: 0.75rem; }
.set-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.set-switch-btn {
  display: grid;
  gap: 0.1rem;
  justify-items: start;
  min-width: 9.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  background: #fff;
  color: #3e4a5a;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.set-switch-btn b { font-size: 0.92rem; }
.set-switch-btn span { color: #6b7280; font-size: 0.75rem; font-weight: 650; }
.set-switch-btn.on {
  background: #5e7088;
  border-color: #5e7088;
  color: #fff;
}
.set-switch-btn.on span { color: rgba(255, 255, 255, 0.82); }
.panel.set-pane { display: none; margin-top: 0.7rem; }
.panel.set-pane.is-open { display: grid; }
.panel label, .login-box label { display: grid; font-weight: 600; font-size: 0.92rem; }
.stat span { display: block; color: #2f6a45; font-size: 0.82rem; }
.stat strong { font-size: 1.45rem; color: #042818; }
.stat a { color: var(--leaf); font-size: 0.82rem; font-weight: 700; }
.admin .btn-solid { width: auto; display: inline-flex; padding: 0.55rem 0.9rem; border-radius: 0.75rem; text-decoration: none; }
.row-card, .lead {
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.lead-head strong { color: var(--forest); font-size: 1.02rem; }
.lead-badge {
  flex: none;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
}
.risk-badge {
  display: inline-block;
  margin: 0.12rem 0.12rem 0 0;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: #fde8e4;
  color: #8a2e22;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}
.files-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.files-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.95rem;
  background: #f7fbf4;
  border: 1px solid rgba(0, 84, 36, 0.1);
}
.files-thumb {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #e7f0e4;
  display: grid;
  place-items: center;
  color: #005424;
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
}
.files-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.files-thumb.is-video { background: #dfece0; }
.files-thumb.is-file { background: #eef2f6; color: #334; }
.files-meta {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  align-content: start;
}
.files-meta strong {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.files-meta span { color: #5d7668; font-size: 0.78rem; font-weight: 600; }
.files-path {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
  font-size: 0.72rem;
  color: #194528;
  overflow: auto;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .files-grid { grid-template-columns: 1fr; }
}
.upload-progress {
  display: none;
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #f3fbee, #e8f5dc);
  border: 1px solid rgba(0, 84, 36, 0.14);
  gap: 0.45rem;
}
.upload-progress.is-ready { display: grid; opacity: 0.72; }
.upload-progress.is-on { display: grid !important; opacity: 1; }
.upload-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 750;
  color: #042818;
  font-size: 0.9rem;
}
.upload-progress-pct {
  font-variant-numeric: tabular-nums;
  color: #005424;
  font-size: 1.05rem;
}
.upload-progress-track {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(0, 84, 36, 0.12);
  overflow: hidden;
  position: relative;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #005424, #3c9c00, #6bcb2a);
  background-size: 200% 100%;
  transition: width 0.18s ease-out;
  animation: uploadShine 1.2s linear infinite;
}
.upload-progress.is-done .upload-progress-bar {
  animation: none;
  background: #3c9c00;
}
.upload-progress.is-wait .upload-progress-bar {
  width: 100% !important;
  opacity: 0.85;
  animation: uploadPulse 0.9s ease-in-out infinite;
}
@keyframes uploadShine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes uploadPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.upload-progress-sub {
  margin: 0;
  color: #3d5a48;
  font-size: 0.8rem;
  font-weight: 600;
}
.deploy-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.2rem;
  font-size: 0.86rem;
  color: #194528;
}
.deploy-list.is-skip { color: #8a2e22; }
.deploy-list code, .panel code {
  font-size: 0.84em;
  background: #f0f4ee;
  padding: 0.05rem 0.3rem;
  border-radius: 0.3rem;
}
.lead-phone { margin: 0; color: var(--forest); font-weight: 700; }
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.lead-meta span {
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: #f4faf0;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
}
.lead-track { margin: 0; color: var(--leaf); font-weight: 700; }
.lead-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.lead-stats a {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.55rem;
  border-radius: 0.75rem;
  background: #f4faf0;
  color: var(--forest);
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
}
.lead-stats a.on {
  background: var(--forest);
  color: #f4fff0;
}
.lead-stats strong { font-size: 1.25rem; }
.lead-stats span { font-size: 0.75rem; font-weight: 700; }
.order-list { display: grid; gap: 0.55rem; }
.order-row {
  display: grid;
  gap: 0.22rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f7fcf4, #eef8e8);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(0, 84, 36, 0.06);
}
.order-row:hover {
  border-color: rgba(60, 156, 0, 0.45);
  background: #fff;
}
.order-row-top, .order-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.order-no { color: var(--leaf); font-weight: 800; letter-spacing: 0.02em; }
.order-row strong { color: var(--forest); font-size: 1.05rem; }
.order-row-sub { margin: 0; color: #355744; font-size: 0.88rem; }
.order-row-foot span {
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
}
.order-empty {
  margin: 0;
  padding: 1.1rem;
  border-radius: 0.9rem;
  background: #f4faf0;
  color: #355744;
  text-align: center;
}
.order-back { margin: 0; }
.order-back a { color: var(--leaf); font-weight: 700; text-decoration: none; }
.order-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.05rem 1.1rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(60, 156, 0, 0.18), transparent 55%),
    linear-gradient(180deg, #005424, #083c1e);
  color: #f4fff0;
}
.order-hero h1 { font-size: 1.35rem; margin-top: 0.2rem; }
.order-hero p { margin: 0.25rem 0 0; color: rgba(244, 255, 240, 0.78); }
.order-hero .order-no { color: #b7f08a; }
.order-hero .lead-badge { background: #3c9c00; color: #fff; }
.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.order-facts { margin: 0; display: grid; gap: 0.55rem; }
.order-facts div {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 0.4rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}
.order-facts dt { color: #5d7668; font-weight: 600; }
.order-facts dd { margin: 0; color: var(--forest); font-weight: 700; }
.order-bill { display: grid; gap: 0.45rem; }
.order-bill div, .order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.order-bill .is-total { border: 0; padding-top: 0.65rem; }
.order-bill .is-total strong { color: #d10000; font-size: 1.35rem; }
.order-items { display: grid; }
.order-item strong { display: block; color: var(--forest); }
.order-item span { color: #5d7668; font-size: 0.82rem; }
.order-item b { color: var(--forest); }
.courier-keys { display: grid; gap: 0.45rem; }
.admin-pass { display: grid; gap: 0.35rem; margin-top: 0.35rem; }
.row-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.row-actions form, .inline { display: inline; }
.checks {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 34rem;
  margin: 0.15rem 0;
  padding: 0.62rem 0.75rem;
  border-radius: 0.9rem;
  background: #f2f7f1;
  border: 1px solid rgba(0, 84, 36, 0.14);
  color: var(--forest);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
}
.checks:has(input[type="checkbox"]:checked) {
  background: #e7f5e4;
  border-color: rgba(60, 156, 0, 0.35);
}
.checks input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 3.55rem;
  height: 1.85rem;
  margin: 0 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #9aada1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.2s ease;
}
.checks input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 30, 12, 0.22);
  transition: transform 0.2s ease;
}
.checks input[type="checkbox"]::after {
  content: "OFF";
  position: absolute;
  top: 50%;
  right: 0.34rem;
  transform: translateY(-50%);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4fff0;
  pointer-events: none;
}
.checks input[type="checkbox"]:checked {
  background: var(--leaf);
}
.checks input[type="checkbox"]:checked::before {
  transform: translateX(1.7rem);
}
.checks input[type="checkbox"]:checked::after {
  content: "ON";
  right: auto;
  left: 0.38rem;
}
.checks input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}
.linkish, .danger {
  border: 0;
  background: none;
  color: var(--leaf);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.danger { color: #8d3d2f; }
.mini {
  border: 0;
  background: var(--mint);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.login-box { width: min(420px, 100%); display: grid; gap: 0.7rem; }
.login-box h1 { font-size: 1.5rem; }
.login-page {
  background:
    radial-gradient(90% 42% at 100% 0%, rgba(60, 156, 0, 0.22), transparent 52%),
    radial-gradient(70% 36% at 0% 100%, rgba(0, 84, 36, 0.12), transparent 48%),
    var(--cream);
}
.login-page .login-box {
  padding: 1.35rem 1.15rem 1.1rem;
  border: 0.5px solid rgba(0, 84, 36, 0.28);
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 84, 36, 0.1);
  gap: 0.8rem;
}
.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.login-brand img:first-child { width: 3.35rem; height: 3.35rem; object-fit: contain; }
.login-brand img:last-child { width: 8.6rem; height: auto; }
.login-page h1 { margin: 0; text-align: center; color: var(--forest); font-size: 1.45rem; }
.login-lead { margin: -0.35rem 0 0; text-align: center; color: #355744; }
.login-page .login-box label { color: var(--forest); gap: 0.28rem; }
.login-page .login-box input {
  width: 100%;
  margin: 0;
  padding: 0.78rem 0.85rem;
  border: 0.5px solid rgba(0, 84, 36, 0.45);
  border-radius: 0.8rem;
  background: #fff;
  font-size: 1rem;
}
.login-page .login-box input:focus { outline: none; border-color: var(--leaf); }
.login-page .login-box .btn-solid { width: 100%; min-height: 2.9rem; }
.login-otp-pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 40, 24, 0.42);
}
.login-otp-pop:not(.is-on) { display: none; }
.login-otp-card {
  position: relative;
  width: min(22rem, 100%);
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1rem 1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1.6px solid rgba(0, 84, 36, 0.22);
  box-shadow: 0 18px 40px rgba(0, 40, 16, 0.22);
}
.login-otp-card h2 {
  margin: 0;
  color: var(--forest);
  font-size: 1.2rem;
  text-align: center;
}
.login-otp-x {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #eef6ea;
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.login-otp-pick {
  display: grid;
  gap: 0.65rem;
}
.login-otp-pick form {
  display: grid;
  gap: 0.28rem;
}
.login-otp-pick small {
  text-align: center;
  color: #5d7668;
  font-size: 0.82rem;
}
.login-otp-pick .btn-solid { width: 100%; min-height: 2.7rem; }
.login-otp-num { background: #005424; }
.login-otp-pick.is-resend {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.login-otp-pick.is-resend .mini { width: 100%; }
.login-otp-verify { display: grid; gap: 0.65rem; }
.login-otp-verify label { display: grid; gap: 0.28rem; font-weight: 600; color: var(--forest); }
.login-otp-verify input {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-align: center;
}
.login-page.is-otp-open .login-box { filter: saturate(0.9); }
.login-back {
  justify-self: center;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}
.hint { color: #2f6a45; font-size: 0.9rem; }
.courier-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.courier-tabs a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.86rem;
}
.courier-tabs a.on { background: #5e7088; color: #fff; }
.chat-admin { display: grid; grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.chat-list { align-content: start; }
.chat-thread {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.chat-thread span {
  color: #3d5348;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-thread.on strong { color: var(--leaf); }
.chat-room .chat-log { height: 22rem; flex: none; border-radius: 0.8rem; }
.admin .chat-reply { padding: 0; border: 0; background: transparent; }
.admin .chat-reply input { width: auto; margin: 0; padding: 0.55rem 0.75rem; }
.chat-transfer { display: flex; gap: 0.35rem; align-items: center; }
.admin .chat-transfer select { width: auto; margin: 0; padding: 0.4rem 0.6rem; }
@media (max-width: 860px) {
  .chat-admin { grid-template-columns: 1fr; }
}
.thumb-preview {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 1rem;
  background: #f4faf0;
  border: 1px solid rgba(20, 36, 28, 0.08);
}
.product-admin-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.product-admin-img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 0.95rem;
  flex: none;
  background: #f4faf0;
  border: 1px solid rgba(20, 36, 28, 0.08);
}
.product-admin-img.is-empty {
  display: grid;
  place-items: center;
  color: #fff;
  background: #3c9c00;
  font-weight: 800;
}
.product-admin-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  flex: 1;
}

/* Products admin redesign */
.prod-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  background:
    radial-gradient(circle at top right, rgba(60, 156, 0, 0.14), transparent 45%),
    linear-gradient(135deg, #f7fbf4, #eef6ea);
}
.prod-hero h2 { margin: 0 0 0.25rem; }
.prod-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.prod-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
}
.prod-stat span { font-size: 0.75rem; font-weight: 700; color: #5d7668; }
.prod-stat strong { font-size: 1.3rem; color: #042818; }
.prod-stat.is-ok { background: #eef8e8; }
.prod-stat.is-warn { background: #fff7e8; }
.prod-stat.is-feat { background: #e8f1ff; }
.prod-tools { margin-bottom: 0.55rem; }
.prod-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}
.prod-filter-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 84, 36, 0.14);
  background: #fff;
  color: #0b3d24;
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
}
.prod-filter-tabs a.on {
  background: #5e7088;
  border-color: #5e7088;
  color: #fff;
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.prod-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
  box-shadow: 0 10px 28px rgba(8, 40, 22, 0.04);
}
.prod-card.is-hidden { opacity: 0.72; }
.prod-card-media {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #f4faf0;
  min-height: 7.5rem;
}
.prod-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 7.5rem;
}
.prod-card-empty {
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0b3d24, #3c9c00);
}
.prod-card-badges {
  position: absolute;
  left: 0.4rem;
  top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.prod-card-badges span {
  display: inline-flex;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
}
.prod-card-badges .on { color: #1f7a28; }
.prod-card-badges .off { color: #8a2e22; }
.prod-card-badges .feat { color: #1d4f91; }
.prod-card-badges .offer { color: #9a5b00; }
.prod-card-body {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-width: 0;
}
.prod-card-top { display: grid; gap: 0.15rem; }
.prod-card-top strong {
  color: #042818;
  font-size: 1.02rem;
  line-height: 1.25;
}
.prod-card-top small { color: #5d7668; font-weight: 600; }
.prod-card-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: baseline;
}
.prod-card-price b { color: #0b3d24; font-size: 1.1rem; }
.prod-card-price b.is-muted { color: #5d7668; font-size: 0.92rem; }
.prod-card-price s { color: #8a9a90; font-size: 0.86rem; }
.prod-offer-mini {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #9a5b00;
  font-size: 0.72rem;
  font-weight: 800;
}
.prod-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.prod-card-actions form { display: inline; }

.prod-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.85fr);
  gap: 0.85rem;
  align-items: start;
}
.prod-edit-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.prod-edit-head h2 { margin: 0 0 0.2rem; }
.prod-id-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #eef6ea;
  color: #0b3d24;
  font-weight: 800;
  font-size: 0.8rem;
}
.prod-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.prod-field {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.88rem;
}
.prod-field.is-wide { grid-column: 1 / -1; }
.prod-field input,
.prod-field select,
.prod-field textarea {
  min-height: 2.5rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.75rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  background: #fff;
}
.prod-field textarea { min-height: 6rem; resize: vertical; }
.prod-section {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 84, 36, 0.08);
}
.prod-section h3,
.prod-edit-side h3 {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  color: #042818;
}
.prod-section-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.prod-section-top h3 { margin: 0; }
.prod-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.prod-offer-grid .hint.is-wide,
.prod-offer-grid .is-block { grid-column: 1 / -1; }
.prod-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #0b3d24;
}
.prod-switch.is-block {
  display: flex;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: #f6f9f5;
  margin-bottom: 0.4rem;
}
.prod-photo {
  border-radius: 1rem;
  overflow: hidden;
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.1);
  margin-bottom: 0.65rem;
  aspect-ratio: 1;
}
.prod-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prod-photo-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 12rem;
  color: #5d7668;
  font-weight: 700;
}
.prod-edit-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.prod-edit-actions .btn,
.prod-edit-actions .btn-admin { width: 100%; justify-content: center; }

@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-edit-grid { grid-template-columns: 1fr; }
}
.prod-cat-panel { margin-bottom: 0.85rem; }
.prod-cat-panel h2 { margin: 0 0 0.2rem; }
.prod-cat-form { margin-top: 0.75rem; }
.prod-cat-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.prod-cat-fields label {
  display: grid;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.86rem;
}
.prod-cat-fields input {
  min-height: 2.35rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.7rem;
  padding: 0.35rem 0.65rem;
  font: inherit;
  background: #fff;
}
.prod-cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.prod-cat-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.prod-cat-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.8rem;
  background: #f7faf5;
  border: 1px solid rgba(0, 84, 36, 0.08);
}
.prod-cat-item strong { display: block; color: #042818; }
.prod-cat-item small { color: #5d7668; font-weight: 600; }
.prod-cat-item-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-shrink: 0;
}
.prod-cat-item-actions form { display: inline; }
@media (max-width: 720px) {
  .prod-stats { grid-template-columns: 1fr 1fr; }
  .prod-card { grid-template-columns: 1fr; }
  .prod-field-grid,
  .prod-offer-grid { grid-template-columns: 1fr; }
  .prod-cat-fields { grid-template-columns: 1fr 1fr; }
}

/* Multi landing admin */
.land-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  background:
    radial-gradient(circle at top right, rgba(29, 79, 145, 0.12), transparent 42%),
    linear-gradient(135deg, #f5f8fc, #eef4fb);
}
.land-hero h2 { margin: 0 0 0.25rem; }
.land-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.land-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.land-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
  box-shadow: 0 10px 28px rgba(8, 40, 22, 0.04);
}
.land-card.is-live { border-color: rgba(60, 156, 0, 0.28); }
.land-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.land-card-top strong { color: #042818; font-size: 1.05rem; display: block; }
.land-card-top small { color: #5d7668; font-weight: 600; }
.land-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}
.land-badge.on { background: #e8f8df; color: #1f7a28; }
.land-badge.off { background: #eceff3; color: #44505c; }
.land-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.land-card-actions form { display: inline; }
.land-edit-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.land-edit-head h2 { margin: 0 0 0.2rem; }
.land-link-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  max-width: 100%;
}
.land-link-box input {
  min-width: min(100%, 18rem);
  min-height: 2.35rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.7rem;
  padding: 0.35rem 0.65rem;
  font: inherit;
  background: #f7faf5;
}
.land-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.land-grid label,
.land-edit label {
  display: grid;
  gap: 0.28rem;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.88rem;
}
.land-grid .is-wide { grid-column: 1 / -1; }
.land-grid input,
.land-grid textarea,
.land-edit input[type="text"],
.land-edit input[type="number"],
.land-edit input[type="file"],
.land-edit textarea {
  min-height: 2.45rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.7rem;
  padding: 0.4rem 0.7rem;
  font: inherit;
  background: #fff;
}
.land-grid textarea { min-height: 5.5rem; resize: vertical; }
.land-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.4rem 0 1rem;
}
.land-edit h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1rem;
  color: #042818;
}
.land-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: #f7faf5;
  border: 1px solid rgba(0, 84, 36, 0.08);
}
.land-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.land-repeater {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.land-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: #f7faf5;
  border: 1px solid rgba(0, 84, 36, 0.08);
}
.land-row .is-wide { grid-column: 1 / -1; }
.land-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.4rem 0 0.8rem;
}
.land-banners img {
  display: block;
  width: 140px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.45rem;
  margin-top: 0.35rem;
}
.land-edit select {
  min-height: 2.6rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.7rem;
  padding: 0.35rem 0.65rem;
  font: inherit;
  background: #fff;
}
@media (max-width: 980px) {
  .land-list { grid-template-columns: 1fr; }
  .land-grid, .land-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .admin {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .admin-scrim {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .admin-body.admin-nav-open {
    overflow: hidden;
  }
  .admin-body.admin-nav-open .admin-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .admin-side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(19.5rem, 88vw);
    height: 100dvh;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    box-shadow: none;
  }
  .admin-body.admin-nav-open .admin-side {
    transform: translateX(0);
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35);
  }
  .admin-drawer-close { display: grid; place-items: center; }
  .admin-menu-btn { display: grid; }
  .admin-top-profile { max-width: 9.5rem; }
  .admin-top-profile-txt b { font-size: 0.75rem; }
  .admin-side { width: min(260px, 86vw); } /* PriceList mobile */
  .admin-top-brand .admin-brand-mark { width: 1.85rem; height: 1.85rem; }
  .admin-top-brand .admin-brand-word { height: 1.2rem; max-width: 6.2rem; }
  .admin-brand-mark { width: 24px; height: 24px; }
  .admin-brand-word { height: 24px; max-width: 140px; }
  .admin-kicker { display: block; }
  .admin-content {
    width: 100%;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .admin-top {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0.85rem 0.65rem;
    background: rgba(243, 244, 246, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
  }
  .admin-top strong { font-size: 1.08rem; }
  .admin-main {
    padding: 0.75rem 0.85rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.7rem;
  }
  .admin-nav a, .admin-nav summary, .admin-item {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 10px 16px;
    font-size: 13.5px;
    gap: 10px;
    border-radius: 0;
  }
  .admin-item-txt b {
    font-size: 13.5px;
    font-weight: 400;
  }
  .admin-user {
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.85rem;
  }
  .stats, .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat { padding: 0.8rem 0.75rem; }
  .stat strong { font-size: 1.3rem; }
  .admin-quick { grid-template-columns: 1fr 1fr; }
  .admin-top-link { display: none; }
  .order-steps { grid-template-columns: 1fr 1fr; }
  .order-action-row .btn-admin { flex: 1; }
  .admin-guide { padding: 0.75rem 0.85rem; }
  .panel, .stat, .login-box { border-radius: 0.9rem; }
  .panel { padding: 0.85rem 0.8rem; }
  .admin input,
  .admin select,
  .admin textarea {
    font-size: 16px;
    min-height: 2.7rem;
  }
  .admin textarea { min-height: 6.5rem; }
  .admin .btn-solid {
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    width: 100%;
    justify-content: center;
  }
  .row-actions .btn-solid,
  .hist-toolbar .btn-solid,
  .hist-act .btn-solid,
  .admin-pass .btn-solid,
  .checks .btn-solid {
    width: auto;
  }
  .panel > form.courier-keys .btn-solid,
  .panel form[method="post"] > .btn-solid:only-of-type {
    width: 100%;
  }
  .order-grid { grid-template-columns: 1fr; }
  .lead-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-facts div { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .order-hero { padding: 0.95rem 0.9rem; border-radius: 1rem; }
  .order-hero h1 { font-size: 1.18rem; }
  .hist-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .hist-search,
  .hist-tools select { flex: none; width: 100%; }
  .hist-filter { width: 100%; min-height: 2.7rem; }
  .hist-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .hist-table { min-width: 46rem; }
  .hist-head { gap: 0.55rem; }
  .hist-title { font-size: 1.1rem; }
  .hist-toolbar { width: 100%; }
  .hist-act {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hist-btn,
  .hist-ok {
    min-height: 2.35rem;
  }
  .courier-facts { grid-template-columns: 1fr; }
  .courier-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }
  .courier-tabs a {
    white-space: nowrap;
    min-height: 2.35rem;
    display: inline-grid;
    place-items: center;
  }
  .chat-room .chat-log { height: min(55dvh, 22rem); }
  .admin .chat-reply {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }
  .admin .chat-reply input { width: 100%; min-width: 0; }
  .admin .chat-transfer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }
  .admin .chat-transfer select { width: 100%; }
  .profile-head { align-items: flex-start; }
  .login-wrap {
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 0.85rem calc(1rem + env(safe-area-inset-bottom, 0px));
    align-content: center;
  }
  .login-box { width: min(420px, 100%); }
  .login-otp-card {
    width: min(24rem, calc(100vw - 1.4rem));
    max-height: min(90dvh, 36rem);
    overflow: auto;
  }
}
@media (max-width: 480px) {
  body { background: var(--cream); }
  .phone, .admin { width: 100%; max-width: 100%; box-shadow: none; }
  .dock { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .admin-top strong { font-size: 1rem; }
  .order-row { padding: 0.8rem 0.85rem; }
  .order-row-foot { gap: 0.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-order::after, .sale-bar::after, .sale-note-price, .sale-go::after, .note-bar, .tpl-offer .dock-price { animation: none; will-change: auto; }
  .perk { transition: none; }
  .top-order.is-hit { animation: none; }
  .feedback-glass .review-track { transition-duration: 0.45s; }
  .fb-glass { width: clamp(1.6rem, 8vw, 2.6rem); }
  .dock, .live-chat-wrap { transition: none; }
  .live-watch i, .fake-stock b { animation: none; }
}
/* Phone: keep pretty motion, but cheaper + a bit slower */
@media (max-width: 720px), (pointer: coarse) {
  .film-order::after { animation-duration: 4.2s; }
  .live-watch i { animation-duration: 2.8s; }
  .fake-stock b { animation-duration: 3s; }
}

.verify-body {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(60, 156, 0, 0.22), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(0, 84, 36, 0.18), transparent 50%),
    linear-gradient(180deg, #eef7ea 0%, #f7fbf4 42%, #ffffff 100%);
  font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
  color: #14241c;
}
.verify-shell {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem 2rem;
}
.verify-glow {
  position: absolute;
  inset: auto 10% 18% 10%;
  height: 8rem;
  background: radial-gradient(circle, rgba(60, 156, 0, 0.2), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.verify-card {
  position: relative;
  width: min(26rem, 100%);
  padding: 1.35rem 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 1.35rem;
  box-shadow: 0 18px 48px rgba(0, 84, 36, 0.12);
  text-align: center;
  animation: verify-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes verify-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.verify-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.verify-brand img:first-child {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}
.verify-word {
  height: 1.55rem;
  width: auto;
  object-fit: contain;
}
.verify-icon {
  position: relative;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0.2rem auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3c9c00, #005424);
  box-shadow: 0 10px 24px rgba(0, 84, 36, 0.28);
}
.verify-ring {
  position: absolute;
  inset: -0.35rem;
  border-radius: 50%;
  border: 2px solid rgba(60, 156, 0, 0.35);
  animation: verify-pulse 2s ease-out infinite;
}
@keyframes verify-pulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}
.verify-card h1 {
  margin: 0;
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.verify-lead {
  margin: 0.35rem 0 0;
  color: #9b1c1c;
  font-size: 0.98rem;
  font-weight: 700;
}
.verify-warn {
  margin: 0.45rem 0 0;
  color: #4d6758;
  font-size: 0.9rem;
  line-height: 1.45;
}
.verify-phone-wrap {
  margin: 0.7rem auto 0.45rem;
  display: grid;
  justify-items: center;
  gap: 0.28rem;
}
.verify-phone-label {
  margin: 0;
  color: #4d6758;
  font-size: 0.84rem;
  font-weight: 600;
}
.verify-phone {
  margin: 0;
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #eef7ea;
  color: var(--forest);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}
.verify-phone.is-dim { opacity: 0.45; }
.verify-phone-edit {
  border: 0;
  background: transparent;
  color: var(--leaf);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.verify-phone-form {
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.14);
  display: grid;
  gap: 0.55rem;
  text-align: left;
}
.verify-phone-form.is-open {
  margin-top: 0.85rem;
}
.verify-back-order {
  margin: 0.15rem 0 0.35rem;
  display: flex;
  justify-content: center;
}
.verify-voice-bg {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.verify-phone-form label {
  display: grid;
  gap: 0.28rem;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.9rem;
}
.verify-phone-form input {
  width: 100%;
  min-height: 2.7rem;
  border: 1.5px solid rgba(0, 84, 36, 0.22);
  border-radius: 0.75rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.03em;
}
.verify-phone-form input:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(60, 156, 0, 0.16);
}
.verify-phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.verify-phone-actions .btn {
  width: auto;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
}
.verify-phone-cancel {
  border: 0;
  background: transparent;
  color: #5d7668;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}
.verify-msg {
  margin: 0.35rem 0 0;
  padding: 0.45rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.verify-msg.is-ok { background: #e5f6ea; color: #145c32; }
.verify-msg.is-bad { background: #fdecec; color: #9b1c1c; }
.verify-form { margin-top: 0.85rem; display: grid; gap: 0.85rem; }
.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
}
.otp-digit {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border: 1.5px solid rgba(0, 84, 36, 0.22);
  border-radius: 0.75rem;
  background: #fff;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest);
  caret-color: var(--leaf);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.otp-digit:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(60, 156, 0, 0.18);
  transform: translateY(-1px);
}
.verify-go {
  min-height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.verify-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.verify-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
}
.verify-resend,
.verify-voice {
  margin: 0;
}
.verify-resend button,
.verify-voice button {
  border: 0;
  background: transparent;
  color: var(--leaf);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}
.verify-voice button {
  color: #0b5c9a;
}
.verify-resend button:disabled,
.verify-voice button:disabled {
  color: #7a8f82;
  cursor: default;
}
.verify-voice-box {
  margin: 0.7rem 0 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: #eef7ea;
  border: 1px solid rgba(0, 84, 36, 0.14);
  text-align: left;
}
.verify-voice-box p {
  margin: 0 0 0.35rem;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
}
.verify-voice-box audio {
  width: 100%;
  display: block;
}
.verify-foot {
  margin: 0.85rem 0 0;
  color: #6a7d72;
  font-size: 0.84rem;
}
.receipt-verified {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.55rem auto 0;
  width: fit-content;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #e5f6ea;
  color: #145c32;
  font-size: 0.88rem;
  font-weight: 700;
}
.receipt-verified span {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-size: 0.72rem;
}
.receipt {
  margin: 0.6rem 0.9rem 1.2rem;
  padding: 1.05rem 0.9rem 1rem;
  background: #fff;
  border: 0.5px solid rgba(0, 84, 36, 0.28);
  border-radius: 1rem;
}
.receipt-mark {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0.15rem auto 0.6rem;
  border-radius: 50%;
  background: var(--leaf);
  display: grid;
  place-items: center;
}
.receipt-mark svg { display: block; }
.receipt h1 {
  text-align: center;
  color: var(--forest);
  font-size: 1.35rem;
}
.receipt-lead {
  margin-top: 0.25rem;
  text-align: center;
  color: #355744;
}
.receipt-no {
  margin: 0.85rem 0 0.95rem;
  padding: 0.5rem 0.4rem 0.6rem;
  text-align: center;
  background: #fff5f5;
  border: 0.5px solid #d10000;
  border-radius: 0.75rem;
}
.receipt-no span {
  display: block;
  color: #222;
  font-size: 0.88rem;
  font-weight: 600;
}
.receipt-no strong {
  display: block;
  margin-top: 0.05rem;
  color: #d10000;
  font-size: 1.85rem;
  line-height: 1.2;
}
.receipt-rows { margin: 0; }
.receipt-rows div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 0.5px solid rgba(0, 84, 36, 0.16);
}
.receipt-rows dt {
  color: #4d6758;
  font-weight: 500;
  flex: none;
}
.receipt-rows dd {
  margin: 0;
  text-align: right;
  color: var(--forest);
  font-weight: 600;
}
.receipt-rows .is-total dd {
  color: #d10000;
  font-size: 1.12rem;
  font-weight: 700;
}
.receipt-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.95rem;
}
.phone.no-dock { padding-bottom: 1.25rem; }

.hist-keys summary { cursor: pointer; font-weight: 800; }
.hist-keys[open] summary { margin-bottom: 0.35rem; }
.admin-body .hist-crumb { display: none; }
.hist-crumb { margin: 0; color: #6a7d72; font-size: 0.86rem; }
.hist-crumb a { color: var(--leaf); font-weight: 700; text-decoration: none; }
.hist-wrap { display: grid; gap: 0.75rem; }
.hist-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.hist-search { display: block; flex: 1 1 16rem; }
.hist-tools select { flex: 0 1 10rem; }
.hist-tools input,
.hist-tools select {
  width: 100%;
  margin: 0;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(20, 36, 28, 0.12);
  border-radius: 0.7rem;
  background: #fff;
  font: inherit;
}
.hist-filter {
  border: 0;
  background: #5e7088;
  color: #fff;
  border-radius: 0.7rem;
  padding: 0.62rem 1rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.hist-table-wrap {
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.08);
  border-radius: 0.95rem;
}
.hist-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 58rem;
}
.hist-table th,
.hist-table td {
  text-align: left;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(20, 36, 28, 0.07);
  vertical-align: middle;
  font-size: 0.9rem;
}
.hist-table tr.hist-more td {
  background: #f4faf0;
  vertical-align: top;
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
}
.courier-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 1.1rem;
  color: #355445;
  font-size: 0.86rem;
}
.courier-facts p { margin: 0; }
.courier-facts b { display: block; color: #5d7668; font-size: 0.72rem; font-weight: 800; }
.hist-table th {
  background: #f7f8f6;
  color: #4d6758;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.hist-table tbody tr:hover { background: #fbfdf9; }
.hist-empty { text-align: center; color: #5d7668; padding: 1.4rem !important; }
.hist-prod {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 10rem;
}
.hist-prod img,
.hist-thumb {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: cover;
  border-radius: 0.7rem;
  background: #f4faf0;
  border: 1px solid rgba(20, 36, 28, 0.08);
}
.hist-table th:last-child,
.hist-table td:last-child {
  position: sticky;
  right: 0;
  background: #fff;
  box-shadow: -8px 0 12px rgba(255, 255, 255, 0.8);
}
.hist-act {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
}
.hist-act-form { display: inline; margin: 0; }
.hist-ok {
  border: 0;
  background: #5e7088;
  color: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}
.hist-act .hist-drop summary {
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
}
.hist-eye {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f4faf0;
  text-decoration: none;
}
.hist-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
  color: #5d7668;
  font-size: 0.86rem;
}
.hist-pages { display: flex; gap: 0.28rem; flex-wrap: wrap; }
.hist-pages a {
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.1);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  padding: 0 0.45rem;
}
.hist-pages a.on { background: #5e7088; color: #fff; border-color: #5e7088; }
.st {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.st-new { background: #eceff3; color: #44505c; }
.st-ok { background: #fff3d6; color: #8a5a00; }
.st-call { background: #e8f1ff; color: #1d4f91; }
.st-miss { background: #fde8e4; color: #8a2e22; }
.st-later { background: #fff4e5; color: #9a5b00; }
.hold-note-cell {
  max-width: 12rem;
  white-space: normal;
  font-size: 0.86rem;
  color: #44505c;
}
.lead-name-btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 0.65rem;
  background: #eef6ea;
  border: 1px solid rgba(0, 84, 36, 0.14);
  color: #042818;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}
.lead-name-btn:hover {
  background: #5e7088;
  border-color: #5e7088;
  color: #fff;
}
.lead-src {
  display: inline-flex;
  align-items: center;
  margin: 0.1rem 0.15rem 0.1rem 0;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.lead-src-order { background: #eef6ea; color: #1f7a28; }
.lead-src-chat { background: #e8f1ff; color: #1d4f91; }
.lead-src-whatsapp { background: #e7f7f0; color: #0f7a4c; }
.lead-range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.lead-range-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 84, 36, 0.14);
  background: #fff;
  color: #0b3d24;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
}
.lead-range-tabs a.on {
  background: #5e7088;
  border-color: #5e7088;
  color: #fff;
}
.st-pack { background: #ece4ff; color: #5a3db8; }
.st-ship { background: #ffe7cc; color: #b24a00; }
.st-done { background: #e4f8e8; color: #1d7a3a; }
.st-cancel { background: #ffe4e6; color: #b42318; }
.hist-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 800;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.hist-btn-ok { background: #5e7088; color: #fff; }
.hist-btn-ok:disabled { opacity: 0.55; cursor: default; }
.hist-btn-send { background: #5e7088 !important; color: #fff !important; }
.hist-btn-refund { background: #fff2f0; color: #b42318; }
.hist-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.hist-title { margin: 0; font-size: 1.25rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.hist-toolbar { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
.hist-drop { position: relative; }
.hist-drop summary {
  list-style: none;
  cursor: pointer;
  background: #5e7088;
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 800;
}
.hist-drop summary::-webkit-details-marker { display: none; }
.hist-drop[open] > :not(summary) {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 8;
  display: grid;
  min-width: 13rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.1);
  border-radius: 0.85rem;
  padding: 0.4rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}
.hist-drop button {
  border: 0;
  background: none;
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.hist-drop button:hover { background: #f4faf0; }
.hist-drop-in { margin: 0; }
.hist-drop-in summary {
  background: none !important;
  color: inherit !important;
  border-radius: 0.55rem;
  padding: 0.5rem 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.hist-drop-in[open] > :not(summary) {
  position: static !important;
  min-width: 0;
  box-shadow: none;
  border: 0;
  padding: 0 0 0.2rem 0.55rem;
}
.courier-hero {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(60, 156, 0, 0.14), transparent 42%),
    linear-gradient(160deg, #f7fcf4 0%, #eef7ea 55%, #f8faf7 100%);
  border: 1px solid rgba(0, 84, 36, 0.12);
  box-shadow: 0 10px 28px rgba(0, 50, 20, 0.05);
}
.courier-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.courier-hero-kicker {
  margin: 0 0 0.2rem;
  color: #3c9c00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.courier-hero h2 {
  margin: 0;
  color: #042818;
  font-size: 1.35rem;
}
.courier-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.courier-brand-row span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.12);
  color: #355744;
  font-size: 0.78rem;
  font-weight: 700;
}
.courier-check-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: end;
}
.courier-check-field {
  display: grid;
  gap: 0.28rem;
  margin: 0;
}
.courier-check-field span {
  color: #355744;
  font-size: 0.86rem;
  font-weight: 700;
}
.courier-check-field input {
  width: 100%;
  min-height: 3rem;
  border: 1.5px solid rgba(0, 84, 36, 0.2);
  border-radius: 0.85rem;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--forest);
  background: #fff;
}
.courier-check-field input:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(60, 156, 0, 0.16);
}
.courier-check-go {
  min-height: 3rem;
  padding: 0.55rem 1.15rem;
  white-space: nowrap;
}
.courier-check-empty {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(0, 84, 36, 0.18);
}
.courier-check-empty strong { color: var(--forest); }
.courier-check-empty span,
.courier-check-loading { color: #5d7668; }
.courier-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.courier-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.12);
  text-decoration: none;
  color: inherit;
}
.courier-stat span {
  color: #5d7668;
  font-size: 0.8rem;
  font-weight: 700;
}
.courier-stat strong {
  color: var(--forest);
  font-size: 1.2rem;
}
.courier-stat.on {
  background: #5e7088;
  border-color: #5e7088;
}
.courier-stat.on span,
.courier-stat.on strong { color: #fff; }
.courier-api-box { margin: 0; }
.courier-list-panel {
  padding: 0.9rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
}
.courier-list-head {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.15rem;
}
.courier-list-head h2 { margin: 0; font-size: 1.05rem; }
.courier-phone-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.phone-act {
  display: grid;
  gap: 0.28rem;
  min-width: 8.5rem;
}
.phone-act-num {
  font-weight: 800;
  color: #042818;
  letter-spacing: 0.01em;
}
.phone-act-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.phone-copy-btn,
.phone-call-btn {
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 0.7rem;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
}
.phone-copy-btn {
  background: #eef6ea;
  color: #0b3d24;
  border: 1px solid rgba(0, 84, 36, 0.14);
}
.phone-copy-btn.is-copied {
  background: #5e7088;
  color: #fff;
  border-color: #042818;
}
.phone-call-btn {
  background: #3c9c00;
  color: #fff !important;
  border: 1px solid #3c9c00;
}
.phone-call-btn:hover { background: #2f7d00; border-color: #2f7d00; }
.order-phone-act { margin-top: 0.35rem; }
.order-phone-act .phone-act-btns .mini,
.row-actions .phone-act {
  display: inline-flex;
}
.row-actions .phone-act-btns { display: inline-flex; }
.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 80;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #5e7088;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.admin-toast.on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.courier-result-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.55rem;
  margin: 0.15rem 0 0.55rem;
}
.courier-result-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.12);
}
.courier-result-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  align-items: baseline;
}
.courier-result-card header strong { color: #042818; }
.courier-result-card header em {
  font-style: normal;
  color: #3c9c00;
  font-weight: 800;
}
.courier-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.courier-result-grid span {
  display: grid;
  gap: 0.05rem;
  color: #5d7668;
  font-size: 0.76rem;
  font-weight: 600;
}
.courier-result-grid b {
  color: #042818;
  font-size: 0.95rem;
}
.courier-result-grid .is-ok b { color: #1f7a28; }
.courier-result-grid .is-bad b { color: #a3281c; }
.courier-result-card footer {
  color: #6a7d72;
  font-size: 0.78rem;
  font-weight: 600;
}
.fraud-check-panel { gap: 0.85rem; }
.fraud-check-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
}
.fraud-check-head h2 { margin: 0; }
.fraud-check-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: end;
}
.fraud-check-form label {
  flex: 1 1 14rem;
  display: grid;
  gap: 0.28rem;
}
.fraud-check-form input {
  min-height: 2.6rem;
  border: 1.5px solid rgba(0, 84, 36, 0.18);
  border-radius: 0.7rem;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 700;
}
.fraud-check-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.fraud-check-summary > div {
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.12);
  border-radius: 0.75rem;
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.15rem;
}
.fraud-check-summary span {
  color: #5d7668;
  font-size: 0.78rem;
  font-weight: 600;
}
.fraud-check-summary strong {
  color: var(--forest);
  font-size: 1.05rem;
}
.fraud-check-summary.is-safe > div { background: #eef8e8; }
.fraud-check-summary.is-mid > div { background: #fff7e8; }
.fraud-check-summary.is-bad > div { background: #fdeceb; }
.fraud-check-summary.is-safe strong { color: #1f7a28; }
.fraud-check-summary.is-mid strong { color: #9a5b00; }
.fraud-check-summary.is-bad strong { color: #a3281c; }
.fraud-check-table td.is-ok { color: #1f7a28; font-weight: 700; }
.fraud-check-table td.is-bad { color: #a3281c; font-weight: 700; }
.fraud-check-err {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: #fdeceb;
  color: #8a2e22;
  font-weight: 600;
}
@media (max-width: 980px) {
  .fraud-check-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courier-check-box { grid-template-columns: 1fr; }
  .courier-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courier-check-go { width: 100%; }
}
.approve-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.12);
}
.approve-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-weight: 800;
  color: var(--forest);
  cursor: pointer;
}
.approve-all input,
.approve-check-col input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #005424;
  cursor: pointer;
}
.approve-check-col {
  width: 3.2rem;
  text-align: center !important;
}
.approve-bulk-bar .hint { margin: 0; margin-right: auto; }
.approve-bulk-bar .btn-admin:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 980px) {
  .approve-bulk-bar { align-items: stretch; }
  .approve-bulk-bar .btn-admin { width: 100%; }
  .approve-bulk-bar .hint { margin-right: 0; width: 100%; }
}
.call-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.call-hero h2 { margin: 0; }
.call-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.call-hero-stat {
  display: grid;
  gap: 0.1rem;
  min-width: 5.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  background: #e8f1ff;
  text-align: center;
}
.call-hero-stat span { color: #1d4f91; font-size: 0.78rem; font-weight: 700; }
.call-hero-stat strong { color: #0b3d24; font-size: 1.35rem; }
.work-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.work-stat-card {
  display: grid;
  gap: 0.4rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.85rem;
  background: #f4faf0;
  border: 1px solid rgba(0, 84, 36, 0.12);
}
.work-stat-card.is-today { background: #e8f1ff; border-color: rgba(29, 79, 145, 0.18); }
.work-stat-card.is-week { background: #eef8e8; border-color: rgba(31, 122, 40, 0.16); }
.work-stat-card.is-all { background: #fff7e8; border-color: rgba(154, 91, 0, 0.18); }
.work-alltime-panel h2 { margin: 0; }
.work-alltime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.work-alltime-grid > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  background: #fff7e8;
  border: 1px solid rgba(154, 91, 0, 0.14);
}
.work-alltime-grid span {
  color: #9a5b00;
  font-size: 0.8rem;
  font-weight: 700;
}
.work-alltime-grid strong {
  color: #042818;
  font-size: 1.25rem;
}
@media (max-width: 980px) {
  .work-alltime-grid { grid-template-columns: 1fr 1fr; }
}
.work-stat-card h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #042818;
}
.work-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #5d7668;
  font-size: 0.86rem;
  font-weight: 600;
}
.work-stat-row strong { color: #042818; font-size: 1.05rem; }
.work-view-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.work-view-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.14);
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
}
.work-view-tabs a.on {
  background: #5e7088;
  border-color: #5e7088;
  color: #fff;
}
.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: end;
  margin: 0.85rem 0 1rem;
}
.work-filter-bar label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5d7668;
}
.work-filter-bar select,
.work-filter-bar input {
  min-height: 2.35rem;
  border: 1px solid rgba(0, 84, 36, 0.18);
  border-radius: 0.65rem;
  padding: 0.35rem 0.65rem;
  font: inherit;
  background: #fff;
}
.work-filter-bar .hist-search { flex: 1; min-width: 12rem; }
@media (max-width: 980px) {
  .work-stat-grid { grid-template-columns: 1fr 1fr; }
  .work-filter-bar label { width: 100%; }
}
.call-act {
  display: grid !important;
  gap: 0.35rem;
  justify-items: stretch;
  min-width: 12rem;
}
.call-act .hist-act-form {
  display: grid;
  gap: 0.28rem;
}
.call-act input[type="text"],
.call-act input:not([type]) {
  min-height: 2.2rem;
  border: 1px solid rgba(0, 84, 36, 0.18);
  border-radius: 0.55rem;
  padding: 0.3rem 0.55rem;
  font: inherit;
}
.hist-table td.is-ok { color: #1f7a28; font-weight: 800; }
.hist-table td.is-bad { color: #a3281c; font-weight: 800; }
.hist-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.hist-card h2 { margin: 0; font-size: 0.98rem; }
.hist-who { display: grid; gap: 0.15rem; margin: 0; }
.hist-who strong { color: var(--forest); font-size: 1.05rem; }
.hist-card p { margin: 0; }
.hist-pay-total { padding-top: 0.45rem; border-top: 1px solid var(--line); }
.hist-pay-total strong { color: #d10000; font-size: 1.2rem; }
.hist-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hist-notes textarea { width: 100%; min-height: 6rem; resize: vertical; }
.hist-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.hist-steps li {
  position: relative;
  padding-left: 1.7rem;
  color: #7a8b82;
  font-weight: 700;
}
.hist-steps li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.28rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  border: 2px solid #cfd8d3;
  background: #fff;
}
.hist-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.52rem;
  top: 1.15rem;
  bottom: -0.85rem;
  width: 2px;
  background: #e4ebe6;
}
.hist-steps li.on { color: var(--forest); }
.hist-steps li.on::before { border-color: #5e7088; background: #5e7088; }
.hist-steps li span { display: block; color: #6a7d72; font-size: 0.8rem; font-weight: 600; }
@media (max-width: 980px) {
  .hist-tools select, .hist-filter { flex: 1 1 8rem; }
  .hist-cards, .hist-notes { grid-template-columns: 1fr; }
  .courier-facts { grid-template-columns: 1fr; }
}
@media print {
  .admin-side, .admin-top, .hist-toolbar, .hist-crumb, .row-actions, .hist-notes button, .ov-back, .ov-danger, .order-flow form { display: none !important; }
  .admin { display: block; background: #fff; }
  .admin-main { padding: 0; }
}

/* Profile UI (reference layout) */
.pu-wrap { display: grid; gap: 0.9rem; }
.pu-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  padding: 1.15rem 1.25rem !important;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.pu-hero-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.pu-avatar-wrap {
  position: relative;
  flex: none;
}
.pu-avatar {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 999px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #e8eef8;
  color: #2563eb;
  font-size: 1.7rem;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}
.pu-avatar.is-empty { background: #dbeafe; }
.pu-cam-form { margin: 0; }
.pu-cam {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}
.pu-cam input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.pu-hero-meta { min-width: 0; }
.pu-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.35rem;
}
.pu-name-row h1 {
  margin: 0;
  font-size: 1.35rem;
  color: #0f172a;
  font-weight: 800;
}
.pu-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}
.pu-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}
.pu-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.55rem 1.4rem;
  text-align: right;
  flex: none;
}
.pu-hero-stats small {
  display: block;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 650;
}
.pu-hero-stats strong {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 750;
}
.pu-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a !important;
}
.pu-status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #22c55e;
  display: inline-block;
}
.pu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.2rem;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 0.2rem;
}
.pu-tab {
  padding: 0.7rem 0.85rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pu-tab:hover { color: #0f172a; }
.pu-tab.pu-tab-out { margin-left: auto; color: #9b3b3b; }
.pu-tab.on {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.pu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.75fr);
  gap: 0.9rem;
  align-items: start;
}
.pu-main,
.pu-side { display: grid; gap: 0.85rem; }
.pu-card {
  padding: 1.15rem 1.2rem !important;
  border-radius: 1rem;
  border: 1px solid #e8ecf1;
  background: #fff;
}
.pu-card-head { margin-bottom: 1rem; }
.pu-card-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  color: #0f172a;
}
.pu-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}
.pu-form { display: grid; gap: 0.75rem; }
.pu-field {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}
.pu-field label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  color: #334155;
  font-size: 0.86rem;
}
.pu-field input,
.pu-field select {
  width: 100%;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #f8fafc;
  font: inherit;
  color: #0f172a;
}
.pu-field input:focus,
.pu-field select:focus {
  outline: 0;
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.pu-field input[readonly] {
  background: #f1f5f9;
  color: #64748b;
}
.pu-ico,
.pu-qico {
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 1.55rem;
  border-radius: 0.45rem;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.pu-qico { margin-top: 0; width: 1.7rem; height: 1.7rem; }
.pu-ico::before,
.pu-qico::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border: 1.7px solid currentColor;
  border-radius: 999px;
}
.pu-ico-user::before { border-radius: 999px 999px 0.15rem 0.15rem; height: 0.55rem; width: 0.55rem; box-shadow: 0 0.42rem 0 -0.12rem currentColor; border-bottom: 0; }
.pu-ico-at::before { content: "@"; border: 0; font-size: 0.78rem; font-weight: 800; line-height: 1; width: auto; height: auto; }
.pu-ico-mail::before { border-radius: 0.15rem; width: 0.78rem; height: 0.55rem; border-top-color: transparent; clip-path: none; background: linear-gradient(135deg, transparent 42%, currentColor 43%, currentColor 57%, transparent 58%), linear-gradient(currentColor, currentColor); background-size: 100% 100%, 100% 1.7px; background-repeat: no-repeat; background-position: center, center 0; border: 1.7px solid currentColor; }
.pu-ico-phone::before { border-radius: 0.2rem; width: 0.48rem; height: 0.72rem; }
.pu-ico-cal::before { border-radius: 0.15rem; width: 0.72rem; height: 0.62rem; box-shadow: 0 -0.22rem 0 -0.05rem currentColor; }
.pu-ico-flag::before { border-radius: 0; width: 0.7rem; height: 0.5rem; border-left-width: 2.2px; }
.pu-ico-pin::before { border-radius: 999px 999px 999px 0; transform: rotate(-45deg); width: 0.55rem; height: 0.55rem; }
.pu-ico-lang::before { width: 0.78rem; height: 0.78rem; }
.pu-ico-time::before { width: 0.72rem; height: 0.72rem; background: linear-gradient(currentColor, currentColor) center/1.6px 0.28rem no-repeat, linear-gradient(currentColor, currentColor) center/0.28rem 1.6px no-repeat; }
.pu-ico-lock::before { border-radius: 0.15rem; width: 0.58rem; height: 0.48rem; box-shadow: 0 -0.28rem 0 -0.12rem transparent, inset 0 0 0 1.5px currentColor; border: 1.7px solid currentColor; }
.pu-ico-key::before { border-radius: 999px; width: 0.45rem; height: 0.45rem; box-shadow: 0.38rem 0.12rem 0 -0.12rem currentColor; }
.pu-ico-check::before { border: 0; width: 0.45rem; height: 0.72rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(40deg) translateY(-0.08rem); }
.pu-ico-work::before { border-radius: 0.12rem; width: 0.72rem; height: 0.55rem; }
.pu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}
.pu-remove-photo { margin: 0.7rem 0 0; }
.pu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.7rem;
  border: 0;
  font: inherit;
  font-weight: 750;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}
.pu-btn-primary { background: #2563eb; color: #fff; }
.pu-btn-primary:hover { background: #1d4ed8; }
.pu-btn-green {
  background: #3d8f72;
  color: #fff;
  width: 100%;
  border-radius: 999px;
  min-height: 2.7rem;
  box-shadow: 0 8px 18px rgba(61, 143, 114, 0.22);
}
.pu-btn-green:hover { background: #327a62; }
.pu-btn-danger {
  background: transparent;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.pu-btn-danger:hover { background: #fef2f2; }
.pu-btn-ghost {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.pu-complete {
  text-align: center;
  padding: 1.35rem 1.15rem 1.15rem !important;
  border-radius: 1.15rem;
  border: 1px solid #e4ebe7;
  background:
    radial-gradient(120% 80% at 50% 0%, #f3faf6 0%, #fff 58%);
  box-shadow: 0 10px 28px rgba(36, 58, 48, 0.05);
}
.pu-ring {
  --pct: 0;
  width: 8.4rem;
  height: 8.4rem;
  margin: 0.15rem auto 0.95rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, #fff 68%, transparent 69%),
    conic-gradient(#3d8f72 calc(var(--pct) * 1%), #e6eeea 0);
  box-shadow: inset 0 0 0 1px rgba(61, 143, 114, 0.08);
}
.pu-ring-label {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  line-height: 1;
}
.pu-ring strong {
  display: block;
  font-size: 1.55rem;
  color: #2f6f58;
  line-height: 1;
}
.pu-ring small {
  color: #7b8b84;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pu-complete h3 {
  margin: 0 0 0.25rem;
  color: #2c3a34;
  font-size: 1.12rem;
}
.pu-complete p {
  margin: 0 0 1rem;
  color: #6d7c76;
  font-size: 0.88rem;
  font-weight: 600;
}
.pu-quick {
  padding: 0.9rem !important;
  border-radius: 1rem;
  border: 1px solid #e8ecf1;
}
.pu-quick h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #0f172a;
}
.pu-quick-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.55rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid transparent;
}
.pu-quick-item:hover {
  background: #f8fafc;
  border-color: #eef2f7;
}
.pu-quick-item b {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
}
.pu-quick-item i {
  color: #94a3b8;
  font-style: normal;
  font-size: 1.1rem;
}
.pu-facts { margin: 0; display: grid; gap: 0.1rem; }
.pu-facts div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eef2f7;
}
.pu-facts dt { color: #64748b; font-weight: 650; }
.pu-facts dd { margin: 0; color: #0f172a; font-weight: 800; text-align: right; }
.pu-note-list { display: grid; gap: 0.55rem; margin-bottom: 1rem; }
.pu-note-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.pu-note-item strong { color: #0f172a; }
.pu-note-item span { color: #64748b; font-weight: 650; }
@media (max-width: 980px) {
  .pu-grid { grid-template-columns: 1fr; }
  .pu-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .pu-hero-stats {
    width: 100%;
    text-align: left;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pu-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .pu-tab { white-space: nowrap; }
}

/* Admin staff list */
.staff-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  background:
    radial-gradient(circle at top right, rgba(60, 156, 0, 0.12), transparent 42%),
    linear-gradient(135deg, #f7fbf4, #eef6ea);
}
.staff-hero h2 { margin: 0 0 0.25rem; }
.staff-hero-stats {
  display: flex;
  gap: 0.55rem;
}
.staff-hero-stat {
  min-width: 5.2rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 84, 36, 0.1);
  display: grid;
  gap: 0.15rem;
}
.staff-hero-stat span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5d7668;
}
.staff-hero-stat strong {
  font-size: 1.35rem;
  color: #042818;
}
.staff-roles-panel,
.staff-add-panel,
.staff-list-panel { margin-top: 0.85rem; }
.staff-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.55rem;
  margin: 0.55rem 0 0.7rem;
}
.staff-role-card {
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: #f5f8f4;
  border: 1px solid rgba(0, 84, 36, 0.08);
}
.staff-role-card.is-super {
  background: #fff7e8;
  border-color: rgba(154, 91, 0, 0.18);
}
.staff-role-card strong {
  color: #042818;
  font-size: 0.92rem;
}
.staff-role-card span {
  color: #5d7668;
  font-size: 0.8rem;
  line-height: 1.35;
}
.staff-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.55rem 0;
}
.staff-form-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.staff-add-form label,
.staff-mini-form label {
  display: grid;
  gap: 0.28rem;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.88rem;
}
.staff-add-form input,
.staff-add-form select,
.staff-mini-form input,
.staff-mini-form select {
  min-height: 2.45rem;
  border: 1px solid rgba(0, 84, 36, 0.16);
  border-radius: 0.7rem;
  padding: 0.4rem 0.7rem;
  font: inherit;
  background: #fff;
}
.staff-perm-box {
  border: 1px solid rgba(0, 84, 36, 0.12);
  border-radius: 0.9rem;
  padding: 0.85rem;
  margin: 0.55rem 0 0.85rem;
  background: #fbfef9;
}
.staff-perm-box legend {
  padding: 0 0.35rem;
  font-weight: 800;
  color: #042818;
}
.staff-perm-box.is-locked {
  opacity: 0.55;
  pointer-events: none;
}
.admin-perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.35rem 0.75rem;
}
.staff-perm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.staff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.staff-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 84, 36, 0.1);
  box-shadow: 0 10px 28px rgba(8, 40, 22, 0.04);
}
.staff-card.is-me {
  border-color: rgba(60, 156, 0, 0.28);
  box-shadow: 0 12px 30px rgba(60, 156, 0, 0.08);
}
.staff-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.staff-card-who {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
}
.staff-avatar {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e8f1e4;
}
.staff-avatar.is-empty {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, #0b3d24, #3c9c00);
}
.staff-card-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.staff-card-name strong {
  color: #042818;
  font-size: 1.05rem;
}
.staff-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.staff-pill.is-you {
  background: #e8f8df;
  color: #1f7a28;
}
.staff-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 0.2rem;
  color: #5d7668;
  font-size: 0.78rem;
  font-weight: 600;
}
.staff-role-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  background: #eceff3;
  color: #44505c;
}
.staff-role-badge.is-super { background: #fff3d6; color: #8a5a00; }
.staff-role-badge.is-orders { background: #e8f1ff; color: #1d4f91; }
.staff-role-badge.is-courier { background: #eef8e8; color: #1f7a28; }
.staff-role-badge.is-chat { background: #f3e8ff; color: #6b21a8; }
.staff-role-badge.is-content { background: #e7f7f4; color: #0f766e; }
.staff-role-badge.is-sms { background: #fff4e5; color: #9a5b00; }
.staff-role-badge.is-marketing { background: #fde8e4; color: #8a2e22; }
.staff-role-badge.is-custom { background: #eceff3; color: #44505c; }
.staff-card-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.staff-card-contact > div {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: #f6f9f5;
}
.staff-card-contact span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5d7668;
}
.staff-card-contact strong {
  color: #042818;
  font-size: 0.86rem;
  word-break: break-word;
}
.staff-access-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.staff-access-chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: #eef6ea;
  color: #0b3d24;
  font-size: 0.72rem;
  font-weight: 700;
}
.staff-manage {
  border-top: 1px solid rgba(0, 84, 36, 0.08);
  padding-top: 0.35rem;
}
.staff-manage > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.7rem;
  background: #5e7088;
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  user-select: none;
}
.staff-manage > summary::-webkit-details-marker { display: none; }
.staff-manage[open] > summary { background: #0b3d24; }
.staff-manage-body {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}
.staff-mini-form {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: #f7faf5;
  border: 1px solid rgba(0, 84, 36, 0.08);
}
.staff-mini-form h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #042818;
}
.staff-danger {
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: #fff5f4;
  border: 1px solid rgba(160, 50, 40, 0.12);
}
@media (max-width: 1100px) {
  .staff-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .staff-form-grid,
  .staff-form-grid.is-2,
  .staff-card-contact { grid-template-columns: 1fr; }
  .staff-card-top { flex-direction: column; }
}

/* Admin Users (PriceList-style page access) */
.au-wrap { display: grid; gap: 0.85rem; }
.au-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 1.15rem !important;
  border: 1px solid #e8ecf1;
  border-radius: 1rem;
  background: #fff;
}
.au-hero h2 { margin: 0 0 0.2rem; font-size: 1.15rem; color: #0f172a; }
.au-hero .hint { margin: 0; }
.au-hero-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.au-stat {
  min-width: 4.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  text-align: center;
}
.au-stat span { display: block; font-size: 0.68rem; color: #64748b; font-weight: 650; }
.au-stat strong { display: block; font-size: 1rem; color: #0f172a; }
.au-card {
  padding: 1.05rem 1.1rem !important;
  border: 1px solid #e8ecf1;
  border-radius: 1rem;
  background: #fff;
}
.au-card-head { margin-bottom: 0.9rem; }
.au-card-head h2 { margin: 0 0 0.15rem; font-size: 1.05rem; color: #0f172a; }
.au-card-head p { margin: 0; color: #64748b; font-size: 0.86rem; font-weight: 600; }
.au-form,
.au-mini { display: grid; gap: 0.75rem; }
.au-mini h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
}
.au-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.au-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-form label,
.au-mini label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}
.au-form input,
.au-form select,
.au-mini input,
.au-mini select {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  font: inherit;
  color: #0f172a;
}
.au-pages {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.au-pages.is-locked { opacity: 0.72; }
.au-pages-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.au-pages-top strong { color: #0f172a; font-size: 0.9rem; }
.au-page-actions { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.au-page-group h4 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.au-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.au-page-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  cursor: pointer;
}
.au-page-check input { width: auto; margin: 0; accent-color: #2563eb; }
.au-page-check em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 650;
}
.au-page-check.is-locked { background: #f1f5f9; color: #64748b !important; }
.au-actions { display: flex; gap: 0.5rem; }
.au-list { display: grid; gap: 0.75rem; }
.au-user {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid #e8ecf1;
  background: #fff;
}
.au-user.is-me { border-color: #bfdbfe; background: #f8fbff; }
.au-user.is-super { border-color: #bbf7d0; }
.au-user-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.au-user-who {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
}
.au-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  flex: none;
  display: grid;
  place-items: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
  border: 1px solid #e0e7ff;
}
.au-user-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.au-user-name strong { color: #0f172a; font-size: 0.95rem; }
.au-pill {
  display: inline-flex;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
}
.au-role {
  display: inline-flex;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 750;
}
.au-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.15rem;
}
.au-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.au-chips span {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 650;
}
.au-manage summary {
  cursor: pointer;
  list-style: none;
  font-weight: 750;
  color: #2563eb;
  font-size: 0.86rem;
}
.au-manage summary::-webkit-details-marker { display: none; }
.au-manage-body {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f7;
}
.au-danger { margin: 0; }
@media (max-width: 900px) {
  .au-grid,
  .au-grid.is-2,
  .au-grid.is-3 { grid-template-columns: 1fr; }
}

.pl-add { display: grid; gap: 0.9rem; }
.pl-add-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.pl-add-head h1 { margin: 0; font-size: 1.35rem; color: #243044; }
.pl-add-head p { margin: 0.2rem 0 0; color: #6b7280; font-size: 0.86rem; }
.pl-add-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.pl-btn-cancel, .pl-btn-save {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.4rem; padding: 0.4rem 0.85rem;
  border-radius: 0.65rem; font: inherit; font-weight: 700; font-size: 0.86rem; text-decoration: none; cursor: pointer;
}
.pl-btn-cancel { border: 1.5px solid #5e7088; background: #fff; color: #3e4a5a; }
.pl-btn-save { border: 0; background: #5e7088; color: #fff; }
.pl-add-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.85fr); gap: 0.85rem; align-items: start; }
.pl-card { background: #fff; border: 1px solid #e6eaef; border-radius: 0.9rem; padding: 1rem 1.05rem 1.1rem; margin-bottom: 0.85rem; }
.pl-card h3 { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.85rem; font-size: 0.95rem; color: #2c3a4a; }
.pl-card h3 i { color: #5e7088; }
.pl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 0.7rem; }
.pl-fields label, .pl-card > label { display: grid; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; color: #3e4a5a; }
.pl-fields label > span:not(.pl-field), .pl-card > label > span:not(.pl-field):not(.pl-upload) { color: #b45353; }
.pl-fields label.is-wide { grid-column: 1 / -1; }
.pl-field { position: relative; display: block; }
.pl-field > i { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); color: #9aa3af; pointer-events: none; }
.pl-field input, .pl-field select {
  width: 100%; box-sizing: border-box; border: 1px solid #e5e7eb; border-radius: 0.65rem;
  min-height: 2.6rem; padding: 0.45rem 0.7rem 0.45rem 2.1rem; font: inherit; color: #243044; background: #fff;
}
.pl-field input:focus, .pl-field select:focus { outline: none; border-color: #5e7088; box-shadow: 0 0 0 3px rgba(94, 112, 136, 0.15); }
.pl-field .eye {
  position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: #9aa3af; cursor: pointer; padding: 0.35rem;
}
.pl-field.has-eye input { padding-right: 2.2rem; }
.pl-upload {
  display: grid; justify-items: center; gap: 0.15rem; text-align: center; cursor: pointer;
  border: 1.5px dashed #d5dbe3; border-radius: 0.8rem; padding: 1rem 0.8rem; background: #fafbfc; color: #6b7280;
}
.pl-upload.is-drag { border-color: #5e7088; background: #f4f6f8; }
.pl-upload i { font-size: 1.4rem; color: #5e7088; }
.pl-upload b { color: #3e4a5a; font-size: 0.82rem; }
.pl-upload small { font-size: 0.75rem; }
.pl-upload img { width: 4rem; height: 4rem; border-radius: 999px; object-fit: cover; margin-top: 0.4rem; }
.pl-hint { margin: 0.45rem 0 0; color: #6b7280; font-size: 0.78rem; }
.pl-perm { margin-top: 0.8rem; padding-top: 0.75rem; border-top: 1px solid #eef1f4; }
.pl-perm-top { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-bottom: 0.55rem; }
.pl-perm-top b { margin-right: auto; font-size: 0.8rem; }
.pl-perm-top button, .pl-group-h button {
  border: 1px solid #e5e7eb; background: #fff; border-radius: 0.4rem; padding: 0.2rem 0.45rem;
  font: inherit; font-size: 0.72rem; font-weight: 700; color: #4b5563; cursor: pointer;
}
.pl-note { margin: 0 0 0.7rem; padding: 0.5rem 0.65rem; background: #f7f8fa; border: 1px solid #e8ebf0; border-radius: 0.55rem; color: #5c6774; font-size: 0.78rem; }
.pl-group { border: 1px solid #e8ebf0; border-radius: 0.7rem; overflow: hidden; margin-bottom: 0.55rem; }
.pl-group-h { display: flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.6rem; background: #f7f8fa; font-size: 0.78rem; font-weight: 800; }
.pl-group-h span { flex: 1; display: inline-flex; align-items: center; gap: 0.35rem; }
.pl-group-grid { display: grid; gap: 0.15rem; padding: 0.35rem; }
.pl-group-grid label { display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.4rem; border-radius: 0.4rem; font-size: 0.8rem; font-weight: 650; color: #3e4a5a; }
.pl-group-grid label.is-locked { color: #98a2ad; }
.pl-group-grid em { margin-left: auto; font-style: normal; font-size: 0.68rem; color: #8b95a1; }
.pl-status { display: flex; align-items: center; justify-content: space-between; }
.pl-switch { position: relative; width: 2.75rem; height: 1.5rem; }
.pl-switch input { opacity: 0; width: 0; height: 0; }
.pl-switch span { position: absolute; inset: 0; background: #d1d5db; border-radius: 999px; cursor: pointer; }
.pl-switch span::before { content: ""; position: absolute; width: 1.1rem; height: 1.1rem; left: 0.2rem; top: 0.2rem; background: #fff; border-radius: 50%; transition: 0.2s; }
.pl-switch input:checked + span { background: #3d8f72; }
.pl-switch input:checked + span::before { transform: translateX(1.2rem); }
.pl-check { display: flex !important; align-items: center; gap: 0.5rem; font-size: 0.86rem !important; }
.pl-check input { width: 1rem; height: 1rem; accent-color: #5e7088; }
@media (max-width: 900px) {
  .pl-add-grid, .pl-fields { grid-template-columns: 1fr; }
}
.pl-otp { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-bottom: 0.8rem; padding: 0.7rem; border-radius: 0.7rem; background: #f4f7fb; }
.lv-wrap, .ah-wrap { display: grid; gap: 0.8rem; }
.lv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.lv-stats article { background: #fff; border: 1px solid #e6eaef; border-radius: 0.8rem; padding: 0.75rem 0.85rem; }
.lv-stats b { display: block; font-size: 1.45rem; color: #243044; }
.lv-stats span { display: block; font-size: 0.78rem; font-weight: 700; color: #4b5563; }
.lv-stats small { color: #8b95a1; font-size: 0.72rem; }
.lv-head, .ah-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.lv-head h2, .ah-top h2 { margin: 0; font-size: 1.05rem; }
.lv-refresh, .ah-top a, .ah-actions a { border: 1px solid #d5dbe3; border-radius: 0.55rem; padding: 0.35rem 0.7rem; text-decoration: none; color: #3e4a5a; font-weight: 700; font-size: 0.82rem; }
.lv-person { border: 1px solid #e6eaef; border-radius: 0.85rem; padding: 0.85rem; margin-top: 0.7rem; background: #fff; }
.lv-person.is-on { background: #f3faf6; border-color: #d5eadf; }
.lv-person-top, .ah-hero { display: flex; justify-content: space-between; gap: 0.7rem; align-items: flex-start; flex-wrap: wrap; }
.lv-name { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.lv-name i { width: 0.55rem; height: 0.55rem; border-radius: 99px; background: #c5cdd6; display: inline-block; }
.lv-name i.on { background: #3d8f72; }
.lv-name em, .ah-hero em { font-style: normal; font-size: 0.72rem; font-weight: 700; background: #eef2f6; color: #4b5563; border-radius: 99px; padding: 0.12rem 0.45rem; }
.lv-name em.ok, .ah-hero em.ok { background: #e5f5ec; color: #246b4a; }
.lv-person p, .lv-sessions p { margin: 0.15rem 0 0; color: #6b7280; font-size: 0.78rem; }
.lv-actions, .ah-actions { display: flex; gap: 0.4rem; align-items: center; }
.lv-actions a, .lv-actions button, .ah-actions button, .lv-end, .lv-sessions button {
  border: 0; background: #5e7088; color: #fff; border-radius: 0.5rem; padding: 0.4rem 0.7rem; font: inherit; font-weight: 700; font-size: 0.8rem; cursor: pointer; text-decoration: none;
}
.lv-actions button, .ah-actions button, .lv-end, .lv-sessions button { background: #fff; color: #9b3b3b; border: 1px solid #efc7c7; }
.lv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem 0.8rem; margin-top: 0.75rem; }
.lv-grid span { display: block; color: #8b95a1; font-size: 0.72rem; }
.lv-grid b { font-size: 0.86rem; color: #243044; }
.lv-sessions { margin-top: 0.7rem; display: grid; gap: 0.4rem; }
.lv-sessions > div { display: flex; justify-content: space-between; gap: 0.5rem; padding-top: 0.45rem; border-top: 1px solid #e8edf2; }
.ah-hero img, .ah-hero > span { width: 3.2rem; height: 3.2rem; border-radius: 99px; object-fit: cover; background: #e8eef5; display: grid; place-items: center; font-weight: 800; }
.ah-hero h3 { margin: 0; font-size: 1.15rem; }
.ah-hero p { margin: 0.25rem 0 0; color: #6b7280; font-size: 0.82rem; }
.ah-devs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ah-devs article { flex: 1 1 11rem; border: 1px solid #e6eaef; border-radius: 0.7rem; padding: 0.65rem 0.7rem; background: #fafbfc; }
.ah-devs article.is-on { background: #f3faf6; border-color: #d5eadf; }
.ah-devs p { margin: 0.15rem 0 0; color: #6b7280; font-size: 0.75rem; }
.adm-table .who { display: flex; align-items: center; gap: 0.45rem; }
.adm-table .av { width: 2rem; height: 2rem; border-radius: 0.45rem; object-fit: cover; background: #e8eef5; display: grid; place-items: center; font-weight: 800; }
.adm-links { display: flex; gap: 0.3rem; justify-content: flex-end; }
.adm-links a, .adm-links button { width: 2rem; height: 2rem; border-radius: 0.45rem; border: 1px solid #e5e7eb; background: #fff; display: grid; place-items: center; color: #3e4a5a; text-decoration: none; cursor: pointer; }
.adm-links .del { color: #9b3b3b; }
@media (max-width: 900px) {
  .lv-stats, .lv-grid { grid-template-columns: 1fr 1fr; }
}

/* Offer landing — same sales layout as the sample. Header and menu stay. */
.tpl-offer .landing-ribbon:not(.is-draft) { display: none; }
.tpl-offer .film,
.tpl-offer .film-copy,
.tpl-offer .film-order,
.tpl-offer .banner { display: none; }
.sale-hero { display: grid; gap: 0; background: #f3f6f4; }
.sale-guarantee {
  margin: 0.7rem 0.7rem 0;
  padding: 1.35rem 1rem 1.2rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #1f9a45 0%, #0e7a32 100%);
  border-radius: 1.15rem;
}
.sale-check {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.7rem;
  border-radius: 0.7rem;
  background: #18c964;
  box-shadow: 0 0 0 8px rgba(24, 201, 100, 0.25);
}
.sale-check::before {
  content: "";
  width: 1.15rem;
  height: 0.6rem;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}
.sale-guarantee h1 {
  margin: 0;
  color: #ffe14a;
  font-size: 1.55rem;
  line-height: 1.35;
}
.sale-guarantee p {
  margin: 0.65rem 0 0;
  color: #f3fff6;
  font-size: 1rem;
}
.sale-go {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  max-width: 18rem;
  min-height: 3.15rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: #e10600;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}
.sale-go::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.48) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: order-shine 2.6s ease-in-out infinite;
  pointer-events: none;
}
.sale-cod {
  margin: 0.7rem 0.7rem 0;
  padding: 0.75rem 0.8rem;
  text-align: center;
  color: #0b6b3a;
  font-weight: 800;
  background: #f4fbf4;
  border: 2px solid #e0b000;
  border-radius: 0.9rem;
}
.sale-cod b { color: #d4a000; }
.sale-shot {
  display: block;
  width: calc(100% - 1.4rem);
  height: auto;
  margin: 0.7rem auto 0;
  background: #fff;
}
.sale-card {
  margin: 0.7rem 0.7rem 0;
  padding: 1.1rem 0.9rem 1rem;
  text-align: center;
  background: #fff;
  border-radius: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.sale-card h2 {
  margin: 0 0 0.8rem;
  color: #1b1b1b;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.sale-price {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.9rem 0.6rem;
  background: #f3fff6;
  border: 2px dashed #18a84a;
  border-radius: 0.35rem;
}
.sale-price s {
  color: #c44747;
  font-size: 1.15rem;
}
.sale-price strong {
  color: #14913d;
  font-size: 2.4rem;
  line-height: 1;
}
.sale-price small {
  color: #3d4a42;
  font-size: 0.92rem;
}
.sale-points {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 0.4rem;
}
.sale-points li {
  position: relative;
  padding-left: 1.4rem;
  color: #243028;
}
.sale-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #14913d;
  font-weight: 800;
}
.sale-card .sale-go { max-width: none; border-radius: 0.45rem; }
.sale-bar {
  position: relative;
  overflow: hidden;
  margin: 0.7rem 0.7rem 0;
  padding: 0.85rem 0.9rem;
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.45;
  border-radius: 1.15rem;
}
.sale-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.32) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: order-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
.sale-notes {
  display: grid;
  gap: 0.8rem;
  padding: 0.8rem 1.7rem 0;
}
.sale-note {
  display: grid;
  overflow: hidden;
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.sale-note img {
  display: block;
  width: 100%;
  height: auto;
}
.sale-note div {
  padding: 0.85rem 0.9rem 0.35rem;
  text-align: center;
}
.sale-note h3 {
  margin: 0 0 0.35rem;
  color: #1b1b1b;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}
.sale-note p {
  margin: 0;
  color: #3d4a42;
  line-height: 1.5;
  white-space: pre-line;
}
.note-price {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  margin: 0.35rem 0.75rem 0;
  padding: 0.8rem 0.5rem 0.65rem;
  background: #f3fff4;
  border: 2px dashed #3cb371;
  border-radius: 0.7rem;
}
.note-now {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
}
.note-price s {
  color: #e24b4b;
  font-size: 1rem;
  font-weight: 700;
}
.note-price strong {
  color: #1aaa4a;
  font-size: 2rem;
  line-height: 1;
}
.note-price small {
  color: #3d4a42;
  font-size: 0.78rem;
}
.note-go {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.7rem 0.75rem 0.75rem;
  min-height: 2.9rem;
  border-radius: 0.55rem;
  background: #e10600;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.note-bar {
  margin: 0.15rem 0.7rem 0.75rem;
  padding: 0.85rem 0.8rem;
  border-radius: 0.75rem;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  animation: note-bar-glow 1.8s ease-in-out infinite;
}
@keyframes note-bar-glow {
  0%, 100% { color: #fff; box-shadow: 0 0 0 0 rgba(255, 196, 0, 0); }
  50% { color: #ffe14a; box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.35); }
}
.sale-note-acts:has(.sale-note-go:only-child) { grid-template-columns: 1fr; }
.tpl-offer .ship-grid { grid-template-columns: 1fr; }
.sale-dock { display: none; }
