:root {
  --ops-ink: #1a1918;
  --ops-muted: #6c665f;
  --ops-red: #e92f39;
  --ops-canvas: #eee8df;
  --ops-surface: #fffdf9;
  --ops-soft: #f6f1e9;
  --ops-line: rgba(26, 25, 24, .12);
  --ops-shadow: 0 12px 34px rgba(35, 27, 19, .07);
}

.ops-team{width:min(1050px,100%);margin:40px auto 80px;padding:0 20px}
.ops-team>h1{font-family:Georgia,serif;font-size:clamp(36px,5vw,62px);font-weight:400;margin:10px 0}
.ops-team .team-intro{font-size:18px;line-height:1.55;color:var(--ops-muted);max-width:760px;margin:0 0 30px}
.team-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.team-card{background:var(--ops-surface);border:1px solid var(--ops-line);border-radius:20px;padding:28px;margin:0 0 20px;box-shadow:var(--ops-shadow)}
.team-card h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:4px 0 12px}
.team-card p{line-height:1.5;color:var(--ops-muted)}
.team-form{display:grid;gap:15px;margin-top:22px}
.team-form label,.team-reset label{display:grid;gap:7px;font-size:13px;font-weight:700;color:var(--ops-ink)}
.team-form input,.team-reset input{width:100%;padding:13px 14px;border:1px solid var(--ops-line);border-radius:10px;background:var(--ops-surface);color:var(--ops-ink);font:inherit}
.team-form input:focus,.team-reset input:focus{outline:2px solid var(--ops-red);outline-offset:1px}
.team-card details{margin-top:20px}
.team-card summary{cursor:pointer;font-weight:700}
.team-alert{padding:14px 18px;border-radius:12px;background:#e5f4ec;color:#135333;margin:0 0 20px}
.team-alert.is-error{background:#ffe7e7;color:#92242c}
.team-person{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--ops-line)}
.team-person>div:first-child{flex:1 1 260px;display:grid;gap:4px}
.team-person strong{font-size:18px}.team-person span{font-size:14px;color:var(--ops-muted)}
.team-person form button,.team-reset button{border:1px solid var(--ops-line);border-radius:8px;background:var(--ops-surface);color:var(--ops-ink);padding:9px 13px;cursor:pointer}
.team-person details{margin:0}.team-reset{display:flex;align-items:end;gap:10px;margin-top:10px}
.team-pill{padding:6px 10px;border-radius:99px;background:#def3e8;color:#145b3b!important;font-weight:700}.team-pill.is-off{background:#eee6dd;color:#665c51!important}
@media(max-width:700px){.team-layout{grid-template-columns:1fr}.ops-team{margin-top:24px}.team-card{padding:21px}}

body { background: var(--ops-canvas) !important; color: var(--ops-ink) !important; }

.hub-header, .app-header, .wb-site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 253, 249, .97) !important;
  border-bottom: 1px solid var(--ops-line) !important;
  backdrop-filter: blur(16px);
}
.hub-header .header-inner, .app-header .header-inner, .wb-header-inner {
  width: min(1220px, calc(100% - 40px));
  min-height: 78px;
  margin: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hub-header .brand, .app-header .brand, .wb-site-header .wb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ops-ink);
  text-decoration: none;
}
.hub-header .brand img, .app-header .brand img, .wb-site-header .wb-brand img {
  width: 174px;
  max-height: 45px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.hub-header .brand span, .app-header .brand span, .wb-site-header .wb-brand span {
  padding-left: 14px;
  border-left: 1px solid var(--ops-line);
  color: var(--ops-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hub-header nav, .app-header .global-nav, .wb-site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hub-header nav a, .app-header .global-nav a, .wb-site-header nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
.hub-header nav a:hover, .app-header .global-nav a:hover, .wb-site-header nav a:hover,
.hub-header nav a.active, .app-header .global-nav a.active, .wb-site-header nav a.active {
  background: var(--ops-ink);
  color: #fff;
}
.hub-header form button { font-size: 11px; font-weight: 750; }

.hub-main, .app-shell, .wb-site-header + .top .wrap, .wb-site-header + .hero .wrap,
.main .wrap, .hero + main .wrap {
  width: min(1220px, calc(100% - 40px));
}
.hub-main, .app-shell { padding-top: 42px; }
.workspace-hero, .tool-context {
  margin: 0 0 24px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--ops-line);
  background: transparent;
}
.workspace-hero h1, .tool-context h1 {
  color: var(--ops-ink);
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
.tool-context .eyebrow, .workspace-hero .eyebrow { margin-bottom: 9px; }
.tool-context { align-items: end; }
.context-back { color: var(--ops-muted); }

.action-tile, .panel, .connection-card, .property-performance-grid article,
.desk-summary > div, .desk-action-grid a, .stat, .deal-card, .call-row, .form-card {
  border: 1px solid var(--ops-line) !important;
  border-radius: 16px !important;
  background: var(--ops-surface) !important;
  box-shadow: var(--ops-shadow) !important;
}
.action-tile.featured, .desk-action-grid a:first-child {
  border-color: var(--ops-ink) !important;
  background: var(--ops-ink) !important;
  color: #fff !important;
}
.action-tile.featured .action-copy small { color: rgba(255,255,255,.67); }
.action-tile { min-height: 172px; }
.action-tile:focus-visible, .desk-action-grid a:focus-visible, .connection-actions a:focus-visible,
.hub-header nav a:focus-visible, .global-nav a:focus-visible, .wb-site-header nav a:focus-visible {
  outline: 3px solid rgba(233,47,57,.42);
  outline-offset: 3px;
}
.operations-pulse { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0 0 18px; }
.operations-pulse a, .operations-pulse > div { min-height: 104px; padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--ops-line); border-radius: 12px; background: var(--ops-surface); color: var(--ops-ink); text-decoration: none; }
.operations-pulse span { color: var(--ops-muted); font-size: 10px; font-weight: 800; }
.operations-pulse strong { margin-top: 7px; font-family: "Iowan Old Style", Baskerville, serif; font-size: 30px; font-weight: 400; line-height: 1; }
.operations-pulse small { margin-top: auto; color: var(--ops-muted); font-size: 10px; }
.operations-pulse a:hover { border-color: var(--ops-red); }
.ops-subpage-hero { margin-bottom: 23px; }
.ops-subpage-hero .context-back { display: inline-block; margin-bottom: 12px; font-size: 11px; text-decoration: none; }
.ops-subpage-hero p:last-child { margin: 12px 0 0; color: var(--ops-muted); font-size: 13px; }

.desk-summary { margin-bottom: 15px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.desk-summary > div { min-height: 112px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; }
.desk-summary span { color: var(--ops-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.desk-summary strong { font-family: "Iowan Old Style", Baskerville, serif; font-size: 35px; font-weight: 400; line-height: 1; }
.desk-action-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.desk-action-grid a { min-height: 200px; padding: 22px; display: flex; flex-direction: column; color: var(--ops-ink); text-decoration: none; }
.desk-action-grid a > span { color: var(--ops-red); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.desk-action-grid a > strong { margin-top: auto; font-size: 18px; }
.desk-action-grid a > small { margin-top: 6px; color: var(--ops-muted); font-size: 11px; line-height: 1.45; }
.desk-action-grid a > b { margin-top: 15px; color: var(--ops-red); font-size: 19px; }
.desk-action-grid a:first-child > small { color: rgba(255,255,255,.67); }

.evidence-note { margin-bottom: 14px; padding: 15px 18px; display: flex; align-items: center; gap: 16px; border-left: 4px solid var(--ops-red); border-radius: 10px; background: var(--ops-surface); }
.evidence-note strong { flex: 0 0 auto; font-size: 11px; }
.evidence-note span { color: var(--ops-muted); font-size: 11px; }
.property-performance-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.performance-detail-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; }
.signal-list { margin-top: 17px; }
.signal-list > div { padding: 11px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--ops-line); }
.signal-list > div:last-child { border-bottom: 0; }
.signal-list span { color: var(--ops-muted); font-size: 11px; }
.signal-list strong { font-size: 15px; }
.property-actuals-form { margin-top: 18px; }
.property-actuals-form .primary-button { margin-top: 17px; width: 100%; }
.actuals-history { margin-top: 16px; }
.history-lines { margin-top: 15px; }
.history-lines > div { padding: 12px 0; display: grid; grid-template-columns: .7fr repeat(3,1fr); gap: 12px; border-bottom: 1px solid var(--ops-line); font-size: 11px; }
.history-lines > div:last-child { border-bottom: 0; }
.history-lines span { color: var(--ops-muted); }
.area-filter { display: flex; align-items: center; gap: 7px; }
.area-filter label { color: var(--ops-muted); font-size: 10px; font-weight: 800; }
.area-filter select { min-height: 43px; padding: 8px 10px; border: 1px solid var(--ops-line); border-radius: 8px; background: #fff; }
.area-filter button { min-height: 43px; padding: 8px 11px; border: 1px solid var(--ops-line); border-radius: 8px; background: var(--ops-ink); color: #fff; cursor: pointer; }

/* Acquisition pages use the same compact page header as the booking workspace. */
.wb-site-header + .top, .wb-site-header + .hero {
  padding: 38px 0 27px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ops-ink) !important;
}
.wb-site-header + .top h1, .wb-site-header + .hero h1 {
  color: var(--ops-ink) !important;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif !important;
  font-size: clamp(43px,5.5vw,66px) !important;
  font-weight: 400 !important;
  letter-spacing: -.055em;
}
.wb-site-header + .top p, .wb-site-header + .hero p { color: var(--ops-muted) !important; font-size: 13px !important; }
.wb-site-header + .top .brand, .wb-site-header + .hero .hero-eyebrow { color: var(--ops-red) !important; }
.wb-site-header + .top .wrap, .wb-site-header + .hero .wrap { padding-bottom: 24px; border-bottom: 1px solid var(--ops-line); }
.wb-site-header + .hero .btn { border-radius: 8px; }
.wb-site-header + .hero .btn.primary, .wb-site-header + .top .property-hero-action { background: var(--ops-red) !important; color: #fff !important; }
.deal-card, .call-row { overflow: hidden; }
.stats { gap: 12px; }
.stat { min-height: 108px; }
.toolbar { grid-template-columns: minmax(220px,1.4fr) repeat(3,minmax(145px,.75fr)) !important; }
.toolbar input, .toolbar select { min-height: 45px; }
.map-shell { margin-top: 14px; }
.form-card { min-height: 0; }
.question-panel { background: var(--ops-soft) !important; }
.operator-summary { gap: 9px; }
.summary-card { border-radius: 12px !important; }
.deal-key-figures { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 13px; }
.deal-key-figures > div { min-width: 0; padding: 14px; border: 1px solid var(--ops-line); border-radius: 10px; background: var(--ops-soft); }
.deal-key-figures span { display: block; color: var(--ops-muted); font-size: 10px; font-weight: 750; }
.deal-key-figures strong { display: block; margin-top: 5px; font-size: clamp(16px,2vw,23px); line-height: 1.15; }
.deal-analysis { margin-bottom: 12px; border-bottom: 1px solid var(--ops-line); }
.deal-analysis > summary, .more-actions > summary { padding: 10px 0; color: var(--ops-muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.deal-analysis[open] > summary { color: var(--ops-red); }
.deal-analysis .assumption-strip { margin-bottom: 13px; }
.more-actions { flex: 1 0 100%; }
.more-actions > summary { list-style: none; width: max-content; }
.more-actions > summary::after { content: ' +'; color: var(--ops-red); }
.more-actions > div { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 5px; }
.call-row .deal-key-figures { margin-top: 15px; }

@media (max-width: 980px) {
  .operations-pulse { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .desk-action-grid, .desk-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .property-performance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toolbar { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 780px) {
  .hub-header .header-inner, .app-header .header-inner, .wb-header-inner { width: min(100% - 24px,1220px); min-height: 0; padding: 10px 0 0; flex-wrap: wrap; gap: 7px; }
  .hub-header .brand img, .app-header .brand img, .wb-site-header .wb-brand img { width: 145px; }
  .hub-header .brand span, .app-header .brand span, .wb-site-header .wb-brand span { display: none; }
  .hub-header nav, .app-header .global-nav, .wb-site-header nav { order: 3; width: 100%; margin-left: 0; padding: 0 0 9px; overflow-x: auto; scrollbar-width: none; }
  .hub-header nav a, .app-header .global-nav a, .wb-site-header nav a { padding: 8px 10px; font-size: 11px; }
  .hub-header form { margin-left: auto; }
  .hub-main, .app-shell { width: min(100% - 24px,1220px); padding-top: 25px; }
  .main .wrap, .hero + main .wrap, .wb-site-header + .top .wrap, .wb-site-header + .hero .wrap { width: min(100% - 24px,1220px); }
  .workspace-hero h1, .tool-context h1 { font-size: clamp(42px,11vw,58px); }
  .performance-detail-grid { grid-template-columns: 1fr; }
  .history-lines > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .area-filter { grid-column: 1 / -1; }
  .evidence-note { align-items: flex-start; flex-direction: column; gap: 6px; }
  .toolbar { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .deal-key-figures { grid-template-columns: 1fr 1fr; }
  .deal-key-figures > div:last-child { grid-column: 1 / -1; }
  .desk-action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .desk-action-grid a { min-height: 175px; padding: 16px; }
  .desk-action-grid a > strong { font-size: 15px; }
  .desk-action-grid a > small { font-size: 10px; }
  .desk-summary > div { min-height: 96px; padding: 14px; }
  .desk-summary strong { font-size: 28px; }
}

/* Follow the device appearance across the Operations hub, Booking Desk and Acquisition. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ops-ink: #f5f0e9;
    --ops-muted: #bcb3aa;
    --ops-red: #ff565e;
    --ops-canvas: #111315;
    --ops-surface: #1d2023;
    --ops-soft: #272a2e;
    --ops-line: rgba(245,240,233,.15);
    --ops-shadow: 0 12px 35px rgba(0,0,0,.24);
    --red-soft: #3c2528;
    --ink: #f5f0e9;
    --muted: #bcb3aa;
    --cream: #111315;
    --paper: #1d2023;
    --white: #24272a;
    --line: rgba(245,240,233,.15);
    --card: #1d2023;
    --card-2: #26292c;
    --soft: #26292c;
    --bg: #111315;
  }
  body { background: var(--ops-canvas) !important; color: var(--ops-ink) !important; }
  body.ops-hub { --black: #f5f0e9; }
  .hub-header, .app-header, .wb-site-header { background: rgba(25,28,31,.96) !important; }
  .hub-header .brand img, .app-header .brand img, .wb-site-header .wb-brand img,
  .login-logo { background: #fffaf3; border-radius: 5px; padding: 4px; }
  .hub-header nav a:hover, .app-header .global-nav a:hover, .wb-site-header nav a:hover,
  .hub-header nav a.active, .app-header .global-nav a.active, .wb-site-header nav a.active { background: #343940 !important; color: #fff !important; }
  .action-tile.featured, .desk-action-grid a:first-child { background: #282d32 !important; border-color: #59616a !important; color: #f5f0e9 !important; }
  .action-tile, .command-grid a, .command-grid article { color: #f5f0e9 !important; }
  .login-card, .command-grid a, .command-grid article { background: var(--ops-surface) !important; border-color: var(--ops-line) !important; }
  .login-card code { background: #30363c; color: #f5f0e9; }
  .workspace-switch, .property-picker { background: #24282b !important; border-color: var(--ops-line) !important; }
  .stats article, .command-grid article { background: var(--ops-surface) !important; border-color: var(--ops-line) !important; }
  .data-notice, .login-error { background: #3c2528 !important; color: #ffd3d4 !important; }
  .focus-note, .connection-icon, .workspace-switch button[aria-selected="true"] { background: #343940 !important; color: #fff !important; }
  .action-tile.featured .action-icon, .desk-action-grid a:first-child > span { color: #ff777d !important; }
  .panel, .connection-card, .property-performance-grid article, .operations-pulse a,
  .operations-pulse > div, .desk-summary > div, .desk-action-grid a,
  .stat, .deal-card, .call-row, .form-card, .evidence-note,
  .question-panel, .kpi, .summary-card, .quote-card, .contact-row,
  .template-card, .outreach-controls, .market-card, .listing-card { background: var(--ops-surface) !important; color: var(--ops-ink) !important; border-color: var(--ops-line) !important; }
  .question-panel, .deal-key-figures > div, .compact-note, .notice { background: var(--ops-soft) !important; color: var(--ops-ink) !important; border-color: var(--ops-line) !important; }
  input, select, textarea, .area-filter select, .context-property select,
  .toolbar input, .toolbar select { background: #272b2f !important; color: #f5f0e9 !important; border-color: #535960 !important; }
  input::placeholder, textarea::placeholder { color: #a69e95 !important; }
  .secondary-button, .area-filter button, .performance-actions a { background: #30363c !important; color: #f5f0e9 !important; border-color: #5b636b !important; }
  .nav-actions { background: linear-gradient(180deg,transparent 0%,var(--ops-surface) 30%,var(--ops-surface) 100%) !important; }
  .deal-analysis, .history-lines > div, .signal-list > div { border-color: var(--ops-line) !important; }
  .page-hero, .hero, .top { color: var(--ops-ink) !important; }
  .review-flag, .status-pill, .pill { border-color: var(--ops-line) !important; }
  a { text-decoration-color: currentColor; }
}
