﻿
/* ============================================================ */
/* === [SECTION: BASE_RESET_AND_TYPOGRAPHY] === */
/* ============================================================ */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, system-ui, sans-serif;
  background: #eef3f4;
  color: #1a1a1a;
}
.app-body { padding-bottom: 72px; }
.app-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: #087f8c;
  color: #fff;
}
.app-header.compact { padding: 8px 14px; }
.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand-logo {
  display: none;
  width: 132px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.78;
  filter: saturate(0.92) brightness(1.04);
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.brand:hover .brand-logo,
.sky-logo-chip:hover img,
.sky-logo-chip:hover .brand-logo {
  opacity: 0.96;
  filter: saturate(1) brightness(1.06);
}
.sky-logo-chip {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}
.sky-logo-chip .brand-logo,
.sky-logo-chip img {
  display: block;
  width: 128px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  opacity: 0.78;
  filter: saturate(0.92) brightness(1.04);
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.brand-text { display: inline; }
.top-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  overflow-x: auto;
  max-width: min(72vw, 560px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.top-nav::-webkit-scrollbar { display: none; }
a.nav-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 999px;
  opacity: 0.85;
  white-space: nowrap;
  flex: 0 0 auto;
}
a.nav-link.is-active { background: rgba(255,255,255,.2); opacity: 1; }
.header-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.header-right span { opacity: 0.9; }
.header-right button {
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 700;
}
.feed-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}
.feed-bell svg {
  width: 20px;
  height: 20px;
}
.feed-bell-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* ============================================================ */
/* === [SECTION: MAP_SEARCH_AND_FILTERS] === */
/* ============================================================ */
.map-search input {
  padding: 11px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font-size: 16px;
}
.map-search > #mapSearchBtn, .sync-bar button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #087f8c;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.error { color: #c62828; font-size: 14px; }
body.feed-body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #1c2a2f;
  background: #f5f6f7;
  letter-spacing: -0.01em;
}
body.feed-body h1,
body.feed-body h2,
body.feed-body h3,
body.feed-body .kho-mine-code,
body.feed-body .feed-card-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.03em;
}
.kho-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
}
.kho-page-head {
  display: none;
}
.kho-page-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #142226;
  letter-spacing: -0.02em;
}
.kho-content {
  min-width: 0;
  background: #f5f6f7;
}
.kho-pane[hidden] {
  display: none !important;
}
.kho-mine-head {
  padding: 22px 20px 6px;
  background: #fff;
  border-bottom: 1px solid #eceff1;
}
.kho-mine-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.kho-mine-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #142226;
}
.kho-mine-add {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #e03a3a;
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(224, 58, 58, 0.22);
}
.kho-mine-add:hover {
  background: #c92f2f;
}
.kho-mine-search {
  margin: 12px 0 8px;
}
.kho-mine-body {
  padding: 12px 16px 32px;
}
.kho-mine-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #f3c7a7;
  border-radius: 12px;
  background: #fff8ed;
  color: #8b4a16;
  font-size: 12px;
}
.kho-mine-reminder button,
.kho-mine-stale button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #d97706;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.kho-mine-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 -16px 8px;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #eceff1;
}
.kho-mine-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.kho-mine-chips::-webkit-scrollbar {
  display: none;
}
.kho-mine-chip {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6a7b80;
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.kho-mine-chip.is-on {
  border-color: #e03a3a;
  background: transparent;
  color: #e03a3a;
  font-weight: 700;
}
.kho-mine-empty {
  margin: 24px 0;
  text-align: center;
  color: #6a7b80;
  font-size: 14px;
}
.kho-mine-empty-box {
  margin: 48px auto 12px;
  max-width: 320px;
  text-align: center;
  color: #5c6d73;
}
.kho-mine-empty-ico {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 68% 32%, rgba(224, 58, 58, 0.16), transparent 46%),
    linear-gradient(160deg, #f2f4f5 0%, #e8eef0 100%);
  position: relative;
}
.kho-mine-empty-ico::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 28px;
  height: 8px;
  border-radius: 999px;
  background: rgba(90, 110, 118, 0.18);
  box-shadow: 0 14px 0 rgba(90, 110, 118, 0.12), 0 28px 0 rgba(90, 110, 118, 0.08);
}
.kho-mine-empty-ico::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  right: 18px;
  bottom: 18px;
  border: 3px solid #e03a3a;
  border-radius: 999px;
  box-shadow: 10px 10px 0 -11px #e03a3a;
}
.kho-mine-empty-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.kho-mine-empty-cta {
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  background: #e03a3a;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.kho-mine-empty-hint {
  margin-top: 12px !important;
  font-size: 12px !important;
  color: #7a8b90 !important;
}

/* ============================================================ */
/* === [SECTION: FAVORITES_KHO_LAYOUT] === */
/* ============================================================ */
.kho-fav-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 14px;
  background: #fff;
  border-bottom: 1px solid #eceff1;
}
.kho-fav-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #142226;
  letter-spacing: -0.02em;
}
.kho-fav-count {
  flex: 0 0 auto;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff5f5;
  color: #e03a3a;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.kho-fav-tools {
  padding: 0 14px 10px;
  background: #fff;
  border-bottom: 1px solid #eceff1;
}
.kho-fav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 8px 0 12px;
  border-radius: 14px;
  background: #f4f6f7;
  border: 1px solid #e6eaec;
}
.kho-fav-search-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: #7a8b91;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kho-fav-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #142226;
}
.kho-fav-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.kho-fav-clear {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8eef0;
  color: #33464b;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.kho-fav-clear[hidden] {
  display: none !important;
}
.kho-fav-tool-btn,
.kho-fav-sort {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #45575d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 1px #e6eaec;
}
.kho-fav-tool-btn.is-on,
.kho-fav-sort.is-on {
  color: #e03a3a;
  box-shadow: 0 0 0 1px rgba(224, 58, 58, 0.35);
  background: #fff5f5;
}
.kho-fav-tool-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
}
.kho-fav-scope {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #f4f6f7;
}
.kho-fav-scope-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: #6d7e84;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.kho-fav-scope-btn.is-on {
  background: #fff;
  color: #142226;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.kho-fav-hint {
  margin: 8px 2px 0;
  font-size: 12px;
  font-weight: 600;
  color: #7a8b91;
}
.kho-fav-hint:empty {
  display: none;
}
.kho-fav-more-wrap {
  margin: 0;
  padding: 0 14px 20px;
  text-align: center;
}
.kho-fav-body {
  padding: 14px 14px 28px;
}
.kho-fav-loading {
  padding: 28px 12px;
  text-align: center;
  color: #7a8b91;
  font-size: 14px;
}
.kho-fav-empty {
  max-width: 360px;
  margin: 28px auto 12px;
  padding: 28px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #eceff1;
  border-radius: 18px;
}
.kho-fav-empty-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #f7f8f9;
  color: #c5cfd3;
  font-size: 26px;
  display: grid;
  place-items: center;
}
.kho-fav-empty h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #142226;
}
.kho-fav-empty p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #7a8b91;
}
.kho-fav-empty-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: #15262b;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.kho-fav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kho-fav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eceff1;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.kho-fav-card:hover,
.kho-fav-card:focus-within {
  border-color: #087f8c;
  box-shadow: 0 4px 12px rgba(8, 127, 140, 0.12);
}

/* ===== KHO YÊU THÍCH - ENHANCED LAYOUT ===== */
.kho-fav-main {
  display: flex;
  gap: 10px;
}

.kho-fav-thumb {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f2;
  cursor: pointer;
}

.kho-fav-thumb img,
.kho-fav-thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

.kho-fav-thumb-ph {
  background: linear-gradient(135deg, #f2f4f5 0%, #e6eaec 100%);
}

.kho-fav-thumb.is-gphoto .kho-fav-thumb-ph {
  background: #eef1f2;
}

.kho-fav-shots {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.kho-fav-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kho-fav-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kho-fav-title {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #142226;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kho-fav-code {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #7a8a90;
}

.kho-fav-place {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #6d7e84;
  line-height: 1.3;
}

.kho-fav-meta {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: #7a8a90;
  line-height: 1.3;
}

.kho-fav-price {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #15262b;
  line-height: 1.3;
}

.kho-fav-heart {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff5f5;
  color: #e03a3a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.kho-fav-heart:hover {
  background: #ffe0e0;
}

.kho-fav-heart.is-on {
  color: #e03a3a;
  background: #ffebeb;
}

.kho-fav-acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.kho-fav-act-share,
.kho-fav-act-post {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d4dfe3;
  border-radius: 6px;
  padding: 6px 10px;
  background: #f5f8fa;
  color: #6d7e84;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.kho-fav-act-share:hover,
.kho-fav-act-post:hover {
  background: #e8f4f5;
  border-color: #087f8c;
  color: #087f8c;
}

.kho-fav-act-share:active,
.kho-fav-act-post:active {
  background: #d4e7e9;
}
.kho-mine-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eceff1;
}
.kho-mine-card {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #f0f2f3;
  border-radius: 0;
  padding: 16px 16px 14px;
}
.kho-mine-card:last-child {
  border-bottom: 0;
}
.kho-mine-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.kho-mine-code {
  font-size: 16px;
  font-weight: 700;
  color: #142226;
}
.kho-mine-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.kho-mine-acts a,
.kho-mine-acts button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #e03a3a;
  border-radius: 8px;
  padding: 4px 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.kho-mine-acts a:hover,
.kho-mine-acts button:hover {
  background: #fff5f5;
}
.kho-mine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.kho-mine-meta span {
  font-size: 11px;
  font-weight: 650;
  color: #5a6c72;
  background: #f4f6f7;
  border-radius: 999px;
  padding: 4px 9px;
}
.kho-mine-status {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 8px !important;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.skyland-status-select,
.kho-mine-status-select,
.skyland-v63-status-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 36px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid #b9dfe2;
  border-radius: 8px;
  background: #eaf8f9;
  color: #087f8c;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color-scheme: light;
}
.skyland-status-select:disabled,
.kho-mine-status-select:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* ============================================================ */
/* === [SECTION: STATUS_PICKS_AND_SUBBOX] === */
/* ============================================================ */
.skyland-status-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.skyland-status-picks[hidden] {
  display: none !important;
}
.skyland-status-picks.is-busy {
  opacity: 0.7;
  pointer-events: none;
}
.skyland-status-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid #b9dfe2;
  border-radius: 999px;
  background: #fff;
  color: #0f4a51;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
}
.skyland-status-pick.is-on {
  background: #087f8c;
  color: #fff;
  border-color: #087f8c;
}
.skyland-status-primary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.skyland-status-subbox {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  background: #f0f8f9;
  border: 1px dashed #7ec1c7;
  border-radius: 8px;
}
.skyland-status-subbox[data-status-subbox="rent"] {
  background: #fdfaf3;
  border-color: #ddbe75;
}
.skyland-status-subbox[data-status-subbox="rent"] .skyland-status-subbox-title {
  color: #79530b;
}
.skyland-status-subbox[data-status-subbox="rent"] .skyland-status-subpick {
  border-color: #ddbe75;
  color: #79530b;
}
.skyland-status-subbox[data-status-subbox="rent"] .skyland-status-subpick:hover {
  background: #fbf3df;
}
.skyland-status-subbox[data-status-subbox="rent"] .skyland-status-subpick.is-on {
  background: #b67d16;
  border-color: #b67d16;
  color: #fff;
}
.skyland-status-subbox-title {
  font-size: 11px;
  font-weight: 700;
  color: #0f4a51;
  margin-bottom: 6px;
}
.skyland-status-subpicks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skyland-status-subpick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #95ccd0;
  border-radius: 999px;
  background: #fff;
  color: #08606a;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.skyland-status-subpick:hover {
  background: #e6f6f7;
}
.skyland-status-subpick.is-on {
  background: #087f8c;
  color: #fff;
  border-color: #087f8c;
}
@media (max-width: 600px) {
  .skyland-status-pick {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .skyland-status-subbox {
    padding: 6px 8px;
  }
  .skyland-status-subpick {
    min-height: 30px;
    padding: 4px 9px;
    font-size: 11px;
  }
}
.kho-mine-status .skyland-status-picks,
.skyland-v63-status .skyland-status-picks {
  margin-top: 0;
  height: auto;
  max-height: none;
}
.skyland-edit-field input[type="hidden"],
.skyland-add-label input[type="hidden"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.skyland-status-readonly {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #b9d9dc;
  border-radius: 999px;
  background: #f4fbfb;
  color: #31555a;
  font-size: 11px;
  font-weight: 800;
}
.kho-mine-addr {
  margin: 10px 0 0;
  font-size: 13px;
  color: #44555b;
  line-height: 1.45;
}
.kho-mine-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: #7a8b91;
}
.kho-mine-facts a {
  color: #0b6e78;
  font-weight: 600;
}
.kho-mine-stale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff8ed;
  color: #9a4e12;
  font-size: 12px;
  font-weight: 650;
}
.feed-main { max-width: 760px; margin: 0 auto; padding: 16px 16px 24px; }
.me-main { max-width: 920px; margin: 0 auto; padding: 16px 16px 24px; }
.me-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid #e7ecee;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.me-card h1 { margin: 0; font-size: 20px; color: #122026; }
.me-card h2 { margin: 0; font-size: 18px; color: #122026; }
.me-code { margin: 0; font-weight: 650; color: #0d5c66; letter-spacing: -0.01em; }
.me-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: 12px; color: #5a6b70; }
.me-card input {
  padding: 11px 12px;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  font-size: 16px;
  background: #fbfcfc;
}
.me-card input:focus {
  outline: none;
  border-color: #0d7a86;
  background: #fff;
}
.me-ro { padding: 10px 12px; background: #f4f8f9; border-radius: 10px; font-weight: 650; }
.me-profile-sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.me-win {
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
}
.me-profile-sheet.me-win {
  padding: 0 0 8px;
}
.me-sec {
  padding: 4px 4px 8px;
  border-top: 1px solid #eef2f3;
}
.me-sec > h3 {
  margin: 0;
  padding: 14px 16px 4px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8a90;
}
.me-invite-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f7f8;
}
.me-invite-bar span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b7a81;
}
.me-invite-bar b {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0d5c66;
}
.me-id-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.me-id-copy {
  min-width: 0;
  flex: 1;
}
.me-id-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9aa6ad;
}
.me-invite-copy {
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: #e8f3f4;
  color: #0d5c66;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.me-id-name {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  text-transform: uppercase;
}
.me-id-job {
  margin-top: 2px;
  font-size: 13px;
  color: #5f6e75;
}
.me-acc-body {
  padding: 4px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 0;
}
.me-acc-body label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #33464b;
}
.me-acc-body input,
.me-acc-body select {
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}
.me-kv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}
.me-kv span {
  color: #8a969c;
  font-weight: 650;
  flex: 0 0 38%;
}
.me-kv b {
  flex: 1;
  text-align: right;
  font-weight: 700;
  color: #1a1a1a;
  word-break: break-word;
}
.me-role-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f6f7;
  font-weight: 800;
  color: #1a1a1a;
}
.me-pane.is-profile {
  background: #f4f6f7;
}
.me-right-block {
  padding-top: 8px;
  border-top: 1px solid #f0f3f4;
}
.me-right-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #087f8c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.me-body.is-rights #meMainHead,
.me-body.is-rights #meTabs,
.me-body.is-rights .dock {
  display: none !important;
}
.me-body.is-rights .me-pane {
  padding: 0;
  overflow: hidden;
}
.me-rights-pane {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #eef2f3;
  font-size: 12px;
}
.me-rights-pane .skyland-notify-title b {
  font-size: 15px;
  font-weight: 800;
}
.me-right-tabs {
  background: #fff;
  min-height: 40px;
}
.me-right-tabs button {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px 7px;
}
.me-rights-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px 20px;
  background: #eef2f3;
}
.me-rights-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px 10px 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.me-rights-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.me-rights-card-head b {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}
.me-rights-card-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #5f6e75;
}
.me-rights-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: #087f8c;
}
.me-rights-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #087f8c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.me-rights-group {
  margin: 0 0 6px;
  border-radius: 10px;
  background: #f4f6f7;
  overflow: hidden;
}
.me-rights-group > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  cursor: pointer;
}
.me-rights-group > summary::-webkit-details-marker {
  display: none;
}
.me-rights-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  border: 1.5px solid #c5ced2;
  background: #fff;
  box-sizing: border-box;
}
.me-rights-dot.is-on {
  border-color: #1faa59;
  background: #1faa59;
  box-shadow: inset 0 0 0 3px #fff;
}
.me-rights-gname {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.me-rights-gname i {
  font-style: normal;
  font-weight: 650;
  color: #6b7780;
}
.me-rights-chev {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #90a4ae;
  border-bottom: 1.6px solid #90a4ae;
  transform: rotate(45deg);
  margin-top: -3px;
}
.me-rights-group[open] > summary .me-rights-chev {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.me-rights-subs {
  padding: 0 8px 8px 34px;
}
.me-rights-subs .me-right-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
  min-height: 28px;
  font-size: 11.5px;
  font-weight: 650;
  color: #33464b;
  border: 0;
}
.me-rights-subs .me-right-check input {
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin: 0;
  padding: 0;
  flex: 0 0 14px;
  accent-color: #1faa59;
  pointer-events: none;
}
@media (min-width: 900px) {
  .me-rights-pane .skyland-notify-title b {
    font-size: 16px;
  }
  .me-right-tabs button {
    font-size: 13px;
  }
  .me-rights-gname {
    font-size: 13px;
  }
  .me-rights-subs .me-right-check {
    font-size: 12px;
    min-height: 30px;
  }
}
.me-right-label {
  margin: 4px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #8a969c;
}
.me-right-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: #1a1a1a;
}
.me-right-row span {
  font-weight: 650;
}
.me-right-row b {
  font-weight: 700;
  color: #087f8c;
  text-align: right;
}
.me-profile-sheet.is-view .me-edit {
  display: none !important;
}
.me-profile-sheet.is-edit .me-view {
  display: none !important;
}
.me-profile-sheet.is-view #meSaveBtn,
.me-profile-sheet.is-view #meCancelBtn {
  display: none;
}
.me-profile-sheet.is-edit #meEditBtn {
  display: none;
}
.me-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.me-op-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px;
}
.me-settings-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #122026;
}
.me-pass-box {
  margin-top: 0;
  padding-top: 18px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.me-settings-sub {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #122026;
}
.me-pass-box label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #5a6b70;
}
.me-pass-box input {
  padding: 11px 12px;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  font-size: 16px;
  min-height: 44px;
  background: #fbfcfc;
  appearance: none;
  -webkit-appearance: none;
}
.me-pass-box input:focus {
  outline: none;
  border-color: #0d7a86;
  background: #fff;
}
.me-pass-box .note.ok {
  color: #1b7a4a;
}
.me-pass-box .me-submit {
  min-height: 44px;
  margin-top: 4px;
}
#meSettingsPane .note {
  margin: 0;
  line-height: 1.45;
  color: #6a7b81;
}
#meSettingsPane #logoutBtn {
  background: #fff;
  color: #243338;
  border: 1px solid #d7e0e3;
  font-weight: 650;
}
#meSettingsPane #logoutBtn:hover,
#meSettingsPane #logoutBtn:focus-visible {
  background: #f6f8f8;
}
html.desk-ui .me-settings:not(.me-settings-shell) {
  max-width: 440px;
  margin: 0 auto;
}
#mePassMsg:empty {
  display: none;
}
.me-kv b a {
  color: #087f8c;
  font-weight: 800;
  text-decoration: none;
}
.me-profile-savebar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 12px 0;
  padding: 12px 4px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}
.me-profile-savebar .me-submit-ghost {
  background: #fff;
}
.me-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: #e8f3f4;
  color: #087f8c;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}
.me-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-user-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8f3f4;
  flex: 0 0 36px;
}
.me-submit {
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 44px;
  background: #0d6e78;
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.me-submit-ghost {
  background: #fff;
  color: #243338;
  border: 1px solid #d7e0e3;
}
.me-submit-danger {
  background: #c62828;
  color: #fff;
}
.me-body {
  background: #f3f5f6;
  padding-bottom: 0;
  font-family: "Manrope", Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.me-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f3f5f6;
}
.me-shell > .skyland-notify-head,
.me-shell > .me-main-tabs {
  background: #fff;
}
.me-head-pad {
  visibility: hidden;
  pointer-events: none;
}
.me-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px 88px;
}
.me-tab-pane[hidden] {
  display: none !important;
}
a.skyland-mine-goto,
button.skyland-mine-goto,
a.skyland-mine-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
button.skyland-mine-goto {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 900px) {
  .me-body {
    background: #eef3f4;
    padding-bottom: 72px;
  }
  .me-shell {
    width: min(480px, calc(100vw - 32px));
    min-height: min(720px, calc(100vh - 120px));
    max-height: calc(100vh - 120px);
    margin: 24px auto 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
  }
  .me-pane {
    padding-bottom: 24px;
  }
}
html.me-embed,
body.me-embed {
  background: #fff;
  height: 100%;
  padding-bottom: 0;
}
body.me-embed .dock {
  display: none !important;
}
body.me-embed .me-shell {
  width: 100%;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
body.me-embed .me-pane {
  padding-bottom: 16px;
}
.org-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.org-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.org-table th, .org-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #eef2f4;
  white-space: nowrap;
}
.org-table th { color: #546e7a; font-size: 12px; font-weight: 700; }
#orgRosterHint:empty { display: none; }
@media (max-width: 899px) {
  #orgRoster .org-table th:nth-child(5),
  #orgRoster .org-table td:nth-child(5) {
    white-space: normal;
    min-width: 7.5rem;
  }
}
.admin-org-form { align-items: center; }
.admin-org-form p { flex: 1 1 100%; margin: 0; }
.note { color: #546e7a; font-size: 13px; }
.badge {
  background: #e0f4f6;
  color: #066c76;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.meta { font-size: 13px; color: #546e7a; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (min-width: 900px) {
  .card-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .card-fields .kv.kv-span {
    grid-column: 1 / -1;
  }
}
.chip {
  display: inline-block;
  border: 1px solid #1593a0;
  color: #087f8b;
  background: #fff;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.sync-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-users { margin: 0 0 20px; padding: 14px; border: 1px solid #d5dee3; border-radius: 12px; background: #fff; }
.admin-users h2 { margin: 0 0 8px; font-size: 16px; }
.stats-body .news-main {
  padding-bottom: 88px;
}
.org-khoi-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 100%;
}
.org-khoi-add input {
  flex: 1 1 180px;
  padding: 8px 10px;
  border: 1px solid #c5d0d6;
  border-radius: 8px;
}
.org-khoi-add button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #087f8c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.admin-user-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.admin-user-form input, .admin-user-form select { flex: 1 1 140px; padding: 8px 10px; border: 1px solid #c5d0d6; border-radius: 8px; }
.admin-user-form button { padding: 8px 12px; border: 0; border-radius: 8px; background: #087f8c; color: #fff; font-weight: 700; cursor: pointer; }
.admin-user-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #eef2f4; font-size: 13px; }
.admin-user-row.is-pending { background: #fff8ef; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 10px; }
.admin-user-row button.danger { border-color: #b23b3b; color: #b23b3b; }
.admin-user-row .admin-user-meta { flex: 1 1 220px; }
.admin-user-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-user-row > .admin-edit-panel,
.admin-user-row > .admin-org-form {
  flex: 1 1 100%;
}
.admin-user-row > .admin-org-form {
  margin: 4px 0 0;
  padding: 10px;
  border: 1px solid #cfe3e6;
  border-radius: 12px;
  background: #f4fafb;
}
.admin-edit-panel {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #e7ecee;
  border-radius: 16px;
  background: #fff;
}
.admin-edit-msg {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}
.admin-edit-msg.is-ok { color: #0b7a3b; }
.admin-edit-msg.is-err { color: #b23b3b; }
.admin-edit-msg.is-busy { color: #5a6a72; }
.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.admin-edit-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #5a6a72;
}
.admin-edit-field input,
.admin-edit-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #c5d0d6;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a2226;
  background: #fff;
}
.admin-edit-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 10px 0;
  font-size: 13px;
  font-weight: 650;
  color: #2c3a40;
}
.admin-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-edit-actions button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #087f8c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.admin-edit-actions button[data-edit-cancel] {
  background: #fff;
  color: #087f8c;
  border: 1px solid #087f8c;
}
@media (max-width: 720px) {
  .admin-edit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-user-acts {
    width: 100%;
  }
}
.admin-ava-upload {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #087f8c;
  margin-right: 8px;
}
.admin-ava-upload input {
  max-width: 140px;
}
.ghost-btn {
  border: 1px solid #087f8c;
  background: #fff;
  color: #087f8c;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.feed-more-wrap { text-align: center; }
.hidden { display: none !important; }
.map-header-more,
.map-more-item,
.map-wr-item,
.map-me-item,
#btnBatchImportMapWrap { display: none; }
.map-cust-item { display: flex; }
.map-more-menu {
  position: fixed;
  z-index: 12040;
  min-width: 188px;
  padding: 6px;
  border: 1px solid #d5dee3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 43, 60, 0.22);
}
.map-more-menu button,
.map-more-menu a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.map-more-menu button:hover,
.map-more-menu a:hover {
  background: #e8f6f7;
  color: #087f8c;
}
.map-more-settings-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.map-more-gear {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}
.map-more-people {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 19c.6-2.8 2.8-4.5 6-4.5s5.4 1.7 6 4.5'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M21 19c-.5-2.2-2-3.6-4.2-4'/%3E%3C/svg%3E");
}
.map-more-wr {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V9l9-5 9 5v11'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}
.map-more-person {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.4-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E");
}
.map-settings-panel {
  display: none;
}
@media (min-width: 900px) {
  .map-settings-panel:not(.hidden) {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    right: 16px;
    bottom: 118px;
    z-index: 36;
    width: min(320px, calc(100vw - 36px));
    overflow: auto;
    border: 1px solid rgba(213, 222, 227, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(15, 43, 60, 0.2);
  }
  #mapCustomersPanel.map-settings-panel:not(.hidden) {
    width: min(720px, calc(100vw - 36px));
    overflow: hidden;
  }
  #mapCustomersPanel .cust-main,
  #mapCustomersPanel .news-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
}
.map-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px 16px;
  border-bottom: 1px solid #eef2f4;
}
.map-settings-head strong {
  color: #0b4f56;
  font-size: 16px;
}
.map-settings-head button {
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef3f4;
  font-size: 20px;
  cursor: pointer;
}
.map-settings-list {
  padding: 4px 0 10px;
}
.map-set-block {
  border-bottom: 1px solid #eef2f4;
}
.map-set-block summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  color: #1a1a1a;
}
.map-set-block summary::-webkit-details-marker {
  display: none;
}
.map-set-block summary::after {
  content: "▾";
  float: right;
  color: #087f8c;
}
.map-set-block[open] summary::after {
  content: "▴";
}
.map-set-body {
  padding: 0 16px 12px;
}
.map-set-body p {
  margin: 0 0 10px;
  color: #546e7a;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}
.map-set-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.map-set-body button,
.map-set-actions button {
  border: 1px solid #c5d0d6;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  color: #087f8c;
  font-weight: 800;
  cursor: pointer;
}
.map-set-body .cust-dd-btn {
  font-weight: 400;
  font-size: 13px;
  color: #333;
  padding: 8px 10px;
  border-radius: 8px;
}
.map-set-logout {
  display: block;
  width: calc(100% - 24px);
  margin: 10px 12px 4px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: #f4e8e8;
  color: #b23b3b;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.cust-badge {
  display: inline-block;
  margin-left: 6px;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}
.cust-code-row {
  font-size: 13px;
  color: #4a5d63;
}
.cust-code-row b {
  color: #0b4f56;
  font-size: 15px;
}
.cust-need-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.cust-need-form input,
.cust-need-form select,
.cust-need-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #c5d0d6;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
}
.cust-need-form textarea {
  resize: vertical;
  box-sizing: border-box;
}
.cust-dd {
  position: relative;
}
.cust-dd-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #c5d0d6;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.cust-dd-btn span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cust-dd.open .cust-dd-btn {
  border-color: #087f8c;
}
.cust-dd-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 8;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #c5d0d6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 43, 60, 0.16);
}
.cust-dd.open .cust-dd-menu {
  display: block;
}
.cust-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}
.cust-dd-item:hover {
  background: #eef6f7;
}
.cust-need-form .cust-dd-item input {
  width: auto;
  padding: 0;
  border: 0;
}
.cust-need-form > button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* ===== CUSTOMER FORM - GPS BUTTON & FINANCE =====  */
.cust-secondary {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d4dfe3;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f5f8fa;
  color: #1a5a66;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cust-secondary:hover:not(:disabled) {
  background: #e8f4f5;
  border-color: #087f8c;
  color: #087f8c;
}

.cust-secondary:active:not(:disabled) {
  background: #d4e7e9;
}

.cust-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cust-need-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px 16px;
  padding-right: 30px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#custFinanceRange:not([hidden]) {
  display: block;
}

#custFinanceCustom:not([hidden]),
#custFinanceCustomWrap:not([hidden]) {
  display: block;
}

#custFinanceRange[hidden],
#custFinanceCustom[hidden],
#custFinanceCustomWrap[hidden] {
  display: none !important;
}

#custNeedMsg:empty {
  display: none;
}
.cust-row {
  padding: 8px 0;
  border-top: 1px solid #eef2f4;
  font-size: 13px;
}
.cust-row b { color: #0b4f56; }
.cust-row-delete {
  margin: 6px 0 0 0;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 10px;
}
.cust-new {
  color: #b23b3b;
  font-weight: 800;
  font-size: 12px;
}
.cust-need-loc {
  margin-top: 4px;
  color: #5b6f74;
  font-size: 12px;
}

/* ============================================================ */
/* === [SECTION: CUSTOMER_LEADS_AND_MANAGEMENT] === */
/* ============================================================ */
.map-set-body .cust-head {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.cust-source-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
}
body.cust-page .cust-source-jump,
#mapCustomersPanel .cust-source-jump {
  display: none !important;
}
.cust-source-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cust-source-jump-q {
  flex: 1 1 140px;
  min-width: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cust-head {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.cust-count {
  color: #087f8c;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}
.cust-card {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid #dce7e9;
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
}
.cust-card .cust-head {
  padding: 0;
  font-size: 15px;
}
.cust-card-meta {
  margin-top: 4px;
  color: #546e7a;
  font-size: 12px;
}
.cust-card .cust-matches {
  margin-top: 8px;
}
@media (min-width: 900px) {
  .cust-source-jump-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}
.cust-tabs {
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.cust-tabs::-webkit-scrollbar {
  display: none;
}
.cust-tabs .cust-tab-map {
  margin-left: auto;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  color: #087f8c;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}
.cust-tabs .cust-tabs-hide {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 10px 12px;
  color: #607d83;
  font-size: 12px;
}
.cust-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cust-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.cust-tier-badge.tier-vip,
.cust-tier-badge.tier-khach_vip {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fcd34d;
}
.cust-tier-badge.tier-net,
.cust-tier-badge.tier-khach_net {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
.cust-tier-badge.tier-quen,
.cust-tier-badge.tier-khach_quen {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
}
.cust-tier-badge.tier-can_goi_lai,
.cust-tier-badge.tier-goi_lai {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde047;
}
.cust-tier-badge.tier-moi,
.cust-tier-badge.tier-khach_moi {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.cust-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.cust-status-badge.status-tim_mua {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.cust-status-badge.status-tim_thue {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.cust-status-badge.status-dang_ban {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}
.cust-status-badge.status-da_di_xem {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.cust-status-badge.status-goi_lai {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.cust-status-badge.status-het_nhu_cau {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.cust-status-badge.status-chua_nhu_cau {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}
.cust-form-row-2,
.cust-detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cust-field-lbl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.cust-familiar-pane {
  display: flex;
  flex-direction: column;
}
.cust-familiar-pane[hidden],
.cust-need-sheet[hidden],
#custListPane[hidden] {
  display: none !important;
}
.cust-familiar-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
}
.cust-familiar-search-wrap input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  background: #fff;
  color: #1e293b;
}

/* Giữ icon filter đúng vị trí (tương tự tab Data) và tránh bị trôi khi layout desktop. */
.cust-familiar-search-wrap.cust-has-filter-toggle {
  position: relative;
}
.cust-familiar-search-wrap.cust-has-filter-toggle input[type="search"] {
  padding-right: 44px; /* chừa chỗ cho icon bộ lọc */
}

.cust-familiar-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cust-familiar-toolbar-row .cust-familiar-search-wrap {
  flex: 1;
  min-width: 0;
}

@media (max-width: 600px) {
  .cust-familiar-toolbar-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .cust-familiar-toolbar-row .cust-familiar-search-wrap {
    flex: 1 1 0%;
    min-width: 0;
  }

  .cust-familiar-toolbar-row .cust-quick-add-btn {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    font-size: 16px;
  }
}
.cust-familiar-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
@media (max-width: 600px) {
  .cust-familiar-filters {
    grid-template-columns: 1fr 1fr;
  }
}
.cust-filter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* prevent mobile layout overflow when long option labels exist */
}
.cust-filter-item label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.cust-filter-item select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #1e293b;
  min-height: 36px;
}
.cust-familiar-stats {
  margin-bottom: 12px;
  font-size: 13px;
  color: #475569;
}
.cust-familiar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cust-familiar-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cust-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cust-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cust-code {
  background: #f1f5f9;
  color: #0f766e;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.cust-name {
  font-size: 15px;
  color: #0f172a;
}
.cust-phone {
  font-size: 13px;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  background: #f0f9ff;
  padding: 2px 8px;
  border-radius: 6px;
}
.cust-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cust-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  padding: 6px 0;
  border-top: 1px dashed #f1f5f9;
  border-bottom: 1px dashed #f1f5f9;
}
.cust-meta-lbl {
  font-weight: 700;
  color: #64748b;
  font-size: 12px;
}
.cust-finance-val {
  font-weight: 750;
  color: #047857;
}
.cust-finance-sub {
  color: #94a3b8;
  font-size: 11px;
}
.cust-card-note {
  font-size: 13px;
  color: #475569;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.45;
}
.cust-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cust-action-status,
.cust-action-tier {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cust-action-status label,
.cust-action-tier label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.cust-quick-status-sel,
.cust-quick-tier-sel {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: #1e293b;
}
.cust-has-need-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
}
.cust-goto-need-btn {
  appearance: none;
  border: 0;
  background: #16a34a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cust-goto-need-btn:hover {
  background: #15803d;
}
.cust-fly-map-btn {
  appearance: none;
  border: 1px solid #087f8c;
  background: #f0fdfa;
  color: #087f8c;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cust-fly-map-btn:hover {
  background: #087f8c;
  color: #fff;
}
.cust-tab-icon {
  margin-right: 4px;
}
.cust-familiar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cust-quick-add-btn {
  appearance: none;
  border: 0;
  background: #087f8c;
  color: #fff;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cust-quick-add-btn:hover {
  background: #066570;
}
.cust-match-intro {
  margin-bottom: 10px;
}
.cust-form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
}
.cust-form-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f766e;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 4px;
}
.cust-location-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.cust-map-tools-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.cust-submit-btn {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #087f8c;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 127, 140, 0.3);
  transition: background 0.15s ease;
}
.cust-submit-btn:hover {
  background: #066570;
}
/* Map Customers Panel & Tabs */
.map-cust-tabs {
  display: flex;
  flex-wrap: nowrap;
  background: #f1f5f9;
  padding: 4px;
  gap: 4px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x manipulation;
  pointer-events: auto;
}
.map-cust-tabs button {
  flex: 1 0 auto;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 750;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: auto;
  touch-action: manipulation;
}
.map-cust-tabs button.is-on {
  background: #fff;
  color: #087f8c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.map-cust-pane {
  padding: 10px 12px;
}
.map-cust-pane[hidden] {
  display: none !important;
}
.map-cust-search-wrap input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
  color: #1e293b;
}
.map-cust-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.map-cust-filter-row select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: #1e293b;
}
.cust-tabs-restore,
.map-cust-restore {
  position: fixed;
  right: 14px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 35;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #087f8c;
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 127, 140, 0.28);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.map-cust-restore {
  z-index: 71;
}
.map-cust-source-back {
  position: fixed;
  left: 50%;
  top: calc(70px + env(safe-area-inset-top));
  z-index: 71;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: #087f8c;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 43, 60, 0.25);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.cust-empty-add {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cust-main #custListHint {
  margin: 0 0 12px;
}
.cust-status-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cust-status-tabs::-webkit-scrollbar {
  display: none;
}
.cust-status-tabs button {
  flex: 0 0 auto;
  border: 1px solid #d6e3e5;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #526e73;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.cust-status-tabs button.is-on {
  border-color: #087f8c;
  background: #087f8c;
  color: #fff;
}
.cust-assigned {
  margin-top: 5px;
  color: #7a5d12;
  font-size: 11px;
  font-weight: 750;
}
.cust-details {
  margin-top: 9px;
  border-top: 1px solid #e3ecee;
  padding-top: 10px;
}
.cust-detail-grid {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #f7fafb;
}
.cust-detail-need {
  color: #365b61;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.cust-detail-grid label {
  display: grid;
  gap: 4px;
  color: #49666b;
  font-size: 11px;
  font-weight: 800;
}
.cust-detail-grid textarea,
.cust-detail-grid select,
.cust-interaction-add input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfdee1;
  border-radius: 9px;
  padding: 8px 9px;
  background: #fff;
  color: #193d43;
  font: inherit;
  font-size: 12px;
  box-sizing: border-box;
}
.cust-detail-grid textarea {
  resize: vertical;
}
.cust-detail-save,
.cust-interaction-add button {
  border: 0;
  border-radius: 9px;
  padding: 9px 11px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.cust-action-msg {
  min-height: 16px;
  margin: -2px 0 0;
  color: #087f8c;
  font-size: 11px;
  font-weight: 750;
}
.cust-action-msg.is-error {
  color: #b42318;
}
.cust-interaction-add {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 6px;
}
.cust-interaction-add select {
  min-width: 0;
}
.cust-history {
  border-top: 1px solid #dce7e9;
  padding-top: 9px;
}
.cust-history > b {
  color: #244d53;
  font-size: 12px;
}
.cust-history ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.cust-history li {
  display: grid;
  gap: 2px;
  border-left: 3px solid #9bcdd2;
  padding-left: 8px;
}
.cust-history li b {
  color: #087f8c;
  font-size: 11px;
}
.cust-history li span {
  color: #294e54;
  font-size: 12px;
}
.cust-history li small {
  color: #789095;
  font-size: 10px;
}

.cust-history li.cust-interaction-history-item.is-active {
  background: #eff6ff;
  border-left-color: #3b82f6;
  border-radius: 10px;
  padding: 6px 8px 6px 0;
}

.cust-interaction-add.is-expanded {
  grid-template-columns: 1fr !important;
  background: #f0fdfa;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 12px;
  transform: scale(1.01);
}

@media (max-width: 599px) {
  .cust-interaction-add.is-expanded {
    transform: none;
  }
}
@media (max-width: 599px) {
  .cust-interaction-add {
    grid-template-columns: 1fr;
  }
}
.map-cust-page-link {
  margin-left: auto;
  margin-right: 4px;
  padding: 6px 8px;
  color: #087f8c;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.map-settings-head .map-cust-hide {
  width: auto;
  padding: 0 9px;
  color: #49676c;
  font-size: 12px;
  font-weight: 800;
}
@media (min-width: 900px) {
  .cust-tabs-restore {
    right: 24px;
    bottom: 24px;
  }
  .map-cust-restore {
    right: 18px;
    bottom: 120px;
  }
  .map-cust-source-back {
    left: auto;
    right: 18px;
    top: 76px;
    transform: none;
  }
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  background: #fff;
  border-top: 1px solid #d7e2e4;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  z-index: 20;
}
.dock-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 8px 10px;
  color: #5f7a80;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border-radius: 10px;
}
.dock-item.is-active { color: #087f8c; background: #e8f6f7; }
.map-body {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0a1010;
  padding-bottom: 56px;
}
#map { flex: 1; min-height: 240px; width: 100%; }
.map-boot-error {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: #dfe7ea;
  color: #17363b;
  font: 700 16px/1.45 Arial, sans-serif;
  text-align: center;
}
.map-boot-error[hidden] { display: none !important; }
.map-back-mine {
  position: fixed;
  z-index: 46;
  left: 12px;
  top: calc(58px + env(safe-area-inset-top, 0px));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  background: #fff;
  color: #087f8c;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 43, 60, 0.18);
}
.map-back-mine[hidden] {
  display: none !important;
}
html.desk-ui .map-back-mine {
  display: none !important;
}
.map-locate-btn {
  position: absolute;
  z-index: 12;
  right: 14px;
  top: auto;
  bottom: calc(84px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 22px 22px;
  box-shadow: 0 4px 14px rgba(15, 43, 60, 0.28);
  cursor: pointer;
  pointer-events: auto;
}
.maplibregl-ctrl-geolocate { display: none !important; }
.map-search {
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  background: #fff;
  padding: 8px;
  border-radius: 18px;
  position: relative;
  overflow: visible;
  /* Neo về bên phải để tránh bị căn giữa/độ rộng viewport thay đổi gây “trôi” */
  margin-left: auto;
  margin-right: 0;
}
.map-search-box {
  position: relative;
  flex: 1 1 160px;
  min-width: 140px;
}
.map-search-box input {
  width: 100%;
  padding-right: 44px;
}
.map-search-box:has(#mapSearchClear:not([hidden])) input {
  padding-right: 76px;
}
.map-search > #mapSearchBtn {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.map-search > #mapSearchBtn.is-busy {
  opacity: 0.72;
}
.map-search-filter {
  position: absolute;
  top: 50%;
  right: 4px;
  z-index: 6;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent center / 20px 20px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b71' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.map-search-filter.is-on {
  background-color: #e7f6f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
}
.map-search-filter[data-count]:not([data-count=""])::after {
  content: attr(data-count);
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #087f8c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}
body.map-body .feed-filter-sheet {
  z-index: 160200;
}
body.map-body.feed-filter-open .map-search,
body.map-body.feed-filter-open .map-locate-btn,
body.map-body.feed-filter-open .map-layer-panel,
body.map-body.feed-filter-open .action-dock,
body.map-body.feed-filter-open .dock {
  pointer-events: none;
}
.map-filter-x {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #e8eef0;
  color: #33464b;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
body.map-body .filter-panel.map-filter-sheet,
html.desk-ui body.map-body .filter-panel.map-filter-sheet {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 96;
  width: auto;
  max-width: none;
  max-height: min(58vh, calc(100dvh - 132px - env(safe-area-inset-bottom)));
  overflow: auto;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid #e5eef0;
  -webkit-overflow-scrolling: touch;
}
body.map-body .filter-panel.map-filter-sheet:not(.collapsed):not([hidden]),
html.desk-ui body.map-body .filter-panel.map-filter-sheet:not(.collapsed):not([hidden]) {
  display: block;
}
body.map-body .map-filter-sheet .filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  width: auto;
  height: auto;
}
body.map-body .map-filter-sheet .filter-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #17363b;
}
body.map-body .map-filter-sheet .filter-panel-content {
  display: block;
  margin-top: 0;
}
body.map-body .map-filter-sheet .filter-field {
  margin: 0 0 10px;
  position: relative;
}
body.map-body .map-filter-sheet .filter-label {
  display: block;
  margin-bottom: 4px;
  color: #5f7178;
  font-size: 11px;
  font-weight: 800;
}
body.map-body .map-filter-sheet .filter-dd-btn {
  width: 100%;
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d5dee2;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
body.map-body .map-filter-sheet .filter-dd-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  max-height: 160px;
  overflow: auto;
  margin-top: 4px;
  padding: 6px;
  border: 1px solid #d5dee2;
  border-radius: 10px;
  background: #fff;
}
body.map-body .map-filter-sheet .filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 14px;
}
body.map-body .map-filter-sheet .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
body.map-body .map-filter-sheet .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf8f9;
  color: #087f8c;
  font-size: 12px;
  font-weight: 800;
}
body.map-body .map-filter-sheet .filter-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
body.map-body .map-filter-sheet .filter-clear {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #087f8c;
  color: #fff;
  font-weight: 800;
}
.map-search-box input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.map-search-clear {
  position: absolute;
  right: 38px;
  top: 50%;
  z-index: 3;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8eef0;
  color: #33464b;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.map-search-clear[hidden] {
  display: none !important;
}
.map-search-nav .map-search-nav-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e8eef0;
  color: #33464b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.map-search-hits {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  max-height: min(62vh, 460px);
  overflow: auto;
  background: #fff;
  color: #0f172a;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid #e5eef0;
  padding: 6px;
}
body.map-body {
  touch-action: manipulation;
  overscroll-behavior: none;
}
body.map-body #map,
body.map-body .maplibregl-canvas-container,
body.map-body .maplibregl-canvas {
  touch-action: pan-x pan-y pinch-zoom;
}
body.map-body .app-header,
body.map-body .map-search,
body.map-body .map-search-box,
body.map-body .map-search-box input,
body.map-body .map-search > button,
body.map-body .map-search-filter,
body.map-body .map-layer-panel,
body.map-body .map-layer-toggle,
body.map-body .filter-panel,
body.map-body .filter-toggle,
body.map-body .action-dock,
body.map-body .map-more-menu,
body.map-body .map-locate-btn,
body.map-body .map-back-mine,
body.map-body #skylandMapNav,
body.map-body #skylandLeadBar,
html.desk-ui .desk-shell,
html.desk-ui .desk-toggle {
  touch-action: manipulation;
  overscroll-behavior: contain;
}
body.map-body .map-search-hits,
body.map-body .map-layer-menu,
body.map-body .filter-panel:not(.collapsed),
body.map-body .map-more-menu,
html.desk-ui .desk-nav {
  touch-action: pan-y;
}
.map-search-hits .map-search-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  border: 0;
  border-left: 4px solid transparent;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.map-search-hits .map-search-hit b {
  font-size: 13px;
  color: #0f766e;
  font-weight: 800;
}
.map-search-hits .map-search-hit span {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
  line-height: 1.3;
}
.map-search-hit-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}
.map-search-hit-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.map-search-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
/* Priority borders and tints */
.map-search-hits .map-search-hit.is-pri-hit-doc {
  border-left: 4px solid #ff1744;
  background: #fff8f9;
}
.map-search-hits .map-search-hit.is-pri-hit-giam {
  border-left: 4px solid #ff7a00;
  background: #fffcf8;
}
.map-search-hits .map-search-hit.is-pri-hit-tot {
  border-left: 4px solid #e3b900;
  background: #fffdf0;
}
.map-search-hits .map-search-hit.is-pri-hit-moi {
  border-left: 4px solid #06b6d4;
  background: #f6fdff;
}
.map-search-hits .map-search-hit.is-pri-hit-nho {
  border-left: 4px solid #0d9488;
  background: #f0fdfa;
}
.map-search-hits .map-search-hit.is-pri-hit-doc.is-on,
.map-search-hits .map-search-hit.is-pri-hit-doc:hover {
  background: #ffebee;
}
.map-search-hits .map-search-hit.is-pri-hit-giam.is-on,
.map-search-hits .map-search-hit.is-pri-hit-giam:hover {
  background: #fff3e0;
}
.map-search-hits .map-search-hit.is-pri-hit-tot.is-on,
.map-search-hits .map-search-hit.is-pri-hit-tot:hover {
  background: #fffde7;
}
.map-search-hits .map-search-hit.is-pri-hit-moi.is-on,
.map-search-hits .map-search-hit.is-pri-hit-moi:hover {
  background: #e0f7fa;
}
.map-search-hits .map-search-hit.is-pri-hit-nho.is-on,
.map-search-hits .map-search-hit.is-pri-hit-nho:hover {
  background: #e6fffa;
}
.map-search-hits-head {
  padding: 8px 12px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #5b6b71;
}
.map-search-hits .map-search-hit.is-on,
.map-search-hits .map-search-hit:hover {
  background: #ecfeff;
  color: #0f172a;
}
.map-search-section-title {
  padding: 5px 10px 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.map-search-map-suggestions {
  padding-bottom: 5px;
  border-bottom: 1px solid #e5eef0;
}
.map-search-hits .map-search-hit.is-map-suggestion {
  background: #ecfeff;
  border: 1px solid #b7eef0;
}
.map-search-hits .map-search-hit.is-map-suggestion b::before {
  content: "⌖ ";
  color: #087f8c;
}
.map-search-hits .map-search-hit.is-place-hanh-chinh {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
}
.map-search-hits .map-search-hit.is-place-xa-cu,
.map-search-hits .map-search-hit.is-place-phuong {
  border-left-color: #d97706;
}
.map-search-hits .map-search-hit.is-place-xa-moi {
  border-left-color: #087f8c;
}
.map-search-hits .map-search-hit.is-place-thon {
  border-left-color: #2563eb;
}
.map-search-source-results {
  padding-top: 5px;
}
.map-search-source-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: stretch;
  gap: 6px;
}
.map-search-sources-toggle {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f766e;
  text-align: left;
  cursor: pointer;
}
.map-search-sources-toggle span {
  font-size: 13px;
  font-weight: 850;
}
.map-search-sources-toggle small {
  color: #64748b;
  font-size: 11px;
  font-weight: 650;
}
.map-search-sources-toggle i::before {
  content: "⌄";
  display: block;
  color: #0f766e;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.15s ease;
}
.map-search-sources-toggle[aria-expanded="true"] i::before {
  transform: rotate(180deg);
}
.map-search-sort-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 3px 6px;
  border: 1px solid #d5e2e5;
  border-radius: 10px;
  background: #fff;
}
.map-search-sort-select > span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}
.map-search-sort-select select {
  width: 100%;
  height: 22px;
  padding: 0 18px 0 0;
  border: 0;
  background: #fff;
  color: #17363b;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.map-search-source-list {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.map-search-tools {
  display: none;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.map-search-tools:has(> :not([hidden])) {
  display: flex;
}
.map-search-count {
  display: none;
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
  white-space: nowrap;
  line-height: 28px;
  padding: 0 2px;
  margin-left: auto;
  position: relative;
  z-index: 220;
}
.map-search-count[hidden] {
  display: none !important;
}
.map-search-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.map-search-nav[hidden],
.map-search-hits[hidden],
.map-search-hits:empty {
  display: none !important;
}
.map-search-nav button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 800;
  cursor: pointer;
}
.map-search-nav span {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  min-width: 36px;
  text-align: center;
  white-space: nowrap;
}
.map-search-nav span.is-map-toggle {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.map-search-nav #mapSearchAll {
  width: auto;
  height: 28px;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 11px;
}
.map-search-nav .map-search-source-toggle {
  width: auto;
  min-width: 58px;
  height: 28px;
  padding: 0 7px;
  border-radius: 8px;
  background: #f0fdfa;
  font-size: 11px;
  white-space: nowrap;
}
.map-search-nav .map-search-source-toggle.is-on {
  background: #087f8c;
  color: #fff;
}
.map-search-nav .map-search-source-sort {
  width: 88px;
  height: 28px;
  min-width: 0;
  padding: 0 4px;
  border: 1px solid #cbdadd;
  border-radius: 8px;
  background: #fff;
  color: #17363b;
  font-size: 10px;
  font-weight: 750;
}
.map-search-nav .map-search-source-toggle[hidden],
.map-search-nav .map-search-source-sort[hidden] {
  display: none !important;
}
.map-search-hit.is-gia-tot b::before {
  content: "★ ";
  color: #ca8a04;
}
.chip-fill {
  background: #087f8c;
  color: #fff;
  border-color: #087f8c;
}
.kv {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #eef3f4;
  font-size: 13px;
}
.kv span { color: #78909c; }
.kv b { font-weight: 700; color: #103d43; }

/* ============================================================ */
/* === [SECTION: MAP_POPUPS_AND_SHEET_CONTROLS] === */
/* ============================================================ */
.skyland-popup {
  z-index: 22 !important;
  width: 320px !important;
  max-width: min(320px, calc(100vw - 32px)) !important;
}
.skyland-popup .maplibregl-popup-content {
  padding: 0;
  width: 320px;
  min-width: 0;
  max-width: min(320px, calc(100vw - 32px));
  max-height: min(56vh, 460px);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid #e8eef0;
  box-shadow: 0 18px 48px rgba(16, 61, 67, 0.16);
  background: #fff;
}
.skyland-popup .maplibregl-popup-close-button {
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 28px;
  padding: 0;
  right: 10px;
  top: 10px;
  border-radius: 50%;
  background: #f3f6f7;
  color: #5c7176;
  z-index: 2;
}
@media (min-width: 900px) {
  body:not(.is-mobile-map) .skyland-map-sheet { display: none !important; }
  .skyland-popup .maplibregl-popup-content {
    width: 320px;
    min-width: 0;
    max-width: 320px;
    max-height: min(56vh, 460px);
  }
}
html.desk-ui .skyland-popup .maplibregl-popup-content {
  width: 320px;
  min-width: 0;
  max-width: 320px;
}
.skyland-v63-popup { padding: 8px 30px 8px 8px; font-size: 11px; line-height: 1.25; }

/* ============================================================ */
/* === [SECTION: SOURCE_CARDS_AND_PRIORITY_CHIPS] === */
/* ============================================================ */
.skyland-priority-box {
  margin: 0 0 6px;
  padding: 5px 6px;
  border: 1px solid #f5c400;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255,248,210,0.96), rgba(255,255,255,0.98));
}
.skyland-priority-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.skyland-priority-title {
  margin: 0;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  color: #8a6500;
  white-space: nowrap;
}
.skyland-priority-chips {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
}
.skyland-priority-empty {
  color: #9a8a4a;
  font-size: 9px;
  font-weight: 700;
}
.skyland-priority-toggle {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid #e3b900;
  border-radius: 999px;
  background: #fff8d6;
  color: #8a6500;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.skyland-v63-priority-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: 5px;
  overflow-x: auto;
}
.skyland-priority-option {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 3px 6px;
  gap: 4px;
  border: 1px solid #e7ecee;
  border-radius: 999px;
  background: #fff;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 700;
  color: #31555a;
  white-space: nowrap;
  cursor: pointer;
}
.skyland-priority-option input {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  accent-color: #087f8c;
  opacity: 1;
}
.skyland-priority-badge {
  padding: 2px 6px;
  border: 1px solid #e3b900;
  border-radius: 999px;
  background: #fff4b8;
  color: #8a6500;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.skyland-v63-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(108px, 118px);
  gap: 6px;
  align-items: center;
  margin: 0 0 5px;
}
.skyland-v63-code {
  min-width: 0;
  overflow: hidden;
  padding: 5px 7px;
  border: 1px solid #edf1f2;
  border-radius: 8px;
  background: #f7fafb;
  font-size: 11px;
}
.skyland-v63-code-line {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skyland-v63-code-label { color: #829096; font-weight: 800; }
.skyland-v63-code strong { color: #087f8c; font-size: 12px; }
.skyland-v63-updated {
  display: block;
  margin-top: 2px;
  color: #087f8c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}
.skyland-v63-contact .skyland-v63-info-value a,
.skyland-v63-contact a { color: #087f8c; }
.skyland-v63-status { min-width: 0; }
.skyland-v63-status .skyland-status-select,
.skyland-v63-status-select {
  height: 32px;
  font-size: 10px;
}
.skyland-v63-status-readonly {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 7px;
  border: 1px solid #b9d9dc;
  border-radius: 999px;
  background: #f4fbfb;
  color: #31555a;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.skyland-v63-types { display: flex; flex-wrap: wrap; gap: 3px; margin: 0 0 5px; }
.skyland-v63-hero {
  margin: 0 0 5px;
  padding: 5px 7px;
  border: 1px solid #dceff1;
  border-radius: 8px;
  background: #f3fafb;
  color: #087f8c;
  font-size: 12px;
  font-weight: 800;
}
.skyland-v63-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 6px;
}
.skyland-v63-info-item {
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid #edf1f2;
  border-radius: 8px;
  background: #fff;
}
.skyland-v63-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 6px;
}
.skyland-valuation-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}
.skyland-valuation-controls .popup-action-btn {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid;
  background: #fff;
  transition: all 0.2s ease;
}
.skyland-valuation-controls .popup-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.popup-manage-valuation {
  background: #e7f3ff !important;
  border-color: #2196F3 !important;
  color: #333 !important;
}
.popup-manage-valuation:hover {
  background: #cce5ff !important;
}

  /* ============================================================ */
/* === PHASE 5: ROAD VALUATION FORM === */
/* ============================================================ */

.road-valuation-form-wrapper {
  padding: 0;
  margin: 0;
}

.road-valuation-form-wrapper .form-container {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  max-width: 100%;
}

.road-valuation-form-wrapper .form-header {
  margin-bottom: 12px;
}

.road-valuation-form-wrapper .form-header h5 {
  margin: 0 0 4px 0;
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.road-valuation-form-wrapper .form-header small {
  font-size: 11px;
  color: #666;
  display: block;
}

.road-valuation-form-wrapper .form-group {
  margin-bottom: 12px;
}

.road-valuation-form-wrapper .form-label {
  font-weight: 600;
  font-size: 12px;
  display: block;
  margin-bottom: 4px;
  color: #333;
}

.road-valuation-form-wrapper .form-control,
.road-valuation-form-wrapper .form-control-sm,
.road-valuation-form-wrapper select {
  display: block;
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: Arial, system-ui, sans-serif;
}

.road-valuation-form-wrapper select {
  cursor: pointer;
}

.road-valuation-form-wrapper .form-control:focus,
.road-valuation-form-wrapper select:focus,
.road-valuation-form-wrapper textarea:focus {
  outline: none;
  border-color: #2196F3;
  box-shadow: 0 0 4px rgba(33, 150, 243, 0.2);
}

.road-valuation-form-wrapper textarea {
  resize: vertical;
  min-height: 50px;
}

.road-valuation-form-wrapper .form-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.road-valuation-form-wrapper .btn {
  padding: 6px 12px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.road-valuation-form-wrapper .btn-primary {
  background: #2196F3;
  color: #fff;
}

.road-valuation-form-wrapper .btn-primary:hover {
  background: #1976D2;
}

.road-valuation-form-wrapper .btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.road-valuation-form-wrapper .btn-secondary:hover {
  background: #e0e0e0;
}
.skyland-v63-type {
  padding: 3px 6px;
  border: 1px solid #b9dfe2;
  border-radius: 999px;
  background: #eaf8f9;
  color: #087f8c;
  font-size: 9px;
  font-weight: 800;
}
.skyland-v63-span-2 { grid-column: 1 / -1; }
.skyland-v63-info-label {
  display: block;
  margin-bottom: 1px;
  color: #829096;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}
.skyland-v63-info-value {
  display: block;
  color: #26363b;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.skyland-v63-sale .skyland-v63-info-value { color: #087f8c; font-weight: 800; }

/* ============================================================ */
/* === PHASE 3: VALUATION ROAD DISPLAY === */
/* ============================================================ */

.skyland-v63-valuation-box {
  grid-column: 1 / -1;
  padding: 8px;
  border: 2px solid #087f8c;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fafb 0%, #e6f5f7 100%);
  margin-top: 4px;
}

.skyland-v63-valuation-header {
  color: #087f8c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.skyland-v63-valuation-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skyland-v63-valuation-method {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.skyland-v63-valuation-badge {
  display: inline-block;
  padding: 2px 6px;
  background: #087f8c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
}

.skyland-v63-valuation-best-price-tag {
  display: inline-block;
  padding: 2px 6px;
  background: #ffc107;
  color: #333;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
}

.skyland-v63-valuation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  font-size: 10px;
}

.skyland-v63-valuation-label {
  color: #829096;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.skyland-v63-valuation-value {
  color: #087f8c;
  font-size: 11px;
  font-weight: 800;
}

.skyland-v63-valuation-item-small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
  font-size: 9px;
}

.skyland-v63-valuation-label-small {
  color: #829096;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.skyland-v63-valuation-value-small {
  color: #26363b;
  font-size: 9px;
  font-weight: 700;
}
.skyland-v63-actions .popup-link {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 30px;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
  background: #0b8f9c;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.https-gps-bar {
  display: none;
}
.https-gps-bar:not([hidden]) {
  display: block;
  position: relative;
  z-index: 50;
  padding: 8px 12px;
  background: #fff4d6;
  color: #5c4300;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.https-gps-bar a {
  color: #0b57d0;
}
.skyland-gps-help {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400200;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}
.skyland-gps-help.is-open {
  display: flex;
}
.skyland-gps-help-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.skyland-gps-help-title {
  font-size: 17px;
  font-weight: 800;
  color: #087f8c;
  margin-bottom: 8px;
}
.skyland-gps-help-lead {
  margin: 0 0 10px;
  color: #44555a;
  font-size: 13px;
  line-height: 1.45;
}
.skyland-gps-help-steps {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #334248;
  font-size: 13px;
  line-height: 1.45;
}
.skyland-gps-help-steps li {
  margin-bottom: 6px;
}
.skyland-gps-help-retry,
.skyland-gps-help-close {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.skyland-gps-help-retry {
  background: #087f8c;
  color: #fff;
  margin-bottom: 8px;
}
.skyland-gps-help-close {
  background: #eef1f5;
  color: #333;
}
.action-sheet {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}
.action-sheet.hidden { display: none !important; }
.action-sheet-card {
  width: min(440px, 92vw);
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px;
  padding: 22px 20px 20px;
  position: relative;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
}
.action-sheet-card h2 { margin: 0 36px 8px 0; color: #122026; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.action-sheet-card p { margin: 0 0 12px; color: #6a7b81; line-height: 1.45; }
.action-sheet-card textarea {
  width: 100%;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fbfcfc;
}
.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: #f4f6f7;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 20px;
  color: #5a6b70;
  cursor: pointer;
}
.filter-panel { display: none; }
@media (min-width: 900px) {
  .filter-panel {
    display: block;
    position: fixed;
    top: 72px;
    left: 12px;
    z-index: 34;
    width: 280px;
    max-width: calc(100vw - 24px);
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.22);
  }
  .filter-panel.collapsed {
    width: 58px;
    min-width: 58px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .filter-title {
    font-size: 15px;
    font-weight: 800;
    color: #222;
  }
  .filter-panel.collapsed .filter-title,
  .filter-panel.collapsed .filter-panel-content {
    display: none;
  }
  .filter-toggle {
    flex: 0 0 auto;
    width: 36px;
    height: 32px;
    border: 1px solid #dfe6e8;
    border-radius: 10px;
    background: #fff;
    color: #087f8c;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
  }
  .filter-panel.collapsed .filter-header {
    width: 58px;
    height: 42px;
    justify-content: center;
  }
  .filter-panel.collapsed .filter-toggle {
    width: 58px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
    color: #263b55;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
  }
  .filter-panel.collapsed .filter-toggle::before {
    content: "";
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6.5 7.3v5.2l-3 1.5v-6.7L4 5z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  }
  .map-layer-panel {
    display: block;
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 37;
  }
  .map-layer-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid #dfe6e8;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263b55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7l9 5 9-5-9-5z'/%3E%3Cpath d='M3 12l9 5 9-5'/%3E%3Cpath d='M3 17l9 5 9-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
    cursor: pointer;
  }
  .map-layer-menu {
    display: none;
    margin-top: 6px;
    min-width: 196px;
    padding: 8px;
    border: 1px solid #d5dee3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 43, 60, 0.18);
  }
  .map-layer-panel:not(.collapsed) .map-layer-menu {
    display: block;
  }
  .map-layer-group-title {
    margin: 6px 4px 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .map-layer-group-title:first-child {
    margin-top: 0;
  }
  .map-layer-hint {
    margin: 0 4px 8px;
    color: #78909c;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
  }
  .map-layer-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .map-layer-check:hover {
    background: #f1f5f7;
  }
  .map-layer-check input {
    width: 16px;
    height: 16px;
    accent-color: #087f8c;
  }
  .untapped-reveal-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 6px 4px 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f3f7f8;
  }
  .untapped-reveal-bar[hidden] {
    display: none !important;
    pointer-events: none !important;
  }
  .untapped-reveal-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  .untapped-reveal-check input {
    width: 15px;
    height: 15px;
    accent-color: #0d9488;
  }
  .map-untapped-reveal {
    margin: 0 0 8px 12px;
    background: #ecfdf8;
  }
  .feed-m-head .untapped-reveal-bar,
  .feed-main .untapped-reveal-bar {
    margin: 6px 0 8px;
  }
  .map-layer-panel.has-status-layers .map-layer-toggle {
    border-color: #087f8c;
    box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.18);
  }
  .map-layer-menu button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-weight: 800;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
  }
  .map-layer-menu button.is-on,
  .map-layer-menu button:hover {
    background: #e8f6f7;
    color: #087f8c;
  }
  .map-layer-menu-head { display: none; }
  .filter-panel.is-active.collapsed .filter-toggle {
    border-color: #087f8c;
    color: #087f8c;
  }
  .filter-panel-content { margin-top: 10px; }
  .filter-field { margin: 0 0 10px; position: relative; }
  .filter-label {
    display: block;
    margin-bottom: 4px;
    color: #5f7178;
    font-size: 11px;
    font-weight: 800;
  }
  .filter-dd-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid #d5dee2;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  .filter-dd-menu {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: 180px;
    overflow: auto;
    margin-top: 4px;
    padding: 6px;
    border: 1px solid #d5dee2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  .filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    font-size: 12px;
    cursor: pointer;
  }
  .filter-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
  .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #eaf8f9;
    color: #087f8c;
    font-size: 11px;
    font-weight: 800;
  }
  .filter-chip button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
  }
  .filter-clear {
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: #087f8c;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
  }
  .map-body .maplibregl-ctrl-top-right {
    top: 72px;
    right: 12px;
  }
  .maplibregl-ctrl-bottom-right,
  .maplibregl-ctrl-attrib { display: none !important; }
  .action-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
    width: min(348px, calc(100vw - 36px));
    gap: 6px 8px;
    align-items: start;
    padding: 10px 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 252, 0.92));
    box-shadow: 0 18px 44px rgba(15, 43, 60, 0.24), 0 4px 12px rgba(15, 43, 60, 0.12), inset 0 1px 0 #fff;
    box-sizing: border-box;
  }
  .fab-item-btn {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
  }
  .fab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 5px;
    position: relative;
    text-decoration: none;
    color: inherit;
  }
  .fab {
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(211, 224, 231, 0.9);
    border-radius: 14px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    box-shadow: 0 6px 14px rgba(19, 54, 73, 0.16), inset 0 1px 0 #fff;
    cursor: pointer;
  }
  .fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(19, 54, 73, 0.2), inset 0 1px 0 #fff;
  }
  .fab-label {
    display: block;
    width: 100%;
    color: #334155;
    font: 800 10.5px/1.15 Arial, Helvetica, sans-serif;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fab-add {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    background-color: #07977f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    box-shadow: 0 12px 22px rgba(4, 139, 116, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  .fab-add:hover {
    background-color: #078a75;
    box-shadow: 0 15px 28px rgba(4, 139, 116, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .fab-bell {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E");
  }
  .fab-settings {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555e6d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
  }
  .fab-person {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.4-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E");
  }
  .fab-more {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23087f8c'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E");
  }
  .fab-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  }
  .fab-wr {
    background-color: #087f8c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 4l9 5.5V11H3z'/%3E%3Cpath d='M5 11v8h4v-5h6v5h4v-8'/%3E%3C/svg%3E");
    border-color: rgba(255, 255, 255, 0.75);
  }
  .fab-people {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 19c.6-2.8 2.8-4.5 6-4.5s5.4 1.7 6 4.5'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M21 19c-.5-2.2-2-3.6-4.2-4'/%3E%3C/svg%3E");
  }
  .fab-locate {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b76e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.7'/%3E%3C/svg%3E");
  }
  .map-body .dock { display: none; }
  .map-body { padding-bottom: 0; }
  .feed-main { max-width: 980px; padding: 24px 32px 40px; }
  .app-header { padding: 10px 22px; min-height: 58px; }
  .brand-logo { display: block; }
  .brand-text { display: none; }
  .map-body {
    position: relative;
  }
  .map-body .app-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    background: transparent;
    min-height: 0;
    padding: 10px 16px;
    pointer-events: auto;
    touch-action: manipulation;
    gap: 12px;
    align-items: flex-start;
  }
  .map-body .app-header > * {
    pointer-events: auto;
  }
  .map-body .app-header.compact .brand-logo {
    width: 168px;
    height: 40px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  }
  .map-body .top-nav {
    display: none;
  }
  .map-body .map-more-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
  }
  .map-header-more {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    background: #fff;
    color: #087f8c;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
  }
  .map-more-item,
  .map-cust-item,
  .map-home-item { display: flex; }
  .map-wr-item,
  .map-me-item,
  .map-settings-item,
  #btnBatchImportMapWrap { display: none !important; }
  .action-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(360px, calc(100vw - 36px));
    padding: 8px 10px 6px;
    gap: 4px 6px;
  }
  .map-body #who,
  .map-body #mapStatus {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 120;
    /* Fix: nội dung #mapStatus (ví dụ "🔎 Đang tìm… / 0 kết quả") không được làm tăng
       chiều cao header, nếu không sẽ đẩy các nút trong header bị "dịch chuyển". */
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
  }
  .map-body .header-right button {
    background: #fff;
  }
  .map-body #logoutBtn {
    display: none;
  }
  .map-locate-btn {
    right: 12px;
    bottom: calc(150px + env(safe-area-inset-bottom));
  }
  .map-body #map {
    position: absolute;
    inset: 0;
  }
  .map-body .app-header {
    z-index: 20;
  }
  .map-search {
    position: absolute;
    left: 50%;
    top: calc(8px + env(safe-area-inset-top));
    transform: translateX(-50%);
    z-index: 22;
    /* Use 100dvw to reduce “drift” when scrollbar/viewport changes */
    width: min(560px, calc(100dvw - 280px));
    max-width: 580px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
    background: rgba(255,255,255,.96);
    overflow: visible;
  }
  .map-search-tools {
    flex: 1 1 100%;
  }
  .map-search > #mapSearchBtn {
    z-index: 23;
    min-width: 52px;
    height: 40px;
  }
  .header-right span:not(#mapStatus) { display: inline; }
}

/* ============================================================ */
/* === [SECTION: KHO_SWITCH_AND_QUICK_TABS] === */
/* ============================================================ */
.kho-switch { display: none; }
.kho-switch-item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #087f8c;
  text-decoration: none;
  white-space: nowrap;
}
.kho-switch-item.is-on {
  background: #087f8c;
  color: #fff;
}
.kho-switch-short { display: none; }
@media (min-width: 900px) {
  .app-body .kho-switch {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 0;
    max-width: 980px;
    margin: 14px auto 0;
    padding: 3px;
    border-radius: 999px;
    background: #e8f3f4;
  }
}
@media (max-width: 899px) {
  .kho-switch {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 0;
    padding: 3px;
    border-radius: 999px;
    background: #e8f3f4;
  }
  .app-body .kho-switch {
    margin: 10px 16px 0;
  }
  .app-body .kho-switch-full { display: none; }
  .app-body .kho-switch-short { display: inline; }
  .app-body:not(.me-body) .header-right {
    gap: 8px;
  }
  .app-body:not(.me-body) .header-right #who,
  .app-body:not(.me-body) .header-right #logoutBtn {
    display: none;
  }
  .app-body:not(.me-body) .app-header {
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  }
  .map-body .brand {
    display: flex;
    position: absolute;
    left: 10px;
    top: calc(100% + 6px);
    z-index: 15;
    width: auto;
    height: 24px;
    padding: 3px 7px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 43, 60, 0.14);
  }
  .map-body .brand-text {
    display: none;
  }
  .map-body .brand-logo {
    display: block;
    width: 72px;
    height: 16px;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
    filter: none;
  }
  .map-body .header-right {
    display: none;
  }
  .map-body .app-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    padding: calc(8px + env(safe-area-inset-top)) 16px 0 16px;
    pointer-events: auto;
    touch-action: manipulation;
    overflow: visible;
  }
  .map-body .app-header > * {
    pointer-events: auto;
  }
  .map-body #map {
    position: absolute;
    inset: 0;
  }
  .top-nav { display: none; }
  .map-header-more,
  .map-wr-item,
  .map-me-item,
  .map-settings-item,
  #btnBatchImportMapWrap { display: none !important; }
  .map-more-item,
  .map-cust-item { display: flex !important; }
  .map-body {
    padding-bottom: 0;
  }
  .map-body .dock { display: none !important; }
  .map-body .kho-switch {
    display: none !important;
  }
  .map-search,
  .map-search-box,
  .map-search-box input,
  .map-search > button,
  .map-search-clear {
    pointer-events: auto;
  }
  .map-search {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    flex-wrap: wrap;
    overflow: visible;
    gap: 4px;
    padding: 3px 3px 3px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 43, 60, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .map-search-box {
    overflow: visible;
  }
  .map-search-box input {
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 20px;
    padding-right: 44px;
    -webkit-text-size-adjust: 100%;
    appearance: none;
    -webkit-appearance: none;
  }
  /* iOS Safari: ép font-size >= 16px để không tự zoom khi focus input/select/textarea */
  body.map-body {
    -webkit-text-size-adjust: 100%;
  }
  body.map-body input,
  body.map-body select,
  body.map-body textarea {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }
  .map-search-clear {
    width: 32px;
    height: 32px;
    right: 38px;
    font-size: 22px;
  }
  .map-body .map-search-nav .map-search-nav-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
    background: #e8eef0;
    color: #33464b;
  }
  .map-search > #mapSearchBtn {
    height: 40px;
    min-width: 52px;
    border-radius: 10px;
    font-size: 14px;
    pointer-events: auto !important;
  }
  .map-search-box:has(#mapSearchClear:not([hidden])) input {
    padding-right: 76px;
  }
  .map-search-filter {
    width: 36px;
    height: 36px;
    right: 4px;
    background-color: transparent;
    box-shadow: none;
  }
  .map-body .filter-panel.map-filter-sheet {
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    max-height: min(46vh, calc(100dvh - 168px - env(safe-area-inset-bottom)));
  }
  .map-search {
    z-index: 46;
  }
  .map-search-tools {
    flex: 1 1 100%;
  }
  .map-search > #mapSearchBtn {
    min-width: 56px;
    height: 40px;
  }
  .map-body .map-search-nav {
    display: none !important;
  }
  .map-body .map-search-nav:not([hidden]) {
    display: flex !important;
  }
  .map-body .map-search-nav .map-search-source-toggle {
    min-width: 54px;
    padding: 0 5px;
  }
  .map-body .map-search-nav .map-search-source-sort {
    width: 80px;
  }
  .map-body .map-search-count:not([hidden]) {
    display: inline;
  }
  .map-body .map-search-cheap {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }
  .map-body .map-search-tools,
  .map-body .map-search-hits {
    pointer-events: auto;
  }
  .map-body .map-search-hits {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 95;
    max-height: min(36vh, 280px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .map-body .map-search-hits-head {
    padding: 8px 12px 4px;
    font-size: 12px;
    font-weight: 700;
    color: #5b6b71;
  }
  .map-body .map-search-sources-toggle {
    min-height: 44px;
    padding: 9px 10px;
  }
  .map-body .map-search-source-controls {
    grid-template-columns: minmax(0, 1fr) 108px;
  }
  .map-body .map-search-sort-select select {
    font-size: 11px;
  }
  .map-body .map-search-source-list {
    max-height: min(26vh, 220px);
    overflow-y: scroll; /* Ensure iOS/Android always treats it as a vertical scroll container */
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
  /* Bottom sheet kết quả tìm kiếm (modules/map/map-search-sheet.js) */
  body.map-body .map-search-hits.is-sheet {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    height: 48dvh;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
    box-shadow: 0 -10px 32px rgba(15, 43, 60, 0.22);
    overscroll-behavior: contain;
    pointer-events: auto;
    will-change: height;
  }
  body.map-body .map-search-hits.is-sheet.is-sheet-animating {
    transition: height 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  body.map-body .map-search-hits.is-sheet.is-sheet-dragging {
    transition: none;
    user-select: none;
    -webkit-user-select: none;
  }
  .map-search-sheet-handle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    cursor: grab;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  .map-search-sheet-grip {
    display: block;
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
  }
  .map-search-hits.is-sheet-dragging .map-search-sheet-grip {
    background: #94a3b8;
  }
  .map-search-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 6px calc(8px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
  body.map-body .map-search-hits.is-sheet .map-search-source-list {
    max-height: none;
    overflow: visible;
  }
  body.map-search-sheet-open .action-dock,
  body.map-search-sheet-open #skylandMapNav {
    visibility: hidden;
    pointer-events: none;
  }
  .map-body:has(.map-search-hits:not([hidden])) .brand {
    visibility: hidden;
    pointer-events: none;
  }
  .map-body .map-layer-menu { display: none; }
  .map-body .map-layer-panel {
    display: block;
    position: fixed;
    top: auto;
    left: auto;
    right: 12px;
    bottom: calc(180px + env(safe-area-inset-bottom));
    z-index: 18;
    width: 48px;
    height: 48px;
  }
  .map-body .map-layer-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7l9 5 9-5-9-5z'/%3E%3Cpath d='M3 12l9 5 9-5'/%3E%3Cpath d='M3 17l9 5 9-5'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    box-shadow: 0 8px 20px rgba(15, 43, 60, 0.18);
    cursor: pointer;
  }
  .map-body .map-layer-panel.has-status-layers .map-layer-toggle {
    box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.22), 0 8px 20px rgba(15, 43, 60, 0.18);
  }
  .map-body .map-layer-panel:not(.collapsed) {
    inset: 0;
    width: auto;
    height: auto;
    z-index: 70;
    display: flex;
    align-items: flex-end;
    background: rgba(15, 23, 42, 0.32);
  }
  .map-body .map-layer-panel:not(.collapsed) .map-layer-toggle {
    display: none;
  }
  .map-body .map-layer-panel:not(.collapsed) .map-layer-menu {
    display: block;
    width: 100%;
    max-height: min(78dvh, 720px);
    margin: 0;
    padding: 6px 14px calc(16px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(15, 43, 60, 0.22);
    overflow: auto;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
  }
  .map-body .map-layer-menu-head {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 14px 0 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef2f3;
  }
  .map-body .map-layer-menu-head::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 99px;
    background: #d5dee3;
  }
  .map-body .map-layer-menu-head b {
    flex: 1;
    font-size: 16px;
    font-weight: 800;
    color: #17363b;
  }
  .map-body .map-layer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: #eef4f5;
    color: #334155;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .map-body .map-layer-group-title {
    margin: 12px 2px 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .map-body .map-layer-hint {
    margin: 0 2px 8px;
    color: #78909c;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
  }
  .map-body .map-layer-base-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 4px;
  }
  .map-body .map-layer-menu button[data-map-layer] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid #d5dee3;
    border-radius: 12px;
    background: #f7fafb;
    color: #334155;
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
  }
  .map-body .map-layer-menu button[data-map-layer].is-on {
    background: #e8f6f7;
    border-color: #087f8c;
    color: #087f8c;
  }
  .map-body .map-layer-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f7fafb;
    color: #1f3340;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
  }
  .map-body .map-layer-check input {
    width: 18px;
    height: 18px;
    accent-color: #087f8c;
    flex: 0 0 auto;
  }
  .map-body .map-review-group-list {
    max-height: min(42vh, 360px);
    gap: 6px;
  }
  .map-body .map-layer-clear {
    min-height: 42px;
    border-radius: 12px;
    font-size: 13px;
  }
  .map-body .filter-panel:not(.map-filter-sheet) {
    display: block;
    position: absolute;
    left: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 16;
    width: 48px;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
  }
  .map-body .filter-panel.collapsed .filter-title,
  .map-body .filter-panel.collapsed .filter-panel-content {
    display: none;
  }
  .map-body .filter-panel:not(.map-filter-sheet):not(.collapsed) {
    left: 12px;
    right: 12px;
    width: auto;
    max-height: min(62vh, 520px);
    overflow: auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 40px rgba(15, 43, 60, 0.22);
    -webkit-overflow-scrolling: touch;
  }
  .map-body .filter-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #087f8c;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 43, 60, 0.18);
  }
  .map-body .filter-panel:not(.collapsed) .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .map-body .filter-panel:not(.collapsed) .filter-title {
    font-size: 15px;
    font-weight: 800;
    color: #17363b;
  }
  .map-body .filter-panel:not(.collapsed) .filter-field { margin: 0 0 10px; position: relative; }
  .map-body .filter-panel:not(.collapsed) .filter-label {
    display: block;
    margin-bottom: 4px;
    color: #5f7178;
    font-size: 11px;
    font-weight: 800;
  }
  .map-body .filter-panel:not(.collapsed) .filter-dd-btn {
    width: 100%;
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #d5dee2;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
  }
  .map-body .filter-panel:not(.collapsed) .filter-dd-menu {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: 180px;
    overflow: auto;
    margin-top: 4px;
    padding: 6px;
    border: 1px solid #d5dee2;
    border-radius: 10px;
    background: #fff;
  }
  .map-body .filter-panel:not(.collapsed) .filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    font-size: 14px;
  }
  .map-body .filter-panel:not(.collapsed) .filter-clear {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: #087f8c;
    color: #fff;
    font-weight: 800;
  }
  .map-body .filter-panel:not(.collapsed) .filter-toggle {
    width: 36px;
    height: 36px;
    box-shadow: none;
    background: #eef4f5;
  }
  .map-body .filter-panel:not(.collapsed) .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
  }
  .map-body .filter-panel:not(.collapsed) .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eaf8f9;
    color: #087f8c;
    font-size: 12px;
    font-weight: 800;
  }
  .map-body .filter-panel:not(.collapsed) .filter-chip button {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }
  .map-body .filter-panel.is-active.collapsed .filter-toggle {
    box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.22), 0 8px 20px rgba(15, 43, 60, 0.18);
  }
  .map-locate-btn {
    right: 12px;
    bottom: calc(118px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
  .map-body .map-home-item {
    display: flex !important;
    text-decoration: none;
  }
  .map-body .fab-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  }
  .map-body .action-dock {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 25;
    left: auto;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto;
    gap: 4px;
    align-items: start;
    padding: 8px 6px 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(15, 43, 60, 0.2);
    backdrop-filter: blur(16px);
    box-sizing: border-box;
  }
  .map-body .fab-item,
  .map-body .fab-item-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
    position: relative;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: inherit;
  }
  .map-body .fab {
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid rgba(211, 224, 231, 0.9);
    border-radius: 13px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    box-shadow: none;
    cursor: pointer;
  }
  .map-body .fab-add {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    background-color: #07977f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    background-size: 22px 22px;
  }
  .map-body .fab-bell {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E");
  }
  .map-body .fab-person {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.4-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E");
  }
  .map-body .fab-people {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 19c.6-2.8 2.8-4.5 6-4.5s5.4 1.7 6 4.5'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M21 19c-.5-2.2-2-3.6-4.2-4'/%3E%3C/svg%3E");
  }
  .map-body .fab-more {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23087f8c'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E");
  }
  .map-body .fab-label {
    display: block;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    color: #5b6b73;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .map-body .notify-badge {
    right: 14%;
    top: -3px;
  }
  .map-body .map-settings-panel:not(.hidden) {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 72;
    width: 100%;
    max-height: min(82dvh, 720px);
    border: 0;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(15, 43, 60, 0.22);
    overflow: auto;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .map-body #mapCustomersPanel.map-settings-panel:not(.hidden) {
    overflow: hidden;
    pointer-events: auto;
  }
  .map-body #mapCustomersPanel .map-settings-head,
  .map-body #mapCustomersPanel .map-cust-tabs,
  .map-body #mapCustomersPanel .cust-tabs {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
    pointer-events: auto;
  }
  .map-body #mapCustomersPanel .map-cust-tabs,
  .map-body #mapCustomersPanel .cust-tabs {
    background: #f1f5f9;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
  }
  .map-body #mapCustomersPanel .cust-main,
  .map-body #mapCustomersPanel .news-main,
  .map-body #mapCustomersPanel .map-settings-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }
  .map-body #mapCustomersPanel .map-cust-tabs button,
  .map-body #mapCustomersPanel .cust-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
  }
  .map-body .maplibregl-ctrl-top-right {
    top: calc(56px + env(safe-area-inset-top));
    right: 12px;
  }
  .map-body .maplibregl-ctrl-top-right .maplibregl-ctrl {
    display: none;
  }
  .skyland-map-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
  }
  .skyland-map-sheet[hidden] { display: none !important; }
  .skyland-map-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    pointer-events: auto;
  }
  .skyland-map-sheet-panel {
    position: relative;
    width: 100%;
    max-height: min(52dvh, 440px);
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 43, 60, 0.22);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .skyland-map-sheet-grab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid #eef2f3;
    flex: 0 0 auto;
  }
  .skyland-map-sheet-handle {
    display: none;
  }
  .skyland-map-sheet-grab::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 99px;
    background: #d5dee3;
  }
  .skyland-map-sheet-grab {
    position: relative;
    padding-top: 16px;
  }
  .skyland-map-sheet-grab b {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: #17363b;
  }
  .skyland-map-sheet-x {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3f4;
    color: #5b6b73;
    font-size: 22px;
    line-height: 36px;
    cursor: pointer;
  }
  .skyland-map-sheet-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px calc(16px + env(safe-area-inset-bottom));
  }
  .skyland-map-sheet .skyland-v63-popup {
    padding: 6px 4px 10px;
    font-size: 13px;
    line-height: 1.4;
  }
  .skyland-map-sheet .skyland-status-select,
  .skyland-map-sheet .skyland-v63-status-select,
  body.is-mobile-map .skyland-map-sheet .skyland-status-select {
    height: 42px;
    font-size: 16px;
  }
  .skyland-map-sheet .skyland-status-pick {
    min-height: 40px;
    font-size: 14px;
  }
  .skyland-map-sheet .skyland-v63-info-grid {
    gap: 8px;
  }
  .skyland-map-sheet .skyland-v63-info-label {
    font-size: 11px;
  }
  .skyland-map-sheet .skyland-v63-info-value {
    font-size: 12px;
  }
  .skyland-map-sheet .skyland-v63-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .skyland-map-sheet .popup-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 14px;
  }
  .skyland-map-sheet .skyland-src-history {
    margin-top: 6px;
    padding: 6px 7px;
  }
  .skyland-map-sheet .skyland-src-history-head {
    font-size: 10px;
  }
  .skyland-map-sheet .skyland-src-history-form.is-compact input[name="text"],
  .skyland-map-sheet .skyland-src-history-form.is-compact button {
    height: 36px;
    min-height: 36px;
    font-size: 16px;
  }
  .skyland-map-sheet .skyland-src-history-list {
    max-height: 72px;
  }
  .skyland-map-sheet .skyland-src-history-empty,
  .skyland-map-sheet .skyland-src-history-change {
    font-size: 12px;
  }
  .skyland-map-sheet .skyland-src-history-list time {
    font-size: 12px;
  }
}
body.is-mobile-map .skyland-map-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
body.is-mobile-map .skyland-map-sheet[hidden] { display: none !important; }
body.is-mobile-map .skyland-map-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  pointer-events: auto;
}
body.is-mobile-map .skyland-map-sheet-panel {
  position: relative;
  width: 100%;
  max-height: min(52dvh, 440px);
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 43, 60, 0.22);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.is-mobile-map .skyland-map-sheet-grab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 12px 8px;
  border-bottom: 1px solid #eef2f3;
}
body.is-mobile-map .skyland-map-sheet-grab::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  border-radius: 99px;
  background: #d5dee3;
}
body.is-mobile-map .skyland-map-sheet-grab b {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #17363b;
}
body.is-mobile-map .skyland-map-sheet-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef3f4;
  color: #5b6b73;
  font-size: 22px;
  line-height: 36px;
}
body.is-mobile-map .skyland-map-sheet-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px calc(16px + env(safe-area-inset-bottom));
}
body.is-mobile-map .skyland-map-sheet .skyland-v63-popup {
  padding: 6px 4px 10px;
  font-size: 13px;
  line-height: 1.4;
}
body.is-mobile-map .skyland-map-sheet .skyland-v63-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
body.is-mobile-map .skyland-map-sheet .popup-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
}
body.is-mobile-map .skyland-map-sheet .skyland-src-history {
  margin-top: 6px;
  padding: 6px 7px;
}
body.is-mobile-map .skyland-map-sheet .skyland-src-history-form.is-compact input[name="text"],
body.is-mobile-map .skyland-map-sheet .skyland-src-history-form.is-compact button {
  height: 36px;
  min-height: 36px;
  font-size: 16px;
}
body.is-mobile-map .skyland-map-sheet .skyland-src-history-list {
  max-height: 72px;
}
body.is-mobile-map .skyland-map-sheet .skyland-src-history-head {
  font-size: 11px;
}
body.is-mobile-map .map-back-mine {
  left: 96px;
  top: calc(58px + env(safe-area-inset-top, 0px));
  font-size: 12px;
  padding: 7px 11px 7px 9px;
}
body.is-mobile-map .skyland-v63-contact .skyland-v63-info-value,
body.is-mobile-map .skyland-contact-text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============================================================ */
/* === [SECTION: SOURCE_EDIT_OVERLAY_AND_MOBILE_MAP] === */
/* ============================================================ */
.skyland-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 120050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}
.skyland-edit-overlay[hidden] {
  display: none !important;
}
.skyland-edit-panel {
  width: min(620px, calc(100vw - 16px));
  max-height: 92vh;
  margin: 4vh auto 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e7ecee;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skyland-edit-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-bottom: 1px solid #e9eef0;
  flex: 0 0 auto;
}
.skyland-edit-head b {
  flex: 1;
  font-size: 16px;
  color: #17363b;
}
.skyland-edit-head small {
  display: block;
  margin-top: 2px;
  color: #829096;
  font-size: 11px;
  font-weight: 500;
}
.skyland-edit-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef4f5;
  color: #65757a;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16, 24, 32, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}
.skyland-edit-close:hover {
  transform: translateY(-1px);
  background: #e7f2f3;
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.skyland-edit-close:active {
  transform: translateY(0px);
  box-shadow: 0 10px 20px rgba(16, 24, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.skyland-edit-body {
  padding: 7px 9px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.skyland-edit-section {
  padding: 6px 7px;
  margin-bottom: 6px;
  border: 1px solid #e8edef;
  border-radius: 11px;
}
.skyland-edit-section-title {
  margin-bottom: 5px;
  color: #087f8c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.skyland-edit-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
}
.skyland-edit-field {
  display: block;
  min-width: 0;
  color: #47575c;
  font-size: 11px;
  font-weight: 800;
}
.skyland-edit-field input {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 2px;
  box-sizing: border-box;
  border: 1px solid #cbd5d8;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 18px rgba(16, 24, 28, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.skyland-edit-field select {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 2px;
  box-sizing: border-box;
  border: 1px solid #cbd5d8;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 18px rgba(16, 24, 28, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.skyland-edit-field input:focus,
.skyland-edit-field select:focus {
  border-color: #0d7a86;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 28px rgba(8, 127, 140, 0.18),
    0 0 0 3px rgba(8, 127, 140, 0.14);
}
.skyland-edit-field .skyland-add-hint {
  display: block;
  margin-top: 4px;
  font-weight: 600;
}
.skyland-edit-loc-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.skyland-edit-gps {
  width: 100%;
  min-height: 36px;
  border: 1px solid #087f8c;
  border-radius: 8px;
  background: #fff;
  color: #087f8c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.skyland-edit-media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.skyland-edit-media-btn {
  flex: 1;
  min-height: 36px;
  border: 1px solid #cad5d8;
  border-radius: 8px;
  background: #fff;
  color: #16343c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.skyland-edit-media-add {
  border-color: #087f8c;
  color: #087f8c;
}
.skyland-edit-media-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.skyland-edit-media-preview img,
.skyland-edit-media-preview video {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef3f5;
}
.skyland-edit-media-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef3f5;
  color: #16343c;
  font-size: 11px;
  font-weight: 700;
}
.skyland-edit-loc-status {
  color: #748087;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .skyland-edit-grid2 {
    grid-template-columns: 1fr;
  }
}
.skyland-edit-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.skyland-edit-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid #cad5d8;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  background: #fff;
}
.skyland-edit-type-chip input {
  width: auto;
  margin: 0;
}
.skyland-edit-type-chip.is-on {
  background: #e8f8f9;
  border-color: #0b8f9c;
  color: #087f8c;
  font-weight: 800;
}

@media (max-width: 640px) {
  .skyland-edit-type-grid {
    grid-template-columns: 1fr;
  }
}
.skyland-edit-note {
  padding: 0 2px 5px;
  color: #7a888d;
  font-size: 11px;
  text-align: center;
}
.skyland-edit-foot {
  padding: 7px 9px;
  border-top: 1px solid #e9eef0;
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
}
.skyland-edit-foot button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #0d6e78;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.skyland-edit-foot button.skyland-edit-delete {
  background: #fff;
  color: #b42318;
  border: 1px solid #f3b0aa;
}
.skyland-edit-foot button.skyland-edit-delete:hover {
  background: #fff5f4;
}
.skyland-edit-foot button.skyland-edit-confirm {
  background: #15803d;
  color: #fff;
}
.skyland-edit-foot button.skyland-edit-confirm[hidden] {
  display: none !important;
}
.map-layer-menu { display: none; }
.map-layer-panel:not(.collapsed) .map-layer-menu { display: block; }
.map-review-group-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: min(42vh, 320px);
  overflow: auto;
  margin: 0 0 8px;
  padding-right: 2px;
}
.map-review-group-list small {
  color: #6a7b80;
  font-weight: 600;
}
.map-layer-clear {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 1px solid #c5d4d7;
  border-radius: 8px;
  background: #f4fafb;
  color: #0f6a73;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.map-layer-clear[hidden] {
  display: none !important;
}
.map-layer-clear:hover {
  background: #e7f5f7;
}
.skyland-edit-foot button:disabled {
  opacity: 0.58;
}
.skyland-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 120200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}
.skyland-info-overlay[hidden] {
  display: none !important;
}
.skyland-info-panel {
  position: relative;
  width: min(92vw, 650px);
  max-height: 84vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
  padding: 16px;
}
.skyland-info-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.skyland-info-head b {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: #17363b;
}
.skyland-pd-share-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff6cc;
  color: #8a6d00;
  cursor: pointer;
}
.skyland-pd-share-ico svg,
.skyland-pd-share-ico img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.skyland-pd-media-bar #skylandPdShare {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.skyland-pd-media-bar #skylandPdShare img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.skyland-info-overlay.skyland-pd-open .skyland-pd-share-ico {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.skyland-pd-cover-share {
  position: absolute;
  top: 12px;
  right: 56px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}
.skyland-map-sheet-grab .skyland-pd-share-ico,
.skyland-popup-share {
  background: #eef5f6;
  color: #087f8c;
}
.skyland-pd-share-ico[hidden] {
  display: none !important;
}
.skyland-sheet-sharebar {
  display: flex;
  gap: 6px;
  padding: 0 12px 8px;
}
.skyland-sheet-sharebar button {
  flex: 0 0 auto;
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.skyland-sheet-sharebar [data-skyland-share] {
  background: #fff6cc;
  color: #8a6d00;
}
.skyland-sheet-sharebar [data-skyland-download] {
  background: #ecfeff;
  color: #0f766e;
}
.skyland-pd-more {
  border: 0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #edf6f7;
  color: #087f8c;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.skyland-pd-action-menu {
  position: absolute;
  top: calc(100% - 4px);
  right: 10px;
  z-index: 40;
  min-width: 210px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.skyland-pd-action-menu[hidden] {
  display: none !important;
}
.skyland-pd-action-menu button {
  border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  background: transparent;
  color: #142226;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.skyland-pd-action-menu button:hover,
.skyland-pd-action-menu button:focus-visible {
  background: #f4f6f7;
}
.skyland-pd-action-menu button[data-pd-action="close"] {
  color: #6d7e84;
  border-top: 1px solid #eef1f2;
  margin-top: 2px;
  border-radius: 0 0 8px 8px;
}
.skyland-pd-action-menu button.is-danger,
.skyland-pd-action-menu button[data-pd-action="delete"] {
  color: #b42318;
}
.skyland-info-overlay.skyland-pd-open .skyland-pd-more {
  background: transparent;
  color: #fff;
}
.skyland-pd-lead-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 58px;
  z-index: 50;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}
.skyland-pd-lead-sheet[hidden] {
  display: none !important;
}
.skyland-pd-lead-sheet h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.skyland-pd-lead-sheet .skyland-pd-lead-src {
  margin: 0 0 12px;
  font-size: 12px;
  color: #6d7e84;
}
.skyland-pd-lead-sheet label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #45575d;
}
.skyland-pd-lead-sheet input,
.skyland-pd-lead-sheet select,
.skyland-pd-lead-sheet textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #142226;
  background: #f7f8f9;
}
.skyland-pd-lead-sheet textarea {
  min-height: 72px;
  resize: vertical;
}
.skyland-pd-lead-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
}
.skyland-pd-lead-actions button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.skyland-pd-lead-actions .is-ghost {
  background: #eef1f2;
  color: #45575d;
}
.skyland-pd-lead-actions .is-primary {
  background: #e03a3a;
  color: #fff;
}
.skyland-pd-lead-hint {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 650;
  color: #087f8c;
}
#skylandLeadBar {
  position: fixed;
  left: 12px;
  right: auto;
  width: min(252px, calc(100vw - 84px));
  bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #0b4f56;
  color: #fff;
  box-shadow: 0 8px 22px rgba(4, 40, 48, 0.22);
}
#skylandLeadBar[hidden] {
  display: none !important;
}
html.desk-ui #skylandLeadBar {
  left: 328px;
  right: auto;
  top: 72px;
  bottom: auto;
  width: 268px;
}
html.desk-ui.desk-nav-collapsed #skylandLeadBar {
  left: 80px;
}
body.has-map-nav #skylandLeadBar {
  display: none !important;
}
#skylandMapNav {
  position: fixed;
  left: 12px;
  right: 72px;
  top: auto;
  width: auto;
  max-width: 420px;
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  z-index: 26;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #102428;
  box-shadow: 0 10px 28px rgba(8, 28, 36, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
}
#skylandMapNav[hidden] {
  display: none !important;
}
#skylandMapNav.is-min {
  padding: 8px 10px;
  max-width: 220px;
  right: auto;
}
html.desk-ui #skylandMapNav {
  left: 328px;
  right: auto;
  top: auto;
  bottom: 24px;
  width: min(340px, calc(100vw - 420px));
}
html.desk-ui.desk-nav-collapsed #skylandMapNav {
  left: 80px;
}
.skyland-map-nav-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #087f8c;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
#skylandMapNav.is-min .skyland-map-nav-ico {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 16px;
  border-radius: 10px;
}
.skyland-map-nav-copy {
  flex: 1;
  min-width: 0;
}
.skyland-map-nav-copy b,
.skyland-map-nav-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skyland-map-nav-copy b {
  font-size: 16px;
  font-weight: 800;
  color: #0b3d44;
}
.skyland-map-nav-copy span {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 650;
  color: #5b6f74;
}
#skylandMapNav.is-min .skyland-map-nav-copy span {
  display: none;
}
#skylandMapNavToggle,
#skylandMapNavStop {
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
#skylandMapNavToggle {
  order: 4;
  background: transparent;
  color: #6a7c80;
  min-width: 32px;
  padding: 8px 6px;
}
#skylandMapNavStop {
  background: #102428;
  color: #fff;
  padding: 10px 14px;
}
body.has-map-nav .skyland-info-overlay,
body.map-solo.has-map-nav .skyland-info-overlay {
  display: none !important;
}
.skyland-map-nav-me {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Đảm bảo luôn hiện trên lớp UI khi bắt đầu nav (mobile dễ bị che z-index) */
  z-index: 9999;
}
.skyland-map-nav-me em {
  display: none;
}
.skyland-map-nav-puck {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1a73e8;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(26, 115, 232, 0.28), 0 4px 10px rgba(8, 40, 80, 0.35);
}
.skyland-map-nav-dest {
  width: 22px;
  height: 32px;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.skyland-map-nav-dest i {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #e03a3a;
  box-shadow: 0 4px 10px rgba(160, 20, 28, 0.35);
}
.skyland-lead-bar-copy {
  flex: 1;
  min-width: 0;
}
.skyland-lead-bar-copy b,
.skyland-lead-bar-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skyland-lead-bar-copy b {
  font-size: 13px;
}
.skyland-lead-bar-copy span {
  font-size: 11px;
  opacity: 0.82;
}
.skyland-lead-bar-link,
#skylandLeadBarEnd {
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.skyland-lead-bar-link {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
#skylandLeadBarEnd {
  background: #fff;
  color: #0b4f56;
}
.lead-main {
  padding-bottom: 28px;
}
.lead-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 12px;
}
.lead-toolbar[hidden],
#leadList[hidden],
#leadDetail[hidden],
#leadHint[hidden] {
  display: none !important;
}
.lead-period-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0b4f56;
}
.lead-card {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid #dce7e9;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.lead-empty {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}
#leadMsg:empty,
#leadMsg[hidden] {
  display: none;
}
.lead-card-kind {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  vertical-align: middle;
}
.lead-card-kind.is-lead {
  background: #e8f3f4;
  color: #087f8c;
}
.lead-card-kind.is-survey {
  background: #f3eef8;
  color: #5b4b8a;
}
.lead-card b {
  display: block;
  color: #0f3d42;
}
.lead-card-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6a7b80;
}
.lead-detail {
  padding: 4px 0 24px;
}
.lead-lots {
  margin: 0;
  padding: 0 0 0 18px;
}
.lead-end-btn,
.lead-back-btn {
  display: inline-block;
  margin: 8px 8px 0 0;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.lead-end-btn {
  background: #0b4f56;
  color: #fff;
}
.lead-back-btn {
  background: #eef1f2;
  color: #45575d;
}
@media (max-width: 899px) {
  #skylandLeadBar {
    left: 68px;
    right: auto;
    top: auto;
    width: min(210px, calc(100vw - 140px));
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
  body.map-body #skylandMapNav {
    left: 12px;
    right: 72px;
    width: auto;
    max-width: none;
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  /* Hide map attribution (Google | MapLibre | OpenStreetMap) on mobile */
  .maplibregl-ctrl-bottom-left,
  .mapboxgl-ctrl-bottom-left,
  .leaflet-control-attribution {
    display: none !important;
  }

  /* Prevent mobile Safari auto-zoom when focusing inputs */
  body.cust-page input,
  body.cust-page textarea,
  body.cust-page select {
    font-size: 16px !important;
  }
}

/* ============================================================ */
/* === [SECTION: POST_WIZARD_AND_IMAGE_PICKER] === */
/* ============================================================ */
.skyland-post-wiz {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  padding: 10px;
  box-sizing: border-box;
}
.skyland-post-wiz[hidden] {
  display: none !important;
}
.skyland-post-wiz-card {
  width: min(100%, 440px);
  max-height: min(92%, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 12px 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.skyland-post-wiz-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid #eef1f2;
}
.skyland-post-wiz-head b {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: #142226;
}
.skyland-post-wiz-back,
.skyland-post-wiz-x {
  border: 0;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  background: #edf6f7;
  color: #087f8c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.skyland-post-wiz-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 8px;
  -webkit-overflow-scrolling: touch;
}
.skyland-post-wiz-foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 10px 14px 14px;
  border-top: 1px solid #eef1f2;
}
.skyland-post-wiz-foot-wrap {
  flex-wrap: wrap;
  justify-content: stretch;
}
.skyland-post-wiz-foot-wrap .skyland-post-wiz-primary,
.skyland-post-wiz-foot-wrap .skyland-post-wiz-ghost {
  flex: 1 1 calc(50% - 8px);
  min-width: 132px;
}
.skyland-post-wiz-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #5a6c72;
}
.skyland-post-wiz-hint b {
  color: #142226;
}
.skyland-post-wiz-grid,
.skyland-post-wiz-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.skyland-post-wiz-sub-wrap {
  margin-bottom: 10px;
}
.skyland-post-wiz-chip {
  border: 1px solid #d7e2e4;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #24383d;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.skyland-post-wiz-chip.is-on {
  border-color: #087f8c;
  background: #e8f6f7;
  color: #06636d;
}
.skyland-post-wiz-label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #45575d;
}
.skyland-post-wiz-label input,
.skyland-post-wiz-label select,
.skyland-post-wiz-label textarea,
.skyland-post-wiz-add-group input {
  display: block;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #142226;
  background: #f7f8f9;
}
.skyland-post-wiz-label textarea,
#skylandPostManual {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
.skyland-post-wiz-choice {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 14px;
  border: 1px solid #dce6e8;
  border-radius: 12px;
  background: #fafbfc;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.skyland-post-wiz-choice b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #142226;
}
.skyland-post-wiz-choice span {
  display: block;
  font-size: 12px;
  color: #6d7e84;
  line-height: 1.4;
}
.skyland-post-wiz-choice:hover,
.skyland-post-wiz-choice:focus-visible {
  border-color: #087f8c;
  background: #f0fafb;
}
.skyland-post-wiz-form {
  display: grid;
  gap: 8px;
}
.skyland-post-wiz-hides {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7f8;
}
.skyland-post-wiz-hides b {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #45575d;
}
.skyland-post-wiz-hides label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  color: #24383d;
  font-weight: 500;
  cursor: pointer;
}
.skyland-post-wiz-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 13px;
  color: #087f8c;
}
.skyland-post-wiz-preview {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8f9;
  border: 1px solid #e1e7e9;
  white-space: pre-wrap;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: #142226;
  max-height: 320px;
  overflow-y: auto;
}
.skyland-post-wiz-steps {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  font-size: 14px;
  line-height: 1.5;
  color: #142226;
}
.skyland-post-wiz-steps li + li {
  margin-top: 6px;
}
.skyland-post-wiz-pastebox {
  display: block;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 140px;
}
.skyland-post-wiz-guide {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef7f8;
  border: 1px solid #c5e0e4;
  color: #142226;
}
.skyland-post-wiz-guide.is-urgent {
  background: #fff6e8;
  border-color: #f0c98a;
}
.skyland-post-wiz-guide-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #066c76;
}
.skyland-post-wiz-guide.is-urgent .skyland-post-wiz-guide-title {
  color: #9a5b00;
}
.skyland-post-wiz-guide-lead,
.skyland-post-wiz-guide-note {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
}
.skyland-post-wiz-guide-note {
  margin-bottom: 0;
  opacity: 0.92;
}
.skyland-post-wiz-body > .skyland-post-wiz-guide-note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #5a6c72;
  opacity: 1;
}
.skyland-post-wiz-guide .skyland-post-wiz-steps {
  margin-bottom: 8px;
}
.skyland-post-wiz-groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  max-height: 180px;
  overflow-y: auto;
}
.skyland-post-wiz-group {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #dce6e8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.skyland-post-wiz-group b {
  display: block;
  font-size: 14px;
  color: #142226;
}
.skyland-post-wiz-group span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6d7e84;
  word-break: break-all;
}
.skyland-post-wiz-group.is-on {
  border-color: #087f8c;
  background: #e8f6f7;
}
.skyland-post-wiz-empty {
  margin: 0;
  font-size: 13px;
  color: #6d7e84;
}
.skyland-post-wiz-add-group {
  display: grid;
  gap: 8px;
}
.skyland-post-wiz-add-group button {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #edf6f7;
  color: #06636d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.skyland-post-wiz-primary,
.skyland-post-wiz-ghost {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.skyland-post-wiz-primary {
  background: #087f8c;
  color: #fff;
}
.skyland-post-wiz-ghost {
  background: #eef1f2;
  color: #45575d;
}
@media (min-width: 900px) {
  .skyland-post-wiz {
    align-items: center;
  }
  .skyland-post-wiz-card {
    border-radius: 16px;
    max-height: min(86%, 620px);
  }
}
.skyland-info-back {
  border: 0;
  border-radius: 10px;
  padding: 6px 10px;
  background: #edf6f7;
  color: #087f8c;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.skyland-info-text {
  white-space: pre-wrap;
  background: #f6f8f9;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
  line-height: 1.55;
  font-size: 14px;
  color: #26363b;
}
.skyland-info-detail-box {
  margin-top: 4px;
}
.skyland-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.skyland-info-copy {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  background: #edf6f7;
  color: #087f8c;
}
.skyland-info-save {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  background: #109eaa;
  color: #fff;
}
.skyland-info-reward {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef8f9;
  color: #315e64;
  font-size: 12px;
}
.skyland-info-note {
  padding: 8px 10px;
  margin: 8px 0;
  border-radius: 9px;
  background: #fff7d6;
  color: #705d00;
  font-size: 12px;
}
#skylandInfoDetailInput {
  width: 100%;
  min-height: 130px;
  box-sizing: border-box;
  border: 1px solid #ccd9dc;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  resize: vertical;
  margin-top: 8px;
}
.skyland-ai-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  background: #f8fbfb;
}
.skyland-ai-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.skyland-ai-status {
  font-size: 11px;
  font-weight: 800;
  color: #087f8c;
}
.skyland-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.skyland-ai-field {
  display: block;
  min-width: 0;
  color: #59686d;
  font-size: 11px;
  font-weight: 800;
}
.skyland-ai-staff-phone {
  display: block;
  margin-bottom: 8px;
}
.skyland-ai-staff-phone input {
  display: block;
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  border: 1px solid #7eb8be;
  border-radius: 9px;
  background: #fff;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.skyland-ai-field select,
.skyland-ai-field input {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid #ccd9dc;
  border-radius: 9px;
  background: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}
.skyland-ai-option {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #bfd6da;
  border-radius: 10px;
  background: #fff;
  color: #315e64;
  font-size: 13px;
  cursor: pointer;
}
.skyland-ai-hide-box {
  margin-top: 10px;
  padding: 8px 10px 10px;
  border: 1px dashed #bfd6da;
  border-radius: 10px;
  background: #fff;
}
.skyland-ai-hide-title {
  font-size: 12px;
  font-weight: 700;
  color: #315e64;
  margin-bottom: 2px;
}
.skyland-ai-hide-box .skyland-ai-option {
  margin-top: 2px;
  padding: 6px 0;
  border: none;
  background: transparent;
}
.skyland-ai-hide-box .skyland-ai-option i {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #69777b;
  font-weight: 400;
}
.skyland-ai-meta {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: #69777b;
}
@media (max-width: 600px) {
  .skyland-edit-grid2,
  .skyland-ai-grid {
    grid-template-columns: 1fr;
  }
}

.maplibregl-marker {
  transition: none !important;
}
.skyland-label-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
  transform: none !important;
}
.skyland-desktop-float {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  height: auto;
  white-space: nowrap;
  background: transparent;
  transform-origin: 0 50%;
  backface-visibility: hidden;
}
.skyland-desktop-float.is-label {
  pointer-events: auto;
  cursor: pointer;
}
body.is-mobile-map .skyland-desktop-float.is-label {
  pointer-events: none;
}
.maplibregl-marker:has(> .skyland-desktop-float) {
  width: max-content !important;
  height: auto !important;
  background: transparent !important;
}
.skyland-label-wrap {
  position: relative;
  display: inline-block;
  background: transparent;
}
.skyland-label-note {
  position: absolute;
  left: 0;
  bottom: calc(100% + 2px);
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}
body.is-mobile-map .skyland-label-note,
body.is-ios .skyland-label-note {
  font-size: 10px;
  gap: 4px;
}
.skyland-label-note span {
  text-shadow:
    0 0 2px #fff,
    0 1px 1px #fff,
    1px 0 1px #fff,
    -1px 0 1px #fff,
    0 -1px 1px #fff;
}
.skyland-label-note .is-pri-note-doc {
  color: #ff1744;
}
.skyland-label-note .is-pri-note-giam {
  color: #ff7a00;
}
.skyland-label-note .is-pri-note-tot {
  color: #c9a000;
}
.skyland-label-note .is-pri-note-nho {
  color: #0d9488;
}
.skyland-label-box {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #087f8c;
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
body.is-mobile-map .skyland-label-box {
  font-size: 12px;
  padding: 1px 4px;
  white-space: normal;
  max-width: 72vw;
  text-align: center;
  line-height: 1.25;
}
body.is-ios .skyland-label-box {
  font-size: 13px;
}
.skyland-label-box .label-ma-can {
  color: #087f8c;
}
.skyland-label-box.is-both-prices {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.skyland-label-box .label-head,
.skyland-label-box .label-price-row,
.skyland-label-box .label-area,
.skyland-label-box .label-sep {
  display: inline;
}
.skyland-label-box .label-line {
  white-space: nowrap;
}
.skyland-label-box .label-price-thu {
  color: #b45309;
}
.skyland-filter-label-highlight {
  background: #fff !important;
  border: 2px solid #dc2626 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
}
.skyland-label-box.is-pri-label-doc {
  border-color: #ff1744;
  background: #fff;
}
.skyland-label-box.is-pri-label-doc .label-ma-can {
  color: #c4002b;
}
.skyland-label-box.is-pri-label-tot {
  border-color: #e3b900;
  background: #fff;
}
.skyland-label-box.is-pri-label-tot .label-ma-can {
  color: #8a6500;
}
.skyland-label-box.is-pri-label-nho {
  border-color: #0d9488;
  background: #fff;
}
.skyland-label-box.is-pri-label-nho .label-ma-can {
  color: #0f766e;
}
.skyland-label-box.is-pri-label-giam {
  border-color: #ff7a00;
  background: #fff;
}
.skyland-label-box.is-pri-label-giam .label-ma-can {
  color: #b35000;
}
.skyland-label-box.is-pri-label-moi {
  border-color: #06b6d4;
  background: #fff;
}
.skyland-label-box.is-pri-label-moi .label-ma-can {
  color: #087f8c;
}
.skyland-prj-pin {
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  user-select: none;
}
.skyland-prj-pin.is-on {
  filter: drop-shadow(0 0 6px #f59e0b) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transform: scale(1.15);
}
.skyland-prj-label {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #087f8c;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f3d44;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
body.is-ios .skyland-prj-label {
  font-size: 12px;
}
.skyland-prj-label.is-on,
.skyland-prj-label.is-search.is-on {
  background: #fffbeb;
  border-color: #d97706;
  color: #92400e;
}
.skyland-prj-pop {
  min-width: 240px;
  max-width: 360px;
  font-family: "Segoe UI", sans-serif;
}
.skyland-prj-pop-title {
  font-weight: 800;
  font-size: 17px;
  color: #0f766e;
  margin-bottom: 10px;
}
.skyland-prj-addr {
  font-size: 13px;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 8px;
}
.skyland-prj-addr span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 2px;
}
.skyland-prj-pop-link {
  display: inline-block;
  margin: 0 8px 10px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.skyland-prj-val {
  margin-top: 4px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  max-height: 46vh;
  overflow: auto;
}
.skyland-prj-val-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: #134e4a;
}
.skyland-prj-val-empty {
  color: #6b7280;
}
.skyland-prj-val-group {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.45;
}
.skyland-prj-val-kind {
  font-weight: 800;
  margin-bottom: 4px;
  color: #0f766e;
}

/* Phase 3: Project Valuation Route-based Display */
.skyland-prj-val-method {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}

.skyland-prj-val-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #0f766e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 12px;
}

.skyland-prj-val-best-price {
  display: inline-block;
  padding: 2px 8px;
  background: #fbbf24;
  color: #333;
  font-size: 11px;
  font-weight: 800;
  border-radius: 12px;
}

.skyland-prj-val-method-text {
  color: #6b7280;
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

#skylandAddOverlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
}
#skylandAddOverlay[hidden] {
  display: none !important;
}
#skylandAddOverlay.is-open {
  display: flex !important;
}
body.is-add-overlay-open {
  overflow: hidden;
}
#skylandAddPanel {
  width: min(680px, 100%);
  max-height: 92dvh;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.12);
  box-sizing: border-box;
}
.skyland-add-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px;
  background: #fff;
  border-bottom: 1px solid #eef1f2;
  flex: 0 0 auto;
}
.skyland-add-head-text {
  min-width: 0;
}
.skyland-add-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #102428;
  line-height: 1.2;
}

/* ============================================================ */
/* === [SECTION: ADD_SOURCE_MODAL_FORM] === */
/* ============================================================ */
.skyland-add-code {
  margin-top: 3px;
  color: #6b7c80;
  font-size: 12px;
  font-weight: 600;
}
.skyland-add-kind-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin: 0 0 12px;
  padding: 3px;
  border-radius: 12px;
  background: #f3f6f6;
  box-shadow: 0 10px 24px rgba(15, 43, 60, 0.08);
}
.skyland-add-kind-tabs[hidden],
.skyland-add-kind-tabs button[hidden] {
  display: none !important;
}
.skyland-add-kind-tabs button {
  border: 0;
  border-radius: 9px;
  min-height: 34px;
  padding: 5px 3px;
  background: transparent;
  color: #4a5c60;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.15;
  box-shadow: 0 2px 0 rgba(16, 24, 28, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}
.skyland-add-kind-tabs button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16, 24, 28, 0.12);
}
.skyland-add-kind-tabs button:active {
  transform: translateY(0px);
  box-shadow: 0 6px 14px rgba(16, 24, 28, 0.1);
}
.skyland-add-kind-tabs button.is-on {
  background: #fff;
  color: #0f3d42;
  box-shadow: 0 16px 34px rgba(8, 127, 140, 0.18);
}
.skyland-add-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f6;
  color: #3d4c50;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
}
.skyland-add-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 18px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.skyland-add-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #5a6b6f;
}
.skyland-add-label > .skyland-add-input,
.skyland-add-label > .skyland-add-select,
.skyland-add-label > textarea {
  margin-top: 6px;
}
.skyland-add-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.skyland-add-row2 > .skyland-add-label {
  margin-top: 0;
}
.skyland-add-addr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 2px;
}
.skyland-add-addr-block {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e6eeee;
}
.skyland-add-addr-block.is-new {
  background: #f6fbfb;
}
.skyland-add-addr-block.is-old {
  background: #faf8f4;
}
.skyland-add-addr-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #0f3d42;
}
.skyland-add-addr-block.is-old .skyland-add-addr-title {
  color: #8a6a2a;
}
#skylandAddPanel.is-land .skyland-add-addr,
#skylandAddPanel.is-apartment .skyland-add-addr {
  grid-template-columns: 1fr;
  gap: 8px;
}
#skylandAddPanel.is-land .skyland-add-addr-block,
#skylandAddPanel.is-apartment .skyland-add-addr-block {
  padding: 8px 10px;
  border-radius: 12px;
}
#skylandAddPanel.is-land .skyland-add-addr-block.is-old,
#skylandAddPanel.is-apartment .skyland-add-addr-block.is-old {
  padding: 0;
}
#skylandAddPanel.is-land .skyland-add-addr-block.is-old > summary,
#skylandAddPanel.is-apartment .skyland-add-addr-block.is-old > summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #8a6a2a;
}
#skylandAddPanel.is-land .skyland-add-addr-block.is-old > summary::-webkit-details-marker,
#skylandAddPanel.is-apartment .skyland-add-addr-block.is-old > summary::-webkit-details-marker {
  display: none;
}
#skylandAddPanel.is-land .skyland-add-addr-block.is-old > summary::after,
#skylandAddPanel.is-apartment .skyland-add-addr-block.is-old > summary::after {
  content: " ▾";
  font-weight: 700;
}
#skylandAddPanel.is-land .skyland-add-addr-block.is-old[open] > summary::after,
#skylandAddPanel.is-apartment .skyland-add-addr-block.is-old[open] > summary::after {
  content: " ▴";
}
#skylandAddPanel.is-land .skyland-add-addr-old-body,
#skylandAddPanel.is-apartment .skyland-add-addr-old-body {
  padding: 0 10px 8px;
}
.skyland-add-input,
.skyland-add-select {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d7dfe1;
  border-radius: 11px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: #122428;
  appearance: none;
  -webkit-appearance: none;
}

/* Custom caret for native <select> (so arrow remains visible when appearance:none is used). */
.skyland-add-select {
  padding-right: 44px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a8a8e 50%),
    linear-gradient(135deg, #7a8a8e 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.skyland-add-input:focus,
.skyland-add-select:focus {
  border-color: #0d7a86;
  box-shadow: 0 0 0 3px rgba(13, 122, 134, 0.12);
}
.skyland-add-hint {
  margin-top: 2px;
  color: #7a8a8e;
  font-size: 12px;
  line-height: 1.4;
}
.skyland-add-section {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #eef1f2;
  color: #102428;
  font-size: 13px;
  font-weight: 800;
}
#skylandAddOverlay .skyland-edit-media-row,
.skyland-add-media-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 8px;
}
.skyland-add-media-row button {
  min-height: 42px;
  border: 1px solid #d7dfe1;
  border-radius: 11px;
  background: #fff;
  color: #16343c;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.skyland-add-media-row button:first-child {
  border-color: #0d7a86;
}
.skyland-add-prj-files {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}
.skyland-add-prj-file {
  display: grid;
  grid-template-columns: 36px 86px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.skyland-add-prj-file > span {
  font-size: 13px;
  font-weight: 750;
  color: #0f3d42;
}
.skyland-add-prj-file .skyland-add-secondary {
  min-height: 38px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skyland-add-prj-file .skyland-add-input {
  min-height: 38px;
}
  color: #0d7a86;
}
#skylandAddPhoto {
  margin-top: 2px;
}
.skyland-add-dd {
  position: relative;
}
.skyland-add-dd.open .skyland-add-dd-btn {
  border-color: #0d7a86;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 20px 50px rgba(8, 127, 140, 0.2);
}
.skyland-add-dd-btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d7dfe1;
  border-radius: 11px;
  background: #fff;
  color: #122428;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 26px rgba(16, 24, 32, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.skyland-add-dd-btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 18px 44px rgba(16, 24, 32, 0.12);
}
.skyland-add-dd-caret {
  color: #7a8a8e;
  font-size: 14px;
}
.skyland-add-dd-menu {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  position: static;
  margin-top: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #e6eeee;
  border-radius: 12px;
  background: #f8fbfb;
  box-shadow: 0 22px 60px rgba(16, 24, 32, 0.14);
}

.skyland-productline-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.skyland-add-dd.open .skyland-add-dd-menu {
  display: grid;
}
.skyland-add-dd-road .skyland-add-dd-btn > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.skyland-add-dd-road .skyland-add-dd-menu {
  max-height: 280px;
}
.skyland-add-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e6eeee;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}
.skyland-add-dd-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.12);
  border-color: #d7f1f3;
}
.skyland-add-dd-item.is-on {
  border-color: #0d7a86;
  background: #eef8f8;
  color: #0f3d42;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(8, 127, 140, 0.16);
}
.skyland-add-secondary {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7dfe1;
  border-radius: 11px;
  background: #fff;
  color: #16343c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.skyland-add-foot {
  flex: 0 0 auto;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef1f2;
  background: #fff;
}
.skyland-add-submit {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #0d6e78;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 18px 48px rgba(13, 110, 120, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.skyland-add-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.skyland-add-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 24px 64px rgba(13, 110, 120, 0.32);
  filter: saturate(1.06);
}
.skyland-add-submit:active:not(:disabled) {
  transform: translateY(0px);
  box-shadow: 0 18px 48px rgba(13, 110, 120, 0.26);
}
.skyland-add-textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}
@media (max-width: 899px) {
  #skylandAddOverlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: #fff;
  }
  #skylandAddPanel {
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 100%;
    border-radius: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .skyland-add-body {
    flex: 1 0 auto;
    min-height: auto;
    overflow: visible;
    padding: 14px 16px 16px;
  }
  .skyland-add-head,
  .skyland-add-foot {
    position: sticky;
    z-index: 3;
    padding-left: 16px;
    padding-right: 16px;
  }
  .skyland-add-head {
    top: 0;
  }
  .skyland-add-foot {
    bottom: 0;
  }
  .skyland-add-addr,
  .skyland-add-dd-menu {
    grid-template-columns: 1fr;
  }
  .skyland-edit-overlay {
    align-items: flex-end;
    padding: 0;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    isolation: isolate;
  }
  .skyland-edit-panel {
    width: 100%;
    max-height: min(88dvh, 100svh);
    margin: 0;
    border-radius: 16px 16px 0 0;
  }
  .skyland-edit-foot {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .skyland-edit-overlay input,
  .skyland-edit-overlay textarea,
  .skyland-edit-overlay select,
  #skylandAddOverlay input,
  #skylandAddOverlay textarea,
  #skylandAddOverlay select {
    font-size: 16px !important;
    line-height: 1.25;
  }
  html.is-source-overlay-open,
  body.is-source-overlay-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
  body.is-source-overlay-open.map-body #map,
  body.is-source-overlay-open.map-body .maplibregl-canvas,
  body.is-source-overlay-open.map-body .maplibregl-canvas-container {
    pointer-events: none;
  }
}
#skylandMediaOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 130000;
  background: rgba(0, 0, 0, 0.48);
  padding: 10px;
  box-sizing: border-box;
}
#skylandMediaOverlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
#skylandMediaPanel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  height: min(88dvh, 860px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.skyland-media-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  padding-top: max(6px, env(safe-area-inset-top));
  background: #fff;
  border-bottom: 1px solid #f1f3f4;
}
.skyland-media-ico,
#skylandMediaBack,
#skylandMediaClose {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1d3338;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.skyland-media-ico:hover,
#skylandMediaBack:hover,
#skylandMediaClose:hover {
  background: #f2f4f5;
}
.skyland-media-ico:active,
#skylandMediaBack:active,
#skylandMediaClose:active {
  background: #e8ecee;
}
.skyland-media-ico svg,
#skylandMediaBack svg,
#skylandMediaClose svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#skylandMediaFrame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  border: 0;
  background: #fff;
}

.skylandMediaLoading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 1;
  font-size: 16px;
  color: #1d3338;
  pointer-events: none;
}
.skylandMediaLoading.is-hidden {
  display: none;
}
@media (max-width: 768px) {
  #skylandMediaOverlay {
    padding: 0;
    background: #fff;
  }
  #skylandMediaPanel {
    width: 100%;
    height: 100dvh;
    height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }
  .skyland-media-nav {
    padding: 8px 10px;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .skyland-media-ico,
  #skylandMediaBack,
  #skylandMediaClose {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
}

.home-body {
  margin: 0;
  background: #f2f3f5;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

/* ============================================================ */
/* === [SECTION: HOME_PAGE_AND_HERO] === */
/* ============================================================ */
.home-hero {
  position: relative;
  padding: calc(14px + env(safe-area-inset-top)) 18px 58px;
  background: #e03a3a;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/images/home-city.png?v=2") center 70% / cover no-repeat;
  opacity: 0.6;
}
.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent 0%, rgba(224, 58, 58, 0.92) 100%);
  pointer-events: none;
}
.home-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.home-brand,
.home-hero .sky-logo-chip {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
.home-brand img,
.home-hero .sky-logo-chip img {
  width: 148px;
  height: 36px;
  object-fit: contain;
  opacity: 0.8;
  filter: saturate(0.9) brightness(1.05);
}
.home-bell {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.home-bell svg {
  width: 22px;
  height: 22px;
}
.home-bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #e03a3a;
}
.home-wrap {
  position: relative;
  z-index: 1;
  margin: -38px 14px 0;
}
.home-card {
  background: #fff;
  border-radius: 22px;
  padding: 14px 6px 8px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}
.home-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(76px, 78px);
  gap: 10px 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 2px 8px 8px;
  scrollbar-width: thin;
}
.home-grid::-webkit-scrollbar {
  height: 4px;
}
.home-grid::-webkit-scrollbar-thumb {
  background: rgba(224, 58, 58, 0.35);
  border-radius: 999px;
}
.home-tile {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 4px;
  color: #3d4f57;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  scroll-snap-align: start;
  min-width: 0;
}
.home-tile-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef9fa, #e2f3f5);
  color: #087f8c;
  box-shadow: inset 0 1px 0 #fff;
}
.home-tile-ico svg {
  width: 24px;
  height: 24px;
}
.home-tile-ico.is-add {
  background: linear-gradient(180deg, #14a3b0, #087f8c);
  color: #fff;
  box-shadow: 0 8px 16px rgba(8, 127, 140, 0.28);
}
.home-tile-ico.is-train {
  background: linear-gradient(180deg, #e8f8ef, #c8eed8);
  color: #0f8a4b;
}
.home-tile-ico.is-lead {
  background: linear-gradient(180deg, #fff4e8, #ffe0c2);
  color: #d97706;
}
.home-tile-ico.is-user {
  background: linear-gradient(180deg, #fde8f0, #f8c5d8);
  color: #c0266b;
}
.home-tile-ico.is-stats {
  background: linear-gradient(180deg, #fff7d6, #ffe58f);
  color: #ca8a04;
}
.home-tile-ico.is-me {
  background: linear-gradient(180deg, #e8f6f7, #d2eef1);
  color: #087f8c;
  border: 0;
  box-shadow: inset 0 1px 0 #fff;
}
.home-tile-ico.is-me svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}
.home-tile-ico.is-invest {
  background: #fff;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #e4ecee;
}
.home-tile-ico.is-invest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.map-more-invest-logo {
  width: 96px;
  height: 32px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e4ecee;
}
.me-invest-pane {
  padding: 4px 0 20px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}
.me-invest-stage {
  overflow: hidden;
  border: 1px solid #d7e4e7;
  background: #fff;
  color: #1a2a2e;
}
.me-invest-brand {
  position: relative;
  overflow: hidden;
  min-height: 84px;
  padding: 12px 16px 10px;
  background:
    linear-gradient(180deg, rgba(120, 178, 190, 0.28) 0%, rgba(238, 243, 245, 0.72) 100%),
    url("/assets/images/invest-hero-city.png?v=2") center 62% / cover no-repeat,
    #9fcad4;
}
.me-invest-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 196px);
  height: auto;
  opacity: 0.8;
  filter: saturate(0.92) brightness(1.02);
}
.me-invest-copy {
  padding: 14px 18px 18px;
}
.me-invest-eyebrow {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #087f8c;
}
.me-invest-lead {
  margin: 0 0 18px;
  max-width: 36ch;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.55;
  color: #4a5c62;
}
.me-invest-cta {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: #087f8c;
  color: #fff;
  text-decoration: none;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.me-invest-cta:hover {
  background: #066c76;
}
.invest-body {
  --invest-ink: #142428;
  --invest-muted: #5a6b71;
  --invest-line: #d5e2e5;
  --invest-teal: #087f8c;
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(90% 40% at 100% 0%, rgba(8, 127, 140, 0.07), transparent 55%),
    #eef3f5;
  color: var(--invest-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  padding-bottom: 88px;
}
.invest-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 16px 12px;
  min-height: 96px;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(110, 172, 186, 0.22) 0%, rgba(238, 243, 245, 0.55) 78%, rgba(238, 243, 245, 0.92) 100%),
    url("/assets/images/invest-hero-city.png?v=2") center 68% / cover no-repeat,
    #9fcad4;
  text-align: left;
  animation: investHeroIn 0.55s ease both;
}
.invest-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(238, 243, 245, 0.55) 100%);
}
.invest-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 40px;
}
.invest-back {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(8, 127, 140, 0.22);
  border-radius: 0;
  display: grid;
  place-items: center;
  color: #066c76;
  text-decoration: none;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.invest-logo {
  display: block;
  width: min(210px, 68%);
  height: auto;
  margin: 0;
  opacity: 0.8;
  filter: saturate(0.92) brightness(1.02);
  transition: opacity 0.18s ease;
}
.invest-hero:hover .invest-logo {
  opacity: 0.96;
}
.invest-main {
  position: relative;
  z-index: 1;
  margin: -22px auto 0;
  padding: 14px 18px 36px;
  max-width: 920px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #fff 0%, #eef3f5 120px);
}
.invest-note {
  color: var(--invest-muted);
  text-align: left;
  font-size: 14px;
}
.invest-ok {
  animation: investMainIn 0.55s ease 0.08s both;
}
.invest-eyebrow {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--invest-teal);
}
.invest-title {
  margin: 0 0 12px;
  max-width: 16ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(26px, 4.2vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--invest-ink);
}
.invest-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  text-align: left;
  color: var(--invest-muted);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 550;
}
.invest-grid {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--invest-line);
  background: rgba(255, 255, 255, 0.72);
}
@media (min-width: 900px) {
  .invest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .invest-body {
    padding-bottom: 24px;
  }
  .invest-hero {
    padding: 16px 40px 14px;
    min-height: 108px;
  }
  .invest-hero-inner {
    padding-left: 0;
  }
  .invest-back {
    left: 16px;
    top: 12px;
  }
  .invest-logo {
    width: min(240px, 36%);
  }
  .invest-main {
    margin-top: -28px;
    padding: 16px 40px 48px;
    max-width: none;
    border-radius: 0;
    background: transparent;
  }
  .invest-ok {
    max-width: 980px;
  }
}
.invest-card {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--invest-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s ease;
}
.invest-card:hover {
  background: rgba(8, 127, 140, 0.04);
}
@media (min-width: 900px) {
  .invest-card {
    padding: 26px 24px 28px;
    border-bottom: 0;
    border-right: 1px solid var(--invest-line);
  }
  .invest-card:last-child {
    border-right: 0;
  }
}
.invest-card-idx {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--invest-teal);
}
.invest-card b {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--invest-ink);
}
.invest-card span:not(.invest-card-idx) {
  color: var(--invest-muted);
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
}
.invest-soon {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--invest-line);
  color: #7a8a90;
  font-size: 13px;
  line-height: 1.55;
}
@keyframes investHeroIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes investMainIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .invest-hero,
  .invest-ok {
    animation: none;
  }
}
.me-main-tabs {
  flex-wrap: wrap;
}
.me-main-tabs button {
  flex: 1 1 18%;
  min-width: 0;
  white-space: normal;
  line-height: 1.15;
  font-size: 11.5px;
  padding: 10px 3px 8px;
}
.income-pane {
  margin: 0;
  padding: 4px 6px 24px;
}
.income-hub,
.income-detail {
  padding: 8px 10px 20px;
}
.income-hub[hidden],
.income-detail[hidden] {
  display: none !important;
}
.income-title,
.income-detail-head h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #122026;
}
.income-lead {
  margin: 0 0 22px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: #5b6d73;
}
.income-grid {
  display: grid;
  gap: 10px;
}
.income-tile {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 18px 16px 16px;
  border: 1px solid #e6eef0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.income-tile:hover,
.income-tile:focus-visible {
  border-color: #087f8c;
  outline: none;
}
.income-tile-idx {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: #087f8c;
}
.income-tile b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #122026;
}
.income-tile span:not(.income-tile-idx) {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #6a7b81;
}
.income-back {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 14px;
  color: #087f8c;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.income-share {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e6eef0;
  border-radius: 16px;
  background: #f7fbfb;
}
.income-share > span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7b81;
}
.income-share strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #122026;
}
.income-share-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.income-ghost {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d5e3e6;
  background: #fff;
  color: #0d4d54;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.income-detail.is-candidate .income-share {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 8px;
  padding: 4px 0 16px;
  border: 0;
  border-bottom: 1px solid #eef3f4;
  border-radius: 0;
  background: transparent;
}
.income-detail.is-candidate .income-share > span {
  flex: 1 1 100%;
}
.income-detail.is-candidate .income-share strong {
  font-size: 20px;
  margin-right: auto;
}
.income-detail.is-candidate .income-list-wrap {
  margin-top: 18px;
}
.income-form {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
#incomeFormBox[hidden],
.income-detail.is-candidate #incomeFormBox,
.income-form[hidden],
.income-detail.is-candidate .income-form,
.income-form label[hidden] {
  display: none !important;
}
.income-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #3e5157;
}
.income-form input,
.income-form select,
.income-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid #d7e2e5;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #122026;
}
.income-form textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.45;
}
.income-form input:focus,
.income-form select:focus,
.income-form textarea:focus {
  outline: none;
  border-bottom-color: #087f8c;
}
.income-msg {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  font-weight: 650;
  color: #087f8c;
}
.income-list-wrap h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7b81;
}
.income-list {
  display: flex;
  flex-direction: column;
}
.income-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #eef3f4;
}
.income-list.is-people .income-row {
  align-items: flex-start;
  padding: 14px 0;
  border-top: 0;
  border-bottom: 1px solid #eef3f4;
}
.income-row-acts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}
.income-detail-link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  padding: 4px 0;
  min-height: 32px;
  color: #087f8c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.income-row b {
  display: block;
  font-size: 15px;
  color: #122026;
}
.income-row span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #6a7b81;
}
.income-st {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6f7;
  color: #0d5c64;
}
.income-st.is-processing {
  background: #fff6e8;
  color: #9a5b12;
}
.income-st.is-done {
  background: #e8f7ee;
  color: #1b6b3a;
}
.income-empty {
  margin: 0;
  padding: 18px 0;
  color: #7a8b91;
  font-size: 13px;
}
@media (min-width: 900px) {
  .income-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .income-form {
    grid-template-columns: 1fr 1fr;
  }
  .income-form .income-span,
  .income-form .income-msg,
  .income-form .me-submit {
    grid-column: 1 / -1;
  }
  .income-title,
  .income-detail-head h2 {
    font-size: 30px;
  }
}
html.desk-ui .income-pane {
  padding: 12px 28px 36px;
}
html.desk-ui .income-tile {
  min-height: 168px;
  padding: 22px 20px;
}
.income-quote {
  margin: 0 0 14px;
  padding: 0 0 0 14px;
  border-left: 2px solid #087f8c;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 550;
  color: #1a2c31;
  font-style: italic;
}
.income-quote[hidden],
.income-share[hidden],
.income-lead[hidden] {
  display: none !important;
}
.income-st.is-active {
  background: #e8f7ee;
  color: #1b6b3a;
}
.income-st.is-pending {
  background: #fff6e8;
  color: #9a5b12;
}
.income-st.is-locked {
  background: #f4f5f6;
  color: #5a6a72;
}
body.income-sheet-open {
  overflow: hidden;
}

/* ============================================================ */
/* === [SECTION: INCOME_AND_COMMISSIONS] === */
/* ============================================================ */
.income-sheet {
  position: fixed;
  inset: 0;
  z-index: 120100;
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.income-sheet.hidden,
.income-sheet[hidden] {
  display: none !important;
}
.income-sheet-panel {
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: #fff;
  border: 1px solid #e7ecee;
  border-radius: 16px 16px 0 0;
  padding: 8px 18px 28px;
  box-shadow: 0 -12px 40px rgba(16, 24, 32, 0.12);
}
.income-sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 -6px 4px;
  padding: 10px 6px 8px;
  background: #fff;
}
.income-sheet-bar span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7b81;
}
.income-sheet-close {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  color: #5a6a72;
  cursor: pointer;
}
.income-sheet-panel h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #122026;
}
.income-sheet-panel h4 {
  margin: 18px 0 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a7b81;
}
.income-kv-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.income-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef3f4;
  font-size: 13px;
}
.income-kv span {
  color: #6a7b81;
  font-weight: 650;
}
.income-kv b {
  text-align: right;
  font-weight: 650;
  color: #122026;
}
.income-deal-list {
  margin: 0;
  padding-left: 18px;
  color: #33464b;
  font-size: 13px;
  line-height: 1.55;
}
@media (min-width: 900px) {
  .income-sheet {
    align-items: center;
    padding: 24px;
  }
  .income-sheet-panel {
    border-radius: 18px;
    padding: 22px 24px 28px;
  }
}
.home-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 40;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.home-banner {
  margin: 12px 8px 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
}
.home-section {
  margin: 22px 0 0;
}
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 18px 12px;
}
.home-section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #111827;
}
.home-section-head h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 6px;
  border-radius: 99px;
  background: #087f8c;
}
.home-honor-head {
  margin: 6px 18px 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f766e;
}
.home-news-carousel + .home-honor-head {
  margin-top: 10px;
}
.home-more {
  color: #087f8c;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.home-news-pair .home-news + .home-news {
  padding-top: 2px;
}
.home-news {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 18px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-news::-webkit-scrollbar { display: none; }
.home-news-card {
  flex: 0 0 78%;
  max-width: 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

/* Home 3D news carousel */
.home-news-carousel {
  position: relative;
  perspective: 1000px;
  overflow: hidden;
}
.home-news-track {
  display: flex;
  gap: 12px;
  padding: 0 18px 14px;
  transition: transform 2s ease;
  will-change: transform;
}
.home-news-carousel .home-news-card {
  scroll-snap-align: unset;
  transform-style: preserve-3d;
  /* transform is controlled by inline styles + --card-xform */
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
}
.home-news-carousel .home-news-card:hover {
  transform: var(--card-xform, translateZ(0) rotateY(0deg) scale(1)) !important;
}

@media (max-width: 420px) {
  .home-news-track {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 900px) {
  .home-news-track {
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
  .home-news-carousel .home-news-card {
    flex: 0 0 34%;
    max-width: 320px;
  }
}
.home-news-thumb {
  position: relative;
  height: 108px;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0,40,48,.72)),
    linear-gradient(135deg, #0e8a96, #087f8c 48%, #0b5f68);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.home-news-body { padding: 12px 12px 14px; }
.home-news-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.home-news-date { margin: 8px 0 4px; color: #6b7280; font-size: 12px; }
.home-news-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-empty { color: #6b7280; font-size: 13px; padding: 4px 18px 12px; }
@media (min-width: 900px) {
  .dock-home-link { display: none !important; }
  .dock-ico { display: none; }
}
@media (max-width: 899px) {
  .dock {
    justify-content: space-around;
    padding: 4px 6px calc(6px + env(safe-area-inset-bottom));
  }
  
  /* ===== KHO YÊU THÍCH - MOBILE ===== */
  .kho-fav-card {
    display: flex;
    flex-direction: row;
    padding: 8px;
    gap: 8px;
  }
  
  .kho-fav-main {
    display: flex;
    gap: 8px;
  }
  
  .kho-fav-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
  }
  
  .kho-fav-body {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }
  
  .kho-fav-title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  
  .kho-fav-acts {
    display: none;
  }
  
  .dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    font-size: 11px;
  }
  .dock-item.is-active {
    background: transparent;
    color: #087f8c;
  }
  .home-body .dock-item.is-active .dock-ico,
  .app-body .dock-item.is-active .dock-ico {
    background: #087f8c;
    box-shadow: 0 0 0 7px #e8f6f7;
    border-radius: 50%;
  }
  .home-body .dock-item.is-active,
  .app-body .dock-item.is-active {
    background: transparent;
    color: #087f8c;
  }
  .dock-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
    -webkit-mask: center / 18px 18px no-repeat;
    mask: center / 18px 18px no-repeat;
  }
  .dock-ico-home {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  }
  .dock-ico-kho {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3 3 8v3h18V8z'/%3E%3Cpath d='M5 11v7h4v-5h6v5h4v-7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3 3 8v3h18V8z'/%3E%3Cpath d='M5 11v7h4v-5h6v5h4v-7'/%3E%3C/svg%3E");
  }
  .dock-ico-chat {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 3V12a8 8 0 1 1 18 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 3V12a8 8 0 1 1 18 0z'/%3E%3C/svg%3E");
  }
  .dock-ico-map {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E");
  }
  .dock-ico-more {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.4-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.4-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E");
  }
}

/* ============================================================ */
/* === [SECTION: APARTMENT_SHEET_AND_CLUSTERS] === */
/* ============================================================ */
.skyland-apt-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #138f9e;
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.skyland-apt-label {
  padding: 3px 7px;
  border: 1px solid #138f9e;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  color: #263238;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}
.skyland-apt-pop {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 430px;
  max-width: calc(100vw - 48px);
  max-height: 72vh;
  min-height: 380px;
  overflow: hidden;
  padding: 2px 2px 4px 0;
}
.skyland-apt-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.skyland-apt-filter-btn {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #c5d6d9;
  border-radius: 8px;
  background: #f4fbfb;
  color: #0a6e78;
  cursor: pointer;
}
.skyland-apt-filter-btn.is-active {
  border-color: #087f8c;
  background: #e8f6f7;
}
.skyland-apt-filter-btn.is-active::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e53935;
}
.skyland-apt-sheet {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}
.skyland-apt-sheet.hidden { display: none; }
.skyland-apt-sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 40px 10px;
  border-bottom: 1px solid #eceff1;
  font-size: 16px;
  font-weight: 800;
}
.skyland-apt-sheet-close {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #607d8b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.skyland-apt-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 0 12px 10px;
  background: #fff;
}
.skyland-apt-acc {
  border-bottom: 1px solid #eeeeee;
}
.skyland-apt-acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #212121;
  cursor: pointer;
  list-style: none;
}
.skyland-apt-acc > summary::-webkit-details-marker,
.skyland-apt-dd > summary::-webkit-details-marker { display: none; }
.skyland-apt-acc > summary::after,
.skyland-apt-dd > summary::after {
  content: "▾";
  color: #9e9e9e;
  font-size: 13px;
  font-weight: 500;
  margin-left: 8px;
}
.skyland-apt-acc[open] > summary::after,
.skyland-apt-dd[open] > summary::after { content: "▴"; }
.skyland-apt-acc-body { padding: 0 0 10px; }
.skyland-apt-dd {
  margin: 0 0 8px;
}
.skyland-apt-dd > summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.skyland-apt-dd[open] > summary {
  border-color: #b0bec5;
}
.skyland-apt-dd-name {
  flex: 0 0 auto;
  margin-right: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #263238;
}
.skyland-apt-dd-val {
  flex: 1;
  min-width: 0;
  text-align: right;
  color: #9e9e9e;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skyland-apt-dd-val.is-picked { color: #212121; }
.skyland-apt-dd-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 2px;
}
.skyland-apt-opt {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #eceff1;
  border-radius: 8px;
  background: #fafafa;
  color: #37474f;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.skyland-apt-opt.is-on {
  border-color: #e53935;
  background: #fff5f5;
  color: #c62828;
}
.skyland-apt-hint {
  margin: 0 0 8px;
  font-size: 11px;
  color: #78909c;
  font-weight: 600;
}
.skyland-apt-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 8px;
}
.skyland-apt-money input {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.skyland-apt-sheet-foot {
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #eceff1;
  background: #fff;
}
.skyland-apt-reset,
.skyland-apt-confirm {
  flex: 1;
  border-radius: 8px;
  padding: 11px 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.skyland-apt-reset {
  border: 1px solid #cfd8dc;
  background: #fff;
  color: #455a64;
}
.skyland-apt-confirm {
  border: 0;
  background: #e53935;
  color: #fff;
}
.skyland-apt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  padding: 0 0 6px;
}
.skyland-apt-title {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.skyland-apt-filter-count {
  font-size: 11px;
  font-weight: 800;
}
.skyland-apt-tower {
  margin: 7px 0;
  border: 1px solid #d8e4e7;
  border-radius: 9px;
  background: #fff;
}
.skyland-apt-tower summary {
  cursor: pointer;
  font-weight: 800;
  padding: 9px 10px;
}
.skyland-apt-tower-body { padding: 0 9px 9px; }
.skyland-apt-btn {
  border: 1px solid #1593a0;
  border-radius: 7px;
  padding: 5px 9px;
  background: #fff;
  color: #087f8c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.skyland-apt-btn.is-off {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.skyland-apt-unit {
  padding: 8px 0;
  border-top: 1px solid #eef3f4;
  font-size: 13px;
}
.skyland-apt-need { font-weight: 700; margin: 2px 0; }
.skyland-apt-price { margin: 0 0 4px; color: #263238; font-size: 12px; }
.skyland-apt-date { margin: 0 0 5px; color: #6f7f84; font-size: 10px; font-weight: 800; }
.skyland-apt-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}
.skyland-phone-line {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #263238;
}
.skyland-phone-hint {
  color: #6f7f84;
  font-weight: 800;
  margin-right: 4px;
}
a.skyland-phone {
  color: #087f8c;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1px dotted #087f8c;
  cursor: pointer;
}
.skyland-apt-phone {
  display: block;
  max-width: 100%;
  margin-top: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.skyland-apt-detail { margin-top: 6px; font-size: 12px; color: #374151; }
.maplibregl-popup.skyland-apt-popup .maplibregl-popup-content {
  border-radius: 12px;
  padding: 10px 12px;
}
.skyland-apt-phone-sheet {
  display: none;
}
@media (max-width: 899px) {
  .skyland-apt-phone-sheet {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 70;
    align-items: flex-end;
    justify-content: center;
    background: rgba(20, 32, 38, 0.38);
    padding: 0;
  }
  .skyland-apt-phone-sheet.hidden {
    display: none !important;
  }
  .skyland-apt-phone-sheet-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - 58px - env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    background: #fff;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    padding: 0 10px calc(10px + 56px + env(safe-area-inset-bottom));
  }
  .skyland-apt-phone-bar {
    position: relative;
    flex: 0 0 auto;
    height: 28px;
  }
  .skyland-apt-phone-handle {
    display: block;
    width: 42px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #cfd8dc;
  }
  .skyland-apt-phone-close {
    position: absolute;
    right: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #607d8b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }
  .skyland-apt-phone-sheet-panel .skyland-apt-pop {
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    height: auto;
    overflow: hidden;
  }
  .skyland-apt-phone-sheet-panel .skyland-apt-list {
    max-height: none;
  }
  .maplibregl-popup.skyland-apt-popup {
    display: none !important;
  }
  .skyland-apt-pop {
    width: 100%;
    max-width: none;
    max-height: none;
    min-height: 0;
  }
  .skyland-apt-title { font-size: 16px; }
  .skyland-apt-filter-btn {
    min-height: 36px;
    padding: 6px 10px;
  }
}

.home-tile-ico.is-news {
  background: linear-gradient(180deg, #e8f1ff, #cfe0ff);
  color: #1d4ed8;
}
.home-tile-ico.is-kho {
  background: linear-gradient(180deg, #e8f8ef, #c8eed8);
  color: #0f8a4b;
}
.home-news-sum {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-thumb-honor {
  background:
    linear-gradient(180deg, transparent 20%, rgba(40,20,0,.72)),
    linear-gradient(135deg, #f59e0b, #d97706 48%, #92400e);
}
.home-news-thumb-event {
  background:
    linear-gradient(180deg, transparent 20%, rgba(20,0,40,.72)),
    linear-gradient(135deg, #8b5cf6, #6d28d9 48%, #4c1d95);
}
.home-news-thumb-priority {
  overflow: hidden;
  background: none;
}
.home-news-thumb-priority:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0,60,50,.72)),
    linear-gradient(135deg, #10b981, #0ea5e9 48%, #0b5f57);
  z-index: 1;
  pointer-events: none;
}
.home-news-thumb-priority .home-news-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.kho-chooser {
  position: fixed;
  inset: 0;
  z-index: 400000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  pointer-events: auto;
}
.kho-chooser[hidden] { display: none !important; pointer-events: none !important; }
.kho-chooser-btn[hidden] { display: none !important; }
html.kho-open body {
  overflow: hidden;
}
html.kho-open .kho-chooser,
html.kho-open .kho-chooser-panel,
html.kho-open .kho-chooser-btn {
  pointer-events: auto !important;
}
.skyland-edit-overlay[hidden],
.skyland-info-overlay[hidden],
.skyland-post-wiz[hidden],
.skyland-pd-lightbox[hidden] {
  pointer-events: none !important;
}
.kho-chooser-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}
.kho-chooser-panel h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #087f8c;
}
.kho-chooser-panel p {
  margin: 0 0 14px;
  color: #546e7a;
  font-size: 13px;
}
.kho-chooser-btn {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 12px;
  border: 0;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}
.kho-chooser-btn.is-map {
  background: #087f8c;
  color: #fff;
}
.kho-chooser-btn.is-list {
  background: #e8f3f4;
  color: #087f8c;
}
.kho-chooser-btn.is-wr {
  background: #fff4ed;
  color: #c2410c;
}
.kho-chooser-close {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #546e7a;
  font-weight: 700;
  padding: 8px;
  cursor: pointer;
}
.skyland-loc-ask {
  position: fixed;
  inset: 0;
  z-index: 400100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.45);
}
.skyland-share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 400200;
  max-width: min(420px, calc(100vw - 28px));
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 12px;
  background: #0b4f56;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(4, 40, 48, 0.28);
  pointer-events: none;
}
.skyland-share-toast[hidden] {
  display: none !important;
}
.skyland-loc-ask[hidden] {
  display: none !important;
}
.skyland-loc-ask-panel {
  width: min(420px, 100%);
  padding: 20px 18px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.skyland-loc-ask-panel h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #087f8c;
}
.skyland-loc-ask-panel p {
  margin: 0 0 14px;
  color: #546e7a;
  font-size: 13px;
  line-height: 1.45;
}
.skyland-loc-ask-gps {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  font-weight: 650;
  color: #087f8c !important;
}
.skyland-loc-ask-btn {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 12px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.skyland-loc-ask-btn.is-nav {
  background: #087f8c;
  color: #fff;
}
.skyland-loc-ask-btn.is-share {
  background: #e8f3f4;
  color: #087f8c;
}
.skyland-loc-ask-close {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #546e7a;
  font: inherit;
  font-weight: 700;
  padding: 8px;
  cursor: pointer;
}
@media (min-width: 900px) {
  .skyland-loc-ask {
    align-items: center;
  }
}
.news-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  background: #087f8c;
  color: #fff;
}
.news-head h1 {
  flex: 1;
  margin: 0;
  font-size: 17px;
  text-align: center;
}
.news-back, .news-head-pad {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  border-radius: 12px;
}
.news-tabs {
  display: flex;
  gap: 0;
  padding: 8px 10px 0;
  background: #fff;
}
.news-tabs[hidden] {
  display: none !important;
}
.news-tabs button {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  color: #5f7a80;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.news-tabs button.is-on {
  color: #087f8c;
  border-bottom-color: #087f8c;
}
.news-main {
  padding: 12px 14px 96px;
  max-width: 760px;
  margin: 0 auto;
}
.news-list { display: grid; gap: 10px; }
.news-card {
  display: block;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.news-card-cover {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: -14px -14px 10px;
  border-radius: 14px 14px 0 0;
}
.news-card-content {
  display: flex;
  flex-direction: column;
}
.news-card h2, .news-detail h2 {
  margin: 6px 0 4px;
  font-size: 17px;
  color: #103d43;
}
.news-card p { margin: 6px 0 0; color: #546e7a; font-size: 13px; line-height: 1.45; }
.news-card-kicker {
  font-size: 11px;
  font-weight: 800;
  color: #087f8c;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-card-date { color: #6b7280; font-size: 12px; }
.news-detail {
  padding: 4px 2px 20px;
}
.news-detail-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}
.news-detail-date {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 8px;
}
.news-event-schedule {
  margin: 14px 0;
  padding: 12px 14px;
  background: #f0f8ff;
  border-left: 4px solid #087f8c;
  border-radius: 8px;
}
.news-event-schedule strong {
  display: block;
  margin-bottom: 8px;
  color: #087f8c;
  font-size: 14px;
}
.news-event-schedule pre {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1a;
  font-family: inherit;
  white-space: pre-wrap;
}
.news-detail-body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
  white-space: pre-wrap;
}
.news-back-inline {
  display: inline-block;
  margin-bottom: 10px;
  color: #087f8c;
  font-weight: 800;
  text-decoration: none;
}
.news-del {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fde8e8;
  color: #b42318;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.news-admin {
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.news-admin h2 { margin: 0 0 10px; font-size: 15px; }
.news-form {
  display: grid;
  gap: 8px;
}
.news-form input, .news-form select, .news-form textarea {
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font: inherit;
}
.news-form button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.news-pin { font-size: 13px; color: #33464b; }
#newsAdminMsg:empty {
  display: none;
}
.news-admin-covers {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
}
.news-admin-covers strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: #103d43;
}
.news-admin-covers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cover-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.cover-option.selected {
  border-color: #087f8c;
  background: #f0f8ff;
}
.cover-option img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.cover-option label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1a1a1a;
  cursor: pointer;
}
.cover-option input[type="radio"] {
  cursor: pointer;
}
.news-save-cover {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
@media (min-width: 900px) {
  .home-body {
    background: #eef3f4;
  }
  .home-hero {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 0 0 24px 24px;
  }
  .home-wrap {
    max-width: 980px;
    margin: -38px auto 0;
    padding: 0 16px;
  }
  .home-section {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-grid {
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(84px, 88px);
    gap: 12px 8px;
  }
  .home-tile { font-size: 12px; }
  .home-tile-ico {
    width: 52px;
    height: 52px;
  }
  .home-news-card {
    flex: 0 0 260px;
    max-width: none;
  }
  .dock-home-link { display: flex !important; }
}

.home-hero-copy { display: none; }

html.desk-ui #skylandAddOverlay {
  padding: 28px 24px;
}
html.desk-ui #skylandAddPanel {
  width: min(720px, calc(100vw - 80px));
}

/* ============================================================ */
/* === [SECTION: DESKTOP_UI_AND_SIDEBAR_SHELL] === */
/* ============================================================ */
html.desk-ui {
  height: 100%;
}
html.desk-ui body {
  min-height: 100%;
}
html.desk-ui .desk-shell {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  width: 248px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(184, 255, 42, 0.12), transparent 42%),
    linear-gradient(180deg, #0b4f56 0%, #087f8c 48%, #055862 100%);
  box-shadow: 8px 0 32px rgba(4, 40, 48, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
html.desk-ui .desk-toggle {
  position: fixed;
  top: 18px;
  left: 234px;
  z-index: 100;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: #087f8c;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(4, 40, 48, 0.35);
  transition: left 0.22s ease, background 0.15s ease;
}
@media (max-width: 899px) {
  .desk-toggle,
  html.desk-ui .desk-toggle {
    display: none !important;
  }
}
html.desk-ui .desk-toggle:hover {
  background: #066c76;
}
html.desk-ui .desk-brand {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 4px 2px;
  margin: 0 4px 16px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html.desk-ui .desk-brand img {
  width: 138px;
  height: 30px;
  object-fit: contain;
  opacity: 0.72;
  filter: saturate(0.88) brightness(1.08);
  transition: opacity 0.18s ease, filter 0.18s ease;
}
html.desk-ui .desk-brand:hover img {
  opacity: 0.94;
  filter: saturate(1) brightness(1.1);
}
html.desk-ui .desk-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: thin;
}
html.desk-ui .desk-nav::-webkit-scrollbar {
  width: 5px;
}
html.desk-ui .desk-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
html.desk-ui .desk-nav-link {
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
html.desk-ui .desk-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
html.desk-ui .desk-nav-link.is-on {
  background: #fff;
  color: #087f8c;
  box-shadow: 0 8px 18px rgba(0, 20, 24, 0.16);
}
html.desk-ui .desk-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
html.desk-ui .desk-who {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
html.desk-ui .desk-logout {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
html.desk-ui .desk-logout:hover { background: rgba(255, 255, 255, 0.22); }
html.desk-ui .dock { display: none !important; }
html.desk-ui body.home-body,
html.desk-ui body.news-body,
html.desk-ui body.stats-body,
html.desk-ui body.lead-body,
html.desk-ui body.app-body,
html.desk-ui body.invest-body,
html.desk-ui body.train-body {
  padding-left: 248px;
  padding-bottom: 0;
  background: #eef3f5;
  transition: padding-left 0.22s ease;
}
html.desk-ui.desk-nav-collapsed .desk-shell {
  transform: translateX(-100%);
  box-shadow: none;
}
html.desk-ui.desk-nav-collapsed .desk-toggle {
  left: 12px;
  right: auto;
  z-index: 100;
  background: #087f8c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
html.desk-ui.desk-nav-collapsed body.home-body .desk-toggle {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
html.desk-ui.desk-nav-collapsed body.home-body .desk-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
}
html.desk-ui.desk-nav-collapsed .desk-toggle:hover {
  background: #066c76;
}
html.desk-ui.desk-nav-collapsed body.home-body,
html.desk-ui.desk-nav-collapsed body.news-body,
html.desk-ui.desk-nav-collapsed body.stats-body,
html.desk-ui.desk-nav-collapsed body.lead-body,
html.desk-ui.desk-nav-collapsed body.app-body,
html.desk-ui.desk-nav-collapsed body.invest-body,
html.desk-ui.desk-nav-collapsed body.train-body {
  padding-left: 0;
}
html.desk-ui body.map-body .app-header {
  left: 248px;
  padding-left: 28px;
}
html.desk-ui.desk-nav-collapsed body.map-body .app-header {
  left: 0;
  padding-left: 56px;
}
html.desk-ui body.map-body .map-back-mine:not([hidden]) {
  display: inline-flex !important;
  left: 260px;
}
html.desk-ui.desk-nav-collapsed body.map-body .map-back-mine:not([hidden]) {
  left: 12px;
}

/* Fix vị trí nút định vị/chia sẻ vị trí trên desktop khi side-nav dịch layout
   sang phải (app-header & map đã được set left: 248px/260px). */
html.desk-ui body.map-body #btnLocate:not([hidden]) {
  left: auto;
  right: 12px;
}
html.desk-ui.desk-nav-collapsed body.map-body #btnLocate:not([hidden]) {
  left: auto;
  right: 12px;
}
body.map-body .skyland-info-overlay.skyland-pd-open {
  padding: 14px;
  align-items: center;
  justify-content: center;
  height: auto;
  background: rgba(16, 24, 28, 0.36);
}
body.map-body .skyland-info-overlay.skyland-pd-open .skyland-info-panel {
  width: min(92vw, 650px);
  max-width: 650px;
  max-height: 84vh;
  min-height: 0;
  margin: 0;
  border-radius: 16px;
  overflow-y: auto;
  background: #fff;
}
@media (max-width: 899px) {
  body.map-body .skyland-info-overlay.skyland-pd-open {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    height: 100%;
    height: 100dvh;
  }
  body.map-body .skyland-info-overlay.skyland-pd-open .skyland-info-panel {
    width: 100%;
    max-width: none;
    max-height: 100%;
    max-height: 100dvh;
    min-height: 100%;
    border-radius: 0;
  }
}
html.desk-ui body.map-body #map,
html.desk-ui body.map-body .map-boot-error {
  left: 248px;
}
html.desk-ui body.map-body .filter-panel.map-filter-sheet {
  left: 0;
  right: 0;
}
html.desk-ui body.map-body .feed-filter-sheet {
  left: 0;
  right: 0;
}
html.desk-ui.desk-nav-collapsed body.map-body #map,
html.desk-ui.desk-nav-collapsed body.map-body .map-boot-error {
  left: 0;
}
html.desk-ui.desk-nav-collapsed body.map-body .filter-panel.map-filter-sheet {
  left: 0;
}
html.desk-ui body.home-body {
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(224, 58, 58, 0.08), transparent 50%),
    #f3e9ea;
}
html.desk-ui .home-hero {
  max-width: none;
  margin: 0;
  padding: 28px 40px 72px;
  border-radius: 0;
  background: #e03a3a;
}
html.desk-ui .home-hero-bar {
  justify-content: flex-end;
}
html.desk-ui .home-hero-copy {
  display: block;
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
html.desk-ui.desk-nav-collapsed .home-hero-bar {
  justify-content: flex-end;
  padding-left: 56px;
}
html.desk-ui.desk-nav-collapsed .home-hero-bar .home-brand {
  display: flex !important;
  margin-right: auto;
}
html.desk-ui.desk-nav-collapsed .home-wrap {
  display: block;
  max-width: 980px;
  margin: -40px 40px 24px;
}
html.desk-ui.desk-nav-collapsed .home-card {
  padding: 16px 14px 12px;
}
html.desk-ui.desk-nav-collapsed .home-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  max-height: none;
  overflow: visible;
  padding: 4px;
}
html.desk-ui.desk-nav-collapsed .home-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 96px;
  height: 92px;
  padding: 8px 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(8, 127, 140, 0.12);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  color: #334155;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
html.desk-ui.desk-nav-collapsed .home-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 127, 140, 0.15);
  border-color: #087f8c;
}
html.desk-ui.desk-nav-collapsed .home-tile .home-tile-ico {
  width: 44px;
  height: 44px;
}
html.desk-ui .home-wrap {
  display: none;
}
html.desk-ui .home-desk-stage {
  display: block;
  max-width: none;
  margin: 8px 40px 40px;
}
html.desk-ui .home-desk-stage .home-section { margin: 18px 0 0; }
html.desk-ui .home-section-head { margin: 0 0 14px; }
html.desk-ui .home-news-pair {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px 28px;
  align-items: start;
}
html.desk-ui .home-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible;
  padding: 0;
}
html.desk-ui .home-news-pair .home-news:first-child {
  grid-template-columns: 1fr 1fr;
}
html.desk-ui .home-news-card {
  flex: none;
  max-width: none;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
html.desk-ui .home-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
html.desk-ui .home-news-thumb { height: 128px; }
/* Sidebar desk-ui đã có brand/logout riêng nên ẩn phần trùng lặp của
   .app-header trên trang /nguon, nhưng vẫn phải giữ lại nút chuông thông
   báo (#feedBell) — nổi góc trên-phải — vì sidebar không có nút này. */
html.desk-ui body.app-body:not(.me-body) .app-header {
  display: flex;
  position: fixed;
  top: 18px;
  right: 28px;
  left: auto;
  width: auto;
  padding: 0;
  background: transparent;
  z-index: 60;
}
html.desk-ui body.app-body:not(.me-body) .app-header .brand,
html.desk-ui body.app-body:not(.me-body) .app-header .top-nav,
html.desk-ui body.app-body:not(.me-body) .app-header #who,
html.desk-ui body.app-body:not(.me-body) .app-header #logoutBtn {
  display: none !important;
}
html.desk-ui body.app-body:not(.me-body) .app-header .header-right {
  margin: 0;
}
html.desk-ui body.app-body:not(.me-body) .app-header .feed-bell {
  background: #fff;
  border-color: rgba(8, 127, 140, 0.35) !important;
  color: #087f8c;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}
html.desk-ui .app-header .brand,
html.desk-ui .app-header .sky-logo-chip,
html.desk-ui .home-hero-bar .home-brand {
  display: none !important;
}
html.desk-ui body.app-body:not(.me-body) .kho-switch {
  display: flex;
  max-width: none;
  margin: 20px 40px 0;
  width: min(760px, calc(100% - 80px));
}
html.desk-ui .top-nav,
html.desk-ui body.map-body .kho-switch {
  display: none !important;
}
html.desk-ui .kho-layout {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  background: #f5f6f7;
}
html.desk-ui body.kho-tab-mine .kho-page-head,
html.desk-ui body.kho-tab-fav .kho-page-head {
  display: none;
}
html.desk-ui .kho-page-head {
  display: block;
  padding: 24px 28px 0;
  background: #f5f6f7;
}
html.desk-ui .kho-page-title {
  font-size: 26px;
}
html.desk-ui .kho-content {
  min-width: 0;
  padding: 16px 28px 48px;
}
html.desk-ui .kho-mine-head {
  margin: -24px -28px 16px;
  padding: 24px 28px 14px;
}
html.desk-ui .kho-fav-head {
  margin: 0 0 8px;
  padding: 8px 0 14px;
  background: transparent;
  border-bottom: 0;
}
html.desk-ui .kho-fav-tools {
  padding: 0 0 12px;
  background: transparent;
  border-bottom: 0;
}
html.desk-ui .kho-fav-search {
  max-width: 720px;
  background: #fff;
}
html.desk-ui .kho-fav-body {
  padding: 0 0 40px;
}
html.desk-ui .kho-fav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

html.desk-ui .kho-fav-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

html.desk-ui .kho-fav-main {
  display: flex;
  gap: 12px;
}

html.desk-ui .kho-fav-thumb {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

html.desk-ui .kho-fav-body {
  flex: 1;
  min-width: 0;
  gap: 5px;
}

html.desk-ui .kho-fav-title {
  font-size: 14px;
}

html.desk-ui .kho-fav-acts {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f2f3;
}

html.desk-ui .kho-fav-mine-body {
  padding: 0;
}
html.desk-ui .kho-mine-summary {
  margin: 0 0 14px;
  border: 1px solid #eceff1;
  border-radius: 14px;
  overflow: hidden;
}
html.desk-ui .feed-main {
  max-width: none;
  padding: 0 0 48px;
}
html.desk-ui .feed-desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
}
html.desk-ui .feed-desk-tabs button {
  flex: 0 0 auto;
  border: 1px solid #dbe4e7;
  border-radius: 999px;
  background: #fff;
  color: #31464e;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  white-space: nowrap;
  cursor: pointer;
}
html.desk-ui .feed-desk-tabs button.is-on {
  border-color: #e03a3a;
  background: #e03a3a;
  color: #fff;
}
html.desk-ui body.me-body {
  background: #eef3f5;
  padding-left: 248px;
  padding-bottom: 24px;
}
html.desk-ui .me-shell {
  width: min(840px, calc(100% - 48px));
  min-height: calc(100vh - 48px);
  max-height: none;
  margin: 24px auto;
  border-radius: 20px;
  border: 1px solid #e8eef0;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  background: #f7f9fa;
}
html.desk-ui .me-pane {
  padding: 16px 20px 28px;
  background: transparent;
}
html.desk-ui .me-profile-sheet {
  max-width: 640px;
  margin: 0 auto;
}
html.desk-ui #orgRoster {
  max-width: 720px;
  margin: 0 auto;
}
html.desk-ui .me-profile-savebar {
  position: static;
  padding-bottom: 14px;
}
html.desk-ui .me-main-tabs {
  background: #fff;
  border-bottom: 1px solid #eef2f3;
}
html.desk-ui .me-main-tabs button {
  font-size: 13px;
  padding: 12px 8px;
}
html.desk-ui .news-head {
  padding: 18px 40px;
  background: transparent;
  color: #103d43;
}
html.desk-ui .news-head h1 {
  text-align: left;
  font-size: 28px;
  letter-spacing: -0.03em;
}
html.desk-ui .news-back,
html.desk-ui .news-head-pad { display: none; }
html.desk-ui .news-tabs {
  margin: 0 40px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
html.desk-ui .news-tabs[hidden] {
  display: none !important;
}
html.desk-ui .news-main {
  max-width: none;
  padding: 20px 40px 48px;
}
html.desk-ui .lead-toolbar {
  margin-bottom: 16px;
}
html.desk-ui .lead-card,
html.desk-ui .lead-detail {
  max-width: 560px;
}
html.desk-ui .cust-main {
  max-width: none;
  padding-left: 14px;
  padding-right: 14px;
}
html.desk-ui .cust-familiar-filters {
  grid-template-columns: repeat(4, 1fr);
}
html.desk-ui .cust-need-sheet {
  max-width: 560px;
}
html.desk-ui .cust-need-form {
  gap: 10px;
}
html.desk-ui .cust-need-form input,
html.desk-ui .cust-need-form select,
html.desk-ui .cust-need-form textarea {
  padding: 9px 12px;
  font-size: 14px;
}
html.desk-ui .cust-secondary {
  padding: 9px 12px;
  font-size: 13px;
}
html.desk-ui .cust-tabs .cust-tab-map {
  padding: 12px 14px;
}
html.desk-ui .news-list {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
html.desk-ui .news-card,
html.desk-ui .news-admin {
  border: 1px solid #e7eef0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
html.desk-ui .news-card:hover {
  border-color: #087f8c;
}
html.desk-ui body.invest-body {
  padding-left: 248px;
  background:
    radial-gradient(90% 40% at 100% 0%, rgba(8, 127, 140, 0.07), transparent 55%),
    #eef3f5;
}
html.desk-ui.desk-nav-collapsed body.invest-body {
  padding-left: 0;
}
html.desk-ui .invest-hero {
  padding: 18px 56px 14px;
  min-height: 112px;
  text-align: left;
  max-width: none;
  margin: 0;
}
html.desk-ui .invest-back { display: none; }
html.desk-ui .invest-hero-inner {
  max-width: 980px;
  margin: 0;
  padding-left: 0;
}
html.desk-ui .invest-logo {
  width: min(250px, 28%);
}
html.desk-ui .invest-main {
  margin-top: -24px;
  padding: 14px 56px 56px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  background: transparent;
}
html.desk-ui .invest-ok {
  max-width: 980px;
}
html.desk-ui .me-invest-stage {
  max-width: 560px;
}
html.desk-ui .kho-chooser { z-index: 400000; }
html.desk-ui .home-toast {
  left: 280px;
  right: 40px;
  bottom: 28px;
}

.train-body {
  margin: 0;
  min-height: 100dvh;
  background: #f3f3f3;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.train-head {
  padding: calc(8px + env(safe-area-inset-top)) 20px 4px;
}
.train-close {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 0 10px -8px;
  color: #111;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}
.train-head h1 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.train-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 16px 32px;
}
.train-main[hidden],
.train-pane[hidden] {
  display: none !important;
}
.train-card {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #111;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.train-card:active {
  transform: scale(0.99);
}
.train-ico {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}
.train-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.train-pane {
  padding: 8px 16px 32px;
}
.train-empty {
  margin: 0;
  padding: 36px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  text-align: center;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.5;
}
html.desk-ui .train-close { display: none; }
html.desk-ui .train-head {
  padding: 32px 40px 8px;
}
html.desk-ui .train-head h1 {
  font-size: 32px;
}
html.desk-ui .train-main,
html.desk-ui .train-pane {
  max-width: 860px;
  padding-left: 40px;
  padding-right: 40px;
}
html.desk-ui .train-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.train-level {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
}
.train-admin,
.train-course,
.train-course-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.train-admin {
  padding: 18px 18px 8px;
  margin-bottom: 16px;
}
.train-admin h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.train-form,
.train-quiz {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.train-form input,
.train-form select,
.train-form button,
.train-quiz button,
.train-add-stage {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}
.train-form input,
.train-form button,
.train-add-stage {
  appearance: none;
  -webkit-appearance: none;
}
.train-form input[type="file"] {
  padding: 10px 12px;
}
.train-form button,
.train-quiz button {
  appearance: none;
  -webkit-appearance: none;
  background: #111;
  color: #fff;
  border: 0;
  font-weight: 700;
}
.train-add-stage {
  appearance: none;
  -webkit-appearance: none;
  background: #f3f4f6;
}
.train-stage-form {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.train-q {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
}
.train-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.train-course-card {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: #111;
}
.train-course-kicker,
.train-course-meta {
  color: #6b6b6b;
  font-size: 13px;
}
.train-course-card h2,
.train-course h2 {
  margin: 6px 0;
  font-size: 20px;
}
.train-sub {
  margin: 18px 0 0;
  font-size: 15px;
}
.train-course {
  padding: 18px;
}
.train-player {
  width: 100%;
  max-height: 70vh;
  background: #000;
  border-radius: 12px;
}
.train-watchbar {
  height: 6px;
  background: #ececec;
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0 16px;
}
.train-watchbar span {
  display: block;
  height: 100%;
  background: #c62828;
}
.train-stage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.train-chip {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #222;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.train-chip.is-on { background: #111; color: #fff; }
.train-chip.is-ok { background: #e8f5e9; color: #1b5e20; }
.train-chip.is-ok.is-on { background: #1b5e20; color: #fff; }
.train-chip.is-lock { opacity: 0.55; }
.train-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.train-opt {
  display: block;
  padding: 8px 0;
}
.train-done {
  padding: 12px;
  border-radius: 12px;
  background: #e8f5e9;
  color: #1b5e20;
}
.train-progress-hero {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  padding: 18px 18px 16px;
  margin-bottom: 8px;
}
.train-progress-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
}
.train-progress-hero h2 {
  margin: 6px 0 4px;
  font-size: 22px;
}
.train-progress-hero p {
  margin: 0 0 10px;
  color: #6b6b6b;
  font-size: 14px;
}
.train-progress-score {
  font-weight: 800;
  margin-bottom: 8px;
}
.train-watchbar.is-lg {
  height: 10px;
}
.train-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 6px;
}
.train-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  padding: 14px 16px;
  margin: 0 0 12px;
}
.train-step-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.train-step.is-done .train-step-num {
  background: #2e7d32;
}
.train-step.is-lock {
  opacity: 0.55;
  pointer-events: none;
}
.train-step-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.train-step-body strong {
  font-size: 16px;
}
.train-manage-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.train-manage-actions a,
.train-manage-actions button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.train-edit {
  background: #111;
  color: #fff;
}
.train-del {
  border: 0;
  background: #fde8e8;
  color: #b42318;
}
#trainAdminMsg {
  min-height: 1.4em;
  color: #c62828;
  font-weight: 650;
}
html.desk-ui .train-admin {
  padding: 22px 22px 12px;
}
html.desk-ui .train-form input,
html.desk-ui .train-form select,
html.desk-ui .train-form button,
html.desk-ui .train-add-stage {
  min-height: 46px;
}

.skyland-wr-more {
  margin-top: 10px;
  border: 1px solid #e8edef;
  border-radius: 10px;
  padding: 2px 10px 10px;
  background: #fafcfd;
}
.skyland-wr-more > summary {
  cursor: pointer;
  font-weight: 800;
  color: #087f8c;
  padding: 10px 0;
  list-style: none;
}
.skyland-wr-more > summary::-webkit-details-marker { display: none; }
.skyland-wr-more > summary::after {
  content: " ▾";
  font-weight: 700;
}
.skyland-wr-more[open] > summary::after {
  content: " ▴";
}
#skylandAddPanel.is-warehouse .skyland-add-land-only,
#skylandAddPanel.is-warehouse .skyland-add-land-apt,
#skylandAddPanel.is-apartment .skyland-add-land-only,
#skylandAddPanel.is-project .skyland-add-land-only,
#skylandAddPanel.is-project .skyland-add-land-apt,
#skylandAddPanel.is-project .skyland-add-source-media,
#skylandAddPanel.is-project .skyland-add-source-area,
.skyland-edit-overlay.is-warehouse .skyland-edit-land-only {
  display: none !important;
}
.skyland-edit-overlay.is-apartment .skyland-edit-land-only {
  display: none !important;
}
#skylandAddPanel:not(.is-apartment) .skyland-add-apt-only {
  display: none !important;
}
#skylandAddPanel:not(.is-warehouse) .skyland-add-wr-only,
.skyland-edit-overlay:not(.is-warehouse) .skyland-edit-wr-only {
  display: none !important;
}
#skylandAddPanel:not(.is-project) .skyland-add-project-only,
#skylandAddPanel.is-project .skyland-add-hide-project {
  display: none !important;
}
.skyland-edit-overlay:not(.is-apartment) .skyland-edit-apt-only {
  display: none !important;
}
.skyland-edit-overlay.is-warehouse .skyland-edit-groups-only {
  display: none !important;
}
#skylandAddPanel.is-apartment.has-project-loc #skylandAddLocStar {
  display: none;
}
#skylandAddAptRentPrice[hidden],
#skylandAddAptSalePrice[hidden],
#skylandAddAptFurnItems[hidden] {
  display: none !important;
}
.skyland-add-furn-box {
  margin: 2px 0 8px;
}
.skyland-add-furn-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 750;
  color: #0f3d42;
}
.skyland-add-furn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Keep "Pháp lý" & "Hiện trạng" selects aligned (containers are re-used with a chips grid class). */
#skylandAddLandLegalGrid,
#skylandAddLandConditionGrid {
  display: block !important;
  margin-top: 6px;
}

#skylandAddLandLegalGrid .skyland-add-select,
#skylandAddLandConditionGrid .skyland-add-select {
  width: 100%;
  min-height: 46px;
}
.skyland-add-furn-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d5e3e6;
  border-radius: 999px;
  background: #fff;
  color: #17363b;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
}
.skyland-add-furn-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.skyland-add-furn-chip.is-on {
  background: #e7f6f7;
  border-color: #087f8c;
  color: #087f8c;
  font-weight: 800;
}
@media (max-width: 520px) {
  #skylandAddPanel.is-apartment .skyland-add-row2,
  #skylandAddPanel.is-warehouse .skyland-add-row2 {
    grid-template-columns: 1fr;
  }
  .skyland-add-furn-chip {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 14px;
  }
}
.skyland-edit-span2 {
  grid-column: 1 / -1;
}
#skylandWrOverlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.52);
  padding: 18px;
  box-sizing: border-box;
}
#skylandWrOverlay[hidden] {
  display: none !important;
}
.skyland-wr-panel {
  width: min(960px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: #172033;
}
.skyland-wr-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.skyland-wr-head h2 {
  margin: 0;
  flex: 1;
  font-size: 19px;
}
.skyland-wr-head button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 9px 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
#skylandWrAdd {
  background: #166534;
  color: #fff;
}
#skylandWrAdd[hidden] {
  display: none !important;
}
.skyland-wr-close {
  background: #eef2f7;
  color: #172033;
}
.skyland-wr-body {
  padding: 15px;
}
.skyland-wr-msg {
  margin-bottom: 10px;
  color: #475569;
}
.skyland-wr-msg:empty {
  display: none;
}
.skyland-wr-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.skyland-wr-card {
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  padding: 12px;
  background: #fafcff;
}
.skyland-wr-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
}
.skyland-wr-meta {
  color: #475569;
  margin: 4px 0;
}
.skyland-wr-private {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  color: #7c2d12;
}
.skyland-wr-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.skyland-wr-edit {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #0b8f9c;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.skyland-wr-price-box,
#skylandEditWrRentPrice {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#skylandAddWrRentPrice[hidden],
#skylandAddWrSalePrice[hidden],
#skylandEditWrRentPrice[hidden],
#skylandEditWrSalePrice[hidden] {
  display: none !important;
}
.skyland-wr-price-mode {
  display: flex;
  gap: 8px;
  margin: 4px 0 8px;
}
.skyland-wr-price-mode button {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  border-radius: 10px;
  padding: 10px 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.skyland-wr-price-mode button.is-on {
  background: #c2410c;
  color: #fff;
  border-color: #9a3412;
}
#skylandAddWrPriceM2,
#skylandAddWrPriceTotal,
#skylandAddWrPrice,
#skylandAddWrFee,
#skylandEditWrPriceM2,
#skylandEditWrPriceTotal,
#skylandEditWrPrice,
#skylandEditWrFee {
  pointer-events: auto;
  background: #fff;
}
@media (max-width: 600px) {
  #skylandWrOverlay {
    padding: 0;
    align-items: flex-end;
  }
  .skyland-wr-panel {
    border-radius: 16px 16px 0 0;
    max-height: 94vh;
  }
}

.skyland-addr-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 2px 0 4px;
}
.skyland-addr-col {
  min-width: 0;
  border: 1px solid #d7e4e6;
  border-radius: 10px;
  padding: 5px 7px 7px;
}
.skyland-addr-col.is-new {
  background: #f3fbfb;
}
.skyland-addr-col.is-old {
  background: #faf7f0;
}
.skyland-addr-head {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.skyland-addr-col.is-new .skyland-addr-head {
  color: #087f8c;
}
.skyland-addr-col.is-old .skyland-addr-head {
  color: #9a6b12;
}
.skyland-addr-mini {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #6a7b80;
  line-height: 1;
}
.skyland-addr-col input {
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  margin-top: 3px;
  padding: 6px 8px;
  border: 1px solid #d0d5d8;
  border-radius: 7px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.skyland-addr-col input:focus {
  border-color: #087f8c;
  box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.12);
}
.skyland-edit-grid2 > .skyland-addr-box {
  grid-column: 1 / -1;
}

.skyland-ac-list {
  display: none;
  position: fixed;
  z-index: 200000;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #cfe3e6;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  padding: 4px;
  box-sizing: border-box;
}
.skyland-ac-list.is-open {
  display: block;
}
.skyland-ac-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.skyland-ac-item.is-on,
.skyland-ac-item:hover {
  background: #e7f6f7;
}
.skyland-ac-name {
  font-size: 15px;
  font-weight: 700;
  color: #17363b;
}
.skyland-ac-name i {
  font-style: normal;
  font-weight: 650;
  font-size: 11px;
  color: #087f8c;
  margin-left: 6px;
}
.skyland-ac-sub {
  font-size: 12px;
  color: #6a7b80;
}

/* —— Feed list (mobile sample layout) —— */
.feed-m-head { display: none; }
.feed-desk-tabs { display: none; }

/* ============================================================ */
/* === [SECTION: FEED_CARDS_AND_LISTING_STREAM] === */
/* ============================================================ */
.feed-card {
  background: #fff;
  border-bottom: 1px solid #eceff1;
  padding: 12px 14px 10px;
}
.feed-card-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  align-items: stretch;
}
.feed-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  align-self: stretch;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #cfd8dc;
  text-decoration: none;
  cursor: pointer;
}
.feed-card-thumb img,
.feed-card-thumb-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #cfd8dc;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.feed-card-thumb-ph {
  background:
    linear-gradient(145deg, #c5d4d8 0%, #e8eef0 55%, #b7c8cd 100%);
}
.feed-card-place {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 12px);
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #24363b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-card-place i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: #e03a3a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.feed-card-shots {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.feed-card-body { min-width: 0; }
.feed-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.feed-card-code {
  margin: 2px 0 0;
  padding: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #7a8a90;
}
.feed-card-title {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: #15262b;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
body.feed-body .feed-card .chip {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.feed-card-creator {
  margin: 3px 0 0;
  padding: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: #7a8a90;
  letter-spacing: 0;
}
.feed-admin-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.feed-admin-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #8a969b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
}
.feed-admin-btn:hover {
  color: #24363b;
}
.feed-admin-btn.is-danger {
  color: #c45c5c;
}
.feed-admin-btn.is-danger:hover {
  color: #a32626;
}
.feed-admin-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.kho-mine-acts .feed-admin-acts,
.kho-fav-body-text .feed-admin-acts,
.skyland-mine-actions .feed-admin-acts {
  width: 100%;
  justify-content: flex-end;
  margin-top: 4px;
}
.kho-mine-acts .feed-admin-btn,
.skyland-mine-actions .feed-admin-btn {
  padding: 0;
  color: #8a969b;
  font-size: 11px;
  font-weight: 650;
}
.kho-mine-acts .feed-admin-btn.is-danger,
.skyland-mine-actions .feed-admin-btn.is-danger {
  color: #c45c5c;
}
.kho-mine-acts .feed-admin-btn:hover,
.skyland-mine-actions .feed-admin-btn:hover {
  background: transparent;
  color: #24363b;
}
.kho-mine-acts .feed-admin-btn.is-danger:hover,
.skyland-mine-actions .feed-admin-btn.is-danger:hover {
  color: #a32626;
}
.feed-card-fav {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #9aa7ad;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.feed-card-fav.is-on { color: #e03a3a; }
.feed-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.feed-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
}
.feed-tag.is-hot {
  background: #fde8ea;
  color: #d12b3a;
}
.feed-tag.is-pri-doc,
.skyland-pd-pill.is-pri-doc,
.skyland-priority-badge.is-pri-doc,
.badge.is-pri-doc,
.map-search-badge.is-pri-doc {
  background: #ffe4ea;
  color: #c4002b;
  border: 1px solid #ff1744;
}
.feed-tag.is-pri-tot,
.skyland-pd-pill.is-pri-tot,
.skyland-priority-badge.is-pri-tot,
.badge.is-pri-tot,
.map-search-badge.is-pri-tot {
  background: #fff4b0;
  color: #8a6500;
  border: 1px solid #e3b900;
}
.feed-tag.is-pri-giam,
.skyland-pd-pill.is-pri-giam,
.skyland-priority-badge.is-pri-giam,
.badge.is-pri-giam,
.map-search-badge.is-pri-giam {
  background: #ffedd6;
  color: #b35000;
  border: 1px solid #ff7a00;
}
.feed-tag.is-pri-moi,
.skyland-pd-pill.is-pri-moi,
.skyland-priority-badge.is-pri-moi,
.badge.is-pri-moi,
.map-search-badge.is-pri-moi {
  background: #d9f6fb;
  color: #087f8c;
  border: 1px solid #06b6d4;
}
.feed-tag.is-pri-nho,
.skyland-pd-pill.is-pri-nho,
.skyland-priority-badge.is-pri-nho,
.badge.is-pri-nho,
.map-search-badge.is-pri-nho {
  background: #ccfbf1;
  color: #0f766e;
  border: 1px solid #0d9488;
}
.skyland-apt-priority {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.feed-tag.is-soft {
  background: #eef1f3;
  color: #5b6b71;
}
.feed-tag.is-blue {
  background: #e7f1ff;
  color: #2f6fed;
}
.feed-card-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f3f5f6;
}
.feed-card-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #d7e2e5;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #087f8c;
}
.feed-card-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-card-agent-text {
  flex: 1 1 auto;
  min-width: 0;
}
.feed-card-agent-text b {
  display: block;
  font-size: 13px;
  color: #1a2a2e;
}
.feed-card-agent-text small {
  display: block;
  margin-top: 1px;
  color: #7a8a90;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-card-agent-acts {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.feed-act-chat,
.feed-act-call,
.feed-act-share {
  display: inline-block;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff center / 18px 18px no-repeat;
  box-shadow: 0 1px 3px rgba(20, 40, 48, 0.12);
  cursor: pointer;
  text-decoration: none;
}
.feed-act-chat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5c63' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 3V12a8 8 0 1 1 18 0z'/%3E%3C/svg%3E");
}
.feed-act-zalo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%230068FF' d='M24 4C12.4 4 3 12.1 3 22c0 5.6 3 10.6 7.7 13.9L9 44l8.6-4.6c2 .5 4.2.8 6.4.8 11.6 0 21-8.1 21-18S35.6 4 24 4z'/%3E%3Ctext x='24' y='26.5' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-size='12.5' font-weight='700' fill='%23fff'%3EZalo%3C/text%3E%3C/svg%3E");
  background-size: 26px 26px;
}
.feed-act-call {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5c63' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.5-1.1a2 2 0 0 1 2.1-.4c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.7 1.9z'/%3E%3C/svg%3E");
}
.feed-act-call.is-off { opacity: 0.35; cursor: default; }
.feed-act-share {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E");
}
.feed-card-extra {
  margin-top: 8px;
  border-top: 1px dashed #e4eaec;
  padding-top: 6px;
}
.feed-card-extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: #087f8c;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  min-height: 28px;
  user-select: none;
}
.feed-card-extra summary::-webkit-details-marker { display: none; }
.feed-card-extra-caret {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  transition: transform 0.18s ease;
}
.feed-card-extra[open] .feed-card-extra-caret {
  transform: rotate(-180deg);
}
.feed-card-extra-body { margin-top: 8px; }
.feed-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  padding: 0 16px;
}
.feed-separator-line {
  flex: 1;
  height: 1px;
  background: #d4dfe3;
}
.feed-separator-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: #6a8a90;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.feed-empty {
  padding: 40px 16px;
  text-align: center;
  color: #6a7b80;
}
body.feed-body .feed-meta:empty {
  display: none;
}

@media (max-width: 899px) {
  body.feed-body {
    background: #f7f8f9;
    padding-bottom: 72px;
  }
  body.feed-body .kho-layout {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
  }
  body.feed-body .kho-page-head {
    display: block;
    padding: 12px 14px 8px;
    background: #fff;
    border-bottom: 1px solid #eceff1;
  }
  body.feed-body .kho-switch {
    display: flex;
    margin: 10px 14px 0;
  }
  body.feed-body.kho-tab-mine .kho-switch,
  body.feed-body.kho-tab-fav .kho-switch {
    display: flex;
  }
  body.feed-body .kho-page-title {
    font-size: 17px;
    font-weight: 700;
    color: #142226;
  }
  body.feed-body.kho-tab-mine .kho-page-head,
  body.feed-body.kho-tab-fav .kho-page-head {
    display: none;
  }
  body.feed-body .kho-content {
    flex: 1 1 auto;
    background: #f5f6f7;
  }
  body.feed-body .kho-mine-head {
    padding: 14px 14px 10px;
  }
  body.feed-body .kho-fav-head {
    padding: 14px 14px 12px;
  }
  body.feed-body .kho-fav-head h1 {
    font-size: 18px;
  }
  body.feed-body .kho-fav-body {
    padding: 12px 12px 28px;
  }
  body.feed-body .kho-mine-body {
    padding: 0 0 24px;
  }
  body.feed-body .kho-mine-summary {
    margin: 0 0 8px;
  }
  body.feed-body .feed-desk-head,
  body.feed-body .feed-desk-only {
    display: none !important;
  }
  body.feed-body .feed-m-head {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #e03a3a;
    padding: calc(10px + env(safe-area-inset-top)) 12px 0;
  }
  body.feed-body .feed-m-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 10px 0 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  }
  body.feed-body .feed-m-pin {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background: #e03a3a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.feed-body .feed-m-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    color: #1a2a2e;
  }
  body.feed-body .feed-m-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
  }
  body.feed-body .feed-m-clear {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f0f3f4;
    color: #33464b;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
  }
  body.feed-body .feed-m-clear[hidden] {
    display: none !important;
  }
  body.feed-body .feed-m-filter {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent center / 20px 20px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b71' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
    cursor: pointer;
  }
  body.feed-body .feed-m-tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    margin: 10px -4px 0;
    padding: 0 4px;
    scrollbar-width: none;
  }
  body.feed-body .feed-m-tabs::-webkit-scrollbar { display: none; }
  body.feed-body .feed-m-tabs button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 10px 12px;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
  }
  body.feed-body .feed-m-tabs button.is-on {
    color: #fff;
    border-bottom-color: #fff;
  }
  body.feed-body .feed-m-sort-row {
    position: relative;
    background: #fff;
    margin: 0 -12px;
    padding: 8px 14px;
  }
  body.feed-body .feed-m-sort {
    border: 1px solid #e1e7ea;
    border-radius: 999px;
    background: #fff;
    color: #31464e;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
  }
  body.feed-body .feed-m-sort::after {
    content: " ▾";
    opacity: 0.7;
  }
  body.feed-body .feed-main {
    max-width: none;
    margin: 0;
    padding: 0 0 18px;
    background: #fff;
  }
  body.feed-body .feed-desk-filters {
    display: none;
  }
  body.feed-body .feed-main > .untapped-reveal-bar {
    margin: 8px 12px 4px;
  }
  body.feed-body .feed-meta {
    margin: 0;
    padding: 8px 14px 0;
    font-size: 12px;
  }
  body.feed-body .feed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px 18px;
    background: #f5f6f7;
  }
  body.feed-body .feed-card {
    border: 0;
    border-bottom: 0;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 34, 38, 0.04);
  }
  body.feed-body .kho-mine-body {
    padding: 0 0 24px;
  }
  body.feed-body .kho-mine-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  body.feed-body .kho-mine-card {
    border: 0;
    border-bottom: 0;
    border-radius: 14px;
    padding: 14px 14px 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 34, 38, 0.04);
  }
  body.feed-body .kho-mine-status-select,
  body.feed-body .skyland-status-select {
    height: 40px;
    font-size: 16px;
  }
  body.feed-body .sync-bar {
    margin: 0;
    padding: 8px 14px;
  }
  body.feed-body .dock-item.is-active {
    color: #e03a3a;
  }
  body.feed-body .dock-item.is-active .dock-ico {
    background: #e03a3a;
    box-shadow: 0 0 0 8px #fde8ea;
  }
}

@media (min-width: 900px) {
  body.feed-body .feed-m-head {
    display: none;
  }
  body.feed-body .feed-list {
    display: grid;
    gap: 12px;
  }
  body.feed-body .feed-card {
    border: 1px solid #e5ecee;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
  body.feed-body .feed-desk-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.feed-body .feed-desk-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 10px 0 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5ecee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  body.feed-body .feed-desk-search .feed-m-pin {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background: #e03a3a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.feed-body .feed-desk-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
  }
  body.feed-body .feed-desk-search .feed-m-filter {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent center / 20px 20px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b71' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
    cursor: pointer;
  }
  body.feed-body .feed-desk-sort {
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5ecee;
    border-radius: 12px;
    background: #fff;
    color: #1a2a2e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  body.feed-body .feed-desk-sort.is-on {
    border-color: #f3b6bb;
    background: #fde8ea;
    color: #c62828;
  }
  body.feed-body .feed-desk-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    margin: 0 0 12px;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }
  body.feed-body .feed-desk-tabs::-webkit-scrollbar {
    display: none;
  }
  body.feed-body .feed-desk-tabs button {
    flex: 0 0 auto;
    border: 1px solid #e5ecee;
    border-radius: 999px;
    background: #fff;
    color: #3d5157;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    white-space: nowrap;
    cursor: pointer;
  }
  body.feed-body .feed-desk-tabs button.is-on {
    border-color: #e03a3a;
    background: #e03a3a;
    color: #fff;
  }
  body.feed-body .feed-filter-chip {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #f3b6bb;
    border-radius: 999px;
    background: #fde8ea;
    color: #c62828;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
}

.feed-filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 120150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.feed-filter-sheet[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.feed-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 28, 0.45);
}
.feed-filter-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.16);
}
.feed-filter-head {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 48px;
  border-bottom: 1px solid #eef1f2;
}
.feed-filter-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1a2a2e;
}
.feed-filter-x {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #5b6b71;
  cursor: pointer;
}
.feed-filter-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 14px 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.feed-filter-kind {
  margin: 0 0 14px;
}
.feed-filter-kind-title {
  margin: 0 0 8px;
  color: #1a2a2e;
  font-size: 13px;
  font-weight: 800;
}
.feed-filter-kind-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feed-filter-kind-tabs button {
  flex: 1 1 calc(50% - 8px);
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  background: #fff;
  color: #31464e;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 8px;
  cursor: pointer;
}
.feed-filter-kind-tabs button.is-on {
  border-color: #e03a3a;
  background: #e03a3a;
  color: #fff;
}

.feed-filter-kind-select {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  background: #fff;
  color: #31464e;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}
@media (min-width: 900px) {
  .feed-filter-kind-tabs button {
    flex: 1 1 0;
  }
}
#feedFilterSheet[data-kind="all"] [data-filter-kind]:not([data-filter-kind~="land"]),
#feedFilterSheet[data-kind="land"] [data-filter-kind]:not([data-filter-kind~="land"]),
#feedFilterSheet[data-kind="apartment"] [data-filter-kind]:not([data-filter-kind~="apartment"]),
#feedFilterSheet[data-kind="warehouse"] [data-filter-kind]:not([data-filter-kind~="warehouse"]) {
  display: none !important;
}
body.map-body #feedFilterSheet[data-kind="all"] [data-filter-kind~="apartment"] {
  display: revert !important;
}
.feed-filter-addr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
.feed-filter-addr .skyland-add-addr-block {
  margin: 0;
}

/* ============================================================ */
/* === [SECTION: FEED_FILTERS_AND_ACCORDIONS] === */
/* ============================================================ */
.feed-filter-addr .feed-filter-field {
  margin: 0 0 10px;
}
.feed-filter-addr .feed-filter-field:last-child {
  margin-bottom: 0;
}
.feed-filter-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.feed-filter-row2 .feed-filter-field {
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .feed-filter-addr {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.feed-filter-suggest-wrap {
  position: relative;
}
.feed-filter-suggest {
  position: fixed;
  z-index: 120190;
  max-width: min(560px, calc(100vw - 24px));
  max-height: 220px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #cfe3e6;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  padding: 4px;
  pointer-events: auto;
}
.feed-filter-suggest[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.feed-filter-suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.feed-filter-suggest-item span {
  font-size: 14px;
  font-weight: 700;
  color: #1a2a2e;
}
.feed-filter-suggest-item small {
  flex: 0 0 auto;
  color: #6a7b81;
  font-size: 12px;
}
.feed-filter-suggest-item:hover,
.feed-filter-suggest-item:focus {
  background: #f4f7f8;
}
.feed-filter-field {
  display: block;
  margin: 0 0 14px;
}
.feed-filter-field > span {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2a2e;
}
.feed-filter-field select,
.feed-filter-field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #1a2a2e;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}
.feed-filter-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4a8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.feed-filter-acc {
  border-top: 1px solid #eceff1;
}
.feed-filter-acc > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  color: #1a2a2e;
  cursor: pointer;
}
.feed-filter-acc-name {
  flex: 0 1 auto;
}
.feed-filter-acc-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #087f8c;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-filter-acc-val:empty {
  display: none;
}
.feed-filter-acc > summary::-webkit-details-marker {
  display: none;
}
.feed-filter-acc > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4a8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}
.feed-filter-acc[open] > summary::after {
  transform: rotate(180deg);
}
.feed-filter-acc > :not(summary) {
  padding: 0 0 14px;
}
.feed-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0 8px;
}
.feed-filter-chip-opt {
  border: 1px solid #e5ecee;
  border-radius: 999px;
  background: #f7f8f9;
  color: #334347;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
}
.feed-filter-chip-opt.is-on {
  border-color: #f3b6bb;
  background: #fde8ea;
  color: #c62828;
}
.feed-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.feed-filter-foot {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #eef1f2;
  background: #fff;
}
.feed-filter-reset,
.feed-filter-apply {
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.feed-filter-reset {
  border: 1px solid #d9dee1;
  background: #fff;
  color: #1a2a2e;
}
.feed-filter-apply {
  border: 0;
  background: #e03a3a;
  color: #fff;
}
body.feed-filter-open {
  overflow: hidden;
}
body.feed-body .feed-m-filter.is-on {
  background-color: #fde8ea;
}
@media (min-width: 900px) {
  .feed-filter-sheet {
    align-items: center;
    padding: 24px;
  }
  .feed-filter-panel {
    border-radius: 18px;
    max-height: min(88vh, 820px);
  }
}

.feed-sort-panel {
  max-height: min(78vh, 560px);
}
.feed-sort-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 4px 0 12px;
}
.feed-sort-opt {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f0f2f3;
  background: transparent;
  text-align: left;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1a2a2e;
  cursor: pointer;
}
.feed-sort-opt:last-child {
  border-bottom: 0;
}
.feed-sort-foot {
  flex: 0 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f2f3;
  background: #fff;
}
.feed-sort-reset {
  display: block;
  width: 100%;
  height: 42px;
  border: 1px solid #e03a3a;
  border-radius: 10px;
  background: #fff;
  color: #e03a3a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.feed-sort-reset:hover,
.feed-sort-reset:active {
  background: #fff7f7;
}
.feed-sort-opt.is-on {
  color: #e03a3a;
  background: #fff7f7;
}
.feed-sort-project {
  display: flex;
  gap: 8px;
  padding: 10px 20px 16px;
  background: #fff7f7;
}
.feed-sort-project[hidden] {
  display: none !important;
}
.feed-sort-project input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #f0c8cb;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
}
.feed-sort-project button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #e03a3a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
body.feed-body .feed-m-sort.is-on {
  color: #e03a3a;
}

/* Product detail (chi tiết nguồn hàng) */
.skyland-info-overlay.skyland-pd-open {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: rgba(12, 20, 24, 0.42);
}
.skyland-info-overlay.skyland-pd-open .skyland-info-panel {
  width: 100%;
  max-width: 720px;
  max-height: 100vh;
  margin: 0 auto;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f4f5f6;
}
.skyland-info-overlay.skyland-pd-open .skyland-pd-head,
.skyland-info-overlay.skyland-pd-open .skyland-info-head {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 12px;
  background: #e03a3a;
  color: #fff;
}
.skyland-info-overlay.skyland-pd-open .skyland-info-head b {
  color: #fff;
  text-align: center;
  font-size: 16px;
}
.skyland-info-overlay.skyland-pd-open .skyland-info-back,
.skyland-info-overlay.skyland-pd-open .skyland-pd-more {
  background: transparent;
  color: #fff;
  border: 0;
}
.skyland-pd {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.skyland-pd-gallery {
  position: relative;
  background: #12181b;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  max-height: min(52vh, 420px);
  overflow: hidden;
}
.skyland-pd-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}
.skyland-pd-slide.skyland-pd-slides,
.skyland-pd-slides {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.skyland-pd-slides:active {
  cursor: grabbing;
}
.skyland-pd-slides::-webkit-scrollbar {
  display: none;
}
.skyland-pd-cover {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-drag: none;
}
.skyland-pd-cover img {
  pointer-events: none;
}
.skyland-pd-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.skyland-pd-nav.is-prev {
  left: 8px;
}
.skyland-pd-nav.is-next {
  right: 8px;
}
.skyland-pd-nav[hidden] {
  display: none;
}
.skyland-pd-slide img,
.skyland-pd-slide video,
.skyland-pd-slide .skyland-pd-cover-media {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  background: #12181b;
  border: 0;
}
.skyland-pd-empty-media {
  height: 100%;
  display: grid;
  place-items: center;
  color: #c8d0d4;
  font-size: 14px;
}
.skyland-pd-gphoto {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(145deg, #2b3a42 0%, #1a2226 55%, #314047 100%);
  color: #fff;
}
.skyland-pd-gphoto-label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.92;
}
.skyland-pd-gphoto-btn,
.skyland-pd-gphoto-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #d7e3d2;
  background: #eef6ea;
  color: #2f5d2a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.skyland-pd-gphoto-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.skyland-pd-gphoto-btn[hidden],
.skyland-pd-gphoto-chip[hidden] {
  display: none !important;
}
.skyland-pd-media-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 6px;
  background: #f6f7f8;
}
.skyland-pd-media-bar button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 32px;
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #234248;
  font-size: 12px;
  font-weight: 650;
  box-shadow: none;
  cursor: pointer;
}
.skyland-pd-media-bar button[hidden] {
  display: none !important;
}
.skyland-pd-media-bar #skylandPdAddMedia {
  background: #087f8c;
  color: #fff;
}
.skyland-pd-media-bar #skylandPdEditSource {
  background: #12353a;
  color: #fff;
}
.skyland-pd-media-bar #skylandPdDelMedia {
  background: #fff1f0;
  color: #c44536;
}
.skyland-pd-media-bar #skylandPdShare {
  background: #fff6cc;
  color: #8a6d00;
}
.skyland-pd-media-bar #skylandPdDownload {
  background: #ecfeff;
  color: #0f766e;
}
.skyland-pd-album-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.skyland-pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120300;
  display: flex;
  flex-direction: column;
  background: rgba(8, 12, 14, 0.96);
  color: #fff;
}
.skyland-pd-lightbox[hidden] {
  display: none !important;
}
.skyland-pd-lightbox-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.35);
}
.skyland-pd-lightbox-spacer {
  flex: 1 1 auto;
}
.skyland-pd-lightbox-bar button {
  border: 0;
  border-radius: 0;
  min-width: auto;
  height: auto;
  padding: 6px 4px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.skyland-pd-lightbox-bar #skylandPdLbPrev,
.skyland-pd-lightbox-bar #skylandPdLbNext,
.skyland-pd-lightbox-bar #skylandPdLbClose {
  font-size: 20px;
  font-weight: 500;
  padding: 4px 6px;
}
.skyland-pd-lightbox-bar button:disabled {
  opacity: 0.35;
  cursor: default;
}
.skyland-pd-lightbox-hint {
  margin: 0;
  padding: 0 14px 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.skyland-pd-lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 8px 12px 16px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}
.skyland-pd-lightbox-stage img,
.skyland-pd-lightbox-stage video {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  touch-action: none;
  pointer-events: none;
}
.skyland-pd-lightbox-stage video {
  pointer-events: auto;
  touch-action: manipulation;
}
.skyland-pd-lightbox.is-selecting .skyland-pd-lightbox-stage {
  outline: 2px solid rgba(27, 191, 107, 0.55);
  outline-offset: -10px;
}
.skyland-pd-lb-stage-check {
  display: none !important;
}
.skyland-pd-lb-pick {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.skyland-pd-lb-pick.is-on {
  background: #1bbf6b;
  border-color: #1bbf6b;
  color: #fff;
}
.skyland-pd-lightbox-strip {
  display: none !important;
}
.skyland-pd-lightbox-strip[hidden] {
  display: none !important;
}
.skyland-pd-lb-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.skyland-pd-lb-thumb.is-on {
  border-color: #fff;
}
.skyland-pd-lb-thumb.is-selected {
  border-color: #1bbf6b;
}
.skyland-pd-lb-thumb img,
.skyland-pd-lb-thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
}
.skyland-pd-lb-check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.skyland-pd-lb-thumb.is-selected .skyland-pd-lb-check {
  background: #1bbf6b;
  border-color: #1bbf6b;
}
.skyland-pd-lightbox-bar #skylandPdLbSelectAll,
.skyland-pd-lightbox-bar #skylandPdLbDoneSelect {
  font-size: 13px;
  min-width: auto;
  padding: 6px 4px;
}
.skyland-pd-lightbox-share {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: rgba(14, 18, 22, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.skyland-pd-lightbox-share[hidden] {
  display: none !important;
}
.skyland-pd-lb-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.skyland-pd-lb-share-x {
  border: 0;
  margin: 0;
  padding: 0 2px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.skyland-pd-lb-share-link {
  border: 0;
  margin: 0;
  padding: 10px 2px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.skyland-pd-lb-share-link:last-of-type {
  border-bottom: 0;
}
.skyland-pd-lb-share-link:active,
.skyland-pd-lb-share-link:hover {
  color: #ffb4b4;
}
.skyland-pd-lb-share-go {
  border: 0;
  margin: 8px 0 0;
  padding: 10px 2px;
  background: transparent;
  color: #ffb4b4;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skyland-pd-lb-share-status {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-wrap;
}
.skyland-pd-lb-share-status.is-error {
  color: #ff8f8f;
}
@media (min-width: 900px) {
  .skyland-pd-lightbox-share {
    left: auto;
    right: 20px;
    bottom: 24px;
    width: 300px;
  }
}
.feed-card-thumb.is-gphoto .feed-card-thumb-ph {
  background:
    linear-gradient(145deg, #3a4d56 0%, #243238 55%, #4a646e 100%);
}
.feed-card-thumb.is-gphoto .feed-card-thumb-ph::after {
  content: "GP";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.feed-card-thumb-ph {
  position: absolute;
  inset: 0;
}
.skyland-pd-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.skyland-pd-fav.is-on { color: #ff6b6b; }
.skyland-pd-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.skyland-pd-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 8px;
  background: #fff;
}
.skyland-pd-summary h3,
.skyland-pd-lot {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
}
.skyland-pd-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #64748b;
}
.skyland-pd-price {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  color: #0f172a;
}
.skyland-pd-price b {
  font-weight: 750;
  color: #c2410c;
}
.skyland-pd-addr {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}
.skyland-pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.skyland-pd-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f3f4;
  color: #44555a;
}
.skyland-pd-pill.is-hot {
  background: #fde8ea;
  color: #c62828;
}
.skyland-pd-pill.is-blue {
  background: #e8f2ff;
  color: #1e5fbf;
}
.skyland-pd-pill.is-soft {
  background: #eef1f2;
  color: #4a5b60;
}
.skyland-pd-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #eef1f2;
  border-bottom: 1px solid #eef1f2;
}
.skyland-pd-ava {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef0;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #e03a3a;
}
.skyland-pd-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skyland-pd-agent-text {
  flex: 1 1 auto;
  min-width: 0;
}
.skyland-pd-agent-text b {
  display: block;
  font-size: 14px;
  color: #15262b;
}
.skyland-pd-agent-text small {
  color: #6a7b80;
  font-size: 12px;
}
.skyland-pd-agent-acts {
  display: flex;
  gap: 8px;
}
.skyland-pd-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  background: #fff;
  padding: 0 8px;
  border-bottom: 1px solid #eef1f2;
  scrollbar-width: none;
}
.skyland-pd-tabs::-webkit-scrollbar { display: none; }
.skyland-pd-tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #7a8a8f;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.skyland-pd-tabs button.is-on {
  color: #e03a3a;
  border-bottom-color: #e03a3a;
}
.skyland-pd-panels {
  padding: 12px 12px 24px;
}
.skyland-pd-panel { display: none; }
.skyland-pd-panel.is-on { display: block; }

/* ============================================================ */
/* === [SECTION: PRODUCT_INFO_DETAIL_AND_LIGHTBOX] === */
/* ============================================================ */
.skyland-pd-card {
  background: #fff;
  border: 1px solid #e8ecee;
  border-radius: 14px;
  margin: 0 0 12px;
  overflow: hidden;
}
.skyland-pd-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  font-size: 15px;
  font-weight: 800;
  color: #15262b;
  cursor: pointer;
}
.skyland-pd-card > summary::-webkit-details-marker { display: none; }
.skyland-pd-card > summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4a8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.skyland-pd-card[open] > summary::after { transform: rotate(180deg); }
.skyland-pd-card-body { padding: 0 14px 12px; }
.skyland-pd-kv {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f1f3f4;
  font-size: 13px;
}
.skyland-pd-kv span { color: #6a7b80; }
.skyland-pd-kv b {
  text-align: right;
  color: #15262b;
  font-weight: 750;
  word-break: break-word;
}
.skyland-contact-text {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  font-weight: 650;
  line-height: 1.45;
  color: #15262b;
}
.skyland-pd-kv.skyland-pd-contact b {
  text-align: left;
  white-space: pre-wrap;
  font-weight: 650;
}
.skyland-pd-history {
  margin-top: 10px;
}
.skyland-pd-history-now {
  margin: 0 0 8px;
  font-size: 13px;
  color: #3d555a;
}
.skyland-pd-history-empty {
  margin: 0;
  font-size: 13px;
  color: #6a7b80;
}
.skyland-pd-history-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.skyland-pd-history-list li {
  padding: 10px 0;
  border-top: 1px solid #f1f3f4;
}
.skyland-pd-history-list time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #15262b;
}
.skyland-pd-history-by {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6a7b80;
}
.skyland-pd-history-change {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  color: #0f4c54;
}
.skyland-src-history {
  margin: 6px 0 0;
  padding: 6px 7px;
  border: 1px solid #dceff1;
  border-radius: 8px;
  background: #f7fcfc;
}
.skyland-src-history-head {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #087f8c;
}
.skyland-src-history-empty {
  margin: 0;
  font-size: 11px;
  color: #6a7b80;
  line-height: 1.3;
}
.skyland-src-history-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  margin: 0 0 6px;
  align-items: start;
}
.skyland-src-history-form textarea,
.skyland-src-history-form input[name="text"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 32px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid #cfe4e7;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  color: #15262b;
  background: #fff;
  resize: none;
}
.skyland-src-history-form textarea {
  height: auto;
  min-height: 44px;
  resize: vertical;
}
.skyland-src-history-form.is-compact textarea,
.skyland-src-history-form.is-compact input[name="text"] {
  height: 32px;
  min-height: 32px;
  resize: none;
}
.skyland-src-history-form button {
  justify-self: start;
  min-height: 32px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: #087f8c;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.skyland-src-history-form button:disabled {
  opacity: 0.6;
}
.skyland-src-history-form-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  color: #b42318;
}
.skyland-src-history-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 84px;
  overflow: auto;
}
.skyland-src-history-list li {
  padding: 6px 0;
  border-top: 1px solid #e4f1f3;
}
.skyland-src-history-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.skyland-src-history-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.skyland-src-history-list time {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #15262b;
}
.skyland-src-history-kind {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #087f8c;
}
.skyland-src-history-list li.is-note .skyland-src-history-kind {
  color: #7a5b12;
}
.skyland-src-history-list li.is-update .skyland-src-history-kind {
  color: #0b6e4f;
}
.skyland-src-history-del {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #b42318;
  cursor: pointer;
}
.skyland-src-history-by {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: #6a7b80;
}
.skyland-src-history-change {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  color: #0f4c54;
}
.skyland-src-history-change s {
  color: #8a9a9e;
  font-weight: 600;
}
.skyland-src-history-note {
  white-space: pre-wrap;
  word-break: break-word;
}
.skyland-pd-history .skyland-src-history-form textarea {
  font-size: 16px;
  min-height: 52px;
}
.skyland-pd-history .skyland-src-history-form button {
  min-height: 36px;
  height: auto;
  align-self: start;
}
.skyland-pd-history .skyland-src-history-list {
  margin: 0;
  max-height: 220px;
}
.skyland-pd-history .skyland-src-history-empty,
.skyland-pd-history .skyland-src-history-change {
  font-size: 13px;
}
.skyland-pd-history .skyland-src-history-list time {
  font-size: 12px;
}
.skyland-pd-history .skyland-src-history-by {
  font-size: 11px;
}
@media (min-width: 900px) {
  .skyland-src-history-form textarea,
  .skyland-src-history-form input[name="text"],
  .skyland-pd-history .skyland-src-history-form textarea {
    font-size: 13px;
  }
}
#skylandEditStatus,
#skylandEditFinance {
  width: 100%;
  min-height: 40px;
  font-size: 16px;
}
.skyland-pd-desc {
  border-top: 1px solid #f1f3f4;
  padding: 10px 0 4px;
}
.skyland-pd-desc span {
  display: block;
  color: #6a7b80;
  font-size: 13px;
  margin-bottom: 6px;
}
.skyland-pd-desc p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f6f7;
  color: #24363b;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.skyland-pd-link,
.skyland-pd-link-btn {
  color: #e03a3a !important;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.skyland-pd-legal-tag {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f0f8;
  color: #2b567a;
  font-size: 12px;
  font-weight: 700;
}
.skyland-pd-empty {
  color: #6a7b80;
  text-align: center;
  padding: 24px 12px;
}
@media (min-width: 900px) {
  .skyland-info-overlay.skyland-pd-open {
    padding: 24px;
    align-items: center;
    justify-content: center;
  }
  .skyland-info-overlay.skyland-pd-open .skyland-info-panel {
    max-height: min(92vh, 900px);
    border-radius: 20px;
    border: 1px solid #e8eef0;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
    overflow: hidden;
  }
  .skyland-pd-gallery {
    aspect-ratio: 16 / 10;
    min-height: 280px;
    max-height: min(52vh, 480px);
  }
}
@media (max-width: 899px) {
  .skyland-info-overlay.skyland-pd-open {
    height: 100%;
    height: 100dvh;
    align-items: stretch;
    justify-content: stretch;
  }
  .skyland-info-overlay.skyland-pd-open .skyland-info-panel {
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    max-height: 100dvh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .skyland-info-overlay.skyland-pd-open .skyland-info-head b {
    font-size: 14px;
  }
  .skyland-pd-head-act {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .skyland-pd-kv.skyland-pd-contact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .skyland-pd-kv.skyland-pd-contact b,
  .skyland-pd-kv.skyland-pd-contact .skyland-contact-text {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

body.stats-body {
  background: #f2f5f6;
}
.stats-head-copy {
  flex: 1;
  min-width: 0;
}
.stats-head h1 {
  flex: none;
  text-align: left;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 650;
  letter-spacing: -0.03em;
}
html.desk-ui body.stats-body,
body.stats-body {
  font-family: Manrope, "Segoe UI", sans-serif;
  letter-spacing: -0.014em;
  color: #16383d;
}
body.stats-body .stats-fold-copy b,
body.stats-body .stats-block-title,
body.stats-body .stats-kpi strong,
body.stats-body .stats-strip b {
  font-family: "Space Grotesk", Manrope, sans-serif;
}
body.stats-body .news-tabs.stats-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 12px 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.stats-body .news-tabs.stats-tabs::-webkit-scrollbar {
  display: none;
}
body.stats-body .news-tabs.stats-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: #5b7177;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
body.stats-body .news-tabs.stats-tabs button.is-on {
  background: #103d43;
  color: #fff;
  border-bottom-color: transparent;
}
.stats-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.stats-period {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: #e4eaec;
}
.stats-period button {
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  background: transparent;
  color: #4d646a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.stats-period button.is-on {
  background: #fff;
  color: #103d43;
  box-shadow: 0 1px 2px rgba(16, 61, 67, 0.08);
}
.stats-hint,
.stats-msg {
  margin: 0;
  color: #7a8b90;
  font-size: 13px;
}
.stats-msg:empty,
.stats-msg[hidden] {
  display: none;
}
.stats-msg.is-ok { color: #0b7a3b; }
.stats-msg.is-err { color: #b23b3b; }

/* ============================================================ */
/* === [SECTION: STATS_KPIS_AND_IOS_SETTINGS] === */
/* ============================================================ */
.stats-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stats-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 108px;
  padding: 16px 16px 14px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 61, 67, 0.04), 0 10px 28px rgba(16, 61, 67, 0.04);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.stats-kpi:hover {
  transform: translateY(-1px);
}
.stats-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7f84;
}
.stats-kpi strong {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: #103d43;
  line-height: 1.1;
}
.stats-kpi-sub {
  margin-top: auto;
  font-size: 12px;
  color: #8a9aa0;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 12px;
}
.stats-strip div {
  padding: 14px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 61, 67, 0.04);
}
.stats-strip b {
  display: block;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #103d43;
}
.stats-strip span {
  color: #7a8b90;
  font-size: 12px;
}
.stats-ghost-link,
.stats-back,
.stats-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #087f8c;
  font: inherit;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.stats-back::before {
  content: "← ";
}
.stats-empty {
  padding: 36px 16px;
  border-radius: 18px;
  background: #fff;
  color: #7a8b90;
  text-align: center;
  font-size: 14px;
}
.stats-list,
.stats-tree,
.stats-deps,
.stats-honor,
.stats-days {
  display: grid;
  gap: 8px;
}
.stats-row,
.stats-honor li,
.stats-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 61, 67, 0.04);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.stats-item {
  flex-direction: column;
  align-items: stretch;
  cursor: default;
}
.stats-item.is-deal {
  cursor: pointer;
}
.stats-item.is-deal:hover {
  background: #f6fbfb;
}
.stats-deal-detail {
  display: grid;
  gap: 10px;
}
.stats-deal-back {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #087f8c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.stats-deal-split {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6f7;
  color: #0b4f56;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.stats-deal-hints {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  overflow: hidden;
}
.stats-deal-hints[hidden] {
  display: none !important;
}
.stats-deal-hints button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.stats-deal-hints button small {
  display: block;
  color: #64748b;
  font-weight: 600;
}
@media (max-width: 719px) {
  .stats-dep-form {
    grid-template-columns: 1fr;
  }
}
.stats-item header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.stats-item-meta {
  margin: 0;
  color: #7a8b90;
  font-size: 13px;
}
.stats-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2f3;
  color: #0b4f56;
  font-size: 12px;
  font-weight: 700;
}
.stats-avatar.is-lg {
  width: 48px;
  height: 48px;
  font-size: 15px;
}
.stats-row-body {
  flex: 1 1 auto;
  min-width: 0;
}
.stats-row-body b,
.stats-item header b,
.stats-score header b {
  display: block;
  font-weight: 650;
  color: #16383d;
}
.stats-row-body i,
.stats-score header span {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #7a8b90;
}
.stats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0d4;
}
.stats-dot.is-on {
  background: #1aa05a;
}
.stats-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f3;
  color: #5b7177;
  font-size: 11px;
  font-weight: 650;
}
.stats-pill.is-on {
  background: #e5f6ec;
  color: #1a7a45;
}
.stats-pill.is-warn {
  background: #fdeeee;
  color: #b23b3b;
}
.stats-branch {
  padding: 4px 4px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 61, 67, 0.04);
}
.stats-branch.is-sub {
  margin: 8px 6px 0;
  box-shadow: none;
  background: #f7fafa;
}
.stats-branch summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}
.stats-branch summary::-webkit-details-marker { display: none; }
.stats-branch summary em {
  font-style: normal;
  color: #8a9aa0;
  font-size: 12px;
}
.stats-team {
  padding: 0 8px 8px;
}
.stats-team h4 {
  margin: 8px 6px 6px;
  font-size: 12px;
  font-weight: 650;
  color: #6b7f84;
}
.stats-score {
  padding: 18px 16px 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 61, 67, 0.04);
}
.stats-score header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.stats-score header > div { flex: 1; min-width: 0; }
.stats-score header > div b,
.stats-score header > div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-score-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.stats-fold-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f6f7;
  color: #5c7176;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.stats-fold-icon .stats-chevron {
  margin: 0;
  transition: transform 0.2s ease;
}
.stats-score.is-open > header .stats-fold-icon .stats-chevron {
  transform: rotate(180deg);
}
.stats-score > .stats-fold-body {
  display: none;
}
.stats-score.is-open > .stats-fold-body {
  display: block;
}
.stats-score:not(.is-open) {
  padding-bottom: 16px;
}
.stats-fold-list,
.stats-grow-table {
  display: flex;
  flex-direction: column;
}
.stats-fold {
  border-top: 1px solid #eef2f3;
}
.stats-fold.is-block {
  margin: 14px 0 0;
  padding: 4px 14px 8px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 61, 67, 0.04);
}
.stats-fold-head {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 2px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.stats-fold-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.stats-fold-copy > span {
  font-size: 13.5px;
  font-weight: 500;
  color: #5c7176;
  line-height: 1.35;
}
.stats-fold-copy > b {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #103d43;
  white-space: nowrap;
}
.stats-fold.is-block > .stats-fold-head .stats-fold-copy > b {
  font-size: 15px;
}
.stats-fold-pct {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.stats-fold-pct.is-up { color: #1a7a45; }
.stats-fold-pct.is-down { color: #b42318; }
.stats-fold-pct.is-flat { color: #8a9aa0; }
.stats-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  color: #8a9aa0;
  transition: transform 0.2s ease;
}
.stats-fold.is-open > .stats-fold-head .stats-chevron {
  transform: rotate(180deg);
}
.stats-fold-body {
  display: none;
  padding: 0 2px 12px 2px;
}
.stats-fold.is-open > .stats-fold-body {
  display: block;
}
.stats-fold-note,
.stats-fold-cmp {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7f84;
}
.stats-fold-cmp b { color: #103d43; }
.stats-fold-cmp em {
  font-style: normal;
  font-weight: 700;
}
.stats-score-foot {
  margin: 12px 0 0;
  color: #8a9aa0;
  font-size: 12px;
}
.stats-block-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
  color: #103d43;
}
.stats-honor {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #103d43;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.stats-dep-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 61, 67, 0.04);
}
.stats-dep-form h3,
.stats-dep-form button {
  grid-column: 1 / -1;
}
.stats-dep-form h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}
.stats-dep-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5b7177;
}
.stats-dep-form input,
.stats-dep-form select,
.stats-modal-card input {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #f4f7f8;
  font: inherit;
}
.stats-dep-form button[type="submit"],
.stats-item button.is-danger,
.stats-modal-acts button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #103d43;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
.stats-item button.is-danger,
.stats-modal-acts .is-danger {
  background: #b23b3b;
}
.stats-modal-acts .is-ghost {
  background: #e8eef1;
  color: #35525a;
}
.stats-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 24, 28, 0.4);
  padding: 16px;
}
.stats-modal[hidden] { display: none; }
.stats-modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
}
.stats-modal-card h3 {
  margin: 0 0 8px;
}
.stats-modal-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 650;
}
.stats-modal-acts {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.stats-inbox {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff8ef;
}
.stats-inbox-item {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #5b4a2c;
  appearance: none;
  -webkit-appearance: none;
}
.stats-inbox-item.is-new { font-weight: 650; }
.stats-days {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-days div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
}
.stats-days b {
  flex: 0 0 auto;
}
.stats-days span {
  flex: 1 1 220px;
  text-align: right;
  color: #4a6469;
  line-height: 1.45;
}
.stats-growth {
  margin-top: 18px;
}
.stats-grow-table {
  display: grid;
  gap: 6px;
}
.stats-chart-sum em.is-up,
.stats-chart-bars em.is-up { color: #1a7a45; }
.stats-chart-sum em.is-down,
.stats-chart-bars em.is-down { color: #b42318; }
.stats-chart-sum em.is-flat,
.stats-chart-bars em.is-flat { color: #7a8b90; }
.stats-chart-sum {
  margin: -4px 0 10px;
  font-size: 12px;
  color: #5b7176;
}
.stats-chart-sum b { color: #103d43; }
.stats-chart-bars em {
  font-style: normal;
  font-size: 10px;
  font-weight: 650;
}
.stats-chart-grid {
  display: grid;
  gap: 10px;
}
.stats-chart-grid > .stats-fold {
  border: 0;
  padding: 2px 10px 8px;
  border-radius: 16px;
  background: #f6f9fa;
}
.stats-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.stats-chart-bars > div {
  flex: 1 0 28px;
  min-width: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.stats-chart-bars i {
  display: block;
  width: 100%;
  max-width: 22px;
  min-height: 3px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #12a3b0, #087f8c);
}
.stats-chart-bars b {
  margin-top: 4px;
  font-size: 11px;
  color: #103d43;
}
.stats-chart-bars span {
  font-size: 10px;
  color: #7a8b90;
  white-space: nowrap;
}
.stats-overview .stats-block-title {
  margin-top: 18px;
}
.stats-overview > .stats-block-title:first-child {
  margin-top: 0;
}
@media (min-width: 700px) {
  .stats-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.stats-period-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  color: #087f8c;
}
.stats-main .admin-users {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 61, 67, 0.04);
}
@media (max-width: 699px) {
  .stats-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-kpi-grid,
  .stats-dep-form,
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stats-kpi {
    min-height: 96px;
    padding: 14px 12px 12px;
  }
  .stats-kpi strong {
    font-size: 22px;
  }
}
@media (max-width: 420px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}
html.desk-ui body.stats-body .news-head.stats-head {
  padding: 8px 40px 0;
}
html.desk-ui body.stats-body .news-tabs.stats-tabs {
  margin: 4px 40px 0;
  padding: 0 0 8px;
  overflow: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
html.desk-ui body.stats-body .stats-main {
  max-width: 1120px;
  margin: 0;
  padding: 8px 40px 56px;
}
html.desk-ui .stats-kpi-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
html.desk-ui .stats-kpi {
  min-height: 124px;
  padding: 20px 18px 16px;
}
html.desk-ui .stats-kpi strong {
  font-size: 30px;
}
html.desk-ui .stats-chart-bars {
  height: 160px;
}
html.desk-ui .stats-chart-grid {
  grid-template-columns: 1fr 1fr;
}

/* ============================================================
   SKYLAND MODERN SETTINGS & RESPONSIVE IOS CONTROLS
   ============================================================ */
.me-settings-shell {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 6px 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

html.desk-ui .me-settings-shell {
  max-width: 840px;
  padding: 18px 0 40px;
  gap: 16px;
}

.me-ios-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.me-ios-card:hover {
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

/* 1. Account card */
.me-ios-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 12px;
}
html.desk-ui .me-ios-account-row {
  padding: 16px 20px;
}
.me-ios-account-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}
.me-ios-account-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.me-ios-sublabel {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.me-ios-account-name {
  font-size: 15.5px;
  font-weight: 750;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.me-ios-btn-logout {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #e11d48;
  border-radius: 20px;
  padding: 7px 16px;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.me-ios-btn-logout:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #be123c;
}

/* 2. Districts Section Header */
.me-ios-card-head {
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .me-ios-card-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
  }
}
.me-ios-head-copy {
  flex: 1;
  min-width: 0;
}
.me-ios-title {
  font-size: 15.5px;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.me-ios-title-icon {
  font-size: 18px;
}
.me-ios-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 4px 0 0;
  line-height: 1.45;
}
.me-ios-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.me-ios-action-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 650;
  color: #334155;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.me-ios-action-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}
.me-ios-save-banner {
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #166534;
  border-top: 1px solid #dcfce7;
  border-bottom: 1px solid #bbf7d0;
  transition: all 0.2s ease;
}
.me-ios-save-banner.is-saving {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.me-ios-loading {
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 13.5px;
}

/* 3. District List - Container */
.me-ios-district-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 767px) {
  .me-ios-district-list {
    padding: 12px 14px 16px;
    gap: 10px;
  }
}

/* Province Collapsible Card (Trình thả xuống / thu gọn giống nút Đổi mật khẩu) */
.me-province-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: all 0.2s ease;
}
.me-province-card:hover {
  border-color: #cbd5e1;
}

.me-province-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 767px) {
  .me-province-trigger {
    padding: 12px 14px;
  }
}
.me-province-trigger:hover {
  background: #f8fafc;
}
.me-province-card.is-expanded .me-province-trigger {
  border-bottom: 1px solid #f1f5f9;
  background: #fcfdfe;
}

.me-collapse-icon.is-province {
  background: #ecfdf5;
  color: #059669;
}
.me-collapse-icon.is-province.is-tb {
  background: #eff6ff;
  color: #2563eb;
}

.me-province-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.me-province-count-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 1.5px 7px;
  border-radius: 10px;
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.me-province-trigger-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.me-district-active-count {
  font-size: 11.5px;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0369a1;
  transition: all 0.2s ease;
}
.me-district-active-count.is-all {
  background: #dcfce7;
  color: #15803d;
}
.me-district-active-count.is-none {
  background: #f1f5f9;
  color: #94a3b8;
}

.me-province-card .me-collapse-chevron {
  font-size: 15px;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  line-height: 1;
}
.me-province-card.is-expanded .me-collapse-chevron {
  transform: rotate(180deg);
  color: #059669;
}

/* Expanded Pane for Districts */
.me-province-pane {
  padding: 14px 18px 18px;
  background: #fafbfc;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 767px) {
  .me-province-pane {
    padding: 10px 12px 14px;
  }
}

.me-province-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 768px) {
  .me-province-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
}

.me-district-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: background 0.15s ease, border-color 0.15s ease;
  gap: 12px;
}
.me-district-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
@media (max-width: 767px) {
  .me-district-row {
    padding: 9px 12px;
  }
}

.me-district-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.me-district-pin {
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}
.me-district-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.me-district-name {
  font-size: 13.5px;
  font-weight: 650;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.me-district-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.me-district-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4. Authentic iOS Switch Toggle */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.ios-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
}
.ios-switch-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}
.ios-switch input:checked + .ios-switch-slider {
  background-color: #34c759; /* Apple iOS Green */
}
.ios-switch input:checked + .ios-switch-slider::before {
  transform: translateX(20px);
}
.ios-switch input:focus + .ios-switch-slider {
  box-shadow: 0 0 1px #34c759;
}

/* 5. Security Grid & Collapsible Cards */
.me-settings-security-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .me-settings-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    align-items: start;
  }
}

.me-collapse-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.me-collapse-trigger:hover {
  background: #f8fafc;
}
.me-collapse-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.me-collapse-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.me-collapse-icon.is-pass {
  background: #fef3c7;
  color: #b45309;
}
.me-collapse-icon.is-smtp {
  background: #e0e7ff;
  color: #4338ca;
}
.me-collapse-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.me-collapse-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.me-collapse-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}
.me-collapse-hint {
  font-size: 11.5px;
  color: #64748b;
}
.me-collapse-chevron {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.me-ios-collapsible.is-expanded .me-collapse-chevron {
  transform: rotate(180deg);
}
.me-collapse-pane {
  padding: 16px 18px 20px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.me-compact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.me-compact-form .note {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 2px;
}
.me-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.me-field-group label {
  font-size: 12px;
  font-weight: 650;
  color: #334155;
}
.me-field-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.me-field-group input:focus {
  border-color: #087f8c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.15);
}
.me-admin-badge {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  background: #e0e7ff;
  color: #3730a3;
  margin-left: 6px;
  vertical-align: middle;
}

/* ==========================================================================
   SKYLAND CUSTOMER DATA MANAGEMENT (TAB DATA KHÁCH HÀNG & BẢNG EXCEL / IMPORT)
   ========================================================================== */

.cust-data-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Giữ layout gốc: để body tự scroll ổn định */
  height: auto;
  min-height: auto;
}

.cust-data-pane[hidden],
.cust-familiar-pane[hidden],
.cust-need-sheet[hidden],
#custListPane[hidden] {
  display: none !important;
}

.cust-data-toolbar {
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cust-data-body {
  flex: initial;
  overflow: visible;
}

.cust-data-search-wrap input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
  color: #0f172a;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.cust-data-search-wrap input:focus {
  background: #ffffff;
  border-color: #087f8c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.15);
}

.cust-data-search-wrap.cust-has-filter-toggle {
  position: relative;
}

.cust-data-search-wrap.cust-has-filter-toggle input {
  padding-right: 44px; /* chừa chỗ cho icon bộ lọc */
}

.cust-filter-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent center / 20px 20px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b71' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.cust-filter-toggle.is-on {
  background-color: #e7f6f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
}

.cust-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.cust-data-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.cust-data-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px;
}

.cust-data-summary {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}

.cust-data-summary b {
  color: #087f8c;
}

.cust-data-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cust-view-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  border: 1px solid #e2e8f0;
}

.cust-view-toggle {
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cust-view-toggle:hover {
  color: #0f172a;
}

.cust-view-toggle.is-active {
  background: #ffffff;
  color: #087f8c;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.cust-btn-primary {
  background: #087f8c;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cust-btn-primary:hover {
  background: #06636e;
  box-shadow: 0 2px 6px rgba(8, 127, 140, 0.25);
}

/* --- EXCEL DATA TABLE STYLES --- */
.cust-table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Data khách hàng: ẩn scrollbar ngang ở bảng (để hiển thị scrollbar ngang ở phía trên). */
.cust-data-table-scroll-wrap [data-scroll-main="1"]{
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/old Edge */
}
.cust-data-table-scroll-wrap [data-scroll-main="1"]::-webkit-scrollbar{
  display: none; /* Chrome/Safari */
}

.cust-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.cust-data-table thead th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  padding: 11px 12px;
  border-bottom: 2px solid #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 3;
}

.cust-data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
}

.cust-data-table tbody tr:hover {
  background: #f8fafc;
}

.cust-data-table tbody tr:last-child td {
  border-bottom: none;
}

.cust-td-code {
  font-family: monospace;
  font-weight: 700;
  color: #087f8c;
}

.cust-td-name {
  font-weight: 650;
  color: #0f172a;
}

.cust-td-phone a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

.cust-td-phone a:hover {
  text-decoration: underline;
}

.cust-td-project {
  font-weight: 600;
  color: #334155;
}

.cust-td-unit {
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.cust-category-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.cust-category-badge.cat-chung_cu {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.cust-category-badge.cat-dat_nen {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.cust-category-badge.cat-khac {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.cust-status-badge.status-chua_nhu_cau {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.cust-status-badge.status-da_ban {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-weight: 700;
}

.cust-status-badge.status-da_o {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
  font-weight: 700;
}

.cust-unittype-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.cust-unittype-badge.type-can_goc {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.cust-unittype-badge.type-can_thuong {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.cust-area-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.cust-area-missing {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
  background: #fffbeb;
  color: #b45309;
  border: 1px dashed #f59e0b;
}

.cust-file-dropzone {
  border: 2px dashed #087f8c;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  background: #f0fdfa;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.cust-file-dropzone:hover,
.cust-file-dropzone.is-dragover {
  background: #ccfbf1;
  border-color: #0f766e;
}

.cust-dropzone-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.cust-dropzone-text {
  font-size: 13.5px;
  color: #1e293b;
  margin-bottom: 4px;
}

.cust-select-sm {
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
}

.cust-select-sm:focus {
  outline: none;
  border-color: #087f8c;
}

.cust-interact-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cust-interact-btn:hover {
  background: #dbeafe;
}

.cust-add-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cust-add-source-btn:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(234, 88, 12, 0.4);
}

/* --- CARDS VIEW (DẠNG NGẮN GỌN HIỆN ĐẠI) --- */
.cust-data-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.cust-data-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.cust-data-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.cust-data-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cust-data-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cust-data-card-title .cust-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.cust-data-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.cust-data-card-info-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.cust-data-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cust-data-card-info-row .lbl {
  color: #64748b;
  font-size: 12px;
}

.cust-data-card-info-row .val {
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}

.cust-data-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

/* --- SKYLAND SHARED MODAL --- */
.skyland-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.skyland-modal[hidden] {
  display: none !important;
}

.skyland-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.skyland-modal-content {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.skyland-modal-header {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skyland-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.skyland-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
}

.skyland-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* --- MODAL IMPORT BATCH DATA --- */
.cust-import-modal-content {
  max-width: 860px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.cust-import-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cust-import-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.cust-import-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 650;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cust-import-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cust-import-tab-btn.is-active {
  background: #e6fffa;
  color: #087f8c;
  font-weight: 700;
}

.cust-import-pane {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-input-with-btn {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.cust-input-with-btn input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
}

.cust-hint {
  color: #64748b;
  font-size: 12px;
}

.cust-import-settings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.cust-import-col input,
.cust-import-col select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 4px;
}

.cust-import-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-import-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #087f8c;
}

.cust-import-preview-head small {
  color: #64748b;
  font-weight: normal;
}

.cust-preview-table-box {
  max-height: 240px;
  overflow-y: auto;
}

.cust-preview-table {
  font-size: 12px;
}

.cust-import-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.cust-import-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.cust-import-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #087f8c, #10b981);
  transition: width 0.25s ease-out;
}

.cust-import-progress-label {
  font-size: 12px;
  font-weight: 700;
  color: #087f8c;
  min-width: 38px;
  text-align: right;
}

.cust-import-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

/* --- MODAL LỊCH SỬ TƯƠNG TÁC --- */
.cust-interact-modal-content {
  max-width: 600px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.cust-interact-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cust-interaction-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.cust-timeline-empty {
  text-align: center;
  color: #94a3b8;
  padding: 24px 10px;
  font-size: 13px;
}

.cust-timeline-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #087f8c;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cust-timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
}

.cust-timeline-badge {
  font-weight: 700;
  color: #0f172a;
}

.cust-timeline-note {
  font-size: 13px;
  color: #1e293b;
  line-height: 1.4;
  white-space: pre-wrap;
}

.cust-add-interaction-form {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #e2e8f0;
}

.cust-interact-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.cust-interact-type-row label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cust-add-interaction-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
}

.cust-add-interaction-form textarea:focus {
  outline: none;
  border-color: #087f8c;
}

/* Keep edit-overlay dropdown styling in sync with add-overlay. */
#skylandEditOverlay .skyland-add-dd-btn {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 11px;
  line-height: 1.2;
}
#skylandEditOverlay .skyland-add-dd-caret {
  font-size: 14px;
}
#skylandEditOverlay .skyland-add-dd-menu {
  margin-top: 8px;
  padding: 8px;
  border-radius: 12px;
  max-height: 220px;
}

/* Checkbox in edit-overlay dropdown must NOT inherit .skyland-edit-field input sizing.
   Otherwise checkbox becomes a huge square and breaks the 2-column grid layout. */
#skylandEditOverlay .skyland-add-dd-menu input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px;
  box-sizing: border-box;
  flex: 0 0 18px;
}

#skylandEditOverlay .skyland-add-dd-menu .skyland-add-dd-item {
  min-width: 0;
  gap: 10px;
}

#skylandEditOverlay .skyland-add-dd-menu .skyland-add-dd-item .skyland-add-dd-item-label {
  min-width: 0;
}

#skylandEditOverlay .skyland-add-dd-item {
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
}

/* Align fonts for edit-overlay dropdowns that must match add-overlay */
#skylandEditOverlay #skylandEditLandTier2Type1Btn,
#skylandEditOverlay #skylandEditAptNeedStatusBtn {
  font-weight: 700;
}

#skylandEditOverlay #skylandEditLandTier2Type1Display,
#skylandEditOverlay #skylandEditAptNeedStatusDisplay {
  font-weight: 700;
}

#skylandEditOverlay #skylandEditLandTier2Type1Box .skyland-add-dd-item,
#skylandEditOverlay #skylandEditAptNeedStatusBox .skyland-add-dd-item {
  font-weight: 700;
  font-size: 13px;
}

/* Hard override for checkbox labels inside these dropdown boxes (mobile/desktop). */
#skylandEditOverlay #skylandEditLandTier2Type1Box label,
#skylandEditOverlay #skylandEditAptNeedStatusBox label {
  font-size: 12px !important;
  font-weight: 600 !important;
}

#skylandEditOverlay #skylandEditLandTier2Type1Box .skyland-add-dd-item,
#skylandEditOverlay #skylandEditAptNeedStatusBox .skyland-add-dd-item {
  font-size: 12px !important;
  font-weight: 600 !important;
}

#skylandEditOverlay #skylandEditLandTier2Type1Btn,
#skylandEditOverlay #skylandEditAptNeedStatusBtn {
  font-size: 15px !important;
  font-weight: 700 !important;
}





