:root {
  --panel-brand: #B8298A;
  --panel-brand-dark: #961E70;
  --panel-brand-soft: #FBF2F8;
  --panel-canvas: #F8FAFC;
  --panel-white: #FFFFFF;
  --panel-ink: #1E293B;
  --panel-text: #334155;
  --panel-muted: #64748B;
  --panel-line: #E2E8F0;
  --panel-line-strong: #CBD5E1;
  --panel-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

html body.panelBody,
html body.panelChoiceBody {
  min-height: 100vh !important;
  margin: 0 !important;
  color: var(--panel-ink) !important;
  background: var(--panel-canvas) !important;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}

html body.panelBody.authPending { visibility: hidden !important; }

html body.panelBody {
  display: grid !important;
  grid-template-columns: 218px minmax(0, 1fr) !important;
  align-items: start !important;
}

html body.panelBody .sidebar,
html body.panelBody aside.sidebar {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  z-index: 100 !important;
  width: 218px !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 18px 14px !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-right: 1px solid var(--panel-line) !important;
  border-radius: 0 !important;
  color: var(--panel-text) !important;
  background: var(--panel-white) !important;
  box-shadow: none !important;
}

html body.panelBody .sidebar .panelLogo,
html body.panelBody .sidebar .panelLogo.logoAsset {
  width: 156px !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 4px 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.panelBody .sidebar .panelLogo img {
  width: 156px !important;
  height: 52px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}

html body.panelBody .sidebar nav {
  display: grid !important;
  gap: 4px !important;
}

html body.panelBody .sidebar nav a {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: var(--panel-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: color .16s ease, background .16s ease, border-color .16s ease !important;
}

html body.panelBody .sidebar nav a svg {
  width: 17px !important;
  height: 17px !important;
  color: var(--panel-muted) !important;
}

html body.panelBody .sidebar nav a:hover,
html body.panelBody .sidebar nav a.active {
  color: var(--panel-brand) !important;
  border-color: #F2D4E9 !important;
  background: var(--panel-brand-soft) !important;
}

html body.panelBody .sidebar nav a:hover svg,
html body.panelBody .sidebar nav a.active svg { color: var(--panel-brand) !important; }

html body.panelBody .agencyStatus {
  margin-top: auto !important;
  padding: 12px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  color: var(--panel-text) !important;
  background: var(--panel-canvas) !important;
  box-shadow: none !important;
}

html body.panelBody .agencyStatus span { color: var(--panel-muted) !important; }
html body.panelBody .agencyStatus strong { color: var(--panel-ink) !important; }

html body.panelBody .panelMain {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 22px 26px 42px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-canvas) !important;
}

html body.panelBody .panelHeader,
html body.panelBody .panelHero {
  min-height: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin: 0 0 16px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--panel-line) !important;
  border-left: 4px solid var(--panel-brand) !important;
  border-radius: 8px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: var(--panel-shadow) !important;
}

html body.panelBody .panelHeader h1,
html body.panelBody .panelHero h1 {
  max-width: 760px !important;
  margin: 3px 0 6px !important;
  color: var(--panel-ink) !important;
  font-size: clamp(23px, 2.2vw, 31px) !important;
  line-height: 1.16 !important;
}

html body.panelBody .panelSubtext,
html body.panelBody .panelHeader p,
html body.panelBody .panelHero p { color: var(--panel-muted) !important; }

html body.panelBody .panelHeaderMeta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

html body.panelBody .panelHeaderMeta a,
html body.panelBody .panelHeaderMeta span {
  min-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 7px !important;
  color: var(--panel-text) !important;
  background: var(--panel-white) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

html body.panelBody .kicker,
html body.panelBody p.kicker,
html body.panelBody .statCard span,
html body.panelBody .panelStats article span {
  color: var(--panel-brand) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.panelBody .panelStats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
}

html body.panelBody .panelStats article,
html body.panelBody .statCard {
  min-height: 96px !important;
  display: grid !important;
  align-content: center !important;
  gap: 7px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04) !important;
}

html body.panelBody .panelStats article strong,
html body.panelBody .statCard strong {
  color: var(--panel-ink) !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

html body.panelBody .accountPanel,
html body.panelBody .reservationDesk,
html body.panelBody .uploadPanel,
html body.panelBody .livePanel,
html body.panelBody .approvalPanel,
html body.panelBody .paymentPanel,
html body.panelBody .notificationPanel,
html body.panelBody .settingsPanel,
html body.panelBody .agencyAccountPanel,
html body.panelBody .panelCard {
  margin: 0 0 14px !important;
  padding: 17px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: var(--panel-shadow) !important;
}

html body.panelBody .panelGrid,
html body.panelBody .panelGrid.adminGrid,
html body.panelBody .panelGrid.singleApproval {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
}

html body.panelBody .panelSectionHead { margin-bottom: 13px !important; }
html body.panelBody .panelSectionHead h2,
html body.panelBody .uploadPanel h2,
html body.panelBody .livePanel h2,
html body.panelBody .approvalPanel h2 {
  margin: 3px 0 5px !important;
  color: var(--panel-ink) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

html body.panelBody .formNote,
html body.panelBody .paymentNotice,
html body.panelBody .emptyPanelNote {
  color: var(--panel-muted) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

html body.panelBody .formGrid,
html body.panelBody .agencyAccountForm,
html body.panelBody .reservationForm {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body.panelBody label {
  display: grid !important;
  gap: 5px !important;
  color: var(--panel-ink) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

html body.panelBody input,
html body.panelBody select,
html body.panelBody textarea {
  width: 100% !important;
  min-height: 40px !important;
  padding: 8px 10px !important;
  border: 1px solid var(--panel-line-strong) !important;
  border-radius: 7px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

html body.panelBody textarea { min-height: 88px !important; resize: vertical !important; }
html body.panelBody input::placeholder,
html body.panelBody textarea::placeholder { color: #94A3B8 !important; opacity: 1 !important; }
html body.panelBody input:focus,
html body.panelBody select:focus,
html body.panelBody textarea:focus {
  outline: 3px solid rgba(184, 41, 138, .13) !important;
  border-color: var(--panel-brand) !important;
}

html body.panelBody button,
html body.panelBody .submitButton,
html body.panelBody .buyPlan,
html body.panelBody .approve,
html body.panelBody form button[type="submit"] {
  min-height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid var(--panel-brand) !important;
  border-radius: 7px !important;
  color: var(--panel-white) !important;
  background: var(--panel-brand) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

html body.panelBody button:hover,
html body.panelBody .buyPlan:hover,
html body.panelBody .approve:hover { background: var(--panel-brand-dark) !important; }
html body.panelBody button:disabled { border-color: var(--panel-line-strong) !important; color: #94A3B8 !important; background: #F1F5F9 !important; opacity: 1 !important; cursor: not-allowed !important; }

html body.panelBody button.reject,
html body.panelBody .reject,
html body.panelBody .softDanger,
html body.panelBody .modalActions button:last-child,
html body.panelBody .reservationCard button {
  border-color: var(--panel-line-strong) !important;
  color: var(--panel-text) !important;
  background: var(--panel-white) !important;
}

html body.panelBody .planCards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body.panelBody .planCard,
html body.panelBody .planCards article {
  min-height: 188px !important;
  padding: 15px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .04) !important;
}

html body.panelBody .planCard.selected,
html body.panelBody .planCard.popular,
html body.panelBody .planCards article:nth-child(2) {
  border-color: var(--panel-brand) !important;
  color: var(--panel-ink) !important;
  background: var(--panel-brand-soft) !important;
}

html body.panelBody .planCard *,
html body.panelBody .planCards article * { color: inherit !important; }
html body.panelBody .planCard small,
html body.panelBody .planCards article small { color: var(--panel-muted) !important; }
html body.panelBody .planCard button,
html body.panelBody .planCards article button { color: var(--panel-white) !important; }

html body.panelBody .liveItem,
html body.panelBody .approvalItem,
html body.panelBody .agencyAccountItem,
html body.panelBody .agencyAccountRow,
html body.panelBody .paymentRow,
html body.panelBody .notificationItem,
html body.panelBody .reservationCard {
  margin-bottom: 8px !important;
  padding: 11px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 7px !important;
  color: var(--panel-text) !important;
  background: var(--panel-white) !important;
  box-shadow: none !important;
}

html body.panelBody .notificationItem.unread { border-left: 3px solid var(--panel-brand) !important; background: var(--panel-brand-soft) !important; }
html body.panelBody .status,
html body.panelBody .status.live {
  border: 1px solid #F2D4E9 !important;
  color: var(--panel-brand) !important;
  background: var(--panel-brand-soft) !important;
}

html body.panelBody .reservationBoard {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(210px, 1fr)) !important;
  gap: 10px !important;
  overflow-x: auto !important;
}

html body.panelBody .reservationColumn {
  padding: 10px !important;
  border: 1px solid var(--panel-line) !important;
  border-top: 3px solid var(--panel-brand) !important;
  border-radius: 7px !important;
  background: var(--panel-canvas) !important;
}

html body.panelBody .photoPreview {
  min-height: 120px !important;
  margin: 10px 0 !important;
  border: 1px dashed var(--panel-line-strong) !important;
  border-radius: 7px !important;
  color: var(--panel-muted) !important;
  background: var(--panel-canvas) !important;
}

html body.panelBody .documentRequirement {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 10px 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #F2D4E9 !important;
  border-radius: 7px !important;
  color: var(--panel-text) !important;
  background: var(--panel-brand-soft) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

html body.panelBody .documentRequirement svg { width: 18px !important; height: 18px !important; flex: 0 0 auto !important; color: var(--panel-brand) !important; }

html body.panelBody .modalBackdrop,
html body.panelBody .loginGate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  padding: 18px !important;
  background: rgba(15, 23, 42, .46) !important;
  backdrop-filter: blur(8px) !important;
}

html body.panelBody .modalCard,
html body.panelBody .loginCard {
  width: min(620px, calc(100vw - 36px)) !important;
  max-height: calc(100vh - 36px) !important;
  padding: 20px !important;
  overflow-y: auto !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  color: var(--panel-ink) !important;
  background: var(--panel-white) !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .2) !important;
}

html body.panelBody .loginGate { background: var(--panel-canvas) !important; }
html body.panelBody .loginCard { width: min(420px, calc(100vw - 36px)) !important; }
html body.panelBody .modalIcon { color: var(--panel-brand) !important; background: var(--panel-brand-soft) !important; }

@media (max-width: 1050px) {
  html body.panelBody .panelStats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body.panelBody .panelGrid,
  html body.panelBody .panelGrid.adminGrid,
  html body.panelBody .panelGrid.singleApproval { grid-template-columns: 1fr !important; }
}

@media (max-width: 820px) {
  html body.panelBody { display: block !important; }
  html body.panelBody .sidebar,
  html body.panelBody aside.sidebar {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    overflow: visible !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--panel-line) !important;
  }
  html body.panelBody .sidebar .panelLogo,
  html body.panelBody .sidebar .panelLogo.logoAsset { width: 112px !important; min-height: 38px !important; margin: 0 !important; }
  html body.panelBody .sidebar .panelLogo img { width: 112px !important; height: 38px !important; }
  html body.panelBody .sidebar nav { display: flex !important; flex: 1 !important; gap: 4px !important; overflow-x: auto !important; }
  html body.panelBody .sidebar nav a { min-width: max-content !important; min-height: 36px !important; padding: 0 9px !important; }
  html body.panelBody .agencyStatus { display: none !important; }
  html body.panelBody .panelMain { padding: 14px 12px 32px !important; }
  html body.panelBody .panelHeader,
  html body.panelBody .panelHero { flex-direction: column !important; padding: 15px !important; }
  html body.panelBody .panelHeaderMeta { justify-content: flex-start !important; }
}

@media (max-width: 600px) {
  html body.panelBody .sidebar nav a span { display: none !important; }
  html body.panelBody .sidebar nav a { min-width: 38px !important; justify-content: center !important; padding: 0 !important; }
  html body.panelBody .panelStats,
  html body.panelBody .formGrid,
  html body.panelBody .agencyAccountForm,
  html body.panelBody .reservationForm,
  html body.panelBody .planCards { grid-template-columns: 1fr !important; }
}

/* v412 single-view panel navigation and amenity editor */
html body.panelBody [data-panel-view][hidden],
html body.panelBody .panelGrid[hidden] { display: none !important; }
html body.panelBody main.panelMain > [data-panel-view][hidden],
html body.panelBody main.panelMain > section.panelGrid[hidden],
html body.panelBody main.panelMain section.panelGrid.singleApproval > [data-panel-view][hidden],
html body.panelBody main.panelMain section.panelGrid.adminGrid > [data-panel-view][hidden] { display: none !important; }
html body.panelBody .panelGrid.singlePanelView { grid-template-columns: 1fr !important; }
html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel {
  display: block !important;
  width: 100% !important;
}
html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > * {
  grid-column: auto !important;
  grid-row: auto !important;
}
html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
}
html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .photoPreview { max-width: 320px !important; }
html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > #submitListingButton { min-width: 220px !important; }
html body.panelBody .amenityPicker {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 7px !important;
  margin: 12px 0 !important;
  padding: 12px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  background: var(--panel-canvas) !important;
}
html body.panelBody .amenityPicker legend { padding: 0 6px !important; color: var(--panel-ink) !important; font-size: 11px !important; font-weight: 800 !important; }
html body.panelBody .amenityPicker label { min-height: 36px !important; display: flex !important; align-items: center !important; gap: 7px !important; padding: 0 8px !important; border: 1px solid var(--panel-line) !important; border-radius: 7px !important; background: var(--panel-white) !important; }
html body.panelBody .amenityPicker input { width: 15px !important; min-height: 15px !important; margin: 0 !important; padding: 0 !important; accent-color: var(--panel-brand) !important; }
html body.panelBody .wideField { grid-column: 1 / -1 !important; }
html body.panelBody .loginCard h1,
html body.panelBody .loginCard h2,
html body.panelBody .loginCard p,
html body.panelBody .loginCard label { color: var(--panel-ink) !important; }
html body.panelBody .loginCard .kicker,
html body.panelBody .loginCard .loginError { color: var(--panel-brand) !important; }

@media (max-width: 900px) {
  html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.panelBody .amenityPicker { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
  html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid { grid-template-columns: 1fr !important; }
  html body.panelBody .amenityPicker { grid-template-columns: 1fr !important; }
}

/* v413 compact account operations */
html body.panelBody .reservationLayout {
  display: grid !important;
  grid-template-columns: minmax(270px, 310px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
}
html body.panelBody .reservationBoard {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow: visible !important;
}
html body.panelBody .reservationColumn { min-width: 0 !important; }
html body.panelBody .agencyAccountItem {
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) repeat(5, auto) !important;
  align-items: center !important;
  gap: 7px !important;
}
html body.panelBody .agencyAccountItem > div { min-width: 0 !important; }
html body.panelBody .agencyAccountItem > div span {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html body.panelBody .agencyAccountItem button { min-height: 34px !important; padding: 0 10px !important; white-space: nowrap !important; }
html body.panelBody .adminAgencyAccess { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
html body.panelBody .adminAgencyAccess svg { width: 14px !important; height: 14px !important; }
html body.panelBody.adminAgencyView .panelHeader { border-left-color: #D7FF00 !important; }
html body.panelBody .adminAgencyViewBadge { color: var(--panel-white) !important; border-color: var(--panel-brand) !important; background: var(--panel-brand) !important; }
html body.panelBody.agencyMode .panelStats { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }

@media (max-width: 1180px) {
  html body.panelBody.agencyMode .panelStats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body.panelBody .reservationLayout { grid-template-columns: 1fr !important; }
  html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.panelBody .amenityPicker { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.panelBody .agencyAccountItem { grid-template-columns: minmax(220px,1fr) repeat(2,auto) !important; }
  html body.panelBody .agencyAccountItem > .status { justify-self: start !important; }
}

@media (max-width: 720px) {
  html body.panelBody.agencyMode .panelStats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body.panelBody .reservationBoard { grid-template-columns: 1fr !important; }
  html body.panelBody .agencyAccountItem { grid-template-columns: 1fr 1fr !important; }
  html body.panelBody .agencyAccountItem > div { grid-column: 1 / -1 !important; }
}

@media (max-width: 480px) {
  html body.panelBody.agencyMode .panelStats { grid-template-columns: 1fr !important; }
}

/* v414 compact discount controls and overflow protection */
html body.panelBody .panelMain > *,
html body.panelBody .panelHeader > *,
html body.panelBody .panelGrid > *,
html body.panelBody .formGrid > *,
html body.panelBody .reservationLayout > *,
html body.panelBody .agencyAccountForm > *,
html body.panelBody .listingWithPhoto > * { min-width: 0 !important; max-width: 100% !important; }

html body.panelBody .panelHeader { overflow: hidden !important; }
html body.panelBody .panelHeaderMeta { flex-wrap: wrap !important; justify-content: flex-end !important; }
html body.panelBody .panelHeader h1,
html body.panelBody .panelHeader h2,
html body.panelBody .panelHeader p,
html body.panelBody .liveItem span,
html body.panelBody .approvalItem span,
html body.panelBody .liveItem p,
html body.panelBody .approvalItem p { overflow-wrap: anywhere !important; }

html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
html body.panelBody .discountToggleField { align-content: start !important; }
html body.panelBody .discountToggleField > span:first-child { color: var(--panel-text) !important; font-size: 10px !important; font-weight: 750 !important; }
html body.panelBody .panelSwitch {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 7px !important;
  color: var(--panel-text) !important;
  background: var(--panel-white) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
html body.panelBody .panelSwitch input {
  width: 16px !important;
  min-height: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--panel-brand) !important;
}
html body.panelBody .panelDiscountStatus {
  width: max-content !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  color: var(--panel-white) !important;
  background: var(--panel-brand) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
html body.panelBody .panelDiscountStatus.passive { color: var(--panel-muted) !important; background: var(--panel-canvas) !important; }
html body.panelBody .panelDiscountStatus svg { width: 12px !important; height: 12px !important; }

html body.panelBody .listingWithPhoto {
  display: grid !important;
  grid-template-columns: 96px minmax(0,1fr) !important;
  align-items: start !important;
  gap: 11px !important;
}
html body.panelBody .listingWithPhoto > img {
  width: 96px !important;
  height: 76px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}
html body.panelBody .listingWithPhoto .row,
html body.panelBody .approvalButtons { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
html body.panelBody .listingWithPhoto .row { justify-content: space-between !important; }
html body.panelBody .approvalButtons button { min-width: 0 !important; white-space: normal !important; }

html body.panelBody .panelStats { align-items: stretch !important; }
html body.panelBody .panelStats article { min-width: 0 !important; overflow: hidden !important; }
html body.panelBody .agencyAccountItem { overflow: hidden !important; }

/* v415: plan administration and multi-photo upload */
html body.panelBody .agencyAccountItem {
  grid-template-columns: minmax(260px,1fr) auto minmax(150px,190px) minmax(340px,auto) !important;
  align-items: center !important;
}
html body.panelBody .agencyPlanControl {
  display: grid !important;
  gap: 3px !important;
  min-width: 150px !important;
  color: #475569 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
html body.panelBody .agencyPlanControl select {
  width: 100% !important;
  min-height: 34px !important;
  padding: 5px 28px 5px 9px !important;
  color: #0f172a !important;
  background: #fff !important;
}
html body.panelBody .agencyAccountActions {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 6px !important;
  min-width: 0 !important;
}
html body.panelBody .agencyAccountActions button { width: 100% !important; }
html body.panelBody .planCards .buyPlan,
html body.panelBody .planCards article.selected button.buyPlan { color: #fff !important; }
html body.panelBody .photoPreview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(76px,1fr)) !important;
  gap: 7px !important;
}
html body.panelBody .photoPreview img {
  width: 100% !important;
  height: 86px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}
html body.panelBody .packagePaymentRow { grid-template-columns: minmax(220px,1fr) auto auto minmax(210px,auto) !important; }
@media (max-width: 1400px) {
  html body.panelBody .agencyAccountItem { grid-template-columns: minmax(240px,1fr) auto minmax(150px,180px) !important; }
  html body.panelBody .agencyAccountItem > div,
  html body.panelBody .agencyAccountItem > .agencyPlanControl { grid-column: auto !important; }
  html body.panelBody .agencyAccountActions { grid-column: 1 / -1 !important; }
  html body.panelBody .agencyPlanControl { min-width: 160px !important; }
}
@media (max-width: 900px) {
  html body.panelBody .agencyAccountItem { grid-template-columns: 1fr 1fr !important; }
  html body.panelBody .agencyAccountItem > div { grid-column: 1 / -1 !important; }
  html body.panelBody .agencyPlanControl { grid-column: 1 / -1 !important; }
  html body.panelBody .agencyAccountActions { grid-column: 1 / -1 !important; }
  html body.panelBody .packagePaymentRow { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  html body.panelBody .agencyAccountActions { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 1180px) {
  html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.panelBody .panelHeaderMeta { justify-content: flex-start !important; }
}
@media (max-width: 560px) {
  html body.panelBody main.panelMain section.panelGrid.singleApproval.singlePanelView > .uploadPanel > .formGrid { grid-template-columns: 1fr !important; }
  html body.panelBody .listingWithPhoto { grid-template-columns: 72px minmax(0,1fr) !important; }
  html body.panelBody .listingWithPhoto > img { width: 72px !important; height: 64px !important; }
}
