/**
 * TenantCare — Baselane-grade UI baseline
 * Target: app.baselane.com/dashboard quality (fintech clarity)
 * Ink #0d1613 | Accent gold #c5a25b | Soft canvas #f5f7f6
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap");

:root {
  --brand-dark: #0d1613;
  --brand-dark-2: #15201c;
  --brand-accent: #c5a25b;
  --brand-accent-hover: #b08f4a;
  --brand-accent-soft: rgba(197, 162, 91, 0.12);
  --brand-accent-border: rgba(197, 162, 91, 0.35);
  --brand-gold: #c5a25b; /* alias for legacy selectors */
  --brand-gold-hover: #b08f4a;
  --brand-gold-soft: rgba(197, 162, 91, 0.12);
  --brand-gold-border: rgba(197, 162, 91, 0.35);
  --brand-canvas: #f5f7f6;
  --brand-surface: #ffffff;
  --brand-border: #e3e8e5;
  --brand-muted: #5f6c66;
  --brand-rail: 88px;
  --brand-header: 68px;
  --brand-radius: 16px;
  --brand-radius-sm: 12px;
  --brand-shadow: 0 1px 2px rgba(13, 22, 19, 0.04);
  --brand-shadow-lg: 0 16px 40px rgba(13, 22, 19, 0.08);

  --navbar-bg: transparent;
  --footer-bg: var(--brand-canvas);
  --bg-light: var(--brand-surface);
  --bg-white: var(--brand-surface);
  --off-white: #f8faf9;
  --heading-color: var(--brand-dark);
  --body-font-color: var(--brand-muted);
  --border-color: var(--brand-border);
  --primary-color: var(--brand-accent);
  --primary-hover-color: var(--brand-accent-hover);
  --primary-color-transparent: var(--brand-accent-soft);
  --secondary-color: var(--brand-dark);
  --secondary-hover-color: var(--brand-dark-2);
  --button-primary-color: var(--brand-dark);
  --button-hover-color: var(--brand-dark-2);
  --body-font-family: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  font-family: var(--body-font-family) !important;
  background: var(--brand-canvas) !important;
  color: var(--brand-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body#layout-wrapper,
#layout-wrapper { background: var(--brand-canvas) !important; }

h1, h2, h3, h4, h5, h6,
.page-title-box h2,
.page-title-box h3,
.color-heading {
  color: var(--brand-dark) !important;
  font-family: var(--body-font-family) !important;
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* =========================================================
   DARK ICON RAIL (Baselane app chrome)
========================================================= */
.vertical-menu,
.persona-rail {
  width: var(--brand-rail) !important;
  top: 0 !important;
  bottom: 0 !important;
  margin-top: 0 !important;
  background: var(--brand-dark) !important;
  border-right: none !important;
  z-index: 1100;
  overflow-x: visible !important;
  overflow-y: auto;
}

.brand-sidebar-logo,
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-sidebar-logo {
  min-height: 76px;
  padding: 18px 8px 10px !important;
  background: var(--brand-dark);
  border: 0;
}

.sidebar-brand {
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.brand-logo-full {
  max-height: 44px;
  max-width: min(280px, 100%);
}

.brand-logo-icon {
  max-height: 32px;
  max-width: 32px;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.brand-sidebar-logo .brand-logo-icon,
.sidebar-brand .brand-logo-icon {
  background: transparent !important;
  filter: none;
  opacity: 1;
}

.brand-logo-img {
  max-height: 32px;
  max-width: 32px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.sign-up-top-logo .brand-logo-full,
.sign-up-top-logo img.brand-logo-full {
  max-height: 48px;
  max-width: min(320px, 100%);
}

.authentication__item__logo .brand-logo-full {
  max-height: 48px;
  max-width: min(320px, 100%);
}

.navbar-brand-box .logo-sm .brand-logo-icon {
  max-height: 32px;
  max-width: 32px;
}

.navbar-brand-box .logo-lg .brand-logo-full {
  max-height: 44px;
  max-width: 180px;
}

.vertical-menu .simplebar-mask,
.vertical-menu .simplebar-offset,
.vertical-menu [data-simplebar] { background: transparent !important; }

#sidebar-menu { padding: 6px 10px 40px !important; }

#sidebar-menu ul.metismenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#sidebar-menu ul li { width: 100%; }

#sidebar-menu ul li a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 11px 4px !important;
  margin: 0 0 2px !important;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: 0;
  white-space: normal;
  transition: background .15s ease, color .15s ease;
}

#sidebar-menu ul li a span {
  display: block;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px !important;
}

#sidebar-menu ul li a i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.28rem !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

#sidebar-menu ul li a i svg,
#sidebar-menu ul li a svg path { fill: rgba(255, 255, 255, 0.7) !important; }

#sidebar-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}

#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a:hover i svg path {
  color: #fff !important;
  fill: #fff !important;
}

.mm-active > a,
#sidebar-menu ul li.mm-active > a,
#sidebar-menu ul li a.active {
  background: var(--brand-accent-soft) !important;
  color: #fff !important;
}

.mm-active > a i,
#sidebar-menu ul li.mm-active > a i,
.mm-active > a i svg path {
  color: var(--brand-accent) !important;
  fill: var(--brand-accent) !important;
  background: transparent !important;
}

#sidebar-menu .has-arrow:after { display: none !important; }

/* Flyout menus: absolute off the rail so every child link is clickable */
#sidebar-menu ul li { position: relative; }

#sidebar-menu ul li ul.sub-menu {
  display: none !important;
  position: absolute;
  left: calc(100% + 6px);
  top: 0;
  min-width: 240px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm);
  box-shadow: var(--brand-shadow-lg);
  padding: 8px !important;
  z-index: 1300;
  pointer-events: auto;
}

#sidebar-menu ul li ul.sub-menu::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 12px;
}

#sidebar-menu ul li:hover > ul.sub-menu,
#sidebar-menu ul li:focus-within > ul.sub-menu,
#sidebar-menu ul li.mm-active > ul.sub-menu.mm-show,
#sidebar-menu ul li.mm-active > ul.sub-menu { display: block !important; }

.vertical-menu .simplebar-mask,
.vertical-menu .simplebar-content-wrapper {
  overflow: visible !important;
}

#sidebar-menu ul li ul.sub-menu li a {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
  gap: 8px;
  padding: 10px 12px !important;
  color: var(--brand-dark) !important;
  font-size: 13px !important;
  border-radius: 10px;
  white-space: nowrap;
}

#sidebar-menu ul li ul.sub-menu li a span {
  max-width: none;
  white-space: nowrap;
  font-size: 13px !important;
  color: inherit !important;
}

#sidebar-menu ul li ul.sub-menu li a::before { display: none !important; }

#sidebar-menu ul li ul.sub-menu li a:hover,
#sidebar-menu ul li ul.sub-menu li .active {
  background: var(--brand-accent-soft) !important;
  color: var(--brand-dark) !important;
}

.mm-active .active { color: var(--brand-dark) !important; }
.mm-active .active i {
  color: var(--brand-accent) !important;
  background: transparent !important;
}

/* =========================================================
   CONTENT + HEADER
========================================================= */
.main-content {
  margin-left: var(--brand-rail) !important;
  width: calc(100% - var(--brand-rail));
  max-width: none;
  background: var(--brand-canvas) !important;
  min-height: 100vh;
  overflow-x: hidden;
}

.persona-shell .main-content {
  margin-left: var(--brand-rail) !important;
  width: calc(100% - var(--brand-rail));
  max-width: none;
}

#page-topbar {
  position: fixed;
  top: 0;
  left: var(--brand-rail) !important;
  right: 0;
  height: var(--brand-header);
  background: rgba(245, 247, 246, 0.82) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent !important;
  z-index: 1000;
}

#page-topbar .navbar-header {
  height: var(--brand-header) !important;
  padding: 12px 28px !important;
  justify-content: flex-end;
  gap: 10px;
  background: transparent;
}

.navbar-brand-box,
#vertical-menu-btn { display: none !important; }

.header-item {
  height: auto !important;
  min-height: 40px;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  background: var(--brand-surface) !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-dark) !important;
  box-shadow: var(--brand-shadow) !important;
}

.header-item.noti-icon {
  width: 40px;
  height: 40px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.noti-icon i { color: var(--brand-muted) !important; }

.page-content {
  padding: calc(var(--brand-header) + 12px) 28px 56px 28px !important;
  background: var(--brand-canvas) !important;
}

/* Do not left-cap the pane at 1320px — fill all space right of the 88px rail */
.page-content > .container-fluid,
.page-content .container-fluid {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Flatten nested white wrappers → Baselane open canvas */
.page-content-wrapper,
.page-content-wrapper.bg-white,
.page-content-wrapper.p-30,
.page-content-wrapper.radius-20,
.page-content-wrapper.p-25 {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  min-height: auto !important;
  width: 100%;
  max-width: none;
}

/* Tenant / app chrome: content column uses ALL space beside the icon rail */
body.tc-baselane #layout-wrapper {
  min-height: 100vh;
  width: 100%;
}

body.tc-baselane #layout-wrapper .vertical-menu {
  width: var(--brand-rail) !important;
  position: fixed;
}

body.tc-baselane #layout-wrapper .main-content {
  margin-left: var(--brand-rail) !important;
  width: calc(100% - var(--brand-rail)) !important;
  max-width: none !important;
}

body.tc-baselane.direction-rtl #layout-wrapper .main-content {
  margin-left: 0 !important;
  margin-right: var(--brand-rail) !important;
}

body.tc-baselane #layout-wrapper .page-content {
  padding: calc(var(--brand-header) + 12px) 28px 56px 28px !important;
}

body.tc-baselane #layout-wrapper .page-content .container-fluid {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.tc-baselane #layout-wrapper .page-content-wrapper {
  width: 100% !important;
  max-width: none !important;
}

.page-title-box {
  margin-bottom: 28px !important;
  gap: 16px !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-title-box h2,
.page-title-box h3 {
  font-size: 1.85rem !important;
  line-height: 1.15 !important;
  margin: 0 0 6px !important;
}

.page-title-left p,
.page-title-box p {
  color: var(--brand-muted) !important;
  font-size: 14px !important;
  margin: 0 !important;
}

.breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px;
}

.breadcrumb a { color: var(--brand-muted) !important; }
.breadcrumb-item.active { color: var(--brand-dark) !important; font-weight: 600; }

/* =========================================================
   CARDS / SURFACES (Baselane cashflow cards)
========================================================= */
.dashboard-feature-item,
.card,
.theme-border.radius-4,
.bg-off-white.theme-border,
.bg-white.theme-border,
.bg-off-white.radius-4,
.property-item,
.tenant-item,
.billing-center-area,
.modal-content {
  background: var(--brand-surface) !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--brand-radius) !important;
  box-shadow: var(--brand-shadow) !important;
}

.dashboard-feature-item {
  padding: 24px !important;
  margin-bottom: 20px !important;
  transition: border-color .15s ease;
}

.dashboard-feature-item:hover { border-color: var(--brand-accent-border) !important; }

.dashboard-feature-item p {
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px !important;
}

.dashboard-feature-item h2 {
  font-size: 1.85rem !important;
  margin: 0 !important;
  letter-spacing: -0.04em;
}

.dashboard-feature-item-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--brand-accent-soft) !important;
  color: var(--brand-accent) !important;
  border-radius: 12px !important;
}

.dashboard-feature-item .orange-color,
.dashboard-feature-item .primary-color,
.dashboard-feature-item .green-color,
.dashboard-feature-item .iconify { color: var(--brand-accent) !important; }

.bg-off-white.radius-4.mb-25.theme-border.p-20,
.bg-white.radius-4,
.bg-off-white.theme-border.radius-4.p-20,
.bg-off-white.theme-border.radius-4.p-25,
.table-responsive,
.property-top-search-bar {
  background: var(--brand-surface) !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--brand-radius) !important;
  box-shadow: var(--brand-shadow) !important;
}

.bg-off-white.radius-4.mb-25.theme-border.p-20,
.bg-off-white.theme-border.radius-4.p-20,
.bg-off-white.theme-border.radius-4.p-25,
.billing-center-area { padding: 22px !important; }

.radius-20 { border-radius: var(--brand-radius) !important; }
.radius-4 { border-radius: var(--brand-radius-sm) !important; }

/* Tables */
.table { margin-bottom: 0 !important; }

.table thead th {
  background: transparent !important;
  color: var(--brand-muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--brand-border) !important;
  border-top: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.table td {
  border-color: var(--brand-border) !important;
  color: var(--brand-dark);
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  vertical-align: middle;
  font-size: 14px;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: #fafcfb !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.form-control,
.form-select,
.select2-container--default .select2-selection--single {
  border-radius: var(--brand-radius-sm) !important;
  border: 1px solid var(--brand-border) !important;
  min-height: 44px;
  font-family: var(--body-font-family) !important;
  background: #fff !important;
  color: var(--brand-dark) !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-accent) !important;
  box-shadow: 0 0 0 3px var(--brand-accent-soft) !important;
}

.label-text-title,
label {
  color: var(--brand-dark) !important;
  font-weight: 500;
  font-size: 13px;
}

/* =========================================================
   BUTTONS
========================================================= */
.theme-btn,
.theme-button1,
.theme-button3,
button.theme-btn,
a.theme-btn,
.btn-primary,
.btn.btn-primary {
  background: var(--button-primary-color) !important;
  border: 1px solid var(--button-primary-color) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: -0.01em;
  box-shadow: none !important;
}

.theme-btn:hover,
.theme-button1:hover,
.theme-button3:hover,
a.theme-btn:hover,
.btn-primary:hover {
  background: var(--button-hover-color) !important;
  border-color: var(--button-hover-color) !important;
  color: #fff !important;
}

.theme-btn-purple,
.btn-outline-success,
a.btn-brand-accent {
  background: #fff !important;
  border: 1px solid var(--brand-accent-border) !important;
  color: var(--brand-dark) !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
}

.theme-btn-purple:hover {
  background: var(--brand-accent-soft) !important;
  color: var(--brand-dark) !important;
}

.theme-btn-back,
.edit-btn {
  background: #fff !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-dark) !important;
  border-radius: 999px !important;
}

.edit-btn { border-color: var(--brand-accent-border) !important; }

.bg-button-primary-color { background: var(--brand-accent) !important; }
.text-button-primary-color { color: var(--brand-accent) !important; }
.primary-color,
.theme-link,
a.theme-link { color: var(--brand-accent) !important; }
.secondary-color { color: var(--brand-dark) !important; }

.status-btn {
  border-radius: 999px !important;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px !important;
}

.status-btn-green {
  background: var(--brand-accent-soft) !important;
  color: var(--brand-accent) !important;
}

.status-btn-orange,
.status-btn-purple {
  background: #fff4e8 !important;
  color: #9a5b1a !important;
}

.badge.bg-primary,
.bg-primary { background: var(--brand-accent) !important; }
.text-primary { color: var(--brand-accent) !important; }

.alert-success {
  background: var(--brand-accent-soft) !important;
  border-color: var(--brand-accent-border) !important;
  color: var(--brand-dark) !important;
  border-radius: var(--brand-radius-sm) !important;
}

.alert-danger {
  border-radius: var(--brand-radius-sm) !important;
}

/* =========================================================
   MODALS
========================================================= */
.modal-content {
  border-radius: var(--brand-radius) !important;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--brand-border) !important;
  padding: 18px 22px !important;
}

.modal-footer {
  border-top: 1px solid var(--brand-border) !important;
  padding: 16px 22px !important;
}

.modal-body { padding: 20px 22px !important; }

.modal-title { font-weight: 700 !important; letter-spacing: -0.02em; }

/* =========================================================
   AUTH / LOGIN
========================================================= */
#headless-wrapper,
.sign-up-page {
  background: var(--brand-canvas) !important;
  min-height: 100vh;
}

.sign-up-right-content {
  max-width: 440px;
  margin: 0 auto;
  padding: 64px 24px !important;
}

.sign-up-right-content h1 {
  font-size: 2.15rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.04em;
}

.sign-up-left-content {
  background: var(--brand-dark) !important;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.sign-up-left-content::before {
  background:
    radial-gradient(ellipse at 28% 18%, rgba(197, 162, 91, 0.45), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(197, 162, 91, 0.18), transparent 50%) !important;
}

.sign-up-left-content h1,
.sign-up-left-content p { color: #fff !important; }

.sign-up-top-logo img { max-height: 48px; width: auto; object-fit: contain; }

/* =========================================================
   PERSONA + MISC
========================================================= */
.persona-shell #page-topbar {
  background: rgba(245, 247, 246, 0.9) !important;
  border-bottom: 1px solid var(--brand-border) !important;
}

.dropdown-menu {
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--brand-radius-sm) !important;
  box-shadow: var(--brand-shadow-lg) !important;
  padding: 8px !important;
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--brand-accent) !important;
}

.header-actions-right { gap: 8px; }

.header-chip {
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.header-chip-accent {
  border-color: var(--brand-accent-border);
  color: var(--brand-dark);
  background: #fff;
}

.header-chip-accent:hover {
  background: var(--brand-accent-soft);
  color: var(--brand-dark);
}

.header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.header-user-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.tbl-action-btn {
  border-radius: 8px !important;
  color: var(--brand-muted) !important;
}

.tbl-action-btn:hover { color: var(--brand-accent) !important; background: var(--brand-accent-soft) !important; }

/* Progress / charts containers */
.apexcharts-canvas,
.chart-wrap { border-radius: var(--brand-radius-sm); }

/* Pagination */
.page-link {
  border-radius: 8px !important;
  border-color: var(--brand-border) !important;
  color: var(--brand-dark) !important;
}

.page-item.active .page-link {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}

.vertical-collpsed .main-content { margin-left: var(--brand-rail) !important; }
.vertical-collpsed #page-topbar { left: var(--brand-rail) !important; }

@media (max-width: 991px) {
  .vertical-menu,
  .persona-rail {
    width: var(--brand-rail) !important;
    transform: translateX(-100%);
  }

  body.sidebar-enable .vertical-menu,
  body.sidebar-enable .persona-rail { transform: translateX(0); }

  .main-content,
  .vertical-collpsed .main-content,
  .persona-shell .main-content,
  body.tc-baselane #layout-wrapper .main-content,
  body.tc-baselane.direction-rtl #layout-wrapper .main-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  #page-topbar,
  .vertical-collpsed #page-topbar { left: 0 !important; }

  #vertical-menu-btn { display: inline-flex !important; }

  .navbar-header { justify-content: space-between !important; }

  .page-content { padding: calc(var(--brand-header) + 8px) 16px 40px !important; }
}

/* =========================================================
   FEATURE HUB — Baselane command rows
========================================================= */
.tc-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.tc-portfolio-hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  background: #fbfcfb;
}

.tc-portfolio-hero-value {
  margin: 4px 0 8px;
  font-size: 3rem;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--brand-dark);
}

.tc-portfolio-hero-copy {
  margin: 0;
  font-size: 13px;
  color: var(--brand-muted);
}

.tc-metrics-row-inline {
  margin: 0 !important;
  align-content: center;
}

.tc-metrics-row-inline .tc-stat-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 16px 18px;
}

@media (max-width: 991px) {
  .tc-portfolio-hero { grid-template-columns: 1fr; }
}

.feature-hub-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.feature-hub-grid.is-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-hub-grid.is-rows {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .feature-hub-grid.is-tiles { grid-template-columns: 1fr; }
}

.feature-hub-empty { grid-column: 1 / -1; }

.feature-hub-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px !important;
  min-height: 88px;
  background: #fff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.feature-hub-card:hover {
  border-color: var(--brand-accent-border) !important;
  box-shadow: var(--brand-shadow-lg) !important;
}

.feature-hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-accent-soft) !important;
  color: var(--brand-dark) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-hub-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.feature-hub-card-title {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--brand-dark) !important;
}

.feature-hub-card-desc {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45;
  color: var(--brand-muted) !important;
}

.feature-hub-card-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
}

.feature-hub-card:hover .feature-hub-card-go i {
  transform: translateX(3px);
}

.feature-hub-card-go i { transition: transform .15s ease; }

/* Owner hub back navigation */
.owner-hub-back-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.owner-hub-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-dark) !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: #fff;
  transition: border-color .15s ease, background .15s ease;
}

.owner-hub-back-link:hover {
  border-color: var(--brand-accent-border);
  background: var(--brand-accent-soft);
  color: var(--brand-dark) !important;
}

.owner-hub-back-link .iconify {
  font-size: 18px;
  color: var(--brand-accent);
}

.owner-hub-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.owner-hub-breadcrumb-link {
  color: #737c90 !important;
  text-decoration: none !important;
  font-weight: 500;
}

.owner-hub-breadcrumb-link:hover {
  color: var(--brand-accent) !important;
}

.owner-hub-breadcrumb-sep {
  color: var(--brand-border);
  margin: 0 2px;
}

.owner-hub-breadcrumb-current {
  font-weight: 600;
  color: var(--brand-dark);
}

.owner-hub-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: var(--brand-off-white, #f8f9fb);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm, 12px);
}

.owner-hub-quick-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-accent) !important;
  text-decoration: none !important;
}

.owner-hub-quick-link:hover {
  color: var(--brand-dark) !important;
}

.owner-hub-quick-sep {
  color: #737c90;
  font-size: 13px;
}

.owner-hub-quick-current {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
}

.owner-hub-quick-cta {
  margin-left: auto;
}

@media (max-width: 575px) {
  .owner-hub-quick-cta {
    margin-left: 0;
    width: 100%;
  }
}

.owner-hub-empty-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed var(--brand-accent-border, #c9d4e8);
  border-radius: var(--brand-radius-sm, 12px);
  background: linear-gradient(135deg, var(--brand-accent-soft, #f3f7ff) 0%, #fff 70%);
}

.owner-hub-empty-copy {
  flex: 1 1 240px;
  min-width: 0;
}

.owner-hub-empty-panel .theme-btn {
  flex: 0 0 auto;
}

/* KPI / stat tiles — full-width graded row */
.tc-metrics-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 1199px) {
  .tc-metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .tc-metrics-row { grid-template-columns: 1fr; }
}

.tc-metrics-row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tc-stat-card,
.tc-metrics-row .dashboard-feature-item,
.tc-metrics-row .bg-off-white.theme-border {
  height: 100%;
  margin-bottom: 0 !important;
}

.tc-stat-card .text-muted,
.tc-metrics-row .text-muted,
.tc-metrics-row p {
  font-size: 13px !important;
  font-weight: 500;
  color: var(--brand-muted) !important;
  margin-bottom: 8px !important;
}

.tc-stat-card h3,
.tc-stat-card h2,
.tc-metrics-row h3,
.tc-metrics-row h2 {
  margin: 0 !important;
  font-size: 1.65rem !important;
  letter-spacing: -0.03em;
  color: var(--brand-dark) !important;
}

/* =========================================================
   ZILLOW SEARCH-RESULT LISTINGS
========================================================= */
.tc-prop-listing-page .page-title-box {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Property create wizard */
.tc-prop-create-page .tc-prop-stepper-head {
  background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
}

.tc-prop-create-page #progressbar li span:last-child {
  font-size: 12px;
  font-weight: 600;
}

.tc-prop-create-page .tc-prop-step-hint {
  font-size: 14px;
}

.tc-prop-create-page .tc-prop-wizard-card {
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.tc-prop-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tc-prop-type-grid .tc-property-type-card {
  width: 100%;
  border: 0;
  text-align: left;
}

.tc-prop-form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1f1c;
  margin-bottom: 12px;
}

.tc-prop-unit-row {
  background: #fafaf8;
  border: 1px solid #eef0ee !important;
  border-radius: 12px;
  padding: 16px 16px 8px !important;
  margin-bottom: 16px !important;
}

.tc-prop-rent-toolbar {
  background: #fafaf8;
  border-color: #eef0ee !important;
}

.tc-prop-create-page .accordion-item.unit-block-item-box {
  border-radius: 12px !important;
  overflow: hidden;
  border-color: #eef0ee !important;
}

.tc-prop-gallery-box .show-uploaded-img,
.tc-prop-gallery-box .dropzone {
  border: 1px dashed #dfe5e1;
  border-radius: 12px;
  background: #fafaf8;
}

.tc-prop-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tc-prop-nav-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}

.tc-prop-nav-tab:hover,
.tc-prop-nav-tab.is-active {
  border-color: var(--brand-accent);
  background: var(--brand-dark);
  color: #fff;
}

.tc-prop-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

@media (max-width: 991px) {
  .tc-prop-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .tc-prop-summary-grid { grid-template-columns: 1fr; }
}

.tc-prop-stat-card {
  border: 1px solid #e8ece9;
  background: linear-gradient(180deg, #fff 0%, #fafaf8 100%);
  border-radius: 14px;
  padding: 16px 18px;
}

.tc-prop-stat-card.is-accent {
  border-color: #e8d48a;
  background: linear-gradient(180deg, #fffdf5 0%, #fff9e8 100%);
}

.tc-prop-stat-label {
  display: block;
  font-size: 12px;
  color: #66706c;
  margin-bottom: 4px;
}

.tc-prop-stat-value {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  color: #1a1f1c;
}

.tc-prop-stat-meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #66706c;
}

.tc-prop-occupancy-bar,
.zillow-card-occupancy-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: #eceff1;
  overflow: hidden;
}

.tc-prop-occupancy-bar span,
.zillow-card-occupancy-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #e8c547);
}

.tc-prop-toolbar {
  background: #fafaf8;
  border: 1px solid #eef0ee;
  border-radius: 14px;
  padding: 14px;
}

.zillow-page-actions {
  display: flex;
  justify-content: flex-end;
}

.zillow-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.zillow-toolbar-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
}

.zillow-toolbar-search span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-muted);
}

.zillow-toolbar-search .form-control {
  height: 48px;
  padding-left: 40px;
  border-radius: 12px;
}

.zillow-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.zillow-toolbar-filters .form-select {
  height: 48px;
  min-width: 140px;
  border-radius: 12px;
}

.zillow-view-toggle {
  display: inline-flex;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.zillow-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  color: var(--brand-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.zillow-view-btn.is-active,
.zillow-view-btn:hover {
  background: var(--brand-dark);
  color: #fff;
}

.zillow-board {
  display: grid;
  gap: 16px;
}

.zillow-board.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.zillow-board.is-list {
  grid-template-columns: 1fr;
}

@media (max-width: 1199px) {
  .zillow-board.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .zillow-board.is-grid { grid-template-columns: 1fr; }
  .zillow-view-btn span { display: none; }
}

.zillow-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.zillow-card:hover {
  border-color: #cfd6d2;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
  transform: translateY(-2px);
}

.zillow-board.is-list .zillow-card {
  flex-direction: row;
  min-height: 214px;
}

.zillow-card-media {
  position: relative;
  display: block;
  background: #dfe6e2;
  overflow: hidden;
  flex-shrink: 0;
}

.zillow-board.is-grid .zillow-card-media { height: 200px; }

.zillow-board.is-list .zillow-card-media {
  width: 320px;
  min-width: 240px;
}

.zillow-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zillow-card-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zillow-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(13, 22, 19, .82);
  color: #fff;
}

.zillow-badge.is-own { background: var(--brand-dark); }
.zillow-badge.is-lease { background: #3d5a80; }
.zillow-badge.is-open { background: var(--brand-accent); color: var(--brand-dark); }
.zillow-badge.is-full { background: #4b5563; }

.zillow-card-price-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(13,22,19,.72));
  color: #fff;
  display: none;
}

.zillow-board.is-grid .zillow-card-price-overlay { display: block; }

.zillow-card-price-overlay strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.zillow-card-price-overlay span {
  margin-left: 4px;
  font-size: 12px;
  opacity: .9;
}

.zillow-card-body {
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.zillow-board.is-grid .zillow-card-body {
  flex-direction: column;
  gap: 8px;
}

.zillow-card-main { min-width: 0; flex: 1; }

.zillow-card-aside {
  text-align: right;
  flex-shrink: 0;
  min-width: 140px;
}

.zillow-board.is-grid .zillow-card-aside { display: none; }

.zillow-card-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-muted);
}

.zillow-card-price {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-dark);
}

.zillow-card-price-note,
.zillow-card-aside-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--brand-muted);
}

.zillow-card-menu { margin-top: 10px; }

.zillow-card-menu .dropdown-toggle {
  color: var(--brand-muted);
  font-size: 1.1rem;
}

.zillow-card-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.zillow-card-title a {
  color: var(--brand-dark);
  text-decoration: none;
}

.zillow-card-title a:hover { text-decoration: underline; }

.zillow-card-sub {
  margin: 0 0 10px;
  color: var(--brand-muted);
  font-size: 13px;
}

.zillow-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--brand-dark);
}

.zillow-card-facts li {
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid var(--brand-border);
}

.zillow-card-facts li:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}

.zillow-card-facts strong { font-weight: 700; }

.zillow-card-desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--brand-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zillow-card-occupancy {
  margin-top: 12px;
}

.zillow-card-occupancy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--brand-muted);
  margin-bottom: 6px;
}

.zillow-card-occupancy-head strong {
  color: var(--brand-dark);
  font-size: 13px;
}

.zillow-card-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.zillow-card-quick-actions--grid {
  display: none;
}

.zillow-board.is-grid .zillow-card-quick-actions--grid {
  display: flex;
}

.zillow-board.is-list .zillow-card-quick-actions:not(.zillow-card-quick-actions--grid) {
  display: flex;
}

.zillow-board.is-grid .zillow-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.zillow-board.is-grid .zillow-card-main {
  flex: 1;
}

.zillow-board.is-grid .zillow-card-footer-actions,
.zillow-board.is-grid .zillow-card-quick-actions {
  margin-top: auto;
  padding-top: 12px;
}

.zillow-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed #dfe5e1;
  border-radius: 16px;
  background: #fafaf8;
}

.tc-prop-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #eef0ee;
  color: #9ca3af;
  font-size: 28px;
}

.zillow-empty img { max-width: 180px; margin-bottom: 12px; }

.zillow-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.zillow-pagination-meta {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
}

.zillow-pagination .pagination { margin: 0; }

@media (max-width: 767px) {
  .zillow-board.is-list .zillow-card { flex-direction: column; min-height: 0; }
  .zillow-board.is-list .zillow-card-media {
    width: 100%;
    min-width: 0;
    height: 200px;
  }
  .zillow-board.is-list .zillow-card-aside {
    text-align: left;
    min-width: 0;
  }
  .zillow-board.is-grid .zillow-card-aside { display: none; }
}

/* =========================================================
   PAGE COPILOT
========================================================= */
.tc-copilot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12050;
  font-family: var(--body-font-family);
}

.tc-copilot-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(13, 22, 19, .22);
}

.tc-copilot-launch i { color: var(--brand-accent); font-size: 1.1rem; }

.tc-copilot-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(13, 22, 19, .16);
  overflow: hidden;
}

.tc-copilot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--brand-border);
}

.tc-copilot-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.tc-copilot-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.tc-copilot-close {
  border: 0;
  background: transparent;
  color: var(--brand-muted);
  font-size: 1.3rem;
  line-height: 1;
}

.tc-copilot-overview {
  padding: 14px 16px 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand-dark);
}

.tc-copilot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}

.tc-copilot-chip {
  border: 1px solid var(--brand-border);
  background: #f7f9f8;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.tc-copilot-thread {
  flex: 1;
  overflow: auto;
  padding: 0 16px 8px;
  min-height: 80px;
  max-height: 240px;
}

.tc-copilot-msg {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.tc-copilot-msg.is-user {
  background: var(--brand-dark);
  color: #fff;
  margin-left: 28px;
}

.tc-copilot-msg.is-assistant {
  background: #f4f6f5;
  color: var(--brand-dark);
  margin-right: 28px;
}

.tc-copilot-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--brand-border);
}

.tc-copilot-form input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 0 12px;
}

.tc-copilot-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-dark);
  color: var(--brand-accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tc-unit-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tc-unit-scope-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--brand-border, #e4e8e6);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.tc-unit-scope-card input {
  margin-top: 4px;
}

.tc-unit-scope-card strong {
  display: block;
  font-size: 14px;
}

.tc-unit-scope-card small {
  display: block;
  color: #66706c;
  font-size: 12px;
  line-height: 1.4;
}

.tc-unit-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--brand-border, #e4e8e6);
  border-radius: 12px;
  background: #fff;
}

.tc-unit-pick {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid #e4e8e6;
  border-radius: 10px;
  margin: 0;
}

.tc-unit-pick.is-vacant {
  opacity: 0.55;
}

.tc-unit-pick small {
  color: #66706c;
}

.tc-invoice-marks {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #d5dcd8;
}

.tc-invoice-marks--paid {
  flex-wrap: wrap;
  align-items: flex-end;
}

.tc-invoice-payment-confirmed {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 4px;
}

.tc-invoice-payment-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f5ef;
  color: #1f6b4f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tc-invoice-payment-meta {
  color: #66706c;
  font-size: 13px;
}

.tc-invoice-marks-company,
.tc-invoice-marks-staff {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.tc-invoice-marks figure {
  margin: 0;
  text-align: center;
}

.tc-invoice-stamp,
.tc-invoice-sign,
.tc-brand-preview {
  max-height: 72px;
  max-width: 140px;
  object-fit: contain;
}

.tc-invoice-sign-line {
  border-top: 1px solid #1b2b27;
  padding-top: 6px;
  min-width: 140px;
  font-size: 13px;
}

.tc-invoice-marks figcaption {
  font-size: 12px;
  color: #66706c;
  margin-top: 6px;
}

/* Document library */
.tc-doc-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 991px) {
  .tc-doc-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tc-doc-stat-card {
  border: 1px solid #e8ece9;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.tc-doc-stat-card:hover,
.tc-doc-stat-card.is-active {
  border-color: #c9a227;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .06);
}

.tc-doc-stat-label {
  display: block;
  font-size: 12px;
  color: #66706c;
  margin-bottom: 4px;
}

.tc-doc-stat-value {
  font-size: 24px;
  line-height: 1.1;
  color: #1a1f1c;
}

.tc-doc-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
}

.tc-doc-cat-identity { background: #eef2ff; color: #3730a3; }
.tc-doc-cat-insurance { background: #ecfdf5; color: #047857; }
.tc-doc-cat-lease { background: #fff7ed; color: #c2410c; }
.tc-doc-cat-compliance { background: #fef2f2; color: #b91c1c; }
.tc-doc-cat-financial { background: #f0fdf4; color: #15803d; }
.tc-doc-cat-utility { background: #ecfeff; color: #0e7490; }

.tc-doc-notes-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.tc-doc-notes-empty { color: #9ca3af; }

.tc-doc-review-modal .modal-body { min-height: 520px; }

.tc-doc-review-layout { min-height: 520px; }

.tc-doc-preview-pane,
.tc-doc-detail-pane {
  min-height: 520px;
}

.tc-doc-preview-pane {
  background: #f8faf9;
  padding: 20px;
}

.tc-doc-preview-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tc-doc-tab {
  border: 1px solid #dfe5e1;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: #4b5563;
}

.tc-doc-tab.is-active {
  border-color: #c9a227;
  background: #fff9e8;
  color: #1a1f1c;
  font-weight: 600;
}

.tc-doc-preview-frame {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.tc-doc-preview-img {
  display: none;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.tc-doc-preview-img.is-active { display: block; }

.tc-doc-preview-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.tc-doc-detail-pane { background: #fff; }

.tc-doc-detail-scroll {
  padding: 22px 24px 28px;
  max-height: 620px;
  overflow-y: auto;
}

.tc-doc-field-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  margin-bottom: 4px;
}

.tc-doc-meta-value {
  font-weight: 600;
  color: #111827;
}

.tc-doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 767px) {
  .tc-doc-meta-grid { grid-template-columns: 1fr; }
}

.tc-doc-meta-card {
  border: 1px solid #eceff1;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfa;
}

.tc-doc-reject-box {
  border-left: 3px solid #ef4444;
  background: #fef2f2;
  border-radius: 8px;
  padding: 10px 12px;
}

.tc-doc-notes-section {
  border-top: 1px solid #eceff1;
  padding-top: 18px;
  margin-top: 8px;
}

.tc-doc-notes-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.tc-doc-notes-empty-state {
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.tc-doc-note {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.tc-doc-note.is-internal {
  background: #fffbeb;
  border-color: #fde68a;
}

.tc-doc-note-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tc-doc-note-head strong {
  font-size: 13px;
  color: #111827;
}

.tc-doc-note-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
}

.tc-doc-note.is-internal .tc-doc-note-type {
  background: #fef3c7;
  color: #92400e;
}

.tc-doc-note-head time {
  margin-left: auto;
  font-size: 11px;
  color: #9ca3af;
}

.tc-doc-note-body {
  margin: 0;
  font-size: 14px;
  color: #374151;
  white-space: pre-wrap;
}

.tc-doc-table-row {
  cursor: pointer;
  transition: background-color .12s ease;
}

.tc-doc-table-row:hover {
  background: #fafaf8 !important;
}

.tc-doc-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tc-doc-timeline-item {
  background: #f9fafb;
  border: 1px solid #eef0ee;
  border-radius: 10px;
  padding: 10px 12px;
}

.tc-doc-tags-wrap {
  background: #f9fafb;
  border: 1px solid #eef0ee;
  border-radius: 10px;
  padding: 10px 12px;
}

.tc-doc-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.tc-doc-tags-empty {
  font-size: 13px;
  color: #9ca3af;
}

.tc-doc-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.tc-doc-tag-remove {
  border: 0;
  background: transparent;
  color: #9ca3af;
  line-height: 1;
  padding: 0;
  font-size: 16px;
}

.tc-doc-tag-remove:hover {
  color: #b91c1c;
}

#allDataTableDoc .tbl-action-btns {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .tc-doc-timeline {
    grid-template-columns: 1fr;
  }

  .tc-unit-scope,
  .tc-unit-picker {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp-grade chat (owner + tenant) */
.tc-wa-page > .page-content {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100vh - var(--brand-header, 68px)) !important;
  padding-bottom: 16px !important;
  box-sizing: border-box;
}

.tc-wa-page > .page-content > .container-fluid {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.tc-wa-page .owner-hub-back-nav {
  flex-shrink: 0;
  margin-bottom: 10px !important;
}

.tc-wa-page .tc-tenant-chats {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.tc-wa-page .tc-tenant-chats > .tc-docs-hero {
  flex-shrink: 0;
  margin-bottom: 10px;
  padding-top: 4px;
}

.tc-wa-page .page-content-wrapper.tc-wa-shell {
  background: #f0f2f5 !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.tc-wa-chat {
  display: grid !important;
  grid-template-columns: 380px minmax(0, 1fr);
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
  gap: 0 !important;
  border: 1px solid #d1d7db;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.tc-wa-sidebar {
  max-width: none;
  width: auto;
  border: 0 !important;
  border-right: 1px solid #e9edef !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.tc-wa-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: #f0f2f5;
  min-height: 60px;
}

.tc-wa-sidebar-head .title {
  font-size: 19px;
  font-weight: 600;
  color: #111b21;
  margin: 0;
}

.tc-wa-unread-pill {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 7px;
}

.tc-wa-search {
  position: relative;
  margin: 0;
  max-width: none;
}

.tc-wa-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #667781;
  font-size: 16px;
  pointer-events: none;
}

.tc-wa-search input {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px 0 40px;
  font-size: 14px;
  color: #111b21;
}

.tc-wa-search input::placeholder {
  color: #667781;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat {
  max-height: none;
  flex: 1;
  overflow-y: auto;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat:hover {
  background-color: #f5f6f6 !important;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat.active {
  background-color: #f0f2f5 !important;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat:hover .user-chat-text .name,
.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat.active .user-chat-text .name {
  color: #111b21 !important;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat:hover .user-chat-text small,
.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat.active .user-chat-text small {
  color: #667781 !important;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat:hover .user-chat-text-time .time,
.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .list-search-user-chat .user-chat.active .user-chat-text-time .time {
  color: #667781 !important;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .user-chat-img {
  position: relative;
  width: 49px;
  height: 49px;
  flex-shrink: 0;
}

.tc-wa-page .content-chat.tc-wa-chat .tc-wa-sidebar .user-chat-img img {
  width: 49px;
  height: 49px;
}

.tc-wa-avatar {
  position: relative;
  width: 49px;
  height: 49px;
  flex-shrink: 0;
}

.tc-wa-avatar-md {
  width: 49px;
  height: 49px;
}

.tc-wa-avatar-sm {
  width: 40px;
  height: 40px;
}

.tc-wa-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.tc-wa-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: hsl(var(--tc-avatar-hue, 200), 42%, 48%);
  letter-spacing: 0.02em;
}

.tc-wa-avatar .online,
.tc-wa-avatar .offline {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.tc-wa-avatar .online {
  background-color: #25d366;
}

.tc-wa-avatar .offline {
  background-color: #8696a0;
}

.tc-wa-avatar-unread {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  line-height: 1;
}

.tc-wa-thread-wrap {
  position: relative !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #efeae2;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.tc-wa-thread-wrap .content-chat-message-user {
  flex: 1 1 auto;
  display: none;
  flex-direction: column;
  min-height: 0 !important;
  height: 100%;
  background: transparent !important;
  border-bottom: none !important;
  overflow: hidden !important;
}

.tc-wa-thread-wrap .content-chat-message-user.active {
  display: flex !important;
  padding-bottom: 76px;
}

.tc-wa-page .content-chat.tc-wa-chat .content-chat-message-user-wrap .content-chat-message-user .body-chat-message-user {
  background-color: transparent !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  gap: 4px !important;
}

.tc-wa-thread-head {
  background: #f0f2f5 !important;
  border-bottom: 1px solid #d1d7db !important;
  padding: 10px 16px !important;
  min-height: 60px;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.tc-wa-thread-head .tc-wa-thread-avatar {
  width: 40px;
  height: 40px;
}

.tc-wa-thread-head .tc-wa-thread-avatar .tc-wa-avatar-img,
.tc-wa-thread-head .tc-wa-thread-avatar .tc-wa-avatar-initials {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.tc-wa-thread-head .message-user-text .title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #111b21;
  margin: 0;
}

.tc-wa-thread-head .message-user-text .status {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #667781;
  margin: 0;
}

.tc-wa-back {
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #54656f;
  margin-right: 8px;
  padding: 0;
}

.tc-wa-messages {
  flex: 1 1 auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  gap: 2px !important;
  padding: 12px 56px !important;
  background: transparent !important;
}

.tc-wa-date-divider {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.tc-wa-date-divider span {
  background: rgba(255, 255, 255, 0.92);
  color: #54656f;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.tc-wa-bubble-in,
.tc-wa-bubble-out {
  max-width: 65%;
  margin-bottom: 2px;
}

.tc-wa-bubble-in {
  align-self: flex-start;
}

.tc-wa-bubble-out {
  align-self: flex-end;
}

.tc-wa-messages .message-user-left .message-user-left-text,
.tc-wa-messages .message-user-right .message-user-right-text {
  max-width: 100%;
}

.tc-wa-messages .message-user-left .message-user-left-text .text {
  background: #fff;
  border: 0;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  padding: 6px 8px 4px 9px;
  position: relative;
}

.tc-wa-messages .message-user-left .message-user-left-text .text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 13px;
  background: #fff;
  border-top-left-radius: 50%;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.tc-wa-messages .message-user-right .message-user-right-text .text {
  background: #d9fdd3;
  border: 0;
  border-radius: 8px 0 8px 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  padding: 6px 8px 4px 9px;
  position: relative;
}

.tc-wa-messages .message-user-right .message-user-right-text .text::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 13px;
  background: #d9fdd3;
  border-top-right-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.tc-wa-messages .text > p {
  margin: 0;
  padding-bottom: 2px !important;
  font-size: 14.2px;
  line-height: 19px;
  word-break: break-word;
  color: #111b21;
}

.tc-wa-messages .time-read {
  justify-content: flex-end !important;
  gap: 3px !important;
  margin-top: 2px;
}

.tc-wa-messages .time-read .time {
  font-size: 11px !important;
  color: #667781 !important;
}

.tc-wa-ticks {
  color: #8696a0;
  font-size: 15px;
  line-height: 1;
}

.tc-wa-ticks.is-read {
  color: #53bdeb;
}

.tc-wa-page .content-chat.tc-wa-chat .content-chat-message-user-wrap .footer-chat-message-user,
.tc-wa-composer {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 8 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
  background: #f0f2f5 !important;
  border-top: 0 !important;
  padding: 8px 16px 12px !important;
  box-sizing: border-box;
}

.tc-wa-composer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.tc-wa-input-wrap {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 4px 12px;
}

.tc-wa-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 42px;
  font-size: 15px;
  color: #111b21;
}

.tc-wa-page .content-chat.tc-wa-chat .footer-chat-message-user button.send-btn,
.tc-wa-send {
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #00a884 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.tc-wa-page .content-chat.tc-wa-chat .footer-chat-message-user button.send-btn:hover,
.tc-wa-send:hover {
  background: #008069 !important;
}

.tc-wa-empty-thread {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: #54656f;
}

.tc-wa-empty-thread.active {
  display: flex;
}

.tc-wa-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #8696a0;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .tc-wa-chat {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .tc-wa-page .page-content-wrapper.tc-wa-shell {
    border-radius: 0;
  }

  .tc-wa-chat {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    height: calc(100vh - 120px) !important;
    border-radius: 0;
  }

  .tc-wa-sidebar {
    display: flex;
  }

  .tc-wa-thread-wrap {
    display: none;
  }

  .tc-wa-chat.is-thread-open .tc-wa-sidebar {
    display: none;
  }

  .tc-wa-chat.is-thread-open .tc-wa-thread-wrap {
    display: flex;
  }

  .tc-wa-messages {
    padding: 10px 12px !important;
  }

  .tc-wa-bubble-in,
  .tc-wa-bubble-out {
    max-width: 85%;
  }

  .tc-wa-broadcast-label {
    display: none;
  }
}

.tc-wa-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tc-wa-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border: 1px solid #cfd6d3;
  border-radius: 999px;
  background: #fff;
  color: #33403c;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tc-wa-notify-btn:hover {
  background: #f0f2f5;
  color: #0d1613;
}

.tc-wa-notify-btn.is-on {
  background: #e8f5ef;
  border-color: #9ec9b4;
  color: #0d1613;
}

.tc-wa-broadcast-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: #00a884;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tc-wa-broadcast-btn:hover {
  background: #008069;
  color: #fff;
}

.tc-wa-broadcast-btn i {
  font-size: 16px;
}

.tc-wa-filters {
  padding: 0 12px 8px;
  display: grid;
  gap: 8px;
  background: #f0f2f5;
}

.tc-wa-property-filter {
  border: 0;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  color: #54656f;
  height: 36px;
  padding: 0 12px;
  box-shadow: none;
}

.tc-wa-property-filter:focus {
  box-shadow: none;
  border-color: transparent;
}

.tc-wa-property-tag {
  display: block;
  color: #667781 !important;
  font-size: 11px;
}

.tc-wa-attach-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  color: #54656f;
  font-size: 22px;
  flex-shrink: 0;
}

.tc-wa-attach-preview {
  padding: 6px 12px 0;
  font-size: 12px;
  color: #54656f;
}

.tc-wa-broadcast-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #008069;
  background: rgba(0, 168, 132, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.tc-wa-announcement-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #111b21;
}

.tc-wa-attachment {
  margin-bottom: 4px;
}

.tc-wa-attachment-image {
  max-width: 260px;
  max-height: 220px;
  border-radius: 8px;
  display: block;
}

.tc-wa-attachment-video {
  max-width: 280px;
  max-height: 200px;
  border-radius: 8px;
  display: block;
}

.tc-wa-attachment-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}

.tc-wa-broadcast-modal .modal-header {
  background: #f0f2f5;
}

.tc-wa-broadcast-modal .tc-wa-broadcast-submit {
  background: #00a884;
  border-color: #00a884;
}

.tc-wa-broadcast-modal .tc-wa-broadcast-submit:hover {
  background: #008069;
  border-color: #008069;
}

.tc-wa-owner-avatar img.tc-wa-owner-logo,
.tc-wa-thread-head .tc-wa-owner-logo,
.tc-wa-sidebar .tc-wa-owner-logo {
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border-radius: 50%;
}

.tc-wa-sidebar .user-chat-img.tc-wa-owner-avatar,
.tc-wa-thread-head .message-user-img.tc-wa-owner-avatar {
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Listing syndication — full-width graded layout
========================================================= */
.tc-syndication-page {
  background:
    radial-gradient(circle at top right, rgba(197, 162, 91, 0.08), transparent 40%),
    linear-gradient(180deg, #f6f7f5 0%, #eef1ef 100%);
  padding: 28px !important;
}

.tc-syndication-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 22px;
}

.tc-syndication-hero-copy h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #14201c;
  letter-spacing: -0.02em;
}

.tc-syndication-hero-copy p:not(.tc-kicker) {
  max-width: 560px;
  color: #5f6b67;
  font-size: 14px;
  line-height: 1.5;
}

.tc-syndication-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-syndication-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #d7ddd9;
  background: #fff;
  color: #1b2b27;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.tc-syndication-link-btn.is-muted {
  background: transparent;
}

.tc-syndication-link-btn:hover {
  border-color: #b8c2bc;
  color: #1b2b27;
}

.tc-syndication-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.tc-syndication-metric {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}

.tc-syndication-metric span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6a7571;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.tc-syndication-metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: #14201c;
  font-weight: 700;
}

.tc-syndication-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.tc-syndication-panel {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 32, 28, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.tc-syndication-panel-head {
  padding: 22px 24px 0;
}

.tc-syndication-panel-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #14201c;
}

.tc-syndication-panel-head p {
  margin: 0;
  color: #66706c;
  font-size: 13px;
  line-height: 1.45;
}

.tc-syndication-panel-body {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.tc-syndication-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tc-syndication-field-span {
  grid-column: 1 / -1;
}

.tc-syndication-panel-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.tc-syndication-primary-btn {
  border: 0;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 18px;
  background: #1b2b27;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.tc-syndication-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tc-syndication-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-syndication-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d9e0dc;
  background: #f7f8f7;
  color: #1b2b27;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.tc-syndication-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tc-syndication-chip i {
  font-size: 14px;
  color: #6a7571;
}

.tc-syndication-chip.is-selected {
  border-color: #1b2b27;
  background: #1b2b27;
  color: #fff;
}

.tc-syndication-chip.is-selected i {
  color: #fff;
}

.tc-syndication-empty-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px dashed #cfd6d2;
  border-radius: 12px;
  background: #f7f8f7;
  color: #1b2b27;
}

.tc-syndication-empty-field p {
  margin: 0;
  color: #1b2b27 !important;
  font-size: 14px;
  font-weight: 600;
}

.tc-syndication-empty-field a {
  color: #1b2b27;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tc-syndication-page .form-select,
.tc-syndication-page .form-control {
  background: #fff !important;
  color: #1b2b27 !important;
  border: 1px solid #d5dcd8 !important;
}

.tc-syndication-page .form-select option {
  background: #fff;
  color: #1b2b27;
}

.tc-syndication-page textarea.form-control::placeholder,
.tc-syndication-page .form-control::placeholder {
  color: #7a8681 !important;
  opacity: 1;
}

.tc-syndication-media-box {
  position: relative;
  border: 1px dashed #c8d0cb;
  border-radius: 14px;
  background: #f7f8f7;
  min-height: 92px;
  overflow: hidden;
}

.tc-syndication-media-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.tc-syndication-media-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  pointer-events: none;
}

.tc-syndication-media-ui i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e5e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1b2b27;
}

.tc-syndication-media-ui strong {
  display: block;
  font-size: 14px;
  color: #1b2b27;
}

.tc-syndication-media-ui span {
  display: block;
  font-size: 12px;
  color: #6a7571;
  margin-top: 2px;
}

.tc-syndication-media-preview {
  position: relative;
  padding: 12px;
  z-index: 3;
}

.tc-syndication-media-preview img,
.tc-syndication-media-preview video {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}

.tc-syndication-media-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #1b2b27;
  font-weight: 600;
}

.tc-syndication-media-clear {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 32, 28, 0.8);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  z-index: 4;
}

.tc-syndication-section {
  margin-bottom: 28px;
}

.tc-syndication-section-head {
  margin-bottom: 16px;
}

.tc-syndication-section-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #14201c;
}

.tc-syndication-section-head p {
  margin: 0;
  color: #66706c;
  font-size: 13px;
}

.tc-syndication-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.tc-syndication-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 32, 28, 0.04);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-syndication-card.is-on {
  border-color: rgba(27, 43, 39, 0.22);
  box-shadow: 0 12px 28px rgba(20, 32, 28, 0.07);
}

.tc-syndication-card-body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tc-syndication-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tc-syndication-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f4f2;
  color: #1b2b27;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tc-syndication-card-body h4 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #14201c;
}

.tc-syndication-region {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #7a8681;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tc-syndication-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #66706c;
  flex: 1;
}

.tc-syndication-last-sync {
  margin: 10px 0 0;
  font-size: 11px;
  color: #9aa5a0;
}

.tc-syndication-card-form {
  margin-top: auto;
  border-top: 1px solid #eef1ef;
  background: #fbfcfb;
}

.tc-syndication-credentials {
  padding: 12px 20px 0;
  font-size: 13px;
}

.tc-syndication-credentials summary {
  cursor: pointer;
  color: #1b2b27;
  font-weight: 600;
  list-style: none;
}

.tc-syndication-credentials summary::-webkit-details-marker {
  display: none;
}

.tc-syndication-credentials-body {
  display: grid;
  gap: 10px;
  padding: 12px 0 4px;
}

.tc-syndication-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
}

.tc-syndication-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.tc-syndication-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tc-syndication-switch-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cfd6d2;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.tc-syndication-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}

.tc-syndication-switch input:checked + .tc-syndication-switch-track {
  background: #1b2b27;
}

.tc-syndication-switch input:checked + .tc-syndication-switch-track::after {
  transform: translateX(18px);
}

.tc-syndication-switch-label {
  font-size: 13px;
  font-weight: 600;
  color: #1b2b27;
}

.tc-syndication-text-btn {
  border: 0;
  background: transparent;
  color: #1b2b27;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-syndication-activity-wrap {
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 32, 28, 0.04);
}

.tc-syndication-activity-table thead th {
  background: #f7f8f7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a7571;
  border-bottom: 1px solid #e8ece9;
  padding: 14px 18px;
}

.tc-syndication-activity-table tbody td {
  padding: 16px 18px;
  vertical-align: middle;
  font-size: 14px;
  border-bottom: 1px solid #f0f2f1;
}

.tc-syndication-activity-table tbody tr:last-child td {
  border-bottom: none;
}

.tc-syndication-source-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f4f2;
  font-size: 12px;
  color: #1b2b27;
}

.tc-syndication-empty {
  text-align: center;
  color: #66706c;
  padding: 36px 16px !important;
}

.tc-syndication-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tc-syndication-badge.is-live {
  background: rgba(37, 211, 102, 0.15);
  color: #128c7e;
}

.tc-syndication-badge.is-sandbox {
  background: rgba(197, 162, 91, 0.18);
  color: #7a5b1d;
}

.tc-syndication-badge.is-failed {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}

@media (max-width: 1100px) {
  .tc-syndication-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .tc-syndication-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tc-syndication-page {
    padding: 18px !important;
  }

  .tc-syndication-hero-copy h2 {
    font-size: 24px;
  }

  .tc-syndication-field-grid {
    grid-template-columns: 1fr;
  }

  .tc-syndication-activity-table thead { display: none; }
  .tc-syndication-activity-table tbody tr {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eef1ef;
  }
  .tc-syndication-activity-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border: none;
  }
  .tc-syndication-activity-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #66706c;
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .tc-syndication-summary {
    grid-template-columns: 1fr;
  }
}

/* LinkedIn-grade profile */
.tc-profile-page .tc-profile-hero {
  border: 1px solid rgba(13, 22, 19, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.tc-profile-banner {
  height: 120px;
  background:
    linear-gradient(135deg, rgba(13, 22, 19, 0.92), rgba(13, 22, 19, 0.75)),
    radial-gradient(circle at 20% 30%, rgba(197, 162, 91, 0.45), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(197, 162, 91, 0.25), transparent 40%);
}
.tc-profile-hero-body {
  display: flex;
  gap: 20px;
  padding: 0 24px 24px;
  margin-top: -48px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tc-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.tc-profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(13, 22, 19, 0.12);
  background: #f3f4f3;
}
.tc-profile-avatar-edit {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary-color, #0d1613);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
}
.tc-profile-name {
  font-size: 28px;
  font-weight: 700;
  color: #0d1613;
  letter-spacing: -0.02em;
}
.tc-profile-headline {
  color: #4a5550;
  font-size: 15px;
  margin: 0;
}
.tc-profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #6b756f;
  font-size: 13px;
}
.tc-profile-type-pill,
.tc-nin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tc-profile-type-pill.is-individual {
  background: rgba(13, 22, 19, 0.06);
  color: #0d1613;
}
.tc-profile-type-pill.is-corporate {
  background: rgba(197, 162, 91, 0.18);
  color: #7a5b1d;
}
.tc-nin-pill.is-verified {
  background: rgba(25, 135, 84, 0.12);
  color: #146c43;
}
.tc-nin-pill.is-failed {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}
.tc-nin-pill.is-unverified,
.tc-nin-pill.is-pending {
  background: rgba(108, 117, 125, 0.12);
  color: #495057;
}
.tc-account-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 767px) {
  .tc-account-type-grid { grid-template-columns: 1fr; }
  .tc-profile-hero-body { margin-top: -36px; }
  .tc-profile-avatar { width: 88px; height: 88px; }
  .tc-profile-name { font-size: 22px; }
}
.tc-account-type-card {
  border: 1px solid rgba(13, 22, 19, 0.12);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fafbfa;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.tc-account-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.tc-account-type-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 22, 19, 0.06);
  color: #0d1613;
  font-size: 20px;
  margin-bottom: 4px;
}
.tc-account-type-card strong { color: #0d1613; }
.tc-account-type-card small { color: #6b756f; }
.tc-account-type-card.is-active {
  border-color: var(--primary-color, #c5a25b);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197, 162, 91, 0.18);
}
.tc-account-type-card.is-active .icon {
  background: rgba(197, 162, 91, 0.2);
  color: #7a5b1d;
}

/* Bank-grade treasury reports hub */
.tc-bank-report {
  border: 1px solid rgba(13, 22, 19, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 22, 19, 0.03), transparent 120px),
    #fff;
}
.tc-bank-report-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 8px;
  align-items: flex-start;
}
.tc-bank-report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tc-bank-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(197, 162, 91, 0.18);
  color: #7a5b1d;
  font-size: 12px;
  font-weight: 600;
}
.tc-bank-pill.is-muted {
  background: rgba(13, 22, 19, 0.06);
  color: #4a5550;
}
.tc-bank-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 24px 20px;
}
@media (max-width: 991px) {
  .tc-bank-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .tc-bank-kpi-grid { grid-template-columns: 1fr; }
}
.tc-bank-kpi {
  border: 1px solid rgba(13, 22, 19, 0.08);
  border-radius: 12px;
  padding: 16px;
  background: #fafbfa;
}
.tc-bank-kpi p {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b756f;
  font-weight: 600;
}
.tc-bank-kpi h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0d1613;
  letter-spacing: -0.02em;
}
.tc-bank-kpi small {
  display: block;
  margin-top: 6px;
  color: #6b756f;
  font-size: 12px;
}
.tc-bank-kpi.is-positive h3 { color: #146c43; }
.tc-bank-kpi.is-negative h3 { color: #b02a37; }
.tc-bank-panels {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(13, 22, 19, 0.08);
}
@media (max-width: 991px) {
  .tc-bank-panels { grid-template-columns: 1fr; }
}
.tc-bank-panel {
  padding: 20px 24px 24px;
}
.tc-bank-panel + .tc-bank-panel {
  border-left: 1px solid rgba(13, 22, 19, 0.08);
}
@media (max-width: 991px) {
  .tc-bank-panel + .tc-bank-panel {
    border-left: 0;
    border-top: 1px solid rgba(13, 22, 19, 0.08);
  }
}
.tc-bank-panel-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d1613;
  margin-bottom: 14px;
}
.tc-aging-row {
  display: grid;
  grid-template-columns: 88px 1fr 110px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.tc-aging-label {
  font-size: 12px;
  color: #4a5550;
}
.tc-aging-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(13, 22, 19, 0.06);
  overflow: hidden;
}
.tc-aging-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d1613, #c5a25b);
}
.tc-aging-amt {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: #0d1613;
  font-variant-numeric: tabular-nums;
}
.tc-bank-table {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tc-bank-table thead th {
  border-bottom-color: rgba(13, 22, 19, 0.12);
  color: #6b756f;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tc-bank-table td {
  border-color: rgba(13, 22, 19, 0.06);
  vertical-align: middle;
}

/* Dashboard property micro thumbnails */
.tc-property-micro-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(13, 22, 19, 0.08);
  background: #f3f4f3;
  flex-shrink: 0;
}
.tc-property-name-cell {
  min-width: 180px;
}

/* Tenant create wizard */
.tc-tenant-create-page .tc-tenant-stepper-head {
  background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
}

.tc-tenant-create-page #progressbar li span:last-child {
  font-size: 13px;
  font-weight: 600;
}

.tc-tenant-create-page .tc-tenant-corporate-block {
  border-color: rgba(197, 162, 91, 0.35);
  background: #fffdf8;
}

.tc-tenant-create-page .form-card {
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.tc-tenant-create-page .upload-profile-photo-box {
  padding: 16px;
  border: 1px dashed #dfe5e1;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 20px;
}

/* Tenant Zillow list */
.tc-tenant-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(13, 22, 19, 0.05);
}
.tc-tenant-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5550;
  text-decoration: none;
}
.tc-tenant-tab.is-active,
.tc-tenant-tab:hover {
  background: #fff;
  color: #0d1613;
  box-shadow: 0 1px 4px rgba(13, 22, 19, 0.08);
}
.zillow-badge.is-active { background: #146c43; }
.zillow-badge.is-inactive { background: #6b7280; }
.zillow-badge.is-closed { background: #b02a37; }
.zillow-badge.is-draft { background: #3d5a80; }
.zillow-badge.is-due { background: #c5a25b; color: #0d1613; }
.zillow-card-tenant .zillow-card-media { background: #eef1ef; }

/* Tenant compact list rows (hub + directory) */
.zillow-board.is-list:has(.zillow-card-tenant) {
  gap: 8px;
}

.zillow-board.is-list .zillow-card-tenant {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  border-radius: 10px;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-media {
  width: 64px;
  min-width: 64px;
  height: 64px;
  margin: 10px 0 10px 12px;
  border-radius: 8px;
  align-self: center;
  flex-shrink: 0;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-badges,
.zillow-board.is-list .zillow-card-tenant .zillow-card-price-overlay {
  display: none;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-body {
  padding: 10px 14px 10px 12px;
  gap: 12px;
  align-items: center;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-kicker {
  margin: 0 0 1px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-title {
  margin: 0 0 1px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-sub {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.3;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-facts {
  font-size: 11px;
  color: var(--brand-muted);
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-facts li {
  padding-right: 8px;
  margin-right: 8px;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-facts strong {
  font-weight: 600;
  color: var(--brand-dark);
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-aside {
  min-width: 96px;
  padding-left: 4px;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-price {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-price-note,
.zillow-board.is-list .zillow-card-tenant .zillow-card-aside-meta {
  font-size: 11px;
  line-height: 1.3;
}

.zillow-board.is-list .zillow-card-tenant .zillow-card-menu {
  margin-top: 4px;
}

@media (max-width: 767px) {
  .zillow-board.is-list .zillow-card-tenant {
    flex-direction: row;
    min-height: 0;
  }

  .zillow-board.is-list .zillow-card-tenant .zillow-card-media {
    width: 56px;
    min-width: 56px;
    height: 56px;
    margin: 8px 0 8px 10px;
  }

  .zillow-board.is-list .zillow-card-tenant .zillow-card-img {
    width: 56px;
    height: 56px;
  }

  .zillow-board.is-list .zillow-card-tenant .zillow-card-body {
    padding: 8px 10px 8px 8px;
    gap: 8px;
  }

  .zillow-board.is-list .zillow-card-tenant .zillow-card-aside {
    text-align: right;
    min-width: 72px;
  }

  .zillow-board.is-list .zillow-card-tenant .zillow-card-facts {
    display: none;
  }
}

/* Geo-ranked payment gateways */
.paymentGateway.is-geo-preferred {
  border-color: rgba(25, 135, 84, 0.45) !important;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.12);
}
.paymentGateway.is-selected,
.paymentGateway.active {
  border-color: var(--primary-color, #c5a25b) !important;
}

/* Expense hub badges & split panel */
.expense-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.expense-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.expense-badge-tenant {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}
.expense-badge-owner {
  background: rgba(108, 117, 125, 0.15);
  color: #495057;
}
.expense-badge-split {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}
.expense-badge-billed {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}
.expense-split-panel .text-success { color: #198754 !important; }
.expense-split-panel .text-danger { color: #dc3545 !important; }

/* Expense modal — graded form flow */
.tc-expense-modal .modal-body {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}

.tc-expense-modal-footer {
  border-top: 1px solid #e8ece9;
  padding: 1rem 1.5rem;
  justify-content: flex-end;
  gap: 0.75rem;
}

.tc-expense-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tc-expense-section {
  border: 1px solid #e8ece9;
  border-radius: 12px;
  background: #fafbfa;
  overflow: hidden;
}

.tc-expense-section-last {
  margin-bottom: 0;
}

.tc-expense-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #eef1ef;
}

.tc-expense-section-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-color, #c5a25b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tc-expense-section-head h6 {
  font-size: 15px;
  font-weight: 600;
  color: #1b2b27;
}

.tc-expense-section-body {
  padding: 16px;
  background: #fff;
}

.tc-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1b2b27;
  margin-bottom: 6px;
}

.tc-expense-payer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 575px) {
  .tc-expense-payer-grid { grid-template-columns: 1fr; }
}

.tc-expense-payer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border: 2px solid #e8ece9;
  border-radius: 12px;
  background: #fafbfa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  margin: 0;
}

.tc-expense-payer-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tc-expense-payer-card strong {
  font-size: 14px;
  color: #1b2b27;
}

.tc-expense-payer-card small {
  font-size: 12px;
  color: #66706c;
  line-height: 1.35;
}

.tc-expense-payer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(197, 162, 91, 0.14);
  color: var(--primary-color, #c5a25b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tc-expense-payer-card.is-selected {
  border-color: var(--primary-color, #c5a25b);
  background: rgba(197, 162, 91, 0.06);
  box-shadow: 0 0 0 1px rgba(197, 162, 91, 0.15);
}

.tc-expense-split-panel {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed #d5dcd8;
  background: #f8faf9;
}

.tc-expense-split-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #1b2b27;
}

.tc-expense-split-head i {
  font-size: 20px;
  color: var(--primary-color, #c5a25b);
  margin-top: 2px;
}

.tc-expense-split-head p {
  font-size: 12px;
  color: #66706c;
}

.tc-expense-split-hint {
  font-size: 12px;
  margin-top: 10px;
}

.tc-expense-file-input {
  font-size: 13px;
}

/* Occupant picker — compact expense layout */
.occupant-picker-compact .occupant-picker-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.occupant-picker-compact .occupant-profile-card {
  border: 1px solid #e8ece9;
  border-radius: 10px;
  background: #fafbfa;
  padding: 12px 14px;
  min-height: 72px;
}

.occupant-picker-compact .occupant-profile-empty,
.occupant-picker-compact .occupant-profile-vacant {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #66706c;
}

.occupant-picker-compact .occupant-profile-empty i,
.occupant-picker-compact .occupant-profile-vacant i {
  font-size: 18px;
  color: #9aa5a0;
}

.occupant-picker-compact .occupant-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.occupant-picker-compact .occupant-avatar-wrap {
  flex-shrink: 0;
  position: relative;
}

.occupant-picker-compact .occupant-initials {
  width: 44px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  background: #5c6b67;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.occupant-picker-compact .occupant-profile-meta {
  min-width: 0;
  flex: 1;
}

.occupant-picker-compact .occupant-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.occupant-picker-compact .occupant-name-row strong {
  font-size: 14px;
  color: #1b2b27;
}

.occupant-picker-compact .occupant-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
}

.occupant-picker-compact .occupant-status-pill.status-btn-green {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.occupant-picker-compact .occupant-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #66706c;
}

.occupant-picker-compact .occupant-contact-dot {
  opacity: 0.5;
}

.occupant-picker-compact .occupant-unit-line {
  display: block;
  font-size: 12px;
  color: #9aa5a0;
  margin-top: 2px;
}

.occupant-manual-details {
  margin-top: 10px;
  font-size: 12px;
}

.occupant-manual-details summary {
  cursor: pointer;
  color: var(--primary-color, #c5a25b);
  font-weight: 500;
  list-style: none;
}

.occupant-manual-details summary::-webkit-details-marker {
  display: none;
}

.occupant-manual-body {
  margin-top: 8px;
}

.occupant-manual-hint {
  font-size: 11px;
  color: #9aa5a0;
  margin: 6px 0 0;
}

/* Documents hub */
.tc-docs-page {
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(197, 162, 91, 0.16), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, #eef2f0 48%, #f8faf9 100%);
  padding: 28px;
  color: #1b2b27;
}

.tc-docs-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tc-docs-hero h2 {
  color: #14241f;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tc-docs-hero p:not(.tc-kicker) {
  color: #5b6762;
  max-width: 54ch;
}

.tc-docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tc-docs-panel {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(20, 36, 31, 0.04);
}

.tc-docs-panel h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 14px;
  color: #1b2b27;
}

.tc-docs-maker {
  display: grid;
  gap: 16px;
}

.tc-docs-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.tc-docs-template-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(27, 43, 39, 0.1);
  background: #fbfaf7;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tc-docs-template-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tc-docs-template-card i {
  font-size: 1.35rem;
  color: var(--primary-color, #c5a25b);
}

.tc-docs-template-card strong {
  color: #14241f;
}

.tc-docs-template-card span {
  font-size: 12px;
  color: #66706c;
  line-height: 1.4;
}

.tc-docs-template-card:hover,
.tc-docs-template-card.is-selected {
  border-color: rgba(197, 162, 91, 0.7);
  box-shadow: 0 8px 22px rgba(197, 162, 91, 0.14);
  transform: translateY(-1px);
  background: #fff;
}

.tc-docs-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.tc-docs-field-span {
  grid-column: 1 / -1;
}

.tc-docs-page .form-control,
.tc-docs-page .form-select,
.tc-docs-modal .form-control,
.tc-docs-modal .form-select {
  background: #fff;
  color: #1b2b27;
  border-color: rgba(27, 43, 39, 0.14);
}

.tc-docs-page .form-control::placeholder,
.tc-docs-modal .form-control::placeholder {
  color: #8a9490;
}

.tc-docs-help {
  font-size: 13px;
  color: #66706c;
  margin-bottom: 12px;
}

.tc-docs-help a {
  color: var(--primary-color, #c5a25b);
  font-weight: 600;
}

.tc-docs-mark-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.tc-docs-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(27, 43, 39, 0.1);
  background: #fbfaf7;
  min-width: 180px;
}

.tc-docs-mark-preview {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-docs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tc-docs-primary-btn,
.tc-docs-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tc-docs-primary-btn {
  background: #1b2b27;
  color: #fff !important;
  border-color: #1b2b27;
}

.tc-docs-primary-btn:hover {
  background: #243833;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(27, 43, 39, 0.18);
}

.tc-docs-ghost-btn {
  background: #fff;
  color: #1b2b27 !important;
  border-color: rgba(27, 43, 39, 0.16);
}

.tc-docs-ghost-btn:hover {
  background: #f7f4ee;
  color: #1b2b27 !important;
}

.tc-docs-ai-hint {
  font-size: 12px;
  color: #7a8580;
}

.tc-docs-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.tc-docs-modal .modal-header,
.tc-docs-modal .modal-footer {
  border-color: rgba(27, 43, 39, 0.08);
  background: #fbfaf7;
}

.tc-docs-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(27, 43, 39, 0.12);
  font-size: 13px;
  color: #66706c;
}

.tc-docs-quick-links a {
  color: var(--primary-color, #c5a25b);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .tc-docs-page {
    padding: 16px;
  }

  .tc-docs-field-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact property table (replaces zillow grid/list cards) */
.tc-prop-table-wrap {
  background: #fff;
  border: 1px solid rgba(13, 22, 19, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.tc-prop-table {
  margin: 0;
  --bs-table-bg: transparent;
}

.tc-prop-table thead th {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #66706c;
  background: #f7f8f7;
  border-bottom: 1px solid rgba(13, 22, 19, 0.08);
  padding: 12px 14px;
  white-space: nowrap;
}

.tc-prop-table tbody td {
  padding: 12px 14px;
  border-color: rgba(13, 22, 19, 0.06);
  vertical-align: middle;
  font-size: 13px;
  color: #1b2b27;
}

.tc-prop-row:hover td {
  background: #fbfcfb;
}

.tc-prop-row-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.tc-prop-row-thumb {
  flex-shrink: 0;
  line-height: 0;
}

.tc-prop-row-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tc-prop-row-title {
  font-weight: 650;
  color: #0d1613;
  text-decoration: none;
  line-height: 1.3;
}

.tc-prop-row-title:hover {
  color: var(--primary-color, #c5a25b);
}

.tc-prop-row-sub {
  font-size: 12px;
  color: #7a8580;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

.tc-prop-row-strong {
  display: block;
  font-weight: 650;
  color: #0d1613;
}

.tc-prop-row-muted {
  display: block;
  font-size: 11px;
  color: #8a9490;
}

.tc-prop-row-occupancy {
  display: grid;
  gap: 6px;
}

.tc-prop-row-occupancy strong {
  font-size: 12px;
  color: #1b2b27;
}

.tc-prop-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  background: #eef1ef;
  color: #33403c;
}

.tc-prop-pill.is-own {
  background: #0d1613;
  color: #fff;
}

.tc-prop-pill.is-lease {
  background: rgba(197, 162, 91, 0.2);
  color: #6a531f;
}

.tc-prop-pill.is-active {
  background: rgba(20, 108, 67, 0.12);
  color: #146c43;
}

.tc-prop-pill.is-inactive {
  background: rgba(107, 114, 128, 0.14);
  color: #4b5563;
}

.tc-prop-pill.is-draft {
  background: rgba(61, 90, 128, 0.14);
  color: #3d5a80;
}

.tc-prop-pill.is-paid {
  background: rgba(20, 108, 67, 0.12);
  color: #146c43;
}

.tc-prop-pill.is-pending {
  background: rgba(197, 162, 91, 0.2);
  color: #6a531f;
}

.tc-prop-pill.is-overdue {
  background: rgba(176, 45, 45, 0.12);
  color: #8f1d1d;
}

.tc-pay-summary {
  margin: 0;
}

.tc-pay-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-pay-summary > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tc-pay-summary dt {
  margin: 0;
  color: #66706c;
  font-weight: 600;
  font-size: 13px;
}

.tc-pay-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 650;
  color: #0d1613;
}

.tc-pay-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tc-pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-pay-method img {
  width: 52px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.tc-pay-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f4f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1b2b27;
  flex-shrink: 0;
}

.tc-pay-method-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-pay-method-copy strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.tc-pay-method-copy small {
  color: #5b6561;
  font-size: 13px;
}

.tc-pay-method:hover,
.tc-pay-method.is-geo-preferred {
  border-color: rgba(20, 108, 67, 0.35);
}

.tc-pay-method.is-selected {
  border-color: var(--primary-color, #c5a25b);
  box-shadow: 0 0 0 2px rgba(197, 162, 91, 0.22);
}

.tc-pay-bank-details {
  background: #f7f8f6;
  border: 1px solid rgba(27, 43, 39, 0.08);
  font-size: 14px;
  color: #1b2b27;
}

@media (min-width: 768px) {
  .tc-pay-methods {
    grid-template-columns: 1fr 1fr;
  }
}

.tc-prop-empty--inline {
  padding: 28px 12px;
}

.tc-prop-empty--inline .tc-prop-empty-icon {
  margin: 0 auto 12px;
}

/* Custom domain guide */
.tc-domain-page {
  background:
    radial-gradient(1100px 380px at 6% -12%, rgba(197, 162, 91, 0.14), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, #eef2f0 50%, #f8faf9 100%);
  padding: 28px;
  color: #1b2b27;
}

.tc-domain-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.tc-domain-status-grid.is-quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-domain-status-card .tc-domain-status-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d1613;
  margin: 6px 0 4px;
  word-break: break-word;
}

.tc-domain-dns-box {
  border: 1px solid rgba(27, 43, 39, 0.1);
  border-radius: 12px;
  background: #fbfaf7;
  overflow: hidden;
}

.tc-domain-dns-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(27, 43, 39, 0.06);
  font-size: 13px;
}

.tc-domain-dns-row:last-child {
  border-bottom: 0;
}

.tc-domain-dns-row span {
  color: #66706c;
}

.tc-domain-dns-row strong {
  color: #0d1613;
  text-align: right;
}

.tc-domain-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.tc-domain-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: domain-step;
}

.tc-domain-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  counter-increment: domain-step;
}

.tc-domain-steps li::before {
  content: counter(domain-step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1b2b27;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.tc-domain-steps strong {
  display: block;
  margin-bottom: 2px;
  color: #0d1613;
}

.tc-domain-steps span {
  color: #5b6762;
  font-size: 13px;
  line-height: 1.45;
}

.tc-domain-checklist {
  display: grid;
  gap: 12px;
}

.tc-domain-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(27, 43, 39, 0.08);
  background: #fff;
}

.tc-domain-check-item i {
  font-size: 1.25rem;
  color: #9aa5a0;
  margin-top: 2px;
}

.tc-domain-check-item.is-done i {
  color: #146c43;
}

.tc-domain-check-item strong {
  display: block;
  color: #0d1613;
}

.tc-domain-check-item p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #66706c;
}

.tc-domain-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tc-domain-examples code {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3f4f3;
  color: #1b2b27;
  font-size: 12px;
}

@media (max-width: 1199.98px) {
  .tc-domain-status-grid.is-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .tc-domain-status-grid,
  .tc-domain-examples {
    grid-template-columns: 1fr;
  }

  .tc-domain-status-grid.is-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .tc-domain-status-grid.is-quad {
    grid-template-columns: 1fr;
  }
}

/* —— Operations / pass cards —— */
.tc-ops-page {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(27, 43, 39, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8f6 0%, #fff 42%);
  padding: 28px 28px 36px;
  border: 1px solid rgba(27, 43, 39, 0.06);
}

.tc-ops-page .tc-docs-hero {
  margin-bottom: 22px;
}

.tc-pass-card {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(13, 22, 19, 0.06);
  position: relative;
  overflow: hidden;
}

.tc-pass-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1b2b27, #3d6b5a);
}

.tc-pass-card--maintainer::before {
  background: linear-gradient(90deg, #1b2b27, #8a6a3a);
}

.tc-pass-card--parking::before {
  background: linear-gradient(90deg, #1b2b27, #c5a25b);
}

.tc-pass-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.tc-pass-card-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #66706c;
  font-weight: 600;
}

.tc-pass-card-name {
  margin: 0;
  font-size: 1.35rem;
  color: #0d1613;
  line-height: 1.25;
}

.tc-pass-card-sub {
  margin: 4px 0 0;
  color: #5b6762;
  font-size: 13px;
}

.tc-pass-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.tc-pass-card-qr {
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 12px;
}

.tc-pass-card-meta {
  display: grid;
  gap: 10px;
}

.tc-pass-card-meta > div span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8580;
}

.tc-pass-card-meta > div strong {
  color: #0d1613;
  font-size: 14px;
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .tc-ops-page {
    padding: 18px 14px 24px;
  }

  .tc-pass-card-body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tc-pass-card-meta > div span,
  .tc-pass-card-meta > div strong {
    text-align: center;
  }
}

@media print {
  .sidebar-menu,
  .topbar,
  .tc-section-nav,
  .tc-docs-hero-actions,
  .alert,
  form {
    display: none !important;
  }

  .tc-ops-page {
    background: #fff;
    border: 0;
    padding: 0;
  }

  .tc-pass-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* —— Pass print isolation —— */
.tc-pass-stage {
  padding: 8px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(138, 106, 58, 0.12), transparent 45%),
    linear-gradient(160deg, #1b2b27 0%, #0d1613 70%);
}

.tc-pass-stage .tc-pass-card {
  margin: 0;
}

@media print {
  body.tc-printing-pass * {
    visibility: hidden !important;
  }

  body.tc-printing-pass .tc-print-root,
  body.tc-printing-pass .tc-print-root * {
    visibility: visible !important;
  }

  body.tc-printing-pass .tc-print-root {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 12mm auto !important;
    box-shadow: none !important;
    border: 1px solid #222 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.tc-printing-pass .vertical-menu,
  body.tc-printing-pass #page-topbar,
  body.tc-printing-pass .phpdebugbar,
  body.tc-printing-pass .tc-no-print {
    display: none !important;
  }
}

/* —— Gate house —— */
.tc-gate-page {
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(138, 106, 58, 0.14), transparent 50%),
    linear-gradient(180deg, #101816 0%, #1b2b27 28%, #f4f6f4 28%);
  color: #0d1613;
  padding: 28px;
  border: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-gate-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  color: #f4f1ea;
}

.tc-gate-hero .tc-kicker {
  color: rgba(244, 241, 234, 0.7);
}

.tc-gate-hero h2 {
  color: #fff;
}

.tc-gate-hero p:not(.tc-kicker) {
  color: rgba(244, 241, 234, 0.78);
  max-width: 42rem;
}

.tc-gate-clock {
  text-align: right;
  min-width: 140px;
}

.tc-gate-clock-time {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tc-gate-clock-date {
  color: rgba(244, 241, 234, 0.65);
  font-size: 13px;
}

.tc-gate-scan-panel {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(27, 43, 39, 0.08);
  box-shadow: 0 18px 40px rgba(13, 22, 19, 0.08);
}

.tc-gate-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  background: #eef1ef;
  padding: 6px;
  border-radius: 14px;
}

.tc-gate-mode button {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 12px 10px;
  font-weight: 700;
  color: #5b6762;
}

.tc-gate-mode button.is-active {
  background: #1b2b27;
  color: #fff;
}

.tc-gate-camera-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1613;
  min-height: 220px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
}

.tc-gate-video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: none;
  background: #000;
}

.tc-gate-video.is-live {
  display: block;
}

.tc-gate-camera-frame {
  position: absolute;
  inset: 18% 22%;
  border: 2px solid rgba(244, 241, 234, 0.55);
  border-radius: 16px;
  pointer-events: none;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
}

.tc-gate-camera-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  margin: 0;
  text-align: center;
  color: rgba(244, 241, 234, 0.85);
  font-size: 13px;
  z-index: 1;
}

.tc-gate-camera-btn {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92) !important;
}

.tc-gate-code {
  font-size: 1.25rem !important;
  letter-spacing: 0.04em;
  padding: 14px 16px !important;
  font-weight: 600;
}

.tc-gate-actions {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 10px;
  margin-top: 16px;
}

.tc-gate-btn {
  border: 0;
  border-radius: 14px;
  padding: 16px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tc-gate-btn-in {
  background: #146c43;
  color: #fff;
}

.tc-gate-btn-out {
  background: #1b2b27;
  color: #fff;
}

.tc-gate-btn-deny {
  background: #f3e8e6;
  color: #8a2e22;
}

.tc-gate-form.is-checkout .tc-gate-btn-out {
  outline: 3px solid rgba(138, 106, 58, 0.55);
}

.tc-gate-result {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: #e8f6ef;
  border: 1px solid rgba(20, 108, 67, 0.2);
}

.tc-gate-result.is-out {
  background: #eef1ef;
  border-color: rgba(27, 43, 39, 0.15);
}

.tc-gate-result.is-deny {
  background: #f8e9e6;
  border-color: rgba(138, 46, 34, 0.2);
}

.tc-gate-result-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
  color: #5b6762;
}

.tc-gate-result h3 {
  margin: 0 0 4px;
  color: #0d1613;
}

.tc-gate-onsite-list {
  display: grid;
  gap: 10px;
}

.tc-gate-onsite-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-gate-onsite-item:last-child {
  border-bottom: 0;
}

.tc-gate-onsite-item span {
  display: block;
  color: #66706c;
  font-size: 12px;
}

.tc-gate-tile {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(27, 43, 39, 0.08);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tc-gate-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(13, 22, 19, 0.08);
}

.tc-gate-tile i {
  font-size: 1.6rem;
  color: #1b2b27;
  margin-bottom: 10px;
  display: inline-block;
}

.tc-gate-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.tc-gate-tile span {
  color: #66706c;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .tc-gate-page {
    padding: 18px 14px;
  }

  .tc-gate-actions {
    grid-template-columns: 1fr;
  }

  .tc-gate-hero {
    color: #0d1613;
    background: transparent;
  }

  .tc-gate-page {
    background: linear-gradient(180deg, #f4f6f4 0%, #fff 40%);
  }

  .tc-gate-hero .tc-kicker,
  .tc-gate-hero h2,
  .tc-gate-hero p:not(.tc-kicker),
  .tc-gate-clock-time,
  .tc-gate-clock-date {
    color: inherit;
  }

  .tc-gate-clock-time {
    color: #0d1613;
  }
}

/* —— Zillow-grade property show —— */
.tc-zillow-show {
  background: linear-gradient(180deg, #f5f7f6 0%, #fff 28%);
  padding: 16px 18px 24px;
  border: 1px solid rgba(27, 43, 39, 0.06);
}

.tc-zillow-show-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.tc-zillow-back {
  color: #5b6762;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.tc-zillow-back:hover {
  color: #0d1613;
}

.tc-zillow-show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-zillow-gallery {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 6px;
  margin-bottom: 16px;
  min-height: 220px;
  max-height: 240px;
}

.tc-zillow-gallery.is-single {
  grid-template-columns: 1fr;
  min-height: 200px;
  max-height: 220px;
}

.tc-zillow-gallery-hero {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe6e2;
  min-height: 220px;
  max-height: 240px;
}

.tc-zillow-gallery.is-single .tc-zillow-gallery-hero {
  min-height: 200px;
  max-height: 220px;
}

.tc-zillow-gallery-hero img,
.tc-zillow-gallery-thumbs a img,
.tc-zillow-unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-zillow-gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(13, 22, 19, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tc-zillow-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
}

.tc-zillow-gallery-thumbs a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe6e2;
  min-height: 0;
}

.tc-zillow-gallery-more {
  display: grid !important;
  place-items: center;
  background: #1b2b27 !important;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.tc-zillow-show-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.tc-zillow-show-head h1 {
  margin: 4px 0 4px;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  color: #0d1613;
}

.tc-zillow-show-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tc-zillow-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1613;
  letter-spacing: -0.02em;
}

.tc-zillow-price span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #66706c;
  margin-left: 4px;
}

.tc-zillow-sub {
  color: #5b6762;
  margin: 0 0 8px;
  font-size: 13px;
}

.tc-zillow-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0;
  margin: 0;
}

.tc-zillow-facts li {
  color: #3d4743;
  font-size: 13px;
}

.tc-zillow-facts.is-compact {
  gap: 6px 12px;
  margin-bottom: 4px;
}

.tc-zillow-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-zillow-section h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #0d1613;
}

.tc-zillow-occupancy {
  margin-bottom: 10px;
  max-width: 360px;
}

.tc-zillow-desc {
  margin: 0;
  color: #3d4743;
  line-height: 1.5;
  font-size: 13px;
}

.tc-zillow-desc.is-muted {
  color: #7a8580;
}

.tc-zillow-unit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.tc-zillow-unit-card {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 72px;
  transition: box-shadow 0.15s ease;
}

.tc-zillow-unit-card:hover {
  box-shadow: 0 6px 16px rgba(13, 22, 19, 0.06);
  transform: none;
}

.tc-zillow-unit-media {
  position: relative;
  height: auto;
  min-height: 72px;
  background: #dfe6e2;
}

.tc-zillow-unit-media .zillow-badge {
  position: absolute;
  left: 10px;
  top: 10px;
}

.tc-zillow-unit-body {
  padding: 10px 12px;
}

.tc-zillow-unit-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.tc-zillow-unit-body h3 {
  margin: 0;
  font-size: 0.95rem;
}

.tc-zillow-unit-tenant,
.tc-zillow-unit-copy {
  margin: 0;
  font-size: 12px;
  color: #66706c;
}

.tc-zillow-unit-copy {
  margin-top: 4px;
}

.tc-zillow-side-card {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.1);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(13, 22, 19, 0.04);
  position: sticky;
  top: 80px;
}

.tc-zillow-map-card {
  position: static;
}

.tc-zillow-side-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 12px;
}

.tc-zillow-side-stats span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8580;
}

.tc-zillow-side-stats strong {
  font-size: 0.95rem;
  color: #0d1613;
}

.tc-zillow-maintainer {
  padding: 10px 0;
  border-top: 1px solid rgba(27, 43, 39, 0.08);
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
  margin-bottom: 10px;
}

.tc-zillow-maintainer span {
  display: block;
  font-size: 11px;
  color: #7a8580;
}

.tc-zillow-side-actions {
  display: grid;
  gap: 6px;
}

.tc-zillow-side-actions .w-100 {
  width: 100%;
  justify-content: center;
}

.tc-zillow-map-address {
  margin: 0;
  color: #3d4743;
  font-size: 13px;
}

.tc-zillow-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1b2b27;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 13px;
}

.tc-zillow-map-embed {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 43, 39, 0.08);
  aspect-ratio: 16 / 9;
  max-height: 160px;
  background: #eef1ef;
}

.tc-zillow-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .tc-zillow-show-grid {
    grid-template-columns: 1fr;
  }

  .tc-zillow-side-card {
    position: static;
  }

  .tc-zillow-gallery {
    grid-template-columns: 1.4fr 0.8fr;
    min-height: 180px;
    max-height: 200px;
  }

  .tc-zillow-gallery-hero {
    min-height: 180px;
    max-height: 200px;
  }

  .tc-zillow-gallery-thumbs {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .tc-zillow-show {
    padding: 12px 10px 18px;
  }

  .tc-zillow-unit-grid {
    grid-template-columns: 1fr;
  }

  .tc-zillow-gallery {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
  }

  .tc-zillow-gallery-hero {
    min-height: 180px;
    max-height: 200px;
  }

  .tc-zillow-gallery-thumbs {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 72px;
  }
}

/* —— Property edit stepper jump —— */
.tc-prop-progressbar.is-jumpable li[data-step] {
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tc-prop-progressbar.is-jumpable li[data-step]:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.tc-prop-progressbar li.is-current .form-stepper-nav-icon,
.tc-prop-progressbar li.is-current > span:last-child {
  color: #0d1613;
  font-weight: 700;
}

.tc-prop-create-page.is-editing .tc-prop-stepper-head {
  background: linear-gradient(180deg, #f7f8f6 0%, #fff 100%);
}

/* —— Property location OSM picker —— */
.tc-loc-search-wrap {
  position: relative;
}

.tc-loc-search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  align-items: center;
  border: 1px solid rgba(27, 43, 39, 0.14);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.tc-loc-search-box i {
  padding-left: 12px;
  color: #7a8580;
}

.tc-loc-search-box .form-control {
  border: 0 !important;
  box-shadow: none !important;
}

.tc-loc-search-btn {
  border: 0;
  background: #1b2b27;
  color: #fff;
  font-weight: 600;
  padding: 11px 14px;
  white-space: nowrap;
}

.tc-loc-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 8px);
  z-index: 30;
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(13, 22, 19, 0.12);
  max-height: 280px;
  overflow: auto;
}

.tc-loc-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(27, 43, 39, 0.06);
}

.tc-loc-suggest-item:hover {
  background: #f4f6f4;
}

.tc-loc-suggest-item strong {
  display: block;
  color: #0d1613;
  font-size: 13px;
}

.tc-loc-suggest-item span {
  display: block;
  color: #66706c;
  font-size: 12px;
  margin-top: 2px;
}

.tc-loc-suggest-empty {
  padding: 12px;
  color: #66706c;
  font-size: 13px;
}

#tcLocStatus.is-error {
  color: #8a2e22;
}

.tc-loc-coords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6f4;
  border: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-loc-coords span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8580;
}

.tc-loc-coords strong {
  font-size: 13px;
  color: #0d1613;
  font-variant-numeric: tabular-nums;
}

.tc-loc-map-card {
  height: 100%;
}

.tc-loc-map {
  height: 280px;
  border-radius: 14px;
  border: 1px solid rgba(27, 43, 39, 0.1);
  background: #e8ece9;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .tc-loc-map {
    height: 220px;
  }
}

/* —— Listing create —— */
.tc-listing-create-page {
  background: linear-gradient(180deg, #f5f7f6 0%, #fff 30%);
  padding: 22px 22px 28px;
  border: 1px solid rgba(27, 43, 39, 0.06);
}

.tc-listing-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.tc-listing-create-main {
  display: grid;
  gap: 14px;
}

.tc-listing-create-main .tc-docs-panel {
  margin-bottom: 0;
}

.tc-listing-create-main .tc-docs-panel h3 {
  margin-bottom: 4px;
}

.tc-listing-layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-listing-preview-card {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.1);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(13, 22, 19, 0.05);
  position: sticky;
  top: 80px;
}

.tc-listing-preview-media {
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8ece9;
  display: grid;
  place-items: center;
  color: #7a8580;
  font-size: 13px;
  margin-bottom: 12px;
}

.tc-listing-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-listing-preview-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d1613;
}

.tc-listing-preview-price span {
  font-size: 0.8rem;
  color: #66706c;
  font-weight: 600;
}

.tc-listing-preview-card h3 {
  margin: 6px 0 4px;
  font-size: 1.05rem;
}

.tc-listing-preview-addr {
  margin: 0 0 14px;
  color: #66706c;
  font-size: 13px;
}

.tc-listing-side-actions {
  display: grid;
  gap: 8px;
}

.tc-listing-side-actions .w-100 {
  width: 100%;
  justify-content: center;
}

.tc-listing-existing-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-listing-existing-photo {
  position: relative;
  width: 88px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ece9;
}

.tc-listing-existing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-listing-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 22, 19, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

.tc-listing-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 991.98px) {
  .tc-listing-create-grid {
    grid-template-columns: 1fr;
  }

  .tc-listing-preview-card {
    position: static;
  }

  .tc-listing-layout-grid,
  .tc-listing-info-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .tc-listing-create-page {
    padding: 14px 12px 20px;
  }

  .tc-listing-layout-grid,
  .tc-listing-info-row {
    grid-template-columns: 1fr;
  }
}

/* —— Template gallery (PandaDoc-style) —— */
.tc-tpl-page .tc-docs-hero {
  margin-bottom: 16px;
}

.tc-tpl-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.tc-tpl-search {
  position: relative;
  display: block;
}

.tc-tpl-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a8580;
  pointer-events: none;
}

.tc-tpl-search .form-control {
  padding-left: 40px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(27, 43, 39, 0.12);
  background: #fff;
}

.tc-tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-tpl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 43, 39, 0.12);
  background: #fff;
  color: #3d4a45;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.tc-tpl-chip span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef2f0;
  font-size: 11px;
  display: inline-grid;
  place-items: center;
}

.tc-tpl-chip:hover,
.tc-tpl-chip.is-active {
  color: #0d1613;
  border-color: rgba(197, 162, 91, 0.55);
  background: #fbf8f1;
}

.tc-tpl-chip.is-active {
  box-shadow: inset 0 0 0 1px rgba(197, 162, 91, 0.35);
}

.tc-tpl-section {
  margin-bottom: 28px;
}

.tc-tpl-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.tc-tpl-section-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #14241f;
}

.tc-tpl-section-head p {
  margin: 0;
  color: #66706c;
  font-size: 13px;
}

.tc-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tc-tpl-card {
  background: #fff;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(20, 36, 31, 0.04);
  display: flex;
  flex-direction: column;
}

.tc-tpl-thumb {
  position: relative;
  height: 168px;
  background:
    linear-gradient(180deg, #f4f1ea 0%, #e8ece9 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tc-tpl-thumb[data-category="lease"] { background: linear-gradient(180deg, #f7f1e4 0%, #eee6d6 100%); }
.tc-tpl-thumb[data-category="tenancy"] { background: linear-gradient(180deg, #e8f0ec 0%, #dce7e2 100%); }
.tc-tpl-thumb[data-category="forms"] { background: linear-gradient(180deg, #eef1f5 0%, #e2e7ee 100%); }
.tc-tpl-thumb[data-category="notices"] { background: linear-gradient(180deg, #f6ece6 0%, #eee1d8 100%); }
.tc-tpl-thumb[data-category="addendum"] { background: linear-gradient(180deg, #f1eee8 0%, #e6e2d8 100%); }
.tc-tpl-thumb[data-category="checklist"] { background: linear-gradient(180deg, #e9f2ee 0%, #dceae3 100%); }

.tc-tpl-paper {
  width: 118px;
  height: 148px;
  background: #fff;
  border-radius: 4px 10px 4px 4px;
  box-shadow: 0 10px 24px rgba(13, 22, 19, 0.12);
  padding: 14px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  transform: rotate(-1.5deg);
}

.tc-tpl-paper i {
  color: #c5a25b;
  font-size: 18px;
}

.tc-tpl-paper strong {
  font-size: 11px;
  line-height: 1.3;
  color: #14241f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-tpl-paper em {
  height: 5px;
  width: 100%;
  background: #e6ebe8;
  border-radius: 99px;
  display: block;
  font-style: normal;
}

.tc-tpl-paper em:nth-child(4) { width: 78%; }
.tc-tpl-paper em:nth-child(5) { width: 62%; }

.tc-tpl-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 19, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.18s ease;
  padding: 12px;
}

.tc-tpl-card:hover .tc-tpl-overlay,
.tc-tpl-card:focus-within .tc-tpl-overlay {
  opacity: 1;
}

.tc-tpl-overlay .tc-docs-ghost-btn,
.tc-tpl-overlay .tc-docs-primary-btn {
  min-width: 140px;
  justify-content: center;
}

.tc-tpl-overlay .tc-docs-ghost-btn {
  background: #fff;
  color: #0d1613;
}

.tc-tpl-meta {
  padding: 14px 14px 16px;
  display: grid;
  gap: 6px;
}

.tc-tpl-badge {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7a55;
  background: #f7f4ee;
  border-radius: 999px;
  padding: 3px 8px;
}

.tc-tpl-meta h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #14241f;
}

.tc-tpl-meta p {
  margin: 0;
  color: #66706c;
  font-size: 13px;
  min-height: 38px;
}

.tc-tpl-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 4px;
}

.tc-tpl-card-actions a,
.tc-tpl-card-actions button {
  background: none;
  border: 0;
  padding: 0;
  color: #3d4a45;
  font-size: 12px;
  font-weight: 650;
}

.tc-tpl-card-actions a:hover,
.tc-tpl-card-actions button:hover {
  color: #0d1613;
}

.tc-tpl-card-actions .is-danger {
  color: #a33b2b;
}

.tc-tpl-empty {
  text-align: center;
  padding: 40px 20px;
}

.tc-tpl-empty h3 {
  margin-bottom: 8px;
}

.tc-tpl-empty .tc-docs-primary-btn {
  display: inline-flex;
  margin-top: 12px;
}

.tc-tpl-footnote {
  margin: 8px 0 0;
  color: #7a8580;
  font-size: 12px;
}

.tc-tpl-search-empty {
  color: #66706c;
  margin-top: 8px;
}

.tc-tpl-preview-modal .modal-body {
  background: #eef2f0;
  max-height: min(70vh, 720px);
  overflow: auto;
}

.tc-tpl-preview-doc {
  background: #fff;
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 40px;
  min-height: 480px;
  box-shadow: 0 12px 30px rgba(13, 22, 19, 0.08);
  font-size: 14px;
  line-height: 1.55;
  color: #1b2b27;
}

.tc-tpl-preview-doc h1 { font-size: 1.45rem; margin-bottom: 8px; }
.tc-tpl-preview-doc h2 { font-size: 1.05rem; margin: 18px 0 8px; }

.tc-tpl-merge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tc-tpl-merge-chip {
  border: 1px solid rgba(27, 43, 39, 0.12);
  background: #f7f4ee;
  color: #3d4a45;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tc-tpl-merge-chip:hover {
  border-color: rgba(197, 162, 91, 0.55);
  color: #0d1613;
}

@media (max-width: 767.98px) {
  .tc-tpl-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tc-tpl-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 30%, rgba(13, 22, 19, 0.62));
    justify-content: flex-end;
    padding-bottom: 10px;
  }

  .tc-tpl-overlay .tc-docs-ghost-btn,
  .tc-tpl-overlay .tc-docs-primary-btn {
    min-width: 0;
    width: calc(50% - 4px);
    padding: 6px 8px;
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .tc-tpl-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Tenant portal hub / minimart —— */
.tc-tenant-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tc-tenant-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-tenant-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 22, 19, 0.08);
  color: inherit;
}

.tc-tenant-hub-card i {
  font-size: 26px;
  color: #1b2b27;
}

.tc-tenant-hub-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
}

.tc-tenant-hub-card p {
  margin: 0;
  color: #5b6561;
  font-size: 14px;
}

.tc-tenant-notice-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-tenant-notice-list li:last-child {
  border-bottom: 0;
}

.tc-tenant-dash .feature-hub-grid.is-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tc-tenant-notice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-tenant-notice-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tc-tenant-notice-card h5,
.tc-tenant-notice-card h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
}

.tc-tenant-notice-card p {
  color: var(--brand-muted);
  font-size: 13px;
  margin: 0;
}

a.tc-tenant-notice-card:hover h5 {
  color: var(--brand-accent-hover);
}

.tc-tenant-notice-body {
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tc-tenant-notice-board .tc-tenant-notice-card:first-child {
  padding-top: 0;
}

/* Restore graded ops canvas on parking (flatten wrappers use !important) */
.page-content .page-content-wrapper.tc-ops-page.tc-tenant-parking {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(27, 43, 39, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8f6 0%, #fff 42%) !important;
  padding: 28px 28px 36px !important;
  border: 1px solid rgba(27, 43, 39, 0.06) !important;
  border-radius: 20px !important;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.tc-tenant-parking .tc-docs-hero,
.tc-tenant-parking .tc-domain-status-grid,
.tc-tenant-parking .tc-tenant-visitor-band {
  width: 100%;
}

.tc-tenant-parking .tc-domain-status-grid.is-quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-tenant-parking-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px !important;
  align-items: start !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tc-tenant-parking-grid > [class*="col-"],
.tc-tenant-parking-col {
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1199.98px) {
  .tc-tenant-parking-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tc-tenant-parking .tc-domain-status-grid.is-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .tc-tenant-parking .tc-domain-status-grid.is-quad {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tc-tenant-parking-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tc-tenant-parking .tc-docs-panel {
  overflow: hidden;
  height: auto;
  min-height: 0;
  position: relative;
  z-index: auto;
}

/* Never reuse visitor QR chrome on parking */
.tc-tenant-parking .tc-pass-stage {
  min-height: 0;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
}

.tc-tenant-parking .tc-pass-card {
  height: auto;
}

.tc-tenant-permit-card {
  margin-bottom: 0;
}

.tc-tenant-permit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.tc-tenant-permit-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #66706c;
  font-weight: 600;
}

.tc-tenant-parking .tc-tenant-permit-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  color: #0d1613;
  line-height: 1.25;
}

.tc-tenant-permit-sub {
  margin: 4px 0 0;
  color: #5b6762;
  font-size: 13px;
}

.tc-tenant-permit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0;
}

.tc-tenant-permit-meta > div {
  min-width: 0;
}

.tc-tenant-permit-meta dt {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8580;
  margin: 0 0 4px;
  font-weight: 650;
}

.tc-tenant-permit-meta dd {
  margin: 0;
  color: #0d1613;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.tc-parking-plate {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
  font-size: 15px !important;
}

.tc-tenant-lot-map-head h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: #1b2b27;
}

.tc-tenant-lot {
  margin-bottom: 0;
}

.tc-tenant-lot h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1613;
}

@media (max-width: 575.98px) {
  .tc-tenant-permit-meta {
    grid-template-columns: 1fr;
  }
}

.tc-tenant-bay-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  color: #5b6762;
}

.tc-tenant-bay-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tc-tenant-bay-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
  background: #f3f4f2;
  border: 1px solid rgba(27, 43, 39, 0.12);
}

.tc-tenant-bay-swatch.is-mine {
  background: #1b2b27;
  border-color: #1b2b27;
}

.tc-tenant-bay-swatch.is-visitor {
  background: #eef6f1;
  border-color: #3d6b5a;
}

.tc-tenant-bay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.tc-tenant-bay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  padding: 12px 10px;
  border-radius: 12px;
  background: #f3f4f2;
  border: 1px solid rgba(27, 43, 39, 0.08);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #1b2b27;
}

.tc-tenant-bay.is-mine {
  background: #1b2b27;
  color: #fff;
  border-color: #1b2b27;
  box-shadow: 0 8px 18px rgba(13, 22, 19, 0.16);
}

.tc-tenant-bay.is-visitor {
  background: #eef6f1;
  border-color: #3d6b5a;
  color: #1b2b27;
}

.tc-tenant-parking-empty h3 {
  margin-bottom: 8px;
}

.tc-tenant-visitor-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(197, 162, 91, 0.28);
  background: linear-gradient(180deg, #fffdf7 0%, #f7f4ee 100%);
}

.tc-tenant-visitor-band h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: #1b2b27;
  margin: 0;
}

.tc-tenant-visitor-band .tc-docs-help {
  max-width: 62ch;
}

.tc-tenant-pass-highlight {
  box-shadow: 0 0 0 2px rgba(197, 162, 91, 0.35);
  border-color: #c5a25b !important;
}

/* —— Tenant visitor passes (preview + clickable list) —— */
.page-content .page-content-wrapper.tc-ops-page.tc-tenant-visitors {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(27, 43, 39, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8f6 0%, #fff 42%) !important;
  padding: 28px 28px 36px !important;
  border: 1px solid rgba(27, 43, 39, 0.06) !important;
  border-radius: 20px !important;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.tc-tenant-visitors .tc-docs-hero,
.tc-tenant-visitors .tc-domain-status-grid {
  width: 100%;
}

.tc-tenant-visitors .tc-domain-status-grid.is-quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-tenant-visitors .tc-visitor-ops-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px !important;
  align-items: flex-start !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tc-tenant-visitors .tc-visitor-ops-grid > [class*="col-"],
.tc-tenant-visitors .tc-visitor-preview-col,
.tc-tenant-visitors .tc-visitor-list-col {
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1199.98px) {
  .tc-tenant-visitors .tc-visitor-ops-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tc-tenant-visitors .tc-domain-status-grid.is-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .tc-tenant-visitors .tc-domain-status-grid.is-quad {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* No dark min-height stage — preview is the pass card only */
.tc-tenant-visitors .tc-pass-stage {
  min-height: 0;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  max-width: none;
  width: 100%;
}

.tc-tenant-visitors .tc-pass-card {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(13, 22, 19, 0.05);
}

.tc-tenant-visitors .tc-pass-card::before {
  height: 3px;
  background: linear-gradient(90deg, #1b2b27, #c5a25b);
}

.tc-tenant-visitors .tc-pass-card-head {
  margin-bottom: 16px;
  align-items: flex-start;
}

.tc-tenant-visitors .tc-pass-card-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b746f;
}

.tc-tenant-visitors .tc-pass-card-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0d1613;
}

.tc-tenant-visitors .tc-pass-card-sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b746f;
}

.tc-tenant-visitors .tc-pass-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 20px;
}

.tc-tenant-visitors .tc-pass-card-qr {
  width: 180px;
  height: 180px;
  padding: 10px;
  background: #f3f5f4;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tc-tenant-visitors .tc-pass-card-qr .visitor-qr-host {
  width: 160px !important;
  min-height: 0 !important;
  height: 160px;
  margin: 0 !important;
  line-height: 0;
  overflow: hidden;
}

.tc-tenant-visitors .tc-pass-card-qr .visitor-qr-host canvas,
.tc-tenant-visitors .tc-pass-card-qr .visitor-qr-host img,
.tc-tenant-visitors .tc-pass-card-qr .visitor-qr-host table {
  display: block;
  width: 160px !important;
  height: 160px !important;
  margin: 0;
}

.tc-tenant-visitors .tc-pass-card-meta {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding-top: 2px;
}

.tc-tenant-visitors .tc-pass-card-meta > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-tenant-visitors .tc-pass-card-meta > div span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b746f;
}

.tc-tenant-visitors .tc-pass-card-meta > div strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: #0d1613;
  word-break: break-word;
}

.tc-tenant-visitors .tc-pass-card-meta > div strong.tc-domain-mono {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.tc-tenant-visitors .tc-visitor-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
}

.tc-tenant-visitors .tc-visitor-preview-actions .tc-docs-primary-btn,
.tc-tenant-visitors .tc-visitor-preview-actions .tc-docs-ghost-btn {
  width: 100%;
  min-height: 40px;
  padding: 10px 16px;
  box-sizing: border-box;
}

.tc-tenant-visitors .tc-visitor-details {
  width: 100%;
}

.tc-tenant-visitors .tc-visitor-empty h3,
.tc-tenant-visitors .tc-tenant-pass-empty h3 {
  margin-bottom: 8px;
}

.tc-tenant-visitors .tc-tenant-pass-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.tc-tenant-visitors .tc-tenant-pass-list-head h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: #1b2b27;
}

.tc-tenant-visitors .tc-tenant-pass-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tc-tenant-visitors .tc-tenant-pass-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-bottom: 0;
  padding: 16px 18px;
  border: 1px solid rgba(27, 43, 39, 0.08);
  border-radius: 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tc-tenant-visitors .tc-tenant-pass-item:hover {
  border-color: rgba(197, 162, 91, 0.5);
  background: #fffdf8;
}

.tc-tenant-visitors .tc-tenant-pass-item.is-selected,
.tc-tenant-visitors .tc-tenant-pass-item.tc-tenant-pass-highlight {
  background: #fbf8f1;
  border-color: #c5a25b;
}

.tc-tenant-visitors .tc-tenant-pass-item-main {
  flex: 1;
  min-width: 0;
  text-decoration: none !important;
  color: inherit;
}

.tc-tenant-visitors .tc-tenant-pass-item-main strong {
  display: block;
  color: #0d1613;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.tc-tenant-visitors .tc-tenant-pass-item-main .tc-prop-row-muted {
  margin-top: 2px;
}

.tc-tenant-visitors .tc-tenant-pass-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 13px;
  color: #5b6762;
}

.tc-tenant-visitors .tc-tenant-pass-item-action {
  flex-shrink: 0;
  margin: 0;
}

.tc-tenant-visitors .tc-tenant-pass-cancel {
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.tc-tenant-visitors .tc-visitor-empty,
.tc-tenant-visitors .tc-tenant-pass-empty {
  width: 100%;
  background:
    radial-gradient(circle at 12% 0%, rgba(197, 162, 91, 0.12), transparent 46%),
    #fff;
}

@media (max-width: 575.98px) {
  .tc-tenant-visitors .tc-pass-card-body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .tc-tenant-visitors .tc-pass-card-meta {
    width: 100%;
  }

  .tc-tenant-visitors .tc-pass-card-meta > div span,
  .tc-tenant-visitors .tc-pass-card-meta > div strong {
    text-align: center;
  }

  .tc-tenant-visitors .tc-visitor-preview-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .tc-tenant-visitors .tc-tenant-pass-item {
    flex-wrap: wrap;
  }

  .tc-tenant-visitors .tc-tenant-pass-item-action {
    width: 100%;
  }
}

/* —— Tenant Minimart / services (ecommerce) —— */
body.tc-mart-chrome .tc-tenant-section-nav,
body.tc-mart-chrome .cpms-section-nav {
  display: none !important;
}

body.tc-mart-chrome .main-content {
  background: #fff !important;
}

body.tc-mart-chrome .page-content {
  background: #fff !important;
  padding: calc(var(--brand-header) + 0px) 0 24px !important;
}

body.tc-mart-chrome .page-content > .container-fluid {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.tc-mart-chrome .page-content-wrapper.tc-mart-page,
body.tc-mart-chrome .tc-mart-page {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0 48px !important;
  min-height: auto !important;
}

body.tc-mart-chrome .tc-mart-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px 0;
}

body.tc-mart-chrome .tc-mart-promo {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 128px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #0d0f12;
  color: #fff !important;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

body.tc-mart-chrome .tc-mart-promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 28px;
}

body.tc-mart-chrome .tc-mart-promo-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

body.tc-mart-chrome .tc-mart-promo h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.tc-mart-chrome .tc-mart-promo p {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  opacity: 0.88;
}

body.tc-mart-chrome .tc-mart-promo-cta {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

body.tc-mart-chrome .tc-mart-back {
  display: inline-block;
  margin: 0 0 10px;
  color: #8a918d !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-title {
  display: inline-block;
  margin: 0 0 22px;
  padding: 0 0 8px;
  color: #111;
  font-size: clamp(32px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  border-bottom: 5px solid #111;
}

body.tc-mart-chrome .tc-mart-cuisines {
  margin: 0 0 28px;
}

body.tc-mart-chrome .tc-mart-cuisines h2 {
  margin: 0 0 12px;
  color: #222;
  font-size: 15px;
  font-weight: 750;
}

body.tc-mart-chrome .tc-mart-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.tc-mart-chrome .tc-mart-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #eceeed;
  color: #1f2422 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

body.tc-mart-chrome .tc-mart-pill:hover {
  background: #e2e5e3;
}

body.tc-mart-chrome .tc-mart-pill.is-active {
  background: #dfe2e0;
  color: #111 !important;
}

body.tc-mart-chrome .tc-mart-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

body.tc-mart-chrome .tc-mart-card {
  background: #fff;
  min-width: 0;
}

body.tc-mart-chrome .tc-mart-photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
  background: #eceeed;
}

body.tc-mart-chrome .tc-mart-photo-link,
body.tc-mart-chrome .tc-mart-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

body.tc-mart-chrome .tc-mart-photo img {
  object-fit: cover;
  object-position: center;
}

body.tc-mart-chrome .tc-mart-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #6b746f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body.tc-mart-chrome .tc-mart-fav.is-on,
body.tc-mart-chrome .tc-mart-fav.is-on i {
  color: #c0392b;
}

body.tc-mart-chrome .tc-mart-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 7px 12px;
  background: #f5c518;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.tc-mart-chrome .tc-mart-closed-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(32, 34, 33, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.tc-mart-chrome .tc-mart-closed-overlay i {
  font-size: 18px;
}

body.tc-mart-chrome .tc-mart-card.is-closed .tc-mart-photo img {
  filter: grayscale(0.35) brightness(0.72);
}

body.tc-mart-chrome .tc-mart-body {
  display: block;
  padding: 12px 2px 4px;
  color: inherit !important;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-body h3 {
  margin: 0 0 6px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

body.tc-mart-chrome .tc-mart-verified {
  display: inline;
  margin-left: 4px;
  color: #1f8a4c;
  font-size: 15px;
  vertical-align: -2px;
}

body.tc-mart-chrome .tc-mart-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: #8a918d;
  font-size: 12px;
  font-weight: 600;
}

body.tc-mart-chrome .tc-mart-price {
  color: #6b746f;
  font-weight: 650;
}

body.tc-mart-chrome .tc-mart-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

body.tc-mart-chrome .tc-mart-rating i {
  color: #f5b301;
  font-size: 13px;
}

body.tc-mart-chrome .tc-mart-eta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

body.tc-mart-chrome .tc-mart-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed #e6e8e6;
  border-radius: 16px;
}

body.tc-mart-chrome .tc-mart-empty i {
  display: block;
  margin-bottom: 10px;
  color: #8a918d;
  font-size: 36px;
}

body.tc-mart-chrome .tc-mart-empty h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

body.tc-mart-chrome .tc-mart-empty p {
  margin-bottom: 16px;
  color: #5b6762;
}

body.tc-mart-chrome .tc-mart-empty-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-empty--compact {
  padding: 28px 18px;
}

body.tc-mart-chrome .tc-mart-nearby {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #eceeed;
}

body.tc-mart-chrome .tc-mart-nearby-head h2,
body.tc-mart-chrome .tc-mart-nearby-head h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 750;
}

body.tc-mart-chrome .tc-mart-nearby-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

body.tc-mart-chrome .tc-mart-nearby-card {
  flex: 0 0 min(260px, 80vw);
  background: #fff;
  border: 1px solid #eceeed;
  border-radius: 16px;
  padding: 16px;
}

body.tc-mart-chrome .tc-mart-nearby-card h3,
body.tc-mart-chrome .tc-mart-nearby-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

body.tc-mart-chrome .tc-mart-nearby-dist,
body.tc-mart-chrome .tc-mart-nearby-card p {
  margin: 0 0 6px;
  color: #5b6762;
  font-size: 13px;
}

body.tc-mart-chrome .tc-mart-crumb {
  margin: 0 0 18px;
  color: #9aa19d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.tc-mart-chrome .tc-mart-crumb a {
  color: #9aa19d !important;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-crumb span {
  margin: 0 6px;
}

body.tc-mart-chrome .tc-mart-detail-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
}

body.tc-mart-chrome .tc-mart-detail-photo {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #eceeed;
}

body.tc-mart-chrome .tc-mart-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tc-mart-chrome .tc-mart-eta-pill {
  position: absolute;
  right: 56px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #1b2b27;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

body.tc-mart-chrome .tc-mart-detail-photo .tc-mart-fav {
  top: auto;
  bottom: 14px;
  right: 14px;
}

body.tc-mart-chrome .tc-mart-detail-name {
  margin: 0 0 6px;
  color: #111;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.tc-mart-chrome .tc-mart-verified-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: #1f8a4c;
  font-size: 14px;
  font-weight: 750;
}

body.tc-mart-chrome .tc-mart-verified-info {
  color: #8a918d;
  font-size: 14px;
  font-weight: 400;
}

body.tc-mart-chrome .tc-mart-resident-row {
  margin: 0 0 10px;
  color: #8a6a24;
  font-size: 13px;
  font-weight: 700;
}

body.tc-mart-chrome .tc-mart-detail-blurb {
  margin: 0 0 12px;
  color: #5b6360;
  font-size: 14px;
  line-height: 1.55;
}

body.tc-mart-chrome .tc-mart-more-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #148a5a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

body.tc-mart-chrome .tc-mart-more-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.tc-mart-chrome .tc-mart-more-panel {
  margin: 0 0 14px;
  color: #4d5652;
  font-size: 13px;
}

body.tc-mart-chrome .tc-mart-more-panel p {
  margin: 0 0 6px;
}

body.tc-mart-chrome .tc-mart-more-panel a {
  color: #1b2b27 !important;
  text-decoration: none !important;
}

body.tc-mart-chrome .tc-mart-detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: #111;
  font-size: 15px;
  font-weight: 750;
}

body.tc-mart-chrome .tc-mart-detail-rating .ri-copper-coin-fill {
  color: #7b61ff;
  font-size: 18px;
}

body.tc-mart-chrome .tc-mart-detail-rating .ri-arrow-right-s-line {
  color: #9aa19d;
  font-size: 20px;
  margin-left: 2px;
}

body.tc-mart-chrome .tc-mart-status {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.tc-mart-chrome .tc-mart-status.is-open {
  color: #1f8a4c;
}

body.tc-mart-chrome .tc-mart-status.is-closed {
  color: #d32f2f;
}

body.tc-mart-chrome .tc-mart-shop-search {
  position: relative;
  margin-bottom: 8px;
}

body.tc-mart-chrome .tc-mart-shop-search input[type="search"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f2f3f2;
  padding: 0 16px 0 42px;
  color: #1b2b27;
  font-size: 14px;
}

body.tc-mart-chrome .tc-mart-shop-search input[type="search"]:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(20, 138, 90, 0.16);
}

body.tc-mart-chrome .tc-mart-shop-search > i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #8a918d;
  font-size: 18px;
  pointer-events: none;
}

body.tc-mart-chrome .tc-mart-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  margin: 0 0 22px;
  overflow-x: auto;
  border-bottom: 1px solid #eceeed;
  scrollbar-width: none;
}

body.tc-mart-chrome .tc-mart-tabs::-webkit-scrollbar {
  display: none;
}

body.tc-mart-chrome .tc-mart-tab {
  flex-shrink: 0;
  padding: 10px 0 12px;
  border-bottom: 3px solid transparent;
  color: #6b746f !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

body.tc-mart-chrome .tc-mart-tab.is-active {
  border-bottom-color: #1f8a4c;
  color: #143d2c !important;
  font-weight: 750;
}

body.tc-mart-chrome .tc-mart-section {
  margin-bottom: 28px;
  scroll-margin-top: 18px;
}

body.tc-mart-chrome .tc-mart-section h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.tc-mart-chrome .tc-mart-items {
  display: grid;
  gap: 12px;
}

body.tc-mart-chrome .tc-mart-items.is-stack {
  grid-template-columns: 1fr;
}

body.tc-mart-chrome .tc-mart-items.is-split {
  grid-template-columns: 1fr 1fr;
}

body.tc-mart-chrome .tc-mart-item {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 12px;
  align-items: center;
  min-height: 108px;
  padding: 12px 12px 12px 16px;
  border: 1px solid #eceeed;
  border-radius: 14px;
  background: #fff;
}

body.tc-mart-chrome .tc-mart-item-copy h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

body.tc-mart-chrome .tc-mart-item-copy p {
  margin: 0 0 8px;
  color: #8a918d;
  font-size: 13px;
}

body.tc-mart-chrome .tc-mart-item-price {
  margin: 0 !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.tc-mart-chrome .tc-mart-item-media {
  position: relative;
  width: 92px;
  height: 92px;
}

body.tc-mart-chrome .tc-mart-item-media img,
body.tc-mart-chrome .tc-mart-item-placeholder {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f3;
}

body.tc-mart-chrome .tc-mart-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a918d;
  font-size: 28px;
}

body.tc-mart-chrome .tc-mart-stepper {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.tc-mart-chrome .tc-mart-add,
body.tc-mart-chrome .tc-mart-step {
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

body.tc-mart-chrome .tc-mart-add:hover,
body.tc-mart-chrome .tc-mart-step:hover {
  background: #f7f8f7;
}

body.tc-mart-chrome .tc-mart-qty {
  min-width: 18px;
  padding: 0 2px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

body.tc-mart-chrome .tc-mart-item.has-qty .tc-mart-stepper {
  padding: 3px 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

body.tc-mart-chrome .tc-mart-order-bar {
  position: sticky;
  bottom: 12px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.tc-mart-chrome .tc-mart-order-bar strong {
  display: block;
}

body.tc-mart-chrome .tc-mart-order-bar span {
  font-size: 13px;
  opacity: 0.82;
}

body.tc-mart-chrome .tc-mart-order-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
}

@media (max-width: 1199.98px) {
  body.tc-mart-chrome .page-content {
    padding-top: calc(var(--brand-header) + 0px) !important;
  }

  body.tc-mart-chrome .tc-mart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.tc-mart-chrome .tc-mart-detail-grid {
    grid-template-columns: 1fr;
  }

  body.tc-mart-chrome .tc-mart-detail-photo {
    max-width: 360px;
  }

  body.tc-mart-chrome .tc-mart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.tc-mart-chrome .page-content {
    padding: calc(var(--brand-header) + 0px) 0 24px !important;
  }

  body.tc-mart-chrome .tc-mart-inner,
  body.tc-mart-chrome .tc-mart-promo-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.tc-mart-chrome .tc-mart-promo {
    min-height: 118px;
  }

  body.tc-mart-chrome .tc-mart-title {
    font-size: 28px;
    border-bottom-width: 4px;
  }

  body.tc-mart-chrome .tc-mart-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  body.tc-mart-chrome .tc-mart-items.is-split {
    grid-template-columns: 1fr;
  }

  body.tc-mart-chrome .tc-mart-item {
    grid-template-columns: 1fr 80px;
  }

  body.tc-mart-chrome .tc-mart-item-media,
  body.tc-mart-chrome .tc-mart-item-media img,
  body.tc-mart-chrome .tc-mart-item-placeholder {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 575.98px) {
  body.tc-mart-chrome .tc-mart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .tc-tenant-hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .tc-tenant-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Tenant document library —— */
.tc-tenant-library .tc-lib-tabs .header-chip,
.tc-tenant-library .tc-lib-subtabs .header-chip {
  display: inline-flex;
}

.tc-tenant-library .tc-lib-subtabs .header-chip {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.tc-tenant-library .tc-lib-alert {
  align-items: center;
}

.tc-lib-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27, 43, 39, 0.08);
}

.tc-lib-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tc-lib-row:first-child {
  padding-top: 0;
}

.tc-lib-row-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.tc-lib-row-main h4 {
  font-size: 16px;
  font-weight: 650;
}

.tc-lib-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tc-lib-type {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(13, 22, 19, 0.06);
  color: #1b2b27;
}

.tc-lib-type--kyc {
  background: rgba(197, 162, 91, 0.18);
  color: #6d5420;
}

.tc-lib-type--shared {
  background: rgba(27, 43, 39, 0.08);
  color: #1b2b27;
}

.tc-lib-type--agreement {
  background: rgba(20, 108, 67, 0.12);
  color: #146c43;
}

.tc-lib-status {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: rgba(13, 22, 19, 0.06);
  color: #4a5550;
}

.tc-lib-status--ok {
  background: rgba(20, 108, 67, 0.12);
  color: #146c43;
}

.tc-lib-status--warn {
  background: rgba(197, 162, 91, 0.2);
  color: #8a6a24;
}

.tc-lib-status--bad {
  background: rgba(176, 42, 55, 0.12);
  color: #b02a37;
}

.tc-lib-status--muted {
  background: rgba(13, 22, 19, 0.06);
  color: #6b746f;
}

.tc-lib-card h4 {
  margin: 8px 0 4px;
  font-size: 17px;
}

@media (max-width: 575.98px) {
  .tc-lib-row-main {
    width: 100%;
  }
}

/* —— Tenant notice board (cork kanban) —— */
.page-content .page-content-wrapper.tc-ops-page.tc-notice-board {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(27, 43, 39, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8f6 0%, #fff 42%) !important;
  padding: 28px 28px 36px !important;
  border: 1px solid rgba(27, 43, 39, 0.06) !important;
  border-radius: 20px !important;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.tc-notice-board .tc-docs-hero,
.tc-notice-board .tc-kanban {
  width: 100%;
  max-width: none;
}

.tc-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  border: 8px solid #8a6233;
  border-radius: 10px;
  overflow: hidden;
  background: #8a6233;
  box-shadow:
    inset 0 0 0 2px rgba(255, 230, 180, 0.22),
    0 16px 36px rgba(60, 36, 12, 0.22);
}

.tc-kanban-lane {
  min-height: 460px;
  padding: 12px 12px 20px;
  background-color: #c9a06e;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(92, 58, 28, 0.22) 0 1.1px, transparent 1.4px),
    radial-gradient(circle at 78% 32%, rgba(140, 92, 48, 0.2) 0 1px, transparent 1.3px),
    radial-gradient(circle at 34% 64%, rgba(70, 42, 20, 0.18) 0 1.3px, transparent 1.7px),
    radial-gradient(circle at 62% 82%, rgba(168, 118, 64, 0.22) 0 0.9px, transparent 1.2px),
    radial-gradient(circle at 90% 8%, rgba(80, 48, 24, 0.16) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 8% 88%, rgba(120, 78, 40, 0.18) 0 1px, transparent 1.4px),
    repeating-linear-gradient(18deg, rgba(90, 55, 28, 0.05) 0 2px, transparent 2px 6px),
    linear-gradient(165deg, #d7b48a 0%, #c49a68 48%, #b88854 100%);
  background-size:
    17px 17px,
    21px 21px,
    15px 15px,
    19px 19px,
    23px 23px,
    14px 14px,
    100% 100%,
    100% 100%;
}

.tc-kanban-lane + .tc-kanban-lane {
  border-left: 4px solid #8a6233;
}

.tc-kanban-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(180deg, #f3e6c8 0%, #e8d4a8 100%);
  border: 1px solid rgba(90, 55, 25, 0.18);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 4px;
  box-shadow: 0 2px 4px rgba(40, 24, 10, 0.18);
}

.tc-kanban-lane-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a2a16;
}

.tc-kanban-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(58, 42, 22, 0.12);
  color: #3a2a16;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
}

.tc-kanban-lane-body {
  display: grid;
  gap: 0;
  align-content: start;
}

.tc-kanban-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 22px 14px 14px;
  border: 0;
  border-radius: 2px;
  text-align: left;
  color: #2c2418;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1.4;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    2px 5px 10px rgba(40, 24, 10, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tc-kanban-lane-body .tc-kanban-card:nth-child(odd) {
  transform: rotate(-0.9deg);
}

.tc-kanban-lane-body .tc-kanban-card:nth-child(even) {
  transform: rotate(0.8deg);
}

.tc-kanban-card:hover,
.tc-kanban-card:focus-visible {
  transform: rotate(0deg) translateY(-2px);
  z-index: 2;
  outline: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    3px 8px 16px rgba(40, 24, 10, 0.38);
}

.tc-kanban-card--yellow {
  background: linear-gradient(180deg, #fff3a3 0%, #f5de55 100%);
}

.tc-kanban-card--pink {
  background: linear-gradient(180deg, #ffd0db 0%, #f4a8bc 100%);
}

.tc-kanban-card--mint {
  background: linear-gradient(180deg, #d4f5a8 0%, #b4e878 100%);
}

.tc-kanban-card--blue {
  background: linear-gradient(180deg, #c8ebfb 0%, #92d0ef 100%);
}

.tc-kanban-card--safety {
  background: #fffef8;
  padding-top: 18px;
}

.tc-kanban-card--empty {
  cursor: default;
  transform: rotate(-0.4deg) !important;
  background: #e8dcc6 !important;
  color: #7a6a55;
  box-shadow: 1px 3px 6px rgba(40, 24, 10, 0.18);
  font-weight: 650;
}

.tc-kanban-lane--ended .tc-kanban-card:not(.tc-kanban-card--empty) {
  filter: saturate(0.82);
  opacity: 0.94;
}

.tc-kanban-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  color: #1f1a12;
}

.tc-kanban-excerpt {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #43382a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}

.tc-kanban-dates {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a5a42;
}

.tc-kanban-safety-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5d000;
  margin: 0 -8px 8px;
  padding: 10px 0 8px;
}

.tc-kanban-safety-label {
  display: block;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #111;
  margin-bottom: 8px;
}

.tc-kanban-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  z-index: 3;
  box-shadow:
    0 3px 4px rgba(0, 0, 0, 0.35),
    inset 0 -2px 3px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
}

.tc-kanban-pin::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 6px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.tc-kanban-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: linear-gradient(#9aa0a6, #6b7178);
  border-radius: 1px;
}

.tc-kanban-pin--red {
  background: radial-gradient(circle at 35% 30%, #ff8d8d, #d21f2d 55%, #8e1018);
}

.tc-kanban-pin--amber {
  background: radial-gradient(circle at 35% 30%, #ffe58a, #e0a21a 55%, #9a6a08);
}

.tc-kanban-pin--sky {
  background: radial-gradient(circle at 35% 30%, #c9ecff, #3aa0d8 55%, #1a6a98);
}

.tc-kanban-pin--green {
  background: radial-gradient(circle at 35% 30%, #b6e8b0, #2f8a3a 55%, #16521e);
}

.tc-kanban-pin--navy {
  background: radial-gradient(circle at 35% 30%, #9eb6e8, #243f86 55%, #13224c);
}

.tc-kanban-pin--muted {
  background: radial-gradient(circle at 35% 30%, #e8e0d4, #a89880 55%, #6f6350);
}

.tc-notice-modal-body {
  white-space: pre-wrap;
  color: #2c2418;
  line-height: 1.65;
  font-size: 15px;
}

.tc-notice-modal-safety {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5d000;
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.tc-notice-modal-safety.d-none {
  display: none !important;
}

.tc-notice-modal-safety .tc-kanban-safety-mark {
  margin: 0;
  background: transparent;
  padding: 0;
}

.tc-tenant-mini-stickies {
  display: grid;
  gap: 12px;
}

.tc-tenant-mini-sticky {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px 12px 12px;
  border-radius: 2px;
  box-shadow: 1px 3px 7px rgba(40, 24, 10, 0.18);
  transition: transform 0.15s ease;
}

.tc-tenant-mini-sticky:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.tc-tenant-mini-sticky:nth-child(even) {
  transform: rotate(0.7deg);
}

.tc-tenant-mini-sticky:hover {
  transform: rotate(0deg);
  color: inherit;
}

.tc-tenant-mini-sticky h5 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #1f1a12;
}

.tc-tenant-mini-sticky p {
  margin: 0;
  font-size: 12px;
  color: #5a4e3c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-tenant-mini-sticky--yellow {
  background: linear-gradient(180deg, #fff3a3 0%, #f5de55 100%);
}

.tc-tenant-mini-sticky--pink {
  background: linear-gradient(180deg, #ffd0db 0%, #f4a8bc 100%);
}

.tc-tenant-mini-sticky--mint {
  background: linear-gradient(180deg, #d4f5a8 0%, #b4e878 100%);
}

.tc-tenant-mini-sticky--blue {
  background: linear-gradient(180deg, #c8ebfb 0%, #92d0ef 100%);
}

.tc-tenant-mini-sticky--safety {
  background: #fffef8;
  box-shadow: 1px 3px 7px rgba(40, 24, 10, 0.18), inset 0 0 0 2px #f5d000;
}

.tc-tenant-mini-sticky .tc-kanban-pin {
  top: -8px;
}

@media (max-width: 991.98px) {
  .tc-kanban {
    grid-template-columns: 1fr;
    border-width: 6px;
  }

  .tc-kanban-lane + .tc-kanban-lane {
    border-left: 0;
    border-top: 4px solid #8a6233;
  }

  .tc-kanban-lane {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .page-content .page-content-wrapper.tc-ops-page.tc-notice-board {
    padding: 18px 14px 24px !important;
  }
}

/* —— Tenant enterprise chrome —— */
body.tc-tenant-ent #page-topbar .navbar-header {
  justify-content: space-between !important;
  align-items: center;
}

.tc-tenant-workspace {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow);
  text-decoration: none !important;
  color: inherit;
  max-width: min(520px, 58vw);
}

.tc-tenant-workspace:hover {
  border-color: var(--brand-accent-border);
  color: inherit;
}

.tc-tenant-workspace-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.tc-tenant-workspace-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.tc-tenant-workspace-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-muted);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-canvas);
  border: 1px solid var(--brand-border);
}

.tc-tenant-ent .tc-tenant-section-nav {
  gap: 4px !important;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  box-shadow: var(--brand-shadow);
  margin-bottom: 22px !important;
}

.tc-tenant-ent .tc-tenant-section-nav .header-chip {
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.tc-tenant-ent .tc-tenant-section-nav .header-chip i {
  font-size: 15px;
  opacity: 0.85;
}

.tc-tenant-ent .tc-tenant-section-nav .header-chip:hover {
  background: var(--brand-canvas);
  color: var(--brand-dark);
}

.tc-tenant-ent .tc-tenant-section-nav .header-chip-accent,
.tc-tenant-ent .tc-tenant-section-nav .header-chip-accent:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}

.tc-tenant-ent .tc-tenant-section-nav .header-chip-accent i {
  color: var(--brand-accent);
  opacity: 1;
}

.tc-tenant-ent .tc-tenant-dash .feature-hub-grid.is-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tc-tenant-ent .tc-tenant-dash .feature-hub-card {
  min-height: 96px;
}

.tc-tenant-ent .tc-domain-status-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-tenant-ent a.tc-domain-status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 22, 19, 0.08);
}

.tc-tenant-toolbar .page-inner-search .ri-search-line {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-muted);
}

.tc-ent-ticket {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px !important;
}

.tc-ent-ticket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tc-ent-ticket h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.tc-ent-ticket-body {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}

.tc-ent-ticket-more {
  color: var(--brand-muted);
  padding: 4px;
}

.tc-ent-reply {
  padding: 14px 0;
  border-top: 1px solid var(--brand-border);
}

.tc-ent-reply:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.tc-ent-notice-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--brand-border);
  color: inherit;
}

.tc-ent-notice-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tc-ent-notice-row:first-child {
  padding-top: 0;
}

.tc-ent-notice-row:hover strong {
  color: var(--brand-dark);
}

.tc-ent-amenity-img {
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-canvas);
}

.tc-ent-amenity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-tenant-empty {
  padding: 40px 24px !important;
}

.tc-tenant-chats .tc-wa-shell {
  margin-top: 0;
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-lg);
}

.tc-tenant-ent .tc-docs-hero h2 {
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.tc-tenant-ent .dataTables_wrapper .dataTables_filter input,
.tc-tenant-ent .dataTables_wrapper .dataTables_length select {
  border-radius: 10px;
  border-color: var(--brand-border);
}

@media (max-width: 1199.98px) {
  .tc-tenant-ent .tc-tenant-dash .feature-hub-grid.is-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tc-tenant-workspace-name {
    max-width: 140px;
  }

  .tc-tenant-ent .tc-tenant-section-nav {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  .tc-tenant-ent .tc-tenant-section-nav .header-chip {
    flex: 0 0 auto;
  }

  .tc-tenant-ent .tc-tenant-dash .feature-hub-grid.is-tiles {
    grid-template-columns: 1fr;
  }
}

/* —— Google Places–grade nearby spots —— */
.tc-places-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.tc-places-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tc-place-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tc-place-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 168px;
  padding: 0;
  border: 0;
  background: #eef1ef;
  cursor: pointer;
}

.tc-place-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-place-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.tc-place-cat-transit { background: linear-gradient(135deg, #1b3a4b, #3d7ea6); }
.tc-place-cat-health { background: linear-gradient(135deg, #3d5a40, #6a9b6e); }
.tc-place-cat-grocery { background: linear-gradient(135deg, #6a4a1f, #c5a25b); }
.tc-place-cat-food { background: linear-gradient(135deg, #6b2f24, #c46a4a); }
.tc-place-cat-education { background: linear-gradient(135deg, #2f3d6b, #6a7ec4); }
.tc-place-cat-recreation { background: linear-gradient(135deg, #2f5a3d, #5fa87a); }
.tc-place-cat-finance { background: linear-gradient(135deg, #2c3e36, #5f7a6e); }
.tc-place-cat-worship { background: linear-gradient(135deg, #4a3d2f, #8a7354); }
.tc-place-cat-place { background: linear-gradient(135deg, #1b2b27, #3d6b5a); }

.tc-place-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(13, 22, 19, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

.tc-place-card-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
}

.tc-place-card-title {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  cursor: pointer;
}

.tc-place-card-title:hover {
  color: var(--brand-accent-hover);
}

.tc-place-card-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 600;
}

.tc-place-card-about {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.45;
}

.tc-place-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tc-place-sheet .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
}

.tc-place-sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px !important;
  width: 36px;
  height: 36px;
}

.tc-place-sheet-hero {
  position: relative;
  height: 240px;
  background: #1b2b27;
}

.tc-place-sheet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-place-sheet-hero-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  background: linear-gradient(135deg, #1b2b27, #3d6b5a);
}

.tc-place-sheet-body {
  padding: 22px 24px 28px;
}

.tc-place-sheet-body h2 {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.tc-place-sheet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--brand-muted);
  font-weight: 600;
  font-size: 14px;
}

.tc-place-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-place-about h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.tc-place-about p {
  color: #3d4a45;
  line-height: 1.55;
}

@media (max-width: 1199.98px) {
  .tc-places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tc-places-grid {
    grid-template-columns: 1fr;
  }

  .tc-place-sheet-hero {
    height: 180px;
  }
}

