.public-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;font-size:12px!important;color:#53627f;line-height:1.5}.public-consent input{width:16px!important;min-height:16px!important;height:16px;margin-top:2px;flex-shrink:0;accent-color:#8b7133}.public-property-page{max-width:1240px;margin:24px auto 50px;padding:0 24px}.public-detail-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:26px}.public-detail-toolbar div{display:flex;gap:10px}.public-detail-toolbar button,.public-document{padding:9px 13px;border:1px solid #dce2ea;border-radius:8px;background:#fff;font-size:13px}.public-property-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 22px}.public-property-heading h1{font-size:29px;line-height:1.25;margin:7px 0;letter-spacing:-.6px}.public-property-heading p{color:#64748b;font-size:13px}.public-eyebrow{color:#8b7133!important;font-size:11px!important;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.public-property-price{font-size:25px;color:#806324;white-space:nowrap}.public-cover-photo{width:100%;height:480px;object-fit:cover;border-radius:14px;background:#f1f3f6;display:block}.public-photo-thumbnails{display:flex;gap:10px;margin-top:12px;overflow:auto;padding:3px}.public-photo-thumbnails button{padding:0;border:2px solid transparent;border-radius:8px;flex-shrink:0;overflow:hidden}.public-photo-thumbnails button[aria-pressed=true]{border-color:#967734}.public-photo-thumbnails img{display:block;object-fit:cover}.public-detail-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;margin-top:28px}.public-detail-card{border:1px solid #e3e7ed;border-radius:13px;padding:24px;margin-bottom:20px;background:#fff}.public-detail-card h2{font-size:17px;margin:0 0 18px}.public-detail-card p{font-size:13px;line-height:1.7;color:#53627f}.public-description{white-space:pre-wrap}.public-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}.public-spec{padding:12px;background:#f8fafc;border-radius:8px;min-width:0}.public-spec dt{font-size:11px;color:#718096;margin-bottom:5px}.public-spec dd{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere}.public-amenities{display:flex;gap:9px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.public-amenities li{padding:8px 12px;background:#faf8f2;border:1px solid #e7dfcb;border-radius:8px;font-size:12px;color:#695627}.public-document{display:inline-flex;margin:5px 8px 5px 0;color:#806324}.public-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.public-related a{border:1px solid #e5e9ef;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding-bottom:14px}.public-related img{width:100%;height:170px;object-fit:cover}.public-related strong,.public-related span{padding:0 14px;font-size:13px}.public-related span{color:#64748b;font-size:12px}.public-detail-card input,.public-detail-card textarea{width:100%;border:1px solid #d7dfea;border-radius:8px;padding:10px 12px;font-size:13px;outline:none;box-shadow:none!important}.public-detail-card input:focus,.public-detail-card textarea:focus{border-color:#967734}.public-photo-empty{min-height:300px;display:grid;place-items:center;background:#f5f6f8;color:#758198;border-radius:12px}@media(max-width:800px){.public-detail-columns{grid-template-columns:1fr}.public-property-heading{align-items:flex-start;flex-direction:column;gap:6px}.public-cover-photo{height:330px}.public-related{grid-template-columns:1fr}.public-property-page{padding:0 16px}.public-detail-card{padding:18px}.public-property-heading h1{font-size:24px}}@media(max-width:480px){.public-specs{grid-template-columns:1fr}.public-cover-photo{height:230px}.public-property-price{font-size:22px}}
.tnd-public-admin-overlay{position:fixed;right:0;bottom:0;z-index:45;overflow:auto;padding:28px;background:#f5f6f8;font-family:inherit;color:#172033}.tnd-public-admin-heading,.tnd-public-seo-form{padding:22px 24px;border:1px solid #e4e8ef;border-radius:13px;background:#fff;margin-bottom:18px}.tnd-public-admin-heading h2{font-size:19px;margin:0 0 7px}.tnd-public-admin-heading p,.tnd-public-seo-form>p{font-size:13px;color:#64748b;line-height:1.55;margin:0}.tnd-public-admin-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.tnd-public-admin-toolbar input{flex:1;min-width:220px}.tnd-public-admin-overlay input,.tnd-public-admin-overlay textarea,.tnd-public-admin-overlay select{padding:10px 12px;border:1px solid #d7dfea;border-radius:8px;background:#fff;font:inherit;font-size:13px;outline:none;box-shadow:none}.tnd-public-admin-overlay input:focus,.tnd-public-admin-overlay textarea:focus,.tnd-public-admin-overlay select:focus{border-color:#967734}.tnd-public-admin-overlay table{background:white}.tnd-public-admin-overlay td{font-size:13px;max-width:320px;white-space:normal;overflow-wrap:anywhere}.tnd-public-admin-empty{text-align:center;background:#fff;padding:46px;border:1px solid #e5e9ef;border-radius:12px}.tnd-public-admin-empty img{object-fit:contain}.tnd-public-admin-empty h3{font-size:17px}.tnd-public-admin-empty p{color:#64748b;font-size:13px}.tnd-public-seo-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1080px}.tnd-public-seo-form>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.tnd-public-seo-form>p{grid-column:1/-1}.tnd-public-seo-form button{justify-self:start}.tnd-public-seo-form .public-consent{grid-column:1/-1;align-items:center}@media(max-width:700px){.tnd-public-admin-overlay{padding:16px}.tnd-public-seo-form{grid-template-columns:1fr}.tnd-public-admin-overlay .tnd-table-container{overflow:auto}}
@media(max-width:800px){.site-header{position:relative;padding:0 16px!important;height:65px!important}.site-header .header-inner{width:100%!important;min-width:0;gap:12px!important;padding:0!important;display:flex}.site-header .site-nav{display:none!important}.site-header .site-nav.mobile-open{display:flex!important;position:absolute;top:65px;left:12px;right:12px;z-index:20;flex-direction:column;align-items:stretch;padding:12px 18px;background:#fff;border:1px solid #e1e6ee;border-radius:10px;box-shadow:0 12px 25px #17203315;gap:0;width:auto}.site-header .site-nav.mobile-open button{height:42px;text-align:left;white-space:normal}.site-header .header-actions{margin-left:auto;gap:12px;flex-shrink:0}.site-header .dark-button,.site-header .profile{display:none!important}.site-header .mobile-menu{display:grid!important}.site-header .brand{flex-shrink:1}.site-header .brand svg{width:40px}.site-header .brand>span{font-size:17px}.site-header .brand>span>span{font-size:16px}}
.tnd-team-confirm{border:1px solid #e0e5ee;border-radius:14px;box-shadow:0 20px 70px #17203330;max-width:450px;width:calc(100% - 32px);padding:24px;font:14px inherit;color:#172033}.tnd-team-confirm::backdrop{background:#0f172a70}.tnd-team-confirm h3{margin:0 0 12px;font-size:18px}.tnd-team-confirm p{font-size:13px;color:#64748b;line-height:1.55}.tnd-team-confirm label{display:flex;flex-direction:column;gap:7px;font-size:13px}.tnd-team-confirm input{border:1px solid #d7dfea;border-radius:8px;padding:10px;font:inherit;outline:none}.tnd-team-confirm input:focus{border-color:#927535}.tnd-external-admin-screen .tnd-nav-btn.active:not(.tnd-external-active){background:transparent!important;color:#53627f!important;border-color:transparent!important;box-shadow:none!important}.tnd-external-admin-screen .tnd-nav-btn.tnd-external-active{background:#faf8f2!important;color:#806324!important;border-color:#e3d9c1!important;font-weight:700}
button.tnd-notification-item{display:flex;width:100%;text-align:left;font:inherit;color:inherit;background:#fff;border:0;border-bottom:1px solid #edf0f5;cursor:pointer}button.tnd-notification-item:hover{background:#fff9e8}button.tnd-notification-item[hidden]{display:none!important}
/* Preserve the original public property page layout with database records. */
.property-detail-page .detail-white-card{scroll-margin-top:110px}
.property-detail-page .detail-status-pill{background:#f8f2e3;color:#806324;border:1px solid #e5d8b7}
.property-detail-page .similar-card{display:block;color:inherit;text-decoration:none}
.property-detail-page .restored-detail-map{display:block;width:100%;height:300px;border:0;border-radius:12px;margin:16px 0}
.property-detail-page .restored-detail-documents{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.property-detail-page .restored-detail-documents .brochure-btn{width:auto;margin:0;padding:10px 16px;text-decoration:none}
.property-detail-page .advisor-avatar{font-size:14px;font-weight:700}
.property-detail-page .gallery-nav-btn,.property-detail-page .lightbox-nav-btn{font-size:28px}
.property-detail-page .public-consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5}
.property-detail-page .public-consent input{width:16px;min-width:16px;height:16px;flex:none;margin-top:2px}
@media(max-width:700px){.property-detail-page .detail-breadcrumbs{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.property-detail-page .restored-detail-map{height:240px}.property-detail-page .similar-price{font-size:14px}.property-detail-page .detail-price-figure{overflow-wrap:anywhere}}

/* Listing navigation belongs to the image banner, directly below the header. */
.hero:has(>.listing-nav-breadcrumb-bar){margin-top:0;padding-top:54px}
.hero>.listing-nav-breadcrumb-bar{position:absolute;top:0;left:0;right:0;z-index:3;margin:0;background:transparent;border:0}
.hero>.listing-nav-breadcrumb-bar>.portal-container{width:min(1440px,92.8%);margin:0 auto;padding:12px 0!important;gap:16px}
.hero>.listing-nav-breadcrumb-bar .portal-back-home-btn{background:rgba(255,255,255,.88);border-color:#dce2ea}
.hero>.listing-nav-breadcrumb-bar .portal-crumb-trail{flex-wrap:wrap;justify-content:flex-end;line-height:1.5;color:#475569}
.hero:has(>.listing-nav-breadcrumb-bar)>.hero-inner{height:100%}
@media(max-width:760px){.hero:has(>.listing-nav-breadcrumb-bar){height:360px;padding-top:90px}.hero>.listing-nav-breadcrumb-bar>.portal-container{width:calc(100% - 32px);flex-wrap:wrap;gap:8px;padding:12px 0!important}.hero>.listing-nav-breadcrumb-bar .portal-crumb-trail{justify-content:flex-start;font-size:11px}}

@media(max-width:760px){.hero:has(>.listing-nav-breadcrumb-bar) .hero-copy{min-height:0!important}.hero:has(>.listing-nav-breadcrumb-bar) .search-bar{left:0;top:auto;bottom:auto;width:100%;margin:0;flex-shrink:0;align-self:stretch}}

/* Keep desktop listing filters reachable while the property list scrolls. */
@media (min-width: 761px) {
  .home-main > .filters {
    position: sticky;
    top: 85px;
    align-self: start;
    max-height: calc(100vh - 101px);
    max-height: calc(100dvh - 101px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #c7b98f transparent;
  }
  .home-main > .filters::-webkit-scrollbar { width: 5px; }
  .home-main > .filters::-webkit-scrollbar-thumb { background: #c7b98f; border-radius: 6px; }
}

/* External menu screens replace the page canvas while retaining the top action bar. */
body:has(> .tnd-public-admin-overlay, > #tnd-system-settings-screen) .tnd-page-canvas{
  visibility:hidden!important;
  pointer-events:none!important;
}
body:has(> .tnd-public-admin-overlay, > #tnd-system-settings-screen) .tnd-top-console{
  visibility:visible!important;
  pointer-events:auto!important;
}
.tnd-public-admin-overlay{box-sizing:border-box}

/* Keep enquiry management aligned with the Manage Properties workspace. */
.tnd-leads-screen{box-sizing:border-box!important;padding:24px!important;border:1px solid #e4e8ef;border-radius:13px;background:#fff;box-shadow:0 4px 18px rgba(23,32,51,.035)}
.tnd-leads-screen .tnd-public-admin-heading{padding:0;margin:0 0 18px;border:0;border-radius:0;background:transparent}
.tnd-leads-screen .tnd-public-admin-heading h2{font-size:17px;margin:0 0 6px;letter-spacing:-.2px}
.tnd-leads-screen .tnd-public-admin-heading p{font-size:12px;color:#53627f}
.tnd-leads-screen .tnd-public-admin-toolbar:not(.tnd-admin-pagination){gap:10px;margin:0 0 16px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f7f9fc}
.tnd-leads-screen .tnd-public-admin-toolbar input[type=search]{height:40px;min-width:260px;flex:1}
.tnd-leads-screen .tnd-public-admin-toolbar select{height:40px;min-width:145px;color:#344054}
.tnd-leads-screen .tnd-public-admin-toolbar .tnd-back-btn{height:40px;white-space:nowrap}
.tnd-leads-screen .tnd-table-container{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #e3e8ef;border-radius:10px;background:#fff}
.tnd-leads-screen .tnd-luxury-table{width:100%;min-width:1080px;border-collapse:collapse;background:#fff;text-align:left;font-size:12px}
.tnd-leads-screen .tnd-luxury-table th{padding:12px 14px;border-bottom:1px solid #e5e9ef;background:#f8f9fb;color:#536176;font-size:10px;font-weight:700;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}
.tnd-leads-screen .tnd-luxury-table td{max-width:340px;padding:13px 14px;border-bottom:1px solid #edf0f4;color:#344054;font-size:12px;line-height:1.45;vertical-align:middle;overflow-wrap:anywhere}
.tnd-leads-screen .tnd-luxury-table tbody tr:last-child td{border-bottom:0}
.tnd-leads-screen .tnd-luxury-table tbody tr:hover td{background:#fbfcfe}
.tnd-leads-screen .tnd-luxury-table td strong{color:#172033;font-size:12px;font-weight:700}
.tnd-leads-screen .tnd-luxury-table td select{min-width:112px;height:36px;padding:0 10px;color:#344054}
.tnd-leads-screen .tnd-luxury-table td .tnd-back-btn{margin-top:7px}
.tnd-leads-screen .tnd-admin-pagination{justify-content:flex-end;margin:12px 0 0;padding:0;border:0;background:transparent}
.tnd-leads-screen .tnd-admin-pagination span{margin-right:auto;color:#64748b;font-size:12px}
.tnd-leads-screen .tnd-admin-pagination .tnd-back-btn{min-width:84px;justify-content:center}
.tnd-leads-screen .tnd-admin-pagination .tnd-back-btn:disabled{cursor:not-allowed;opacity:.5}
.tnd-leads-screen .tnd-leads-loading{padding:18px 20px;border:1px solid #e4e8ef;border-radius:10px;background:#fff;color:#64748b;font-size:13px}
@media(max-width:700px){
  .tnd-leads-screen{padding:16px!important;border-radius:11px}
  .tnd-leads-screen .tnd-public-admin-heading{margin-bottom:14px}
  .tnd-leads-screen .tnd-public-admin-toolbar:not(.tnd-admin-pagination){align-items:stretch}
  .tnd-leads-screen .tnd-public-admin-toolbar input[type=search],.tnd-leads-screen .tnd-public-admin-toolbar select{width:100%;min-width:0}
  .tnd-leads-screen .tnd-table-container{overflow-x:auto}
  .tnd-leads-screen .tnd-admin-pagination{flex-wrap:wrap;gap:8px}
  .tnd-leads-screen .tnd-admin-pagination span{width:100%;margin:0}
}

/* Match active enquiry and contact count badges to the gold property count. */
.tnd-external-admin-screen .tnd-nav-btn.tnd-external-active .tnd-nav-pill-count{background:#927535!important;color:#fff!important}

/* Public landing listings: compact map view and filters in normal page flow. */
@media(min-width:761px){.home-main>.filters{align-self:start;max-height:none;overflow:visible}}
@media(min-width:1101px){.listings.view-Map .results-body{grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);align-items:start}.listings.view-Map .property-list{display:block!important}.listings.view-Map .map-panel{display:block!important;width:100%!important;height:min(480px,calc(100vh - 180px))!important;min-height:360px!important;margin:0!important}}
@media(max-width:1100px){.listings.view-Map .property-list{display:block!important}.listings.view-Map .map-panel{height:360px!important;min-height:0!important;margin:0!important}}
@media(max-width:760px){.listings.view-Map .map-panel{height:300px!important}}

/* Public landing headline: requested 43px size. */
.hero-copy h1 { font-size: 43px!important; }

/* Slightly slower, softer motion on public pages only. */
body.tnd-public-landing #root *{transition-duration:.28s!important;transition-timing-function:cubic-bezier(.22,.61,.36,1)!important}
body.tnd-public-landing #root .property-card{animation-duration:.68s!important}
body.tnd-public-landing #root .hero-copy{animation-duration:.7s!important}
body.tnd-public-landing #root .modal-backdrop,body.tnd-public-landing #root .toast{animation-duration:.28s!important}
body.tnd-public-landing #root .modal{animation-duration:.38s!important}
@media(prefers-reduced-motion:reduce){body.tnd-public-landing #root *,body.tnd-public-landing #root *:before,body.tnd-public-landing #root *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Branded loader for public page startup and navigation. */
body.tnd-loader-active{overflow:hidden}.tnd-page-loader{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:24px;background:rgba(11,16,27,.72);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);color:#fff;opacity:1;transition:opacity .28s ease!important}.tnd-page-loader.is-hidden{opacity:0;pointer-events:none}.tnd-loader-brand{display:flex;align-items:center;gap:13px;animation:tnd-loader-enter .5s cubic-bezier(.22,.61,.36,1) both}.tnd-loader-brand img{display:block;width:48px;height:40px;object-fit:contain}.tnd-loader-brand span{display:flex;flex-direction:column;gap:3px;color:#fff;font-size:20px;font-weight:700;letter-spacing:-.45px}.tnd-loader-brand small{color:#d4bd82;font-size:9px;font-weight:700;letter-spacing:1.65px}.tnd-loader-spinner{width:36px;height:36px;border:2px solid rgba(255,255,255,.24);border-top-color:#d4bd82;border-right-color:#d4bd82;border-radius:50%;animation:tnd-loader-spin .9s linear infinite}.tnd-page-loader p{margin:0;color:rgba(255,255,255,.78);font-size:12px;letter-spacing:.35px}@keyframes tnd-loader-spin{to{transform:rotate(360deg)}}@keyframes tnd-loader-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.tnd-page-loader,.tnd-loader-brand,.tnd-loader-spinner{animation:none!important;transition:none!important}}

/* A subtle, one-sided brand pattern blended into the public home hero. */
.home-portal .portal-hero-section { position: relative; isolation: isolate; overflow: hidden; }
.home-portal .portal-hero-section::after {
  content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: min(62%, 1020px);
  background: url("/listings/admin-dashboard-assets/home-hero-pattern.webp") center right / auto 70% repeat-y;
  opacity: .22; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 27%, rgba(0,0,0,.78) 57%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 27%, rgba(0,0,0,.78) 57%, transparent 100%);
}
.home-portal .portal-hero-section > * { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .home-portal .portal-hero-section::after { width: 76%; opacity: .14; background-position: 68% center; background-size: auto 58%; -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.72) 40%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.72) 40%, transparent 100%); }
}
/* Use the Manage Properties card and table treatment on Team Users and Listing Quality. */
.tnd-team-screen .tnd-team-list-card { margin-bottom: 18px; }
.tnd-team-screen .tnd-team-list-card > .crm-card-header,
.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-heading { box-sizing: border-box!important; display: block!important; padding: 16px 22px!important; border: 0!important; border-bottom: 1px solid var(--crm-border, #e2e8f0)!important; border-radius: 0!important; background: #fff!important; margin: 0!important; }
.tnd-team-screen .tnd-team-list-card .tnd-public-admin-heading h2 { font-size: 19px; margin: 0 0 3px; }
.tnd-team-screen .tnd-team-list-card .tnd-public-admin-heading p { font-size: 12px; margin: 0; }
.tnd-team-screen .tnd-public-admin-toolbar,
.tnd-quality-screen .tnd-public-admin-toolbar { margin: 0 0 16px; padding: 14px 18px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-toolbar { border: 0; border-bottom: 1px solid #f1f5f9; border-radius: 0; margin: 0; padding: 14px 18px; }
.tnd-team-screen .tnd-team-table-wrap,
.tnd-quality-screen .tnd-quality-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.tnd-team-screen .tnd-team-list-card > .tnd-team-table-wrap { border: 0; border-top: 1px solid #e2e8f0; border-radius: 0; }
.tnd-team-screen .tnd-luxury-table,
.tnd-quality-screen .tnd-luxury-table { width: 100%; min-width: 850px; text-align: left; }
.tnd-team-screen .tnd-luxury-table th,
.tnd-quality-screen .tnd-luxury-table th { padding: 13px 16px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; color: #64748b; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.tnd-team-screen .tnd-luxury-table td,
.tnd-quality-screen .tnd-luxury-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; color: #344054; font-size: 12.5px; vertical-align: middle; }
.tnd-team-screen .tnd-luxury-table tbody tr:hover td,
.tnd-quality-screen .tnd-luxury-table tbody tr:hover td { background: #fafbfc; }
.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-toolbar:last-child { border-top: 1px solid #e2e8f0; border-bottom: 0; margin: 0; }
@media(max-width:700px) {
  .tnd-team-screen .tnd-public-admin-toolbar, .tnd-quality-screen .tnd-public-admin-toolbar { align-items: stretch; padding: 12px; }
  .tnd-team-screen .tnd-public-admin-toolbar input, .tnd-quality-screen .tnd-public-admin-toolbar input { min-width: 0; width: 100%; }
  .tnd-team-screen .tnd-team-list-card > .crm-card-header { padding: 16px; }
}

/* Match the public admin Manage Properties container without relying on CRM variables. */
.tnd-public-admin-overlay.tnd-team-screen{padding:28px 24px!important;background:#f0f0f0!important;}
.tnd-team-screen .tnd-team-list-card{box-sizing:border-box;width:100%;max-width:1344px;margin:0 auto 24px;padding:24px;background:#fff;border:1px solid #e4e8ef;border-radius:15px;box-shadow:none;overflow:hidden;}
.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-heading{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:0!important;margin:0 0 20px!important;border:0!important;background:transparent!important;}
.tnd-team-screen .tnd-team-heading-text h2{font-size:14px!important;font-weight:700;color:#172033;margin:0 0 5px!important;}
.tnd-team-screen .tnd-team-heading-text p{font-size:12px!important;color:#53627f;line-height:1.5;}
.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-toolbar:not(.tnd-team-pagination){padding:14px 16px;margin:0 0 18px;border:1px solid #dfe5ee;border-radius:10px;background:#f7f9fc;}
.tnd-team-screen .tnd-public-admin-toolbar input[type=search]{box-sizing:border-box;flex:0 1 414px;width:414px;min-width:0;height:38px;padding:0 12px;font-size:12px;border:1px solid #d7dfea;border-radius:8px;background:#fff;}
.tnd-team-screen .tnd-team-list-card > .tnd-team-table-wrap{border:0;border-radius:0;margin:0;overflow-x:auto;}
.tnd-team-screen .tnd-luxury-table{border-collapse:collapse;border-spacing:0;width:100%;min-width:780px;text-align:left;}
.tnd-team-screen .tnd-luxury-table th{padding:13px 16px;background:#fafafe;border-bottom:1px solid #e6eaf1;color:#536176;font-size:10px;font-weight:700;letter-spacing:.045em;}
.tnd-team-screen .tnd-luxury-table td{padding:18px 16px;border-bottom:1px solid #edf0f4;font-size:12px;color:#344054;}
.tnd-team-screen .tnd-luxury-table td:first-child{font-weight:600;color:#172033;}
.tnd-team-screen .crm-status-pill{display:inline-flex;align-items:center;padding:3px 10px;border:1px solid #b6e9d4;border-radius:999px;font-size:11px;font-weight:600;line-height:1.3;color:#047857;background:#ecfdf5;}
.tnd-team-screen .crm-status-pill.status-neutral{color:#64748b;background:#f1f5f9;border-color:#dfe5ee;}
.tnd-team-screen .tnd-team-list-card > .tnd-team-pagination{display:flex;justify-content:flex-end;gap:6px;margin:0;padding:12px 16px 8px;border:0;background:#fff;border-radius:0;}
.tnd-team-screen .tnd-team-pagination > span:first-child{margin-right:auto;color:#53627f;font-size:11px;}
.tnd-team-screen .tnd-team-pagination .tnd-back-btn{min-height:28px;padding:4px 9px;font-size:11px;border:1px solid #d7dfea;border-radius:5px;background:#fff;}
.tnd-team-screen .tnd-team-pagination button:disabled{opacity:.4;cursor:default;}
.tnd-team-screen .tnd-team-page-number{display:grid;place-items:center;min-width:27px;height:28px;border-radius:5px;background:#927535;color:#fff;font-size:11px;font-weight:700;}
.tnd-team-screen .tnd-public-admin-heading .tnd-gold-action-btn{white-space:nowrap;}
@media(max-width:700px){.tnd-public-admin-overlay.tnd-team-screen{padding:12px!important;}.tnd-team-screen .tnd-team-list-card{padding:16px;}.tnd-team-screen .tnd-team-list-card > .tnd-public-admin-heading{flex-wrap:wrap;}.tnd-team-screen .tnd-public-admin-toolbar input[type=search]{flex:1;width:100%;}.tnd-team-screen .tnd-team-pagination{flex-wrap:wrap;}.tnd-team-screen .tnd-team-pagination > span:first-child{width:100%;}}

/* Website & SEO follows the shared admin container, typography and color theme. */
.tnd-public-admin-overlay.tnd-seo-screen{padding:28px 24px!important;background:#f0f0f0!important;}
.tnd-seo-screen .tnd-seo-container{box-sizing:border-box;width:100%;max-width:1344px;margin:0 auto 24px;padding:24px;border:1px solid #e4e8ef;border-radius:15px;background:#fff;overflow:hidden;}
.tnd-seo-screen .tnd-seo-container > .tnd-public-admin-heading{padding:0;margin:0 0 20px;border:0;border-radius:0;background:transparent;}
.tnd-seo-screen .tnd-public-admin-heading h2{margin:0 0 5px;font-size:14px;font-weight:700;line-height:1.4;color:#172033;}
.tnd-seo-screen .tnd-public-admin-heading p{font-size:12px;line-height:1.5;color:#53627f;}
.tnd-seo-screen .tnd-public-seo-form{display:flex;flex-direction:column;gap:20px;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:transparent;}
.tnd-seo-screen .tnd-seo-section{box-sizing:border-box;min-width:0;margin:0;padding:18px 20px 20px;border:1px solid #e4e8ef;border-radius:10px;background:#fff;}
.tnd-seo-screen .tnd-seo-section legend{padding:0 6px;font-size:13px;font-weight:700;line-height:1.5;color:#172033;}
.tnd-seo-screen .tnd-seo-section-description{margin:0 0 18px;font-size:12px;line-height:1.6;color:#53627f;}
.tnd-seo-screen .tnd-seo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.tnd-seo-screen .tnd-seo-fields > label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:600;line-height:1.5;color:#53627f;}
.tnd-seo-screen .tnd-seo-full-width,.tnd-seo-screen .tnd-seo-indexing{grid-column:1/-1;}
.tnd-seo-screen .tnd-seo-fields input:not([type=checkbox]),.tnd-seo-screen .tnd-seo-fields select,.tnd-seo-screen .tnd-seo-fields textarea{box-sizing:border-box;width:100%;min-width:0;height:38px;padding:0 12px;border:1px solid #d7dfea;border-radius:8px;background:#fff;font:inherit;font-size:12px;font-weight:400;color:#344054;box-shadow:none;}
.tnd-seo-screen .tnd-seo-fields textarea{height:auto;min-height:90px;padding:10px 12px;line-height:1.6;resize:vertical;}
.tnd-seo-screen .tnd-seo-fields input:focus,.tnd-seo-screen .tnd-seo-fields textarea:focus,.tnd-seo-screen .tnd-seo-fields select:focus{outline:2px solid #92753533;outline-offset:1px;border-color:#927535;}
.tnd-seo-screen .tnd-seo-fields input:disabled,.tnd-seo-screen .tnd-seo-fields textarea:disabled{background:#f7f9fc;color:#8793a6;cursor:not-allowed;}
.tnd-seo-screen .tnd-seo-fields ::placeholder{color:#8793a6;}
.tnd-seo-screen .tnd-seo-fields .tnd-seo-indexing{flex-direction:row;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dfe5ee;border-radius:8px;background:#f7f9fc;font-weight:400;}
.tnd-seo-screen .tnd-seo-indexing input{accent-color:#927535;}
.tnd-seo-screen .tnd-seo-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:18px;border-top:1px solid #edf0f4;}
.tnd-seo-screen .tnd-seo-footer p{margin:0;color:#53627f;font-size:11px;line-height:1.6;}
.tnd-seo-screen .tnd-seo-footer button{min-height:36px;white-space:nowrap;font-size:12px;}
.tnd-seo-screen > [role=status]{box-sizing:border-box;max-width:1344px;margin:0 auto 14px;padding:12px 16px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;font-size:12px;}
@media(max-width:700px){.tnd-public-admin-overlay.tnd-seo-screen{padding:12px!important;}.tnd-seo-screen .tnd-seo-container{padding:16px;}.tnd-seo-screen .tnd-seo-section{padding:14px;}.tnd-seo-screen .tnd-seo-fields{grid-template-columns:1fr;gap:16px;}.tnd-seo-screen .tnd-seo-footer{align-items:stretch;flex-direction:column;}}

/* Shared list typography, based on the Manage Properties table. */
:is(.tnd-main-viewport,.tnd-public-admin-overlay){--tnd-list-title-size:14.5px;--tnd-list-header-size:11.5px;--tnd-list-body-size:13px;--tnd-list-secondary-size:11.5px;--tnd-list-title-color:#11182e;--tnd-list-header-color:#4b586e;--tnd-list-body-color:#334155;--tnd-list-muted-color:#53627f;}
body .tnd-page-canvas .tnd-panel-title,
body .tnd-public-admin-overlay[class] .tnd-public-admin-heading h2{font-family:inherit!important;font-size:var(--tnd-list-title-size)!important;font-weight:650!important;line-height:1.4!important;letter-spacing:-.15px!important;color:var(--tnd-list-title-color)!important;}
body .tnd-page-canvas .tnd-panel-header > div > small,
body .tnd-public-admin-overlay[class] .tnd-public-admin-heading p{font-family:inherit!important;font-size:13px!important;font-weight:400!important;line-height:1.5!important;color:var(--tnd-list-muted-color)!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table{font-family:inherit!important;font-size:var(--tnd-list-body-size)!important;line-height:1.5!important;color:var(--tnd-list-body-color)!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table th{font-family:inherit!important;font-size:var(--tnd-list-header-size)!important;font-weight:650!important;line-height:1.4!important;letter-spacing:.5px!important;text-transform:uppercase!important;color:var(--tnd-list-header-color)!important;background:#fbfbfd!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td{font-family:inherit!important;font-size:var(--tnd-list-body-size)!important;font-weight:400;line-height:1.5!important;color:var(--tnd-list-body-color)!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td strong,
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td b{font-family:inherit!important;font-size:var(--tnd-list-body-size)!important;font-weight:650!important;line-height:1.5!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td:first-child strong,
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td:first-child b{color:var(--tnd-list-title-color)!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table td small,
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-listing-titles small{font-family:inherit!important;font-size:var(--tnd-list-secondary-size)!important;font-weight:400!important;line-height:1.5!important;color:var(--tnd-list-muted-color)!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table :is(.tnd-lux-badge,.crm-status-pill){font-family:inherit!important;font-size:var(--tnd-list-secondary-size)!important;font-weight:600!important;line-height:1.3!important;}
body :is(.tnd-page-canvas,.tnd-public-admin-overlay) .tnd-luxury-table :is(select,.tnd-back-btn){font-family:inherit!important;font-size:12px!important;line-height:1.4!important;}
body .tnd-page-canvas .tnd-pagination-bar,
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination) > span:first-child{font-family:inherit!important;font-size:12px!important;line-height:1.5!important;color:var(--tnd-list-muted-color)!important;}
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination) button{font-family:inherit!important;font-size:11.5px!important;line-height:1.4!important;}
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination){display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination) > span:first-child{margin-right:auto;}
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination) select{height:30px;min-width:52px;padding:0 8px;border:1px solid #d7dfea;border-radius:5px;background:#fff;color:#344054;}
body .tnd-public-admin-overlay[class] :is(.tnd-admin-pagination,.tnd-team-pagination,.tnd-report-pagination) .tnd-page-current{background:#927535!important;border-color:#927535!important;color:#fff!important;font-weight:700;}
.tnd-report-table-pager{width:100%;}
.tnd-report-table-pager > .tnd-report-pagination{justify-content:flex-end;gap:6px;margin:0;padding:10px 0 0;border:0;background:transparent;}
.tnd-report-table-pager > .tnd-report-pagination > span:first-child{margin-right:auto;}
.tnd-report-table-pager .tnd-report-filter{display:flex;align-items:center;gap:6px;margin:0;color:#53627f;font-size:11px;}
.tnd-export-button{font-weight:600!important;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease!important;}
.tnd-export-button:hover{transform:translateY(-1px);font-weight:700!important;box-shadow:0 4px 10px #1720331c;}
.tnd-export-button:active{transform:translateY(0);box-shadow:inset 0 1px 2px #17203318;}
.tnd-export-button:focus-visible{outline:3px solid #c5a85f!important;outline-offset:3px;}
.tnd-master-import-actions .tnd-export-button{box-sizing:border-box;width:108px;min-height:38px;padding:8px 14px;border:1px solid #d9c99c;border-radius:8px;background:#fffdfa;color:#775d23;font-family:inherit;font-size:12px;font-weight:600;line-height:1.25;cursor:pointer;}
.tnd-master-import-actions .tnd-export-button:hover{border-color:#a58a4c;background:#f8f4e9;color:#604a1b;}
.tnd-master-import-actions .tnd-export-button:disabled{opacity:.6;cursor:wait;transform:none;}
.tnd-property-filter-field{display:grid;grid-template-rows:auto minmax(38px,auto);gap:5px;align-content:start;}
.tnd-property-filter-label{display:block;margin:0;color:#64748b;font-size:10px;font-weight:650;line-height:1.2;letter-spacing:.025em;}
.tnd-export-confirm-dialog{width:min(420px,calc(100vw - 36px));padding:24px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#172033;box-shadow:0 24px 70px #17203340;font:inherit;}
.tnd-export-confirm-dialog::backdrop{background:#10182880;backdrop-filter:blur(2px);}
.tnd-export-confirm-dialog h2{margin:0 0 8px;font-size:18px;font-weight:700;}
.tnd-export-confirm-dialog p{margin:0;color:#53627f;font-size:14px;line-height:1.6;}
.tnd-export-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;}
.tnd-export-confirm-actions button{min-height:40px;padding:8px 16px;border:1px solid #d7dfea;border-radius:7px;background:#fff;color:#344054;font:inherit;font-weight:600;cursor:pointer;}
.tnd-export-confirm-actions .tnd-export-confirm{border-color:#927535;background:#927535;color:#fff;}
.tnd-export-confirm-actions button:hover{filter:brightness(.96);font-weight:700;}


/* Keep top-bar dropdowns above the fixed admin content screens. */
.tnd-top-console:has(.tnd-notification-menu[open]),
.tnd-top-console:has(.tnd-user-pill-btn[aria-expanded="true"]){z-index:60;}

/* The settings caption must not replace React-owned heading text nodes. */
.tnd-console-title[data-settings-title]{font-size:0!important;}
.tnd-console-title[data-settings-title]::after{content:attr(data-settings-title);font-size:16px;font-weight:700;line-height:1.4;color:#172033;}

/* Enquiry tables follow the Manage Properties typography and row hierarchy. */
.tnd-leads-screen .tnd-table-container{border:0;border-radius:0;}
.tnd-leads-screen .tnd-leads-table{width:100%;table-layout:fixed;min-width:1000px;}
.tnd-leads-table .tnd-leads-col-contact,.tnd-leads-table .tnd-leads-col-property{width:18%;}
.tnd-leads-table .tnd-leads-col-date{width:108px;}
.tnd-leads-table .tnd-leads-col-status{width:108px;}
.tnd-leads-table .tnd-leads-col-followup{width:170px;}
.tnd-leads-table .tnd-leads-col-actions{width:140px;}
.tnd-leads-screen .tnd-leads-table th{padding:13px 14px;}
.tnd-leads-screen .tnd-leads-table td{box-sizing:border-box;padding:16px 14px;vertical-align:middle;overflow-wrap:normal;}
.tnd-leads-screen .tnd-leads-table tbody tr:last-child td{border-bottom:1px solid #edf0f4;}
.tnd-lead-cell-copy{min-width:0;}
.tnd-lead-cell-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;}
.tnd-lead-cell-text+.tnd-lead-cell-text{margin-top:2px;}
.tnd-lead-cell-text.tnd-lead-two-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-primary{color:#11182e;font-size:13px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-secondary{display:block;color:#53627f;font-size:11.5px;font-weight:400;line-height:1.5;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more{display:inline-flex;margin:4px 0 0;padding:0;border:0;border-radius:2px;background:transparent;color:#8b7133;font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;cursor:pointer;text-decoration:none;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more[hidden]{display:none!important;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:hover{text-decoration:underline;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:focus-visible{outline:2px solid #927535;outline-offset:3px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date{display:grid;gap:2px;margin-top:6px;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-no-followup{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-cell-copy{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-chip~.tnd-lead-chip{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions .tnd-back-btn{min-height:32px;height:32px;padding:5px 10px;font-size:11px!important;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-date-cell{white-space:nowrap;}

.tnd-leads-screen .tnd-leads-table .tnd-lead-two-lines{display:-webkit-box;}

/* Enquiry tables follow the Manage Properties typography and row hierarchy. */
.tnd-leads-screen .tnd-table-container{border:0;border-radius:0;}
.tnd-leads-screen .tnd-leads-table{width:100%;table-layout:fixed;min-width:1000px;}
.tnd-leads-table .tnd-leads-col-contact,.tnd-leads-table .tnd-leads-col-property{width:18%;}
.tnd-leads-table .tnd-leads-col-date{width:108px;}
.tnd-leads-table .tnd-leads-col-status{width:108px;}
.tnd-leads-table .tnd-leads-col-followup{width:196px;}
.tnd-leads-table .tnd-leads-col-actions{width:140px;}
.tnd-leads-screen .tnd-leads-table th{padding:13px 14px;}
.tnd-leads-screen .tnd-leads-table td{box-sizing:border-box;padding:16px 14px;vertical-align:middle;overflow-wrap:normal;}
.tnd-leads-screen .tnd-leads-table tbody tr:last-child td{border-bottom:1px solid #edf0f4;}
.tnd-lead-cell-copy{min-width:0;}
.tnd-lead-cell-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;}
.tnd-lead-cell-text+.tnd-lead-cell-text{margin-top:2px;}
.tnd-lead-cell-text.tnd-lead-two-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-primary{color:#11182e;font-size:13px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-secondary{display:block;color:#53627f;font-size:11.5px;font-weight:400;line-height:1.5;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more{display:inline-flex;margin:4px 0 0;padding:0;border:0;border-radius:2px;background:transparent;color:#8b7133;font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;cursor:pointer;text-decoration:none;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more[hidden]{display:none!important;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:hover{text-decoration:underline;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:focus-visible{outline:2px solid #927535;outline-offset:3px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date{display:grid;gap:2px;margin-top:6px;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-no-followup{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-cell-copy{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-chip~.tnd-lead-chip{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions .tnd-back-btn{min-height:32px;height:32px;padding:5px 10px;font-size:11px!important;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-date-cell{white-space:nowrap;}

.tnd-leads-screen .tnd-leads-table .tnd-lead-two-lines{display:-webkit-box;}

/* Keep the follow-up schedule together rather than stretching the table row. */
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;min-width:0;max-width:100%;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-due-date{display:flex;align-items:baseline;gap:5px;margin:0;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date .tnd-lead-primary{font-size:11.5px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-time{display:inline;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-time-separator{color:#94a3b8;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-cell-copy{width:100%;margin:0;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-no-followup{margin:0;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-see-more{margin:0;}

/* Edit the selected enquiry without leaving its detail dialog. */
.tnd-lead-followup-inline{margin-top:18px;padding:18px;border:1px solid #e3d6b7;border-radius:10px;background:#fcfbf8;}
.tnd-lead-followup-inline[hidden]{display:none!important;}
.tnd-lead-edit-form{display:grid;gap:14px;}
.tnd-lead-edit-form h3,.tnd-lead-edit-form h4,.tnd-lead-edit-form p{margin:0;}
.tnd-lead-edit-form>p{color:#64748b;font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
.tnd-lead-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end;}
.tnd-lead-edit-fields>label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#53627f;font-size:12px;font-weight:600;}
.tnd-lead-edit-wide{grid-column:1/-1;}
.tnd-lead-edit-form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:10px 12px;border:1px solid #d7dfea;border-radius:8px;background:#fff;color:#344054;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;box-shadow:none;}
.tnd-lead-edit-form :is(input,select){height:40px;}
.tnd-lead-edit-form textarea{resize:vertical;min-height:92px;}
.tnd-lead-edit-form :is(input,select,textarea):focus-visible{outline:2px solid #92753555;outline-offset:1px;border-color:#927535;}
.tnd-lead-edit-actions{display:flex;align-items:center;gap:10px;}
.tnd-lead-edit-actions button{margin:0;min-height:36px;}
.tnd-lead-edit-form [role=alert]{color:#b42318;font-size:12px;line-height:1.6;}
.tnd-lead-edit-form [role=alert]:empty{display:none;}
.tnd-lead-edit-form[aria-busy=true]{opacity:.75;}
.tnd-lead-save-success{margin:0 0 18px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534;font-size:12px;}
@media(max-width:600px){.tnd-lead-edit-fields{grid-template-columns:1fr;}.tnd-lead-followup-inline{padding:14px;}.tnd-lead-edit-actions{flex-wrap:wrap;}}

/* Enquiry tables follow the Manage Properties typography and row hierarchy. */
.tnd-leads-screen .tnd-table-container{border:0;border-radius:0;}
.tnd-leads-screen .tnd-leads-table{width:100%;table-layout:fixed;min-width:1000px;}
.tnd-leads-table .tnd-leads-col-contact,.tnd-leads-table .tnd-leads-col-property{width:18%;}
.tnd-leads-table .tnd-leads-col-date{width:108px;}
.tnd-leads-table .tnd-leads-col-status{width:108px;}
.tnd-leads-table .tnd-leads-col-followup{width:196px;}
.tnd-leads-table .tnd-leads-col-actions{width:140px;}
.tnd-leads-screen .tnd-leads-table th{padding:13px 14px;}
.tnd-leads-screen .tnd-leads-table td{box-sizing:border-box;padding:16px 14px;vertical-align:middle;overflow-wrap:normal;}
.tnd-leads-screen .tnd-leads-table tbody tr:last-child td{border-bottom:1px solid #edf0f4;}
.tnd-lead-cell-copy{min-width:0;}
.tnd-lead-cell-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;}
.tnd-lead-cell-text+.tnd-lead-cell-text{margin-top:2px;}
.tnd-lead-cell-text.tnd-lead-two-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-primary{color:#11182e;font-size:13px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-secondary{display:block;color:#53627f;font-size:11.5px;font-weight:400;line-height:1.5;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more{display:inline-flex;margin:4px 0 0;padding:0;border:0;border-radius:2px;background:transparent;color:#8b7133;font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;cursor:pointer;text-decoration:none;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more[hidden]{display:none!important;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:hover{text-decoration:underline;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-see-more:focus-visible{outline:2px solid #927535;outline-offset:3px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date{display:grid;gap:2px;margin-top:6px;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-no-followup{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-cell-copy{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-chip~.tnd-lead-chip{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions .tnd-back-btn{min-height:32px;height:32px;padding:5px 10px;font-size:11px!important;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-date-cell{white-space:nowrap;}

.tnd-leads-screen .tnd-leads-table .tnd-lead-two-lines{display:-webkit-box;}

/* Keep the follow-up schedule together rather than stretching the table row. */
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;min-width:0;max-width:100%;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-due-date{display:flex;align-items:baseline;gap:5px;margin:0;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date .tnd-lead-primary{font-size:11.5px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-time{display:inline;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-time-separator{color:#94a3b8;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-cell-copy{width:100%;margin:0;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-no-followup{margin:0;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-see-more{margin:0;}

/* Two preview lines per cell; additional details stay in the enquiry window. */
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags{flex-wrap:nowrap;max-width:100%;overflow:hidden;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags .tnd-lead-chip{flex-shrink:0;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-due-date{max-width:100%;overflow:hidden;}

/* Enquiry tables follow the Manage Properties typography and row hierarchy. */
.tnd-leads-screen .tnd-table-container{border:0;border-radius:0;}
.tnd-leads-screen .tnd-leads-table{width:100%;table-layout:fixed;min-width:1000px;}
.tnd-leads-table .tnd-leads-col-contact,.tnd-leads-table .tnd-leads-col-property{width:18%;}
.tnd-leads-table .tnd-leads-col-date{width:108px;}
.tnd-leads-table .tnd-leads-col-status{width:108px;}
.tnd-leads-table .tnd-leads-col-followup{width:196px;}
.tnd-leads-table .tnd-leads-col-actions{width:140px;}
.tnd-leads-screen .tnd-leads-table th{padding:13px 14px;}
.tnd-leads-screen .tnd-leads-table td{box-sizing:border-box;padding:16px 14px;vertical-align:middle;overflow-wrap:normal;}
.tnd-leads-screen .tnd-leads-table tbody tr:last-child td{border-bottom:1px solid #edf0f4;}
.tnd-lead-cell-copy{min-width:0;}
.tnd-lead-cell-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;}
.tnd-lead-cell-text+.tnd-lead-cell-text{margin-top:2px;}
.tnd-lead-cell-text.tnd-lead-two-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-primary{color:#11182e;font-size:13px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-secondary{display:block;color:#53627f;font-size:11.5px;font-weight:400;line-height:1.5;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date{display:grid;gap:2px;margin-top:6px;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-no-followup{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-cell-copy{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table td:nth-child(6)>.tnd-lead-chip~.tnd-lead-chip{margin-top:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:6px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-row-actions .tnd-back-btn{min-height:32px;height:32px;padding:5px 10px;font-size:11px!important;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-date-cell{white-space:nowrap;}

.tnd-leads-screen .tnd-leads-table .tnd-lead-two-lines{display:-webkit-box;}

/* Keep the follow-up schedule together rather than stretching the table row. */
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;min-width:0;max-width:100%;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-due-date{display:flex;align-items:baseline;gap:5px;margin:0;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-date .tnd-lead-primary{font-size:11.5px;font-weight:600;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-due-time{display:inline;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-time-separator{color:#94a3b8;font-size:11px;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-cell-copy{width:100%;margin:0;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-no-followup{margin:0;}

/* Two preview lines per cell; additional details stay in the enquiry window. */
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags{flex-wrap:nowrap;max-width:100%;overflow:hidden;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-tags .tnd-lead-chip{flex-shrink:0;white-space:nowrap;}
.tnd-leads-screen .tnd-leads-table .tnd-lead-followup-content .tnd-lead-due-date{max-width:100%;overflow:hidden;}

/* Team account editor shares the dashboard card, typography and gold accents. */
.tnd-team-screen .tnd-team-list-card.tnd-team-form-card{max-width:1100px;margin:0 auto;}
.tnd-team-account-form{padding:0 24px 24px;color:#11182e;font-size:13px;}
.tnd-team-form-section{min-width:0;margin:0;padding:22px 0;border:0;border-top:1px solid #e5eaf2;}
.tnd-team-form-section legend{float:left;width:100%;padding:0;margin:0 0 6px;font-size:14px;font-weight:600;}
.tnd-team-section-copy{clear:both;margin:0 0 18px;color:#53627f;font-size:12px;line-height:1.6;}
.tnd-team-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;}
.tnd-team-form-grid>label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;}
.tnd-team-account-form input:not([type=checkbox]),.tnd-team-account-form select{box-sizing:border-box;width:100%;height:42px;padding:10px 12px;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#11182e;font-family:inherit;font-size:13px;}
.tnd-team-account-form input:focus-visible,.tnd-team-account-form select:focus-visible{outline:2px solid #927535;outline-offset:2px;}
.tnd-team-account-form input[type=checkbox]{width:16px;height:16px;accent-color:#927535;}
.tnd-team-role-note{align-self:center;margin:0;color:#53627f;font-size:12px;line-height:1.7;}
.tnd-team-permission-matrix{margin-top:20px;border:1px solid #e0e6ef;border-radius:10px;overflow:hidden;}
.tnd-team-permission-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 80px;align-items:center;min-height:46px;padding:0 16px;border-top:1px solid #edf0f4;gap:10px;}
.tnd-team-permission-row>span:not(:first-child){text-align:center;color:#64748b;}
.tnd-team-permission-row>span:first-child{font-size:12px;line-height:1.5;}
.tnd-team-permission-head{border:0;background:#f7f9fc;color:#53627f;font-weight:600;}
.tnd-team-permission-check{display:grid;place-items:center;min-height:42px;cursor:pointer;}
.tnd-team-form-grid>.tnd-team-active-toggle{flex-direction:row;align-items:center;gap:10px;}
.tnd-team-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid #e5eaf2;}
.tnd-team-form-footer p{margin:0 auto 0 0;max-width:430px;font-size:12px;line-height:1.6;color:#53627f;}
.tnd-team-form-error{padding:12px 14px;border:1px solid #fecaca;border-radius:8px;background:#fff5f5;color:#b42318;line-height:1.6;}
[data-tnd-access-hidden]{display:none!important;}
@media(max-width:700px){.tnd-team-account-form{padding:0 16px 20px;}.tnd-team-form-grid{grid-template-columns:1fr;gap:16px;}.tnd-team-permission-row{grid-template-columns:minmax(0,1fr) 52px 60px;padding:4px 10px;gap:4px;}.tnd-team-form-footer{flex-wrap:wrap;}.tnd-team-form-footer p{flex-basis:100%;max-width:none;}}

/* Team account editor shares the dashboard card, typography and gold accents. */
.tnd-team-screen .tnd-team-list-card.tnd-team-form-card{max-width:1100px;margin:0 auto;}
.tnd-team-account-form{padding:0 24px 24px;color:#11182e;font-size:13px;}
.tnd-team-form-section{min-width:0;margin:0;padding:22px 0;border:0;border-top:1px solid #e5eaf2;}
.tnd-team-form-section legend{float:left;width:100%;padding:0;margin:0 0 6px;font-size:14px;font-weight:600;}
.tnd-team-section-copy{clear:both;margin:0 0 18px;color:#53627f;font-size:12px;line-height:1.6;}
.tnd-team-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;}
.tnd-team-form-grid>label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;}
.tnd-team-account-form input:not([type=checkbox]),.tnd-team-account-form select{box-sizing:border-box;width:100%;height:42px;padding:10px 12px;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#11182e;font-family:inherit;font-size:13px;}
.tnd-team-account-form input:focus-visible,.tnd-team-account-form select:focus-visible{outline:2px solid #927535;outline-offset:2px;}
.tnd-team-account-form input[type=checkbox]{width:16px;height:16px;accent-color:#927535;}
.tnd-team-role-note{align-self:center;margin:0;color:#53627f;font-size:12px;line-height:1.7;}
.tnd-team-permission-matrix{margin-top:20px;border:1px solid #e0e6ef;border-radius:10px;overflow:hidden;}
.tnd-team-permission-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 80px;align-items:center;min-height:46px;padding:0 16px;border-top:1px solid #edf0f4;gap:10px;}
.tnd-team-permission-row>span:not(:first-child){text-align:center;color:#64748b;}
.tnd-team-permission-row>span:first-child{font-size:12px;line-height:1.5;}
.tnd-team-permission-head{border:0;background:#f7f9fc;color:#53627f;font-weight:600;}
.tnd-team-permission-check{display:grid;place-items:center;min-height:42px;cursor:pointer;}
.tnd-team-form-grid>.tnd-team-active-toggle{flex-direction:row;align-items:center;gap:10px;}
.tnd-team-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid #e5eaf2;}
.tnd-team-form-footer p{margin:0 auto 0 0;max-width:430px;font-size:12px;line-height:1.6;color:#53627f;}
.tnd-team-form-error{padding:12px 14px;border:1px solid #fecaca;border-radius:8px;background:#fff5f5;color:#b42318;line-height:1.6;}
[data-tnd-access-hidden]{display:none!important;}
@media(max-width:700px){.tnd-team-account-form{padding:0 16px 20px;}.tnd-team-form-grid{grid-template-columns:1fr;gap:16px;}.tnd-team-permission-row{grid-template-columns:minmax(0,1fr) 52px 60px;padding:4px 10px;gap:4px;}.tnd-team-form-footer{flex-wrap:wrap;}.tnd-team-form-footer p{flex-basis:100%;max-width:none;}}
