/* Temp Connect — Homepage Booking Calendar Preview
   Full-width marketplace band aligned with Avada Welcome section.
*/

.tc-bp {
  --tc-bp-teal: #42b9bb;
  --tc-bp-teal-deep: #2f9ea1;
  --tc-bp-teal-dark: #288f92;
  --tc-bp-teal-ink: #237a7d;
  --tc-bp-ink: #1a2428;
  --tc-bp-muted: #5a6569;
  --tc-bp-hint: #6b7579;
  --tc-bp-line: #e6eef0;
  --tc-bp-soft: #eef5f6;
  --tc-bp-warn-bg: #fff6e8;
  --tc-bp-ok-bg: #e8f7f4;
  --tc-bp-radius: 14px;
  --tc-bp-radius-sm: 10px;
  --tc-bp-font: inherit;

  position: relative;
  z-index: 2;
  isolation: isolate;
  margin: 0;
  padding: 48px 20px 56px;
  /* Solid band — never transparent over the hero (Edge caches old CSS aggressively). */
  background: #ffffff !important;
  background-image: none !important;
  border-top: 1px solid var(--tc-bp-line);
  border-bottom: 1px solid var(--tc-bp-line);
  color: var(--tc-bp-ink);
  font-family: var(--tc-bp-font);
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  transform: none;
  zoom: normal;
  scroll-margin-top: 24px;
}

.tc-bp__inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ---- Header: title + segmented switcher ---- */
.tc-bp__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.tc-bp__head-copy {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 760px;
  width: 100%;
}

.tc-bp__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tc-bp-teal);
}

.tc-bp__title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--tc-bp-teal-deep);
}

.tc-bp__subtitle {
  margin: 0;
  color: var(--tc-bp-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.tc-bp__tabs {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--tc-bp-soft);
  border: 1px solid #dce8ea;
  border-radius: 12px;
  max-width: 100%;
  box-sizing: border-box;
  align-self: flex-start;
}

.tc-bp__tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--tc-bp-muted);
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 40px;
  height: auto;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tc-bp__tab:hover {
  color: var(--tc-bp-ink);
}

.tc-bp__tab.is-active {
  background: linear-gradient(145deg, var(--tc-bp-teal) 0%, var(--tc-bp-teal-deep) 55%, var(--tc-bp-teal-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 158, 161, 0.28);
}

.tc-bp__banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--tc-bp-radius-sm);
  background: #eef6f7;
  border: 1px solid #d5e8e9;
  color: var(--tc-bp-ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.tc-bp__banner.is-ok {
  background: var(--tc-bp-ok-bg);
  border-color: #b9e4dc;
}

.tc-bp__banner.is-warn {
  background: var(--tc-bp-warn-bg);
  border-color: #f0d7a8;
}

/* ---- Unified search dock ---- */
.tc-bp__filters {
  margin-bottom: 22px;
}

.tc-bp__dock {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.9fr auto;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid #d7e4e6;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 36, 40, 0.05);
  overflow: visible;
  min-height: 64px;
}

/* Label + value rows — roomy enough for Edge native date controls */
.tc-bp__field {
  display: grid;
  grid-template-rows: auto minmax(28px, auto);
  row-gap: 6px;
  align-content: center;
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid var(--tc-bp-line);
}

.tc-bp__field label {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tc-bp-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-bp__field input,
.tc-bp__field input[type="search"],
.tc-bp__field input[type="text"],
.tc-bp__field input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 28px !important;
  min-height: 28px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  font-size: 14px !important;
  line-height: 28px !important;
  font-weight: 500;
  background: transparent !important;
  color: var(--tc-bp-ink) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.tc-bp__field input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.tc-bp__field input::placeholder {
  color: #9aa4a8;
  opacity: 1;
  line-height: 28px;
}

/* Date: keep Edge/Chromium native edit metrics on the value row */
.tc-bp__field input[type="date"] {
  position: relative;
  min-width: 0;
  color-scheme: light;
}

.tc-bp__field input[type="date"]::-webkit-datetime-edit,
.tc-bp__field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0;
  margin: 0;
  line-height: 28px;
}

.tc-bp__field input[type="date"]::-webkit-datetime-edit-text,
.tc-bp__field input[type="date"]::-webkit-datetime-edit-month-field,
.tc-bp__field input[type="date"]::-webkit-datetime-edit-day-field,
.tc-bp__field input[type="date"]::-webkit-datetime-edit-year-field {
  padding: 0;
  margin: 0;
  line-height: 28px;
}

.tc-bp__field input[type="date"]::-webkit-inner-spin-button,
.tc-bp__field input[type="date"]::-webkit-clear-button {
  display: none;
}

.tc-bp__field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  opacity: 0.55;
  cursor: pointer;
}

.tc-bp__field input[type="search"]::-webkit-search-decoration,
.tc-bp__field input[type="search"]::-webkit-search-cancel-button,
.tc-bp__field input[type="search"]::-webkit-search-results-button,
.tc-bp__field input[type="search"]::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.tc-bp__search {
  appearance: none;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 156px;
  padding: 0 18px;
  border: 0;
  /* Match dock radius on the right edge (desktop row layout) */
  border-radius: 0 12px 12px 0;
  background: linear-gradient(145deg, var(--tc-bp-teal) 0%, var(--tc-bp-teal-deep) 55%, var(--tc-bp-teal-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.tc-bp__search:hover {
  filter: brightness(0.97);
}

.tc-bp__subbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  min-height: 0;
}

.tc-bp__toolbar-note {
  color: var(--tc-bp-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.tc-bp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-bp__chip {
  appearance: none;
  min-height: 30px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #d7e0e2;
  background: #fff;
  color: var(--tc-bp-ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.tc-bp__chip.is-active,
.tc-bp__chip:hover {
  border-color: var(--tc-bp-teal);
  color: var(--tc-bp-teal-ink);
  background: rgba(66, 185, 187, 0.1);
}

/* ---- Live summary pulse ---- */
.tc-bp__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.tc-bp__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e8f7f5;
  color: var(--tc-bp-teal-ink);
  font-weight: 700;
  font-size: 0.84rem;
}

.tc-bp__windows {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tc-bp__window {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tc-bp-line);
  font-size: 0.8rem;
  color: var(--tc-bp-muted);
}

.tc-bp__window strong {
  color: var(--tc-bp-ink);
}

/* ---- Structured marketplace cards ---- */
.tc-bp__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
  align-items: stretch;
}

.tc-bp__card {
  background: #fff;
  border: 1px solid #e3ecee;
  border-radius: var(--tc-bp-radius);
  padding: 16px 16px 0;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(26, 36, 40, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}

.tc-bp__card:hover {
  border-color: rgba(66, 185, 187, 0.45);
  box-shadow: 0 10px 24px rgba(26, 36, 40, 0.08);
  transform: translateY(-1px);
}

/* Align homepage preview cells with the public Jobs board JobCell. */
.tc-bp__results .tc-jobs__card.tc-bp__card {
  gap: 0;
  min-height: 180px;
  height: 100%;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: none;
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
}

.tc-bp__results .tc-jobs__card.tc-bp__card:hover {
  border-color: #d1d1d1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: none;
}

.tc-bp__results .tc-jobs__card .tc-jobs__card-title,
.tc-bp__results .tc-bp__card h3.tc-jobs__card-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  -webkit-line-clamp: 2;
}

.tc-bp__results .tc-jobs__card .tc-jobs__card-meta {
  gap: 8px 12px;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.tc-bp__results .tc-jobs__card .tc-jobs__card-desc {
  font-size: 0.8rem;
  -webkit-line-clamp: 3;
}

.tc-bp__results .tc-jobs__card .tc-jobs__card-footer {
  margin-top: auto;
}

.tc-bp__card-cta-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.tc-bp__apply-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid var(--tc-bp-teal);
  background: var(--tc-bp-teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tc-bp__apply-btn:hover {
  background: var(--tc-bp-teal-deep);
  border-color: var(--tc-bp-teal-deep);
  color: #fff;
}

.tc-bp__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
  background: #e8f3f4;
  border: 1px solid rgba(26, 36, 40, 0.06);
}

.tc-bp__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tc-bp-teal-ink);
  background: rgba(66, 185, 187, 0.18);
  box-sizing: border-box;
}

/* Employer worker cells — fixed structure so the grid aligns */
.tc-bp__results .tc-bp__worker-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 188px;
  height: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-bp__results .tc-bp__worker-card:hover {
  border-color: rgba(66, 185, 187, 0.55);
  box-shadow: 0 4px 14px rgba(26, 36, 40, 0.07);
  transform: none;
}

.tc-bp__worker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tc-bp__worker-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(99, 189, 196, 0.18);
  color: #2f858a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tc-bp__worker-date {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #6b7280;
}

.tc-bp__worker-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin-bottom: 14px;
}

.tc-bp__worker-avatar-wrap {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  line-height: 0;
}

.tc-bp__worker-copy {
  min-width: 0;
  flex: 1 1 auto;
  /* Optical top-align: name cap-height with avatar */
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3px;
}

.tc-bp__worker-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--tc-bp-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.tc-bp__worker-role {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--tc-bp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-bp__worker-meta {
  list-style: none;
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-bp__worker-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #5e6d55;
  font-weight: 500;
  min-width: 0;
}

.tc-bp__worker-meta li span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-bp__worker-meta .mdi {
  font-size: 14px;
  line-height: 1;
  color: #78909c;
  flex: 0 0 auto;
}

.tc-bp__worker-meta-spacer {
  visibility: hidden;
}

.tc-bp--employer .tc-bp__head-copy,
.tc-bp--worker .tc-bp__head-copy {
  max-width: 720px;
}

.tc-bp__card-unlock {
  margin: auto 0 14px;
  padding-top: 4px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--tc-bp-hint);
}

.tc-bp__card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.tc-bp__pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e8f7f5;
  color: var(--tc-bp-teal-ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.tc-bp__pill--pay {
  background: #eef3f8;
  color: #2f4a5c;
}

.tc-bp__card--booking {
  border-color: #d7e8e8;
}

.tc-bp__card--booking .tc-bp__pill:not(.tc-bp__pill--pay) {
  background: rgba(66, 185, 187, 0.14);
  color: var(--tc-bp-teal-ink);
}

.tc-bp__lock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(90, 101, 105, 0.1);
  color: var(--tc-bp-muted);
}

.tc-bp__lock svg {
  width: 14px;
  height: 14px;
  display: block;
}

.tc-bp__card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--tc-bp-ink);
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tc-bp__subhead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--tc-bp-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tc-bp__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--tc-bp-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.tc-bp__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.tc-bp__meta-item svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  opacity: 0.75;
}

.tc-bp__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.tc-bp__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--tc-bp-soft);
  border: 1px solid #dce8ea;
  color: var(--tc-bp-ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.tc-bp__count,
.tc-bp__pay,
.tc-bp__slots,
.tc-bp__empty,
.tc-bp__loading,
.tc-bp__note {
  margin: 0;
  color: var(--tc-bp-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tc-bp__count,
.tc-bp__pay {
  color: var(--tc-bp-ink);
  font-weight: 700;
}

.tc-bp__hint {
  margin: auto -16px 0;
  padding: 10px 16px;
  border-top: 1px solid #f0f3f4;
  background: #fafcfc;
  font-size: 0.8rem;
  color: var(--tc-bp-hint);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.35;
}

.tc-bp__hint svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: 0.7;
}

.tc-bp__card-cta {
  appearance: none;
  margin: 4px 0 12px;
  min-height: 40px;
  border: 1px solid var(--tc-bp-teal);
  background: rgba(66, 185, 187, 0.08);
  color: var(--tc-bp-teal-ink);
  border-radius: var(--tc-bp-radius-sm);
  font-weight: 650;
  cursor: pointer;
}

.tc-bp__footer {
  display: block;
  padding: 18px 0 0;
  border-top: 0;
  margin-top: 8px;
}

.tc-bp__footer-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
  box-shadow: 0 1px 0 rgba(26, 36, 40, 0.03);
}

.tc-bp__footer-panel--compact {
  justify-content: flex-start;
  padding: 16px 20px;
}

.tc-bp__footer-copy {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 560px;
}

.tc-bp__footer-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--tc-bp-ink);
}

.tc-bp__footer-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--tc-bp-muted);
}

.tc-bp__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-start;
  align-items: center;
  flex: 0 1 auto;
}

.tc-bp__footer-signin {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--tc-bp-muted);
  white-space: nowrap;
}

.tc-bp__footer-signin a {
  color: var(--tc-bp-teal-ink);
  font-weight: 700;
  text-decoration: none;
}

.tc-bp__footer-signin a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-bp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  text-align: center;
  width: auto;
  box-sizing: border-box;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tc-bp__cta--primary {
  background: var(--tc-bp-teal);
  color: #fff;
  border: 1.5px solid var(--tc-bp-teal);
}

.tc-bp__cta--primary:hover {
  background: var(--tc-bp-teal-deep);
  border-color: var(--tc-bp-teal-deep);
  color: #fff;
}

.tc-bp__cta--secondary {
  background: #fff;
  color: var(--tc-bp-teal-ink);
  border: 1.5px solid var(--tc-bp-teal);
}

.tc-bp__cta--secondary:hover {
  background: rgba(66, 185, 187, 0.08);
  border-color: var(--tc-bp-teal-deep);
  color: var(--tc-bp-teal-ink);
}

.tc-bp__cta--link {
  background: transparent;
  color: var(--tc-bp-muted);
  text-decoration: none;
  border: 0;
  min-height: 44px;
  padding: 0.7rem 0.15rem;
  font-weight: 600;
}

.tc-bp__cta--link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--tc-bp-teal-ink);
}

.tc-bp__empty,
.tc-bp__loading {
  grid-column: 1 / -1;
  padding: 22px;
  background: #f7fafa;
  border: 1px dashed #d7dde0;
  border-radius: var(--tc-bp-radius);
}

/* Tablet / Avada mobile-menu widths: stack search cleanly, avoid cramped 2-up dock */
@media (max-width: 1024px) {
  .tc-bp {
    padding: 40px 18px 48px;
  }

  .tc-bp__title {
    font-size: clamp(1.3rem, 3.6vw, 1.65rem);
  }

  .tc-bp__subtitle {
    font-size: 0.95rem;
  }

  .tc-bp__tabs {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: stretch;
    gap: 4px;
  }

  .tc-bp__tab {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 8px;
    font-size: 0.84rem;
    box-sizing: border-box;
  }

  .tc-bp__dock {
    grid-template-columns: 1fr;
  }

  .tc-bp__field {
    border-right: 0;
    border-bottom: 1px solid var(--tc-bp-line);
  }

  .tc-bp__field--date {
    border-top: 0;
    border-right: 0;
  }

  .tc-bp__search {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-top: 0;
    /* Match dock top radius on the bottom edge when stacked */
    border-radius: 0 0 12px 12px;
  }

  .tc-bp__subbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tc-bp__toolbar-note {
    font-size: 0.86rem;
  }

  .tc-bp__results {
    /* Shrink to 1 column when the band gets too narrow for readable cards */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
  }
}

/* Narrow phones: single-column cards and tighter chrome */
@media (max-width: 640px) {
  .tc-bp {
    padding: 32px 14px 40px;
  }

  .tc-bp__head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .tc-bp__tabs {
    grid-template-columns: 1fr;
  }

  .tc-bp__tab {
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  .tc-bp__field {
    padding: 12px 14px;
  }

  .tc-bp__search {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .tc-bp__results {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tc-bp__results .tc-jobs__card.tc-bp__card,
  .tc-bp__results .tc-bp__worker-card {
    min-height: 0;
  }

  .tc-bp__footer-panel {
    padding: 18px 16px;
    gap: 14px;
  }

  .tc-bp__footer-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .tc-bp__footer-actions .tc-bp__cta,
  .tc-bp__footer-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tc-bp__footer-signin {
    white-space: normal;
  }
}
