/* ==========================================================================
   PropertyFlow — Channel Management page (Figma file AfDgwLGK6PWvMXXcqqtZUb,
   frame 172:16974 "Channel Management")

   Loaded ONLY by platform/channel-management/index.html, alongside
   home-dark.css (reused for nav, buttons, section labels/headings, stats
   grid, final CTA pattern). This file only holds components unique to
   this page. Does not touch site-ds.css/home-ds.css.
   ========================================================================== */

/* ---------- Hero ---------- */

body.hd-page .cm-hero { padding: calc(96px + 64px) 0 100px; }
body.hd-page .cm-hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
body.hd-page .cm-hero__heading {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 59.72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 28px 0 0;
  max-width: 800px;
}
body.hd-page .cm-hero__heading span { display: block; }
body.hd-page .cm-hero__heading .muted { color: #87878f; }
body.hd-page .cm-hero__desc {
  font-family: "Krub", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 28px 0 0;
}
body.hd-page .cm-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
body.hd-page .cm-hero__visual { margin-top: 80px; position: relative; container-type: inline-size; }
body.hd-page .cm-hero__visual-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 1378 / 528;
  overflow: hidden;
  border-radius: 18px;
  border: 0.8px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 50px 120px rgba(0, 0, 0, 0.85);
}
body.hd-page .cm-hero__visual-crop img {
  display: block;
  width: 100%;
  height: auto;
}

/* Floating "New booking" notification, overlaps the top-right of the calendar.
   Sized in cqw (relative to .cm-hero__visual's inline size) so it scales
   together with the calendar screenshot instead of staying a fixed pixel
   size while the image shrinks/grows. */
body.hd-page .cm-notif {
  box-sizing: border-box;
  position: absolute;
  top: -1.28cqw;
  right: 0.18cqw;
  width: 18.45cqw;
  min-width: 150px;
  background: #1c1c22;
  border: 0.8px solid rgba(255, 90, 95, 0.19);
  border-radius: 1.05cqw;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  padding: 1.05cqw 1.23cqw;
}
body.hd-page .cm-notif__head { display: flex; align-items: flex-start; gap: 0.79cqw; }
body.hd-page .cm-notif__avatar {
  width: 2.64cqw; height: 2.64cqw; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 90, 95, 0.09);
  border: 0.8px solid rgba(255, 90, 95, 0.21);
  border-radius: 0.7cqw;
  font-family: "Krub", sans-serif; font-weight: 700; font-size: 0.79cqw; color: #ff5a5f;
}
body.hd-page .cm-notif__head-text { flex: 1; min-width: 0; }
body.hd-page .cm-notif__title { font-family: "Krub", sans-serif; font-weight: 600; font-size: 0.97cqw; color: var(--text-primary); margin: 0; white-space: nowrap; }
body.hd-page .cm-notif__sub { font-family: "Krub", sans-serif; font-size: 0.88cqw; color: var(--link-muted); margin: 0.18cqw 0 0; white-space: nowrap; }
body.hd-page .cm-notif__pulse { width: 0.53cqw; height: 0.53cqw; border-radius: 50%; background: #28ca41; box-shadow: 0 0 6px #28ca41; flex-shrink: 0; margin-top: 0.18cqw; }
body.hd-page .cm-notif__guest { background: rgba(255, 255, 255, 0.03); border-radius: 0.62cqw; padding: 0.62cqw 0.88cqw; margin-top: 0.79cqw; }
body.hd-page .cm-notif__guest-name { font-family: "Krub", sans-serif; font-weight: 500; font-size: 0.92cqw; color: #c8c8d0; margin: 0; white-space: nowrap; }
body.hd-page .cm-notif__guest-prop { font-family: "Krub", sans-serif; font-size: 0.88cqw; color: #454545; margin: 0.18cqw 0 0; white-space: nowrap; }
body.hd-page .cm-notif__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.79cqw; }
body.hd-page .cm-notif__price { font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 0.97cqw; color: #ff5a5f; }
body.hd-page .cm-notif__synced { display: flex; align-items: center; gap: 0.35cqw; font-family: "Krub", sans-serif; font-weight: 500; font-size: 0.88cqw; color: #28ca41; white-space: nowrap; }
body.hd-page .cm-notif__synced i { width: 0.44cqw; height: 0.44cqw; border-radius: 50%; background: #28ca41; display: inline-block; }

@media (max-width: 900px) {
  body.hd-page .cm-notif { display: none; }
}

/* ---------- FeatureTabs (How it works) ---------- */

body.hd-page .cm-tabs { display: grid; grid-template-columns: 380px 1fr; gap: 60px; margin-top: 56px; }
body.hd-page .cm-tabs__list { display: flex; flex-direction: column; }
body.hd-page .cm-tabs__item {
  position: relative;
  border-bottom: 0.8px solid var(--border-subtle);
  padding: 20px 0;
  cursor: pointer;
  display: block;
  width: 100%;
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
body.hd-page .cm-tabs__item .cm-tabs__desc { display: none; }
body.hd-page .cm-tabs__item--active .cm-tabs__desc { display: block; }
body.hd-page .cm-tabs__item--active { border-color: var(--border-subtle); }
body.hd-page .cm-tabs__item--active::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 2px;
  background: #e83245;
}
body.hd-page .cm-tabs__row { display: flex; align-items: center; gap: 10px; }
body.hd-page .cm-tabs__num { font-family: "Krub", sans-serif; font-size: 11px; letter-spacing: 0.05em; color: var(--link-muted); }
body.hd-page .cm-tabs__item--active .cm-tabs__num { color: #e83245; }
body.hd-page .cm-tabs__rule { width: 1px; height: 12px; background: var(--border-subtle); }
body.hd-page .cm-tabs__title { font-family: "Krub", sans-serif; font-weight: 600; font-size: 15px; color: var(--link-muted); }
body.hd-page .cm-tabs__item--active .cm-tabs__title { color: var(--text-primary); }
body.hd-page .cm-tabs__desc {
  font-family: "Krub", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--link-muted);
  margin: 6px 0 0;
}

body.hd-page .cm-sync__heading { font-family: "Inter", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--text-primary); margin: 0; }
body.hd-page .cm-sync__card {
  margin-top: 20px;
  background: var(--sidebar-bg);
  border: 0.8px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}
body.hd-page .cm-sync__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #111115;
  border-bottom: 0.8px solid var(--border-subtle);
}
body.hd-page .cm-sync__head-label { font-family: "Krub", sans-serif; font-size: 12px; color: var(--text-secondary); }
body.hd-page .cm-sync__status { display: flex; align-items: center; gap: 6px; }
body.hd-page .cm-sync__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-subtle); }
body.hd-page .cm-sync__status-label { font-family: "Krub", sans-serif; font-size: 11px; color: var(--link-muted); }
body.hd-page .cm-sync__row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .cm-sync__badge {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Krub", sans-serif; font-size: 10px;
  border: 0.8px solid transparent;
}
body.hd-page .cm-sync__name-wrap { flex: 1; min-width: 0; }
body.hd-page .cm-sync__name { font-family: "Krub", sans-serif; font-size: 12px; color: var(--text-primary); margin: 0; }
body.hd-page .cm-sync__listening { font-family: "Krub", sans-serif; font-size: 10px; color: var(--link-muted); margin: 0; }
body.hd-page .cm-sync__more {
  width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04); border: 0.8px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--link-muted); font-size: 9px;
}
body.hd-page .cm-sync__foot { padding: 10px 16px; background: #111115; }
body.hd-page .cm-sync__foot p { font-family: "Krub", sans-serif; font-size: 11px; color: var(--link-muted); margin: 0; }
body.hd-page .cm-sync__dot--live { background: #3ddc84; }

body.hd-page .cm-panel { display: none; }
body.hd-page .cm-panel--active { display: block; }

body.hd-page .cm-sync__icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0.8px solid transparent;
}

body.hd-page .cm-price__cols {
  display: grid; grid-template-columns: 1fr 100px 90px;
  padding: 10px 16px; gap: 10px;
  font-family: "Krub", sans-serif; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--link-muted); background: #111115; border-bottom: 0.8px solid var(--border-subtle);
}
body.hd-page .cm-price__row {
  display: grid; grid-template-columns: 28px 1fr 100px 90px;
  align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 0.8px solid var(--border-subtle);
}
body.hd-page .cm-price__name { font-family: "Krub", sans-serif; font-size: 12px; color: var(--text-primary); }
body.hd-page .cm-price__rate { font-family: "Krub", sans-serif; font-weight: 600; font-size: 12px; color: var(--text-primary); }
body.hd-page .cm-price__badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 8px; border-radius: 999px; border: 0.8px solid transparent;
  font-family: "Krub", sans-serif; font-weight: 600; font-size: 10px; width: fit-content;
}

body.hd-page .cm-inbox__row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .cm-inbox__meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
body.hd-page .cm-inbox__time { font-family: "Krub", sans-serif; font-size: 10px; color: var(--link-muted); }
body.hd-page .cm-inbox__unread { width: 6px; height: 6px; border-radius: 50%; }

body.hd-page .cm-protect__icon { color: #3ddc84; display: inline-flex; }
body.hd-page .cm-protect__sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 0.8px solid var(--border-subtle);
  font-family: "Krub", sans-serif; font-size: 12px; font-weight: 600; color: var(--text-primary);
}
body.hd-page .cm-protect__tag {
  font-family: "Krub", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #3ddc84; background: rgba(61,220,132,0.1); border: 0.8px solid rgba(61,220,132,0.2);
  padding: 3px 8px; border-radius: 999px;
}
body.hd-page .cm-protect__row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .cm-protect__name { font-family: "Krub", sans-serif; font-size: 12px; color: var(--text-secondary); width: 90px; flex-shrink: 0; }
body.hd-page .cm-protect__date {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 24px; border-radius: 6px; border: 0.8px solid transparent;
  font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 11px;
}

body.hd-page .cm-direct__preview { padding: 16px; border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .cm-direct__nav { display: flex; align-items: center; justify-content: space-between; font-family: "Krub", sans-serif; font-size: 11px; color: var(--link-muted); padding-bottom: 14px; border-bottom: 0.8px solid var(--border-subtle); margin-bottom: 14px; }
body.hd-page .cm-direct__nav strong { color: var(--text-primary); font-size: 12px; }
body.hd-page .cm-direct__villa { font-family: "Krub", sans-serif; font-weight: 700; font-size: 16px; color: var(--text-primary); margin: 0; }
body.hd-page .cm-direct__loc { font-family: "Krub", sans-serif; font-size: 11px; color: var(--link-muted); margin: 4px 0 14px; }
body.hd-page .cm-direct__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
body.hd-page .cm-direct__fields div { border: 0.8px solid var(--border-subtle); border-radius: 8px; padding: 8px 10px; }
body.hd-page .cm-direct__fields span { display: block; font-family: "Krub", sans-serif; font-size: 9px; color: var(--link-muted); }
body.hd-page .cm-direct__fields strong { display: block; font-family: "Krub", sans-serif; font-size: 12px; color: var(--text-primary); margin-top: 2px; }
body.hd-page .cm-direct__book {
  width: 100%; padding: 11px; border-radius: 8px; border: none; cursor: default;
  background: #ff5a5f; color: #fff; font-family: "Krub", sans-serif; font-weight: 600; font-size: 13px; margin-bottom: 10px;
}
body.hd-page .cm-direct__fees {
  text-align: center; font-family: "Krub", sans-serif; font-weight: 600; font-size: 11px;
  color: #ff5a5f; background: rgba(255,90,95,0.08); border: 0.8px solid rgba(255,90,95,0.16);
  border-radius: 8px; padding: 8px;
}
body.hd-page .cm-direct__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .cm-direct__amount { font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 12px; color: var(--text-primary); }

@media (max-width: 900px) {
  body.hd-page .cm-tabs { grid-template-columns: 1fr; gap: 40px; }
  body.hd-page .cm-tabs__item--active::before { left: 0; }
  body.hd-page .cm-tabs__list { padding-left: 12px; }
}

/* ---------- Testimonials ---------- */

body.hd-page .cm-tbento { display: flex; gap: 16px; margin-top: 56px; align-items: stretch; }
body.hd-page .cm-tbento__images { flex: 0 0 32%; display: flex; flex-direction: column; gap: 16px; }
body.hd-page .cm-tbento__images .cm-tbento__img:first-child { flex: 2; }
body.hd-page .cm-tbento__images .cm-tbento__img:last-child { flex: 3; }
body.hd-page .cm-tbento__img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
body.hd-page .cm-tbento__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
body.hd-page .cm-tbento__row { display: flex; gap: 16px; align-items: stretch; }
body.hd-page .cm-tbento__row .cm-tbento__img--narrow { min-width: 0; }

body.hd-page .cm-tcard { background: var(--bg); border: 0.8px solid var(--border-subtle); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
body.hd-page .cm-tcard__stars { color: #e83245; font-size: 14px; letter-spacing: 2px; }
body.hd-page .cm-tcard__quote { font-family: "Krub", sans-serif; font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 20px 0 0; }
body.hd-page .cm-tcard__foot { display: flex; align-items: center; gap: 12px; border-top: 0.8px solid var(--border-subtle); padding-top: 20px; margin-top: 24px; }
body.hd-page .cm-tcard__name { font-family: "Krub", sans-serif; font-weight: 600; font-size: 14px; color: var(--text-primary); margin: 0; }
body.hd-page .cm-tcard__meta { font-family: "Krub", sans-serif; font-size: 12px; color: var(--link-muted); margin: 2px 0 0; }
body.hd-page .cm-tcard__avatar { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: "Krub", sans-serif; font-weight: 600; font-size: 12px; color: #fff; }
body.hd-page .cm-tcard__avatar--purple { background: #6d5ce8; }
body.hd-page .cm-tcard__avatar--green { background: #2f9e5c; }
body.hd-page .cm-tcard__avatar--pink { background: #d63a8c; }

body.hd-page .cm-tcard--stat { justify-content: space-between; }
body.hd-page .cm-tcard__stat-num { font-family: "Inter", sans-serif; font-weight: 800; font-size: 44px; letter-spacing: -0.02em; color: var(--text-primary); margin: 0; }
body.hd-page .cm-tcard__stat-label { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link-muted); margin: 8px 0 0; }
body.hd-page .cm-tcard__stat-note { font-family: "Krub", sans-serif; font-size: 13px; line-height: 1.6; color: var(--link-muted); margin: 0; }

@media (max-width: 900px) {
  body.hd-page .cm-tbento { flex-direction: column; }
  body.hd-page .cm-tbento__images { flex: 0 0 auto; }
  body.hd-page .cm-tbento__images .cm-tbento__img { flex: none; }
  body.hd-page .cm-tbento__images .cm-tbento__img:first-child { height: 160px; }
  body.hd-page .cm-tbento__images .cm-tbento__img:last-child { height: 220px; }
  body.hd-page .cm-tbento__row { flex-direction: column; }
  body.hd-page .cm-tbento__row .cm-tcard,
  body.hd-page .cm-tbento__row .cm-tbento__img { flex-basis: auto !important; }
  body.hd-page .cm-tbento__row .cm-tbento__img--narrow { height: 200px; }
}

/* ---------- ChannelGrid ---------- */

body.hd-page .cm-channels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8px;
  background: var(--border-subtle);
  border: 0.8px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
body.hd-page .cm-channel { display: flex; align-items: center; justify-content: center; height: 153.7px; background: var(--bg); }
body.hd-page .cm-channel__logo { display: block; height: 32px; width: auto; max-width: 82%; object-fit: contain; }
body.hd-page .cm-channels__footnote { text-align: center; font-family: "Krub", sans-serif; font-size: 12px; color: var(--link-muted); margin: 20px 0 0; }

@media (max-width: 900px) {
  body.hd-page .cm-channels__grid { grid-template-columns: repeat(2, 1fr); }
  body.hd-page .cm-channel { height: 114px; }
  body.hd-page .cm-channel__logo { height: 26px; max-width: 80%; }
}
@media (max-width: 480px) {
  body.hd-page .cm-channels__grid { grid-template-columns: 1fr; }
}


/* ---------- FAQ ---------- */
body.hd-page .cm-faq { background: var(--sidebar-bg); }
body.hd-page .cm-faq__grid { display: flex; gap: 64px; align-items: flex-start; }
body.hd-page .cm-faq__head { flex: 0 0 auto; width: 360px; }
body.hd-page .cm-faq__note { font-family: "Krub", sans-serif; font-size: 14px; line-height: 1.6; color: #87878f; margin: 16px 0 0; }
body.hd-page .cm-faq__note-link { color: var(--text-primary); text-decoration: none; }
body.hd-page .cm-faq .hd-faq__list { flex: 1 0 0; margin: 0; }

/* ---------- Stats section (Figma: node 172:18363, matches H1/Body Large/Body styles) ---------- */
body.hd-page section.hd-stats .hd-stats__value {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 0;
  color: #f0f0f5;
}
body.hd-page section.hd-stats .hd-stats__label--lg {
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #87878f;
}
body.hd-page section.hd-stats .hd-stats__label {
  font-family: "Krub", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #515159;
}

@media (max-width: 900px) {
  body.hd-page .cm-faq__grid { flex-direction: column; gap: 32px; }
  body.hd-page .cm-faq__head { width: 100%; }
}
