/* ===== Admin — luxury design layer (emerald + gold) ===== */

#main-content {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(199, 163, 90, 0.07), transparent 58%),
    radial-gradient(700px 380px at 100% 8%, rgba(6, 78, 59, 0.05), transparent 55%),
    linear-gradient(180deg, #F7F8F5 0%, var(--bg) 42%, #F3F5F2 100%);
}

.adm-page {
  padding: 28px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: adm-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes adm-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.adm-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #032D22 0%, #064E3B 48%, #0B5E48 100%);
  color: #EAF3EE;
  box-shadow:
    0 1px 0 rgba(199, 163, 90, 0.35) inset,
    0 20px 48px rgba(4, 46, 34, 0.22);
  border: 1px solid rgba(199, 163, 90, 0.18);
}

.adm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(480px 220px at 100% 0%, rgba(199, 163, 90, 0.16), transparent 62%),
    radial-gradient(360px 180px at 0% 100%, rgba(14, 110, 84, 0.2), transparent 55%);
}

.adm-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.adm-hero h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.adm-hero p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(234, 243, 238, 0.72);
  max-width: 56ch;
}

.adm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(199, 163, 90, 0.14);
  border: 1px solid rgba(199, 163, 90, 0.32);
  color: #E2C896;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adm-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(228, 231, 226, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px -12px rgba(15, 30, 24, 0.1);
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.adm-card:hover {
  border-color: rgba(199, 163, 90, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 40px -14px rgba(6, 78, 59, 0.14);
}

.adm-card--pad { padding: 22px 24px; }

.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

.adm-stat {
  appearance: none;
  border: 0;
  font: inherit;
  text-align: right;
  cursor: pointer;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.adm-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 163, 90, 0.35);
  box-shadow: 0 14px 32px -12px rgba(6, 78, 59, 0.16);
}

.adm-stat__val {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #064E3B, #0B5E48 55%, #9C7A38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.adm-stat__lbl {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-700);
}

.adm-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  max-width: 100%;
}

.adm-tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink-600, var(--ink-700));
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.adm-tab.on {
  background: linear-gradient(135deg, #064E3B, #0B5E48);
  color: #fff;
  box-shadow: 0 6px 16px rgba(6, 78, 59, 0.22);
}

/* ── Forms & option panels ─────────────────────────────────────────────────── */
.adm-panel {
  background: linear-gradient(180deg, #fff 0%, #FBFCF9 100%);
}

.adm-panel--narrow {
  max-width: 560px;
}

.adm-panel__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(228, 231, 226, 0.95);
}

.adm-section-lead {
  margin: -8px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-500, #6A736E);
  max-width: 58ch;
}

.adm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.adm-form--auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 16px;
}

.adm-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.adm-field--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.adm-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-700, #3D4A44);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.adm-label__req {
  font-style: normal;
  color: #DC2626;
  margin-inline-start: 3px;
}

.adm-hint {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-400, #8A948E);
}

.adm-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900, #0F1714);
  border: 1.5px solid rgba(210, 218, 212, 0.95);
  border-radius: 13px;
  background: linear-gradient(180deg, #fff 0%, #FAFBF8 100%);
  font-family: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.adm-input::placeholder {
  color: var(--ink-400, #9AA39D);
  font-weight: 500;
}

.adm-input:hover:not(:disabled):not(:focus) {
  border-color: rgba(199, 163, 90, 0.42);
  background: #fff;
}

.adm-input:focus {
  outline: none;
  border-color: #0B5E48;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(11, 94, 72, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.adm-input:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  background: #F3F5F2;
}

textarea.adm-input {
  min-height: 96px;
  resize: vertical;
  line-height: 1.65;
  padding-top: 12px;
  padding-bottom: 12px;
}

input.adm-input[type="date"],
input.adm-input[type="time"],
input.adm-input[type="number"] {
  font-variant-numeric: tabular-nums;
}

input.adm-input[type="date"]::-webkit-calendar-picker-indicator,
input.adm-input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
  filter: hue-rotate(120deg);
}

.adm-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.adm-select-wrap--inline {
  width: auto;
  display: inline-block;
}

.adm-select-wrap::after {
  content: "";
  position: absolute;
  left: 14px;
  right: auto;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid #6A736E;
  border-bottom: 2px solid #6A736E;
  transform: rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.adm-select-wrap:focus-within::after {
  border-color: #0B5E48;
}

select.adm-input,
.adm-input--select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  width: 100%;
  background: #FAFBF8;
  background-image: none !important;
  /* physical sides: top | right | bottom | left (arrow on left in RTL UI) */
  padding: 11px 14px 11px 36px;
}

select.adm-input:focus,
.adm-input--select:focus {
  background: #fff;
}

select.adm-input option {
  color: var(--ink-900, #0F1714);
  background: #fff;
}

.adm-input--compact {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12.5px;
  border-radius: 11px;
}

select.adm-input.adm-input--compact,
.adm-input--select.adm-input--compact {
  padding: 8px 12px 8px 32px;
  min-height: 40px;
}

.adm-input--inline {
  width: auto;
  min-width: 130px;
}

.mp-svc-req-card__foot .adm-select-wrap {
  width: auto;
  flex-shrink: 0;
}

.adm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  padding-top: 6px;
}

.adm-actions--end {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.adm-grid-aside .adm-card.adm-panel {
  position: sticky;
  top: 12px;
}

@media (max-width: 900px) {
  .adm-form--2,
  .adm-form--auto {
    grid-template-columns: 1fr;
  }

  .adm-grid-aside {
    grid-template-columns: 1fr;
  }

  .adm-grid-aside .adm-card.adm-panel {
    position: static;
  }
}

.adm-btn {
  background: linear-gradient(135deg, #064E3B 0%, #0B5E48 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.adm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(6, 78, 59, 0.28);
}

.adm-btn--ghost {
  background: #fff;
  color: var(--ink-700);
  border: 1px solid var(--line);
  box-shadow: none;
}

.adm-btn--ghost:hover {
  border-color: rgba(199, 163, 90, 0.45);
  box-shadow: 0 4px 14px rgba(15, 30, 24, 0.06);
}

.adm-btn--gold {
  background: linear-gradient(135deg, #D8BC84, #C7A35A 55%, #9C7A38);
  color: #3a2c0c;
  box-shadow: 0 8px 20px rgba(156, 122, 56, 0.28);
}

.adm-flash {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.adm-flash--ok {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.adm-flash--warn {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.adm-section-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.2px;
}

.adm-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.adm-row:last-child { border-bottom: 0; }

.adm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.adm-grid-aside {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 16px;
  align-items: start;
}

.adm-portal-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.adm-portal-tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #FBFCF9 100%);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.adm-portal-tile:hover {
  border-color: rgba(199, 163, 90, 0.35);
  transform: translateY(-2px);
}

.adm-portal-tile__k {
  font-size: 11px;
  font-weight: 700;
  color: #9C7A38;
}

.adm-portal-tile h4 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.adm-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.adm-tag--info { background: #EFF6FF; color: #1D4ED8; }
.adm-tag--warn { background: #FEF3C7; color: #B45309; }
.adm-tag--crit { background: #FEE2E2; color: #B91C1C; }

.mp-embed { min-width: 0; }
.mp-embed .adm-page {
  padding: 0;
  gap: 18px;
  animation: none;
}
.mp-embed .adm-hero,
.mp-embed .mp-hide-when-embedded { display: none !important; }

/* ── مكتب المزارع — atelier luxe ─────────────────────────────────────────── */
.mp-luxe-page { gap: 20px; }

.mp-luxe-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 32px 26px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, #021C16 0%, #04382A 38%, #064E3B 72%, #0B5E48 100%);
  color: #EAF3EE;
  border: 1px solid rgba(199, 163, 90, 0.22);
  box-shadow:
    0 1px 0 rgba(216, 188, 132, 0.35) inset,
    0 28px 60px rgba(2, 28, 22, 0.28);
}

.mp-luxe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(199, 163, 90, 0.22), transparent 58%),
    radial-gradient(380px 200px at 0% 110%, rgba(14, 110, 84, 0.28), transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='%23C7A35A' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.mp-luxe-hero__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mp-luxe-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #E2C896;
  margin-bottom: 10px;
}

.mp-luxe-hero h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #fff;
}

.mp-luxe-hero h2 em {
  font-style: normal;
  color: #E2C896;
}

.mp-luxe-hero p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 243, 238, 0.7);
  max-width: 52ch;
}

.mp-luxe-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.mp-luxe-kpi {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.mp-luxe-kpi b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.mp-luxe-kpi small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(234, 243, 238, 0.58);
}

.mp-luxe-kpi--gold {
  background: rgba(199, 163, 90, 0.14);
  border-color: rgba(199, 163, 90, 0.32);
}

.mp-luxe-kpi--gold b { color: #E2C896; }

.mp-luxe-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.mp-luxe-nav {
  position: sticky;
  top: 12px;
  padding: 14px 12px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #032D22 0%, #04382A 100%);
  border: 1px solid rgba(199, 163, 90, 0.18);
  box-shadow: 0 18px 40px rgba(2, 28, 22, 0.16);
}

.mp-luxe-nav__g {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(226, 200, 150, 0.7);
  padding: 12px 12px 8px;
}

.mp-luxe-nav__g:first-child { padding-top: 4px; }

.mp-luxe-nav__item {
  appearance: none;
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  color: rgba(234, 243, 238, 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-luxe-nav__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mp-luxe-nav__item.on {
  background: linear-gradient(90deg, rgba(199, 163, 90, 0.22), rgba(199, 163, 90, 0.08));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(199, 163, 90, 0.35);
}

.mp-luxe-nav__ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #E2C896;
}

.mp-luxe-nav__item.on .mp-luxe-nav__ic {
  background: rgba(199, 163, 90, 0.22);
}

.mp-luxe-nav__item span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.mp-luxe-atelier {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mp-luxe-crumb {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mp-luxe-crumb h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink-900);
}

.mp-luxe-crumb p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}

.mp-suite {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Overview (نظرة عامة) ─────────────────────────────────────────────────── */
.mp-overview {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mp-overview__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 248, 0.96) 100%);
  border: 1px solid rgba(228, 231, 226, 0.95);
  box-shadow: 0 14px 36px -20px rgba(6, 78, 59, 0.14);
}

.mp-overview__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #9C7A38;
  background: rgba(199, 163, 90, 0.12);
  border: 1px solid rgba(199, 163, 90, 0.22);
  margin-bottom: 10px;
}

.mp-overview__intro-text h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.35px;
  color: var(--ink-900);
  line-height: 1.25;
}

.mp-overview__intro-text p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-500);
  max-width: 58ch;
}

.mp-overview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.mp-overview__action {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-800);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px -8px rgba(6, 78, 59, 0.12);
}

.mp-overview__action:hover {
  border-color: rgba(6, 78, 59, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(6, 78, 59, 0.18);
}

.mp-overview__action--gold {
  background: linear-gradient(145deg, #064E3B, #0B5E48);
  border-color: rgba(199, 163, 90, 0.35);
  color: #fff;
}

.mp-overview__action--gold .mp-overview__action-ic {
  background: rgba(255, 255, 255, 0.12);
  color: #E2C896;
}

.mp-overview__action-ic {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(6, 78, 59, 0.08);
  color: #064E3B;
}

.mp-overview__pulse {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.mp-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px -16px rgba(6, 78, 59, 0.1);
}

.mp-pulse__ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mp-pulse b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.1;
}

.mp-pulse small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-500);
}

.mp-pulse--emerald .mp-pulse__ic { background: rgba(6, 78, 59, 0.1); color: #064E3B; }
.mp-pulse--gold .mp-pulse__ic { background: rgba(199, 163, 90, 0.14); color: #9C7A38; }
.mp-pulse--slate .mp-pulse__ic { background: rgba(100, 116, 139, 0.12); color: #475569; }
.mp-pulse--rust .mp-pulse__ic { background: rgba(184, 111, 58, 0.12); color: #B86F3A; }
.mp-pulse--teal .mp-pulse__ic { background: rgba(19, 123, 92, 0.12); color: #137B5C; }
.mp-pulse--violet .mp-pulse__ic { background: rgba(109, 40, 217, 0.1); color: #6D28D9; }
.mp-pulse--green .mp-pulse__ic { background: rgba(19, 123, 92, 0.12); color: #137B5C; }

.mp-svc-req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.mp-svc-req-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  background: #fff;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 20, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mp-svc-req-card--pending {
  border-color: rgba(199, 163, 90, 0.45);
  background: linear-gradient(180deg, rgba(199, 163, 90, 0.06) 0%, #fff 42%);
}

.mp-svc-req-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mp-svc-req-card__cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9C7A38;
  text-transform: uppercase;
}

.mp-svc-req-card__status {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.mp-svc-req-card__status--pending { background: rgba(199, 163, 90, 0.16); color: #9C7A38; }
.mp-svc-req-card__status--approved { background: rgba(6, 78, 59, 0.1); color: #064E3B; }
.mp-svc-req-card__status--delivered { background: rgba(19, 123, 92, 0.12); color: #137B5C; }
.mp-svc-req-card__status--cancelled { background: rgba(220, 38, 38, 0.1); color: #DC2626; }

.mp-svc-req-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink-900);
}

.mp-svc-req-card__member {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--ink-500);
}

.mp-svc-req-card__member b {
  color: var(--ink-800);
  font-weight: 700;
}

.mp-svc-req-card__notes {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-600);
}

.mp-svc-req-card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.mp-svc-req-card__foot time {
  font-size: 11px;
  color: var(--ink-400);
}

.mp-overview__portal {
  padding: 20px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(228, 231, 226, 0.95);
  background:
    linear-gradient(180deg, #FBFCF8 0%, #fff 100%);
  box-shadow: 0 12px 32px -20px rgba(6, 78, 59, 0.1);
}

.mp-overview__portal-sub {
  margin: -4px 0 14px;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.65;
}

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

.mp-portal-tile {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  text-align: right;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.mp-portal-tile:hover {
  border-color: rgba(199, 163, 90, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(6, 78, 59, 0.16);
}

.mp-portal-tile__ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #064E3B, #0B5E48);
  color: #E2C896;
}

.mp-portal-tile__body {
  flex: 1;
  min-width: 0;
}

.mp-portal-tile__body b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.35;
}

.mp-portal-tile__body small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--ink-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-portal-tile__n {
  font-size: 15px;
  font-weight: 800;
  color: #9C7A38;
  flex-shrink: 0;
  padding-top: 2px;
}

.mp-suite__h {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-suite__badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #9C7A38;
  background: rgba(199, 163, 90, 0.14);
  border: 1px solid rgba(199, 163, 90, 0.28);
  flex-shrink: 0;
}

.mp-suite__h b {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
}

.mp-suite__h i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 163, 90, 0.45), transparent);
}

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

@media (min-width: 1100px) {
  .mp-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mp-dest {
  appearance: none;
  border: 1px solid rgba(228, 231, 226, 0.95);
  background:
    linear-gradient(165deg, #fff 0%, #FBFCF8 100%);
  border-radius: 20px;
  padding: 20px 20px 16px;
  text-align: right;
  cursor: pointer;
  font: inherit;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px -16px rgba(6, 78, 59, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mp-dest::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
  transform: translate(30%, -35%);
}

.mp-dest--emerald::before { background: radial-gradient(circle, rgba(6, 78, 59, 0.14), transparent 70%); }
.mp-dest--gold::before { background: radial-gradient(circle, rgba(199, 163, 90, 0.2), transparent 70%); }
.mp-dest--slate::before { background: radial-gradient(circle, rgba(100, 116, 139, 0.14), transparent 70%); }
.mp-dest--violet::before { background: radial-gradient(circle, rgba(109, 40, 217, 0.12), transparent 70%); }
.mp-dest--rust::before { background: radial-gradient(circle, rgba(184, 111, 58, 0.16), transparent 70%); }
.mp-dest--green::before { background: radial-gradient(circle, rgba(22, 163, 74, 0.14), transparent 70%); }
.mp-dest--teal::before { background: radial-gradient(circle, rgba(19, 123, 92, 0.14), transparent 70%); }

.mp-dest--emerald .mp-dest__ic { background: linear-gradient(145deg, #064E3B, #0B5E48); }
.mp-dest--gold .mp-dest__ic { background: linear-gradient(145deg, #9C7A38, #C7A35A); color: #fff; }
.mp-dest--slate .mp-dest__ic { background: linear-gradient(145deg, #475569, #64748B); color: #F8FAFC; }
.mp-dest--violet .mp-dest__ic { background: linear-gradient(145deg, #5B21B6, #7C3AED); color: #EDE9FE; }
.mp-dest--rust .mp-dest__ic { background: linear-gradient(145deg, #B86F3A, #C7A35A); color: #fff; }
.mp-dest--green .mp-dest__ic { background: linear-gradient(145deg, #15803D, #16A34A); color: #DCFCE7; }
.mp-dest--teal .mp-dest__ic { background: linear-gradient(145deg, #0F766E, #137B5C); color: #CCFBF1; }

.mp-dest:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 163, 90, 0.4);
  box-shadow: 0 20px 40px -18px rgba(6, 78, 59, 0.2);
}

.mp-dest__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mp-dest__ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #064E3B, #0B5E48);
  color: #E2C896;
  box-shadow: 0 8px 18px rgba(6, 78, 59, 0.2);
}

.mp-dest__n-wrap {
  text-align: end;
}

.mp-dest__n {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #064E3B, #9C7A38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mp-dest__n-lbl {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-400);
}

.mp-dest h4 {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
}

.mp-dest p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-500);
}

.mp-dest__go {
  display: inline-flex;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 800;
  color: #064E3B;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.mp-dest:hover .mp-dest__go {
  opacity: 1;
  transform: translateY(0);
}

.mp-map-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-map-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.mp-map-chip:hover {
  border-color: rgba(199, 163, 90, 0.5);
  color: #064E3B;
}

.mp-map-chip small {
  color: #9C7A38;
  margin-inline-start: 6px;
}

@media (max-width: 1100px) {
  .mp-luxe-body { grid-template-columns: 1fr; }
  .mp-luxe-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .mp-luxe-nav__g { width: 100%; }
  .mp-luxe-nav__item { width: auto; }
  .mp-luxe-kpis { grid-template-columns: repeat(2, 1fr); }
  .mp-overview__pulse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-overview__intro { padding: 18px; }
}

@media (max-width: 900px) {
  .adm-page { padding: 20px 16px 36px; }
  .adm-grid-2,
  .adm-grid-aside { grid-template-columns: 1fr; }
  .mp-dest-grid { grid-template-columns: 1fr; }
  .mp-luxe-hero { padding: 22px 18px; }
  .mp-overview__pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-portal-grid { grid-template-columns: 1fr; }
  .mp-overview__actions { width: 100%; }
  .mp-overview__action { flex: 1 1 auto; justify-content: center; }
  .adm-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-input--inline { min-width: 0; width: 100%; }
  .adm-actions { flex-direction: column; align-items: stretch; }
  .adm-actions .adm-btn,
  .adm-actions .btn { width: 100%; justify-content: center; }
  .mp-svc-req-card__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .mp-svc-req-card__foot .adm-select-wrap {
    width: 100%;
  }
  select.adm-input.adm-input--inline,
  .adm-input--select.adm-input--inline {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .mp-luxe-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mp-luxe-kpi {
    padding: 12px 12px;
  }
  .mp-luxe-kpi b { font-size: 22px; }
  .mp-luxe-kpi small {
    font-size: 10.5px;
    line-height: 1.35;
  }
  .mp-overview__pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-luxe-hero h1 { font-size: 22px; }
  .adm-panel__h { flex-direction: column; align-items: flex-start; gap: 10px; }
  .adm-field label { font-size: 12.5px; }
}

@media (max-width: 900px) {
  .adm-page {
    padding: 16px 14px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .adm-form--2,
  .adm-form--3 {
    grid-template-columns: 1fr !important;
  }
  .adm-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .adm-card-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .adm-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
  }
  .adm-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  .adm-stat-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile table safety */
.adm-table-wrap,
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.adm-table-wrap table,
.table-scroll table {
  min-width: 520px;
}
