.ts-tracker-page, body.ts-home {
  margin: 0;
  color: #132720;
  background: #f8f3eb;
  font: 1rem/1.4 Inter, system-ui, sans-serif;
}
.ts-header, .ts-list { box-sizing: border-box; }
.ts-header *, .ts-list * { box-sizing: border-box; }
.ts-header [hidden], .ts-list [hidden], #timeshareList[hidden], .ts-managed-deals > main[hidden] { display: none !important; }
.ts-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 22px);
  padding: 9px clamp(12px, 2.4vw, 30px);
  background: #143321;
  color: #fffaf1;
  min-height: 67px;
  font: 1rem/1.2 Inter, system-ui, sans-serif;
}
.ts-home .ts-header {
  background: linear-gradient(110deg, #0b3b2b, #063326);
  border-bottom: 9px solid #063326;
  box-shadow: inset 0 -2px #dfba63;
  min-height: clamp(72px, 6.3vw, 99px);
  font-family: Arial, sans-serif;
}
.ts-header a, .ts-header summary { color: inherit; text-decoration: none; }
.ts-header svg, .ts-list svg, .ts-home .ts-action-icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
}
.ts-header .ts-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 700 clamp(19px, 2.5vw, 29px)/1 Georgia, serif;
  white-space: nowrap;
}
.ts-home .ts-header .ts-brand { font-family: inherit; font-size: clamp(17px, 2.2vw, 27px); font-weight: 800; }
.ts-brand svg { color: #f0c874; width: 1.65em; }
.ts-brand small { display: block; margin-top: 4px; color: #ffdc8b; font: 650 10px/1.1 Inter, system-ui, sans-serif; letter-spacing: .23em; }
.ts-home .ts-header .ts-brand small {
  color: #ffdc8b !important;
  -webkit-text-fill-color: #ffdc8b !important;
  font-size: clamp(9px, .93vw, 14px);
}
.ts-home .ts-header .ts-menu > summary {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #fffaf1 !important;
  -webkit-text-fill-color: #fffaf1 !important;
}
.ts-home .ts-header .ts-menu[open] > summary,
.ts-home .ts-header .ts-menu > summary:hover { background: #245844 !important; }
.ts-home .ts-header .ts-menu > summary span {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
.ts-home .ts-header :focus-visible { outline-color: #edc978 !important; }
.ts-home .ts-header .ts-profile > summary {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
}
.ts-tabs { display: flex; align-items: center; gap: clamp(2px, .65vw, 12px); margin-left: auto; }
.ts-tabs a, .ts-header summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px clamp(5px, .9vw, 14px);
  border-radius: 9px;
  font-size: clamp(13px, 1.4vw, 17px);
  white-space: nowrap;
}
.ts-tabs > a:hover, .ts-header summary:hover { background: #31513c; }
.ts-tabs > a[aria-current="page"] { background: #31513c; box-shadow: 0 3px #e7c06e; font-weight: 750; }
.ts-deals .ts-tabs > a[aria-current="page"] { background: #514b24; }
.ts-home .ts-tabs > a[aria-current="page"] { background: #fffaf1; color: #0a3828; box-shadow: none; }
.ts-menu { position: relative; }
.ts-menu summary { cursor: pointer; list-style: none; }
.ts-menu summary::-webkit-details-marker { display: none; }
.ts-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 185px;
  padding: 5px;
  color: #173827;
  background: #fffaf1;
  border: 1px solid #cdbd9e;
  border-radius: 9px;
  box-shadow: 0 8px 22px #1936292d;
}
.ts-menu > div :is(a, button) {
  display: block;
  width: 100%;
  min-height: 40px;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-radius: 5px;
  color: #173827;
  background: transparent;
  font: 600 14px Inter, system-ui, sans-serif;
}
.ts-menu > div :is(a, button):hover { background: #ece4d5; }
.ts-header .ts-profile { border-left: 1px solid #637768; padding-left: 5px; }
.ts-profile summary svg { width: 28px; height: 28px; }
.ts-header :focus-visible, .ts-list :focus-visible { outline: 3px solid #986720; outline-offset: 3px; }
.ts-header :focus-visible { outline-color: #edc978; }
.ts-menu > div :focus-visible { outline-color: #986720; }
.ts-list {
  width: min(100%, 1500px);
  margin: auto;
  padding: clamp(16px, 2.4vw, 34px);
  color: #18251f;
  font: 1rem/1.4 Inter, system-ui, sans-serif;
}
.ts-list-heading, .ts-filters, .ts-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.ts-list-heading h1 {
  display: flex;
  align-items: center;
  gap: .28em;
  margin: 0;
  color: #102f22;
  font: 700 clamp(34px, 4.5vw, 54px)/1.1 Georgia, serif;
}
.ts-list-heading h1 svg { color: #9c6d21; }
.ts-list-heading p { margin: 4px 0 0; color: #41494e; }
.ts-deals .ts-list { font-family: Georgia, serif; }
.ts-deals .ts-list-heading p { font-style: italic; color: #24312b; }
.ts-add {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 19px;
  min-height: 46px;
  border-radius: 9px;
  color: #17271f;
  background: #ddb460;
  font-weight: 750;
  text-decoration: none;
}
.ts-deals .ts-add { background: #123d27; color: #fffaf1; }
.ts-add:hover { box-shadow: inset 0 0 0 2px currentColor; }
.ts-filters { margin: clamp(19px, 2.7vw, 34px) 0; }
.ts-filters > div { display: flex; gap: 7px; flex-wrap: wrap; }
.ts-filters button {
  min-height: 40px;
  padding: 6px clamp(9px, 1.65vw, 22px);
  border: 1px solid #d0c6b7;
  border-radius: 999px;
  color: #162b23;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.ts-filters button[aria-pressed="true"] { color: #fffaf1; background: #163e29; border-color: #163e29; }
.ts-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 360px);
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #bcb2a4;
  border-radius: 8px;
}
.ts-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: #162b23; font: inherit; }
.ts-search input::placeholder { color: #4c555b; opacity: 1; }
.ts-table-frame { overflow-x: auto; border: 1px solid #dcd3c4; border-radius: 10px; }
.ts-list table { width: 100%; min-width: 630px; border-collapse: collapse; text-align: left; }
.ts-list th { background: #ebe4d8; color: #162f22; }
.ts-deals .ts-list th { color: #fffaf1; background: #163e29; }
.ts-list th, .ts-list td { padding: 12px clamp(10px, 1.6vw, 20px); }
.ts-list td { border-top: 1px solid #e7dfd1; overflow-wrap: anywhere; }
.ts-list .ts-guest { color: #103728; font-weight: 750; }
.ts-badge, .ts-purchase { display: inline-block; min-width: 55px; border-radius: 999px; padding: 2px 9px; text-align: center; }
.ts-badge.open { background: #f2d18b; }
.ts-badge.won, .ts-purchase.won { background: #d3e3c3; color: #123223; }
.ts-badge.lost { background: #f1c4bb; color: #701814; }
.ts-purchase { font-weight: 750; }
.ts-purchase.lost { background: #e7e0d5; }
.ts-list-footer { font-size: .92rem; margin-top: 9px; }
.ts-list-footer a { color: #17442d; }
.ts-list-status:empty { display: none; }
.ts-list-status { text-align: center; margin-bottom: 0; }
.ts-home .cs-header[hidden] { display: none !important; }
.ts-home.cs-home main :is(.cs-dashboard-head h1, .cs-kpis article strong, .cs-home-columns h2, #homeMonthTitle) {
  color: #0c3526 !important;
  -webkit-text-fill-color: #0c3526 !important;
}
.ts-home.cs-home main :is(#homeGoalHeading, .cs-goal-summary strong) {
  color: #14261f !important;
  -webkit-text-fill-color: #14261f !important;
}
.ts-home .cs-quick-start { align-items: stretch; }
.ts-home .cs-quick-actions { width: 100%; }
.ts-home .cs-quick-action {
  gap: 10px;
  background: linear-gradient(110deg, #08613d, #063b2a);
}
.ts-home .cs-talk { position: relative; padding-inline-end: 34px; }
.ts-home .cs-talk::after {
  content: "";
  position: absolute;
  inset-inline-end: 15px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #a67522;
  border-right: 2px solid #a67522;
  transform: rotate(45deg);
}
.ts-home .cs-calendar-preview h2 .ts-action-icon { color: #0c4e38; }
.ts-home .cs-home-columns h2 .ts-action-icon { vertical-align: -.25em; margin-right: .45em; color: #9d6d25; }
.ts-home #csMayaLauncher { display: none; }
.ts-home .cs-maya-tip { margin-top: 0; }
.ts-home .cs-reports-tip { grid-area: 2 / 2; align-self: end; margin-top: 0; }
.ts-home .cs-quick-start { align-self: start; }
.ts-home .cs-calendar-preview { grid-row: 2; }
.ts-home .cs-preview-events a { border-left: 0; }
.ts-home .cs-preview-events a[data-kind] > span { padding-left: 10px; border-left: 4px solid #087647; }
.ts-home .cs-preview-events a[data-kind="followup"] > span { border-color: #ae4a0c; }
.ts-home .cs-preview-events time { min-width: 65px; font-weight: 700; }
.ts-home .cs-preview-events time small { display: block; font-weight: 500; }

@media (max-width: 940px) {
  .ts-header { display: grid; grid-template-columns: 1fr auto; }
  .ts-tabs { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; margin: 0; }
  .ts-header .ts-profile { grid-row: 1; grid-column: 2; }
  .ts-tabs .ts-menu > div { left: 0; right: auto; }
}
@media (max-width: 520px) {
  .ts-header { gap: 3px; }
  .ts-tabs > a, .ts-tabs summary { justify-content: flex-start; min-height: 38px; gap: 4px; }
  .ts-tabs svg { width: 1em; height: 1em; }
  .ts-tabs .ts-menu > div { left: auto; right: 0; }
  .ts-header .ts-menu.ts-profile > div { right: 0; left: auto; }
}
#timeshareEntryFields[hidden], #timeshareEntryFields > [hidden] { display: none !important; }
.ts-list .ts-guest a { color: inherit; text-decoration: none; }
.ts-list .ts-guest a:hover, .ts-list .ts-guest a:focus-visible { text-decoration: underline; }

.ts-header .ts-header-pulse { position: absolute; bottom: -8px; right: 9%; width: 48px; height: 25px; color: #dfba63; pointer-events: none; }
.ts-list-heading .ts-title-pulse { width: 0; height: 31px; flex: 1 1 0; min-width: 90px; color: #a47525; }
.ts-managed-deals #dcaAlertBell { top: auto; bottom: 16px; }
.ts-managed-deals #dcaAlertPanel { top: auto; bottom: 70px; }
@media (max-width: 800px) { .ts-list-heading .ts-title-pulse { display: none; } }
/* The full record-management page keeps its existing global theme. */
html body.ts-managed-deals {
  color: #132720 !important;
  background: #f8f3eb !important;
}
body.ts-managed-deals:not(.dca-impersonating) { padding-top: 0 !important; }
.ts-managed-deals .ts-header .ts-brand small {
  color: #ffdc8b !important;
  -webkit-text-fill-color: #ffdc8b !important;
}
.ts-managed-deals .ts-header .ts-menu > summary {
  color: #fffaf1 !important;
  -webkit-text-fill-color: #fffaf1 !important;
  background: transparent !important;
  border-color: transparent !important;
}
.ts-managed-deals .ts-header .ts-menu > summary:hover { background: #31513c !important; }
.ts-managed-deals .ts-list h1 { color: #102f22 !important; }
.ts-managed-deals .ts-list .ts-search input {
  color: #162b23 !important;
  background: transparent !important;
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
}
html body.ts-managed-deals #timeshareList .ts-list :is(th, td) {
  color: #18251f !important;
  background: transparent !important;
  word-break: normal;
}
html body.ts-managed-deals #timeshareList .ts-list th {
  color: #fffaf1 !important;
  background: #163e29 !important;
}
html body.ts-managed-deals #timeshareList .ts-list .ts-guest { color: #103728 !important; }
.ts-home .cs-reports-tip a { display: inline-flex; gap: 7px; align-items: center; }
.ts-home .cs-reports-tip a svg { color: #edc978; }
@media (max-width: 680px) {
  .ts-list table { display: block; min-width: 0; }
  .ts-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ts-list tbody { display: block; }
  .ts-list tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #dcd3c4;
  }
  .ts-list tbody tr:last-child { border-bottom: 0; }
  .ts-list tbody td { display: block; border: 0; padding: 7px 10px; }
  .ts-list tbody td:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ts-list tbody td::before {
    display: block;
    margin-bottom: 2px;
    color: #495952;
    content: attr(data-label);
    font: 650 11px/1.2 Inter, system-ui, sans-serif;
  }
  .ts-home .cs-kpis article {
    padding: 9px 8px 9px 37px;
    min-height: 66px;
  }
  .ts-home .cs-kpi-icon {
    display: block;
    position: absolute;
    top: 11px;
    left: 9px;
    width: 20px;
    height: 20px;
    color: #174b38;
  }
  .ts-home .cs-kpis article:last-child .cs-kpi-icon { color: #987026; }
  .ts-home .cs-kpis article strong { font-size: clamp(18px, 6vw, 26px); overflow-wrap: anywhere; }
  .ts-home .cs-volume-head { column-gap: 3px; }
  .ts-home .cs-period-toggle button { min-height: 32px; padding: 3px 5px; font-size: 12px; }
  .ts-home .cs-goal-card { gap: 8px; }
  .ts-home :is(.cs-quick-start, .cs-calendar-preview, .cs-reports-tip) { grid-area: auto; }
  .ts-home .cs-quick-actions { grid-template-columns: 1fr; gap: 6px; }
  .ts-home :is(.cs-quick-action, .cs-talk) { min-height: 44px; }
}
@media (min-width: 390px) and (max-width: 680px) {
  .ts-home .cs-preview-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .ts-home .cs-preview-agenda { padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--account-line); }
  .ts-home .cs-preview-legend { gap: 3px; margin-top: 0; font-size: 11px; }
  .ts-home .cs-preview-events a { gap: 4px; padding: 5px; font-size: 12px; }
  .ts-home .cs-preview-events a[data-kind] > span { padding-left: 5px; overflow-wrap: anywhere; }
  .ts-home .cs-preview-events time { min-width: 42px; }
  .ts-home .cs-weekdays { font-size: 10px; }
}
@media (max-width: 520px) {
  .ts-tabs .ts-menu { position: static; }
  .ts-tabs .ts-menu > div { top: calc(100% - 2px); right: 12px; }
}
@media (min-width: 1000px) {
  .ts-home .ts-header { gap: clamp(7px, .85vw, 14px); }
  .ts-home .ts-tabs {
    flex: 1;
    justify-content: space-evenly;
    gap: clamp(3px, .4vw, 6px);
    padding-left: clamp(6px, 1.8vw, 28px);
    border-left: 1px solid #637768;
  }
  .ts-home .ts-tabs a, .ts-home .ts-tabs > details > summary {
    gap: 5px;
    padding-inline: clamp(4px, .55vw, 10px);
  }
}
@media (min-width: 941px) and (max-width: 999px) {
  .ts-home .ts-header { display: grid; grid-template-columns: 1fr auto; }
  .ts-home .ts-tabs { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; margin: 0; }
  .ts-home .ts-profile { grid-row: 1; grid-column: 2; }
}
@media (min-width: 941px) and (max-width: 1099px) {
  .ts-home .cs-kpis article { padding-left: 58px; }
  .ts-home .cs-kpi-icon { display: block; position: absolute; top: 50%; left: 16px; transform: translateY(-50%); width: 28px; color: #174b38; }
  .ts-home .cs-kpis article:last-child .cs-kpi-icon { color: #987026; }
}
html body.ts-managed-deals #timeshareList .ts-list :is(table, tbody, tr) {
  background: #f8f3eb !important;
}
.ts-managed-deals .ts-header .ts-menu > summary {
  box-shadow: none !important;
}
.ts-managed-deals .ts-header .ts-menu > summary :is(span, svg) { color: #fffaf1 !important; }
.ts-managed-deals .ts-filters button { border-radius: 999px !important; }
.ts-managed-deals .ts-list .ts-search input,
.ts-managed-deals .ts-list .ts-search input::placeholder { font: 400 16px/1.3 Georgia, serif !important; }
.ts-deals .ts-purchase { background: transparent; color: #123223; }
@media (min-width: 941px) {
  .ts-home .cs-calendar { padding-block: clamp(15px, 1.8vw, 28px) 24px; }
  .ts-home .cs-dashboard { gap: clamp(16px, 1.7vw, 26px); margin-bottom: clamp(24px, 2.2vw, 34px); }
  .ts-home .cs-kpis article { min-height: clamp(86px, 8.4vw, 130px); padding-block: 8px; }
  .ts-home .cs-period-toggle button { min-height: clamp(26px, 2.2vw, 34px); padding-block: 3px; }
  .ts-home .cs-goal-card { gap: clamp(8px, .85vw, 13px); padding-block: clamp(12px, 1.4vw, 22px); }
  .ts-home .cs-home-columns { gap: clamp(20px, 2.2vw, 34px) clamp(24px, 2.4vw, 36px); }
  .ts-home .cs-quick-action, .ts-home .cs-talk { min-height: clamp(44px, 4.1vw, 63px); padding-block: 8px; }
  .ts-home .cs-calendar-preview { padding-block: clamp(12px, 1.25vw, 19px); }
  .ts-home .cs-preview-header { margin-bottom: 5px; }
  .ts-home .cs-preview-header a { min-height: 31px; padding-block: 4px; }
  .ts-home .cs-month-bar button { height: 30px; }
  .ts-home .cs-day { min-height: 25px; }
  .ts-home .cs-day .day-number { height: 22px; }
  .ts-home .cs-preview-events a { min-height: 36px; padding-block: 4px; font-size: 14px; }
  .ts-home .cs-preview-events time { line-height: 1.12; }
  .ts-deals .ts-list { font-size: 18px; }
  .ts-deals .ts-badge { min-width: 105px; }
}


/* 2026-11-20 Timeshare Home: preserve sticky navigation and usable mobile targets. */
/* Keep the viewport as the sticky header’s scrolling ancestor. */
body.ts-home { overflow-x: clip !important; overflow-y: visible !important; }
body.ts-home > .cs-page > .ts-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 700;
}
.ts-home .cs-quick-action,
.ts-home .cs-talk {
  min-height: max(52px, clamp(44px, 4.1vw, 63px));
  padding-block: 11px;
}
@media (max-width: 680px) {
  .ts-header nav.ts-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }
  .ts-header nav.ts-tabs > a,
  .ts-header nav.ts-tabs > .ts-menu > summary {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    gap: 4px;
    padding-inline: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
  .ts-header nav.ts-tabs > a svg { flex-shrink: 0; }
  @media (max-width: 400px) {
    .ts-header nav.ts-tabs > a svg { display: none; }
  }
  .ts-home .cs-quick-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .ts-home .cs-quick-action,
  .ts-home .cs-talk {
    min-height: 52px;
    padding-block: 11px;
  }
  .ts-home .cs-talk {
    grid-column: auto;
  }
}
