
/* ===== admin.css ===== */
:root{
  --navy:#0b1d2c;
  --navy2:#122d41;
  --teal:#177f79;
  --teal2:#26a39a;
  --tealSoft:#e8f5f3;
  --gold:#caa45f;
  --ink:#172637;
  --muted:#6f7e89;
  --line:#e1e7ea;
  --surface:#f5f7f8;
  --white:#fff;
  --success:#24765d;
  --successSoft:#e7f4ef;
  --warning:#a86b17;
  --warningSoft:#fff2dc;
  --danger:#b84f4f;
  --dangerSoft:#faecec;
  --shadow:0 12px 32px rgba(11,29,44,.07);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--surface);color:var(--ink)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}

.admin-shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}

.sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:20px 16px 16px;
  background:linear-gradient(180deg,#0c2030 0%,#081620 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  z-index:40;
}

.brand{display:flex;gap:12px;align-items:center;padding:2px 8px 22px}
.brand img{
  width:48px;height:48px;
  border-radius:13px;
  background:#fff;
  padding:7px;
}
.brand strong{display:block;letter-spacing:.14em;font-size:14px}
.brand span{display:block;color:#92a6b2;font-size:11px;margin-top:4px}

.nav-label{
  color:#738995;
  font-size:10px;
  letter-spacing:.15em;
  font-weight:800;
  padding:0 10px 10px;
}

.nav{overflow:auto;display:flex;flex-direction:column;gap:4px;padding-right:2px}

.nav-item{
  border:0;
  background:transparent;
  color:#b8c6ce;
  border-radius:13px;
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  text-align:left;
  padding:9px 10px;
  transition:.18s ease;
}

.nav-item:hover{background:rgba(255,255,255,.055)}
.nav-item.active{
  background:rgba(23,127,121,.20);
  box-shadow:inset 3px 0 0 var(--teal2);
}

.nav-icon{
  width:31px;height:31px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.13);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  font-weight:800;
  font-size:12px;
}

.nav-item.active .nav-icon{
  background:var(--teal);
  border-color:var(--teal);
  color:#fff;
}

.nav-item strong{display:block;font-size:12.5px;color:#e0e8ec}
.nav-item small{display:block;font-size:10px;color:#758a96;margin-top:2px}
.nav-item.active small{color:#9fd7d2}

.nav-divider{height:1px;background:rgba(255,255,255,.08);margin:8px 10px}

.admin-profile{
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.08);
  padding:14px 7px 0;
  display:flex;
  align-items:center;
  gap:10px;
}

.avatar{
  width:37px;height:37px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--gold),#ebcf99);
  color:var(--navy);
  font-size:11px;
  font-weight:900;
}

.profile-copy{flex:1;min-width:0}
.profile-copy strong{display:block;font-size:11px}
.profile-copy span{display:block;font-size:9px;color:#79909d;margin-top:2px}
.admin-profile button{background:none;border:0;color:#8297a3;font-size:18px}

.main{min-width:0}

.topbar{
  height:84px;
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 32px;
}

.title-wrap{display:flex;align-items:center;gap:12px}
.eyebrow{font-size:9px;font-weight:900;letter-spacing:.14em;color:var(--teal)}
.topbar h2{margin:3px 0 0;font-size:20px}
.menu-toggle{display:none;border:0;background:none;font-size:22px}

.top-actions{display:flex;gap:10px;align-items:center}
.marketplace-link{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:9px 13px;
  font-size:11px;
  font-weight:800;
}
.system-status{
  border:1px solid #d9e9e6;
  background:#f8fffd;
  border-radius:10px;
  padding:9px 12px;
  font-size:10px;
  color:#48645f;
}
.system-status i{
  display:inline-block;
  width:7px;height:7px;
  border-radius:50%;
  background:#35a578;
  margin-right:6px;
}

.content{
  padding:27px 32px 60px;
  max-width:1600px;
  margin:auto;
}

.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.section-head h1{margin:0;font-size:26px}
.section-head p{margin:6px 0 0;color:var(--muted);font-size:12px;max-width:760px;line-height:1.5}

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

.kpi{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 5px 18px rgba(11,29,44,.025);
}
.kpi .label{
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.055em;
  font-weight:800;
}
.kpi strong{
  display:block;
  font-size:27px;
  color:var(--navy);
  margin:7px 0 4px;
}
.kpi small{font-size:10px;color:var(--muted)}

.grid-2{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:16px;
  margin-bottom:16px;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 5px 22px rgba(11,29,44,.03);
  overflow:hidden;
}

.panel-head{
  padding:17px 19px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.panel-head h3{margin:0;font-size:14px}
.panel-body{padding:18px 19px}

.funnel{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:7px;
}
.funnel-item{
  background:linear-gradient(180deg,#fafdfd,var(--tealSoft));
  border:1px solid #dbe9e7;
  border-radius:12px;
  text-align:center;
  padding:13px 7px;
}
.funnel-item strong{display:block;font-size:20px;color:var(--navy)}
.funnel-item span{font-size:9px;color:var(--muted)}

.priority-list{display:flex;flex-direction:column;gap:9px}
.priority{
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
}
.dot{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.priority strong{display:block;font-size:11px}
.priority span{font-size:9px;color:var(--muted)}

.table-wrap{overflow:auto}
table{
  width:100%;
  border-collapse:collapse;
  min-width:820px;
}
th{
  background:#f8fafb;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.045em;
  color:#74818a;
  padding:11px 13px;
  text-align:left;
  border-bottom:1px solid var(--line);
}
td{
  padding:12px 13px;
  border-bottom:1px solid #edf0f2;
  font-size:11px;
}
tr:last-child td{border-bottom:0}
.entity strong{display:block;font-size:11px}
.entity small{display:block;color:var(--muted);font-size:9px;margin-top:3px}

.badge{
  display:inline-flex;
  padding:5px 9px;
  border-radius:10px;
  font-size:9px;
  font-weight:800;
}
.success{background:var(--successSoft);color:var(--success)}
.warning{background:var(--warningSoft);color:var(--warning)}
.danger{background:var(--dangerSoft);color:var(--danger)}
.neutral{background:#edf1f3;color:#5d6870}

.primary,.secondary,.table-btn{
  border-radius:10px;
  font-weight:800;
}
.primary{
  border:0;
  background:var(--navy);
  color:#fff;
  padding:10px 14px;
}
.secondary{
  background:#fff;
  border:1px solid var(--line);
  padding:10px 14px;
  color:var(--ink);
}
.table-btn{
  background:#fff;
  border:1px solid var(--line);
  padding:7px 9px;
  font-size:9px;
}
.table-btn.red{color:var(--danger)}
.table-btn.green{color:var(--success)}

.tools{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.control{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:9px 11px;
  font-size:10px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.field label{
  display:block;
  font-size:10px;
  font-weight:800;
  margin-bottom:6px;
}
.field input,.field select,.field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:11px;
  background:#fff;
}
.field small{color:var(--muted);font-size:9px;display:block;margin-top:5px}
.field textarea{min-height:100px;resize:vertical}
.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}

.setting{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}
.setting:last-child{border-bottom:0}
.setting strong{display:block;font-size:11px}
.setting span{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.toggle{
  width:42px;height:23px;
  border-radius:999px;
  border:0;
  background:#cbd4d9;
  position:relative;
}
.toggle:after{
  content:"";
  position:absolute;
  top:3px;left:3px;
  width:17px;height:17px;
  border-radius:50%;
  background:#fff;
  transition:.18s;
}
.toggle.on{background:var(--teal)}
.toggle.on:after{left:22px}

.metric-list{display:flex;flex-direction:column;gap:12px}
.metric{
  display:grid;
  grid-template-columns:130px 1fr 45px;
  gap:10px;
  align-items:center;
  font-size:10px;
}
.track{height:8px;background:#edf1f3;border-radius:999px;overflow:hidden}
.fill{height:100%;background:linear-gradient(90deg,var(--teal),#6dc0b8)}

.audit-row{
  display:grid;
  grid-template-columns:130px 120px 1fr 100px;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:10px;
}
.audit-row:last-child{border-bottom:0}
.audit-row span{color:var(--muted)}

.notice{
  border:1px solid #dbe9e7;
  background:#f6fffd;
  border-radius:11px;
  padding:11px 13px;
  font-size:10px;
  color:#496762;
}

.gate{
  position:fixed;
  inset:0;
  z-index:200;
  background:linear-gradient(145deg,#07141f,#123249);
  display:grid;
  place-items:center;
  padding:20px;
}
.gate.hidden{display:none}
.gate-card{
  width:min(430px,100%);
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:0 35px 100px rgba(0,0,0,.35);
}
.gate-card img{
  width:180px;
  height:auto;
  object-fit:contain;
  margin-bottom:18px;
}
.gate-card h1{font-size:26px;margin:6px 0 8px}
.gate-card p{font-size:11px;line-height:1.5;color:var(--muted)}
.gate-card label{
  display:block;
  font-size:10px;
  font-weight:800;
  margin-top:13px;
}
.gate-card input,.gate-card select{
  width:100%;
  margin-top:6px;
  padding:11px;
  border-radius:10px;
  border:1px solid var(--line);
}
.wide{width:100%;margin-top:18px;padding:12px}
.return-link{
  display:block;
  text-align:center;
  color:var(--muted);
  margin-top:13px;
  font-size:10px;
}
.gate-note{
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:14px;
  color:#82909a;
  font-size:9px;
  line-height:1.45;
}

@media(max-width:1120px){
  .kpis{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
}

@media(max-width:820px){
  .admin-shell{display:block}
  .sidebar{
    position:fixed;
    left:-285px;
    width:270px;
    transition:.2s;
    box-shadow:20px 0 50px rgba(0,0,0,.18);
  }
  .sidebar.open{left:0}
  .menu-toggle{display:block}
  .topbar{height:75px;padding:0 16px}
  .system-status{display:none}
  .content{padding:19px 15px 80px}
  .topbar h2{font-size:16px}
  .funnel{grid-template-columns:repeat(3,1fr)}
  .form-grid{grid-template-columns:1fr}
  .audit-row{grid-template-columns:90px 1fr}
  .audit-row>:nth-child(3),.audit-row>:nth-child(4){grid-column:2}
}

@media(max-width:520px){
  .kpis{grid-template-columns:1fr 1fr;gap:9px}
  .kpi{padding:13px}
  .kpi strong{font-size:21px}
  .section-head{display:block}
  .marketplace-link{display:none}
}


/* Final Premium Polish */

.nav-section{
  padding:13px 10px 6px;
  color:#637d8a;
  font-size:8px;
  letter-spacing:.15em;
  font-weight:900;
}

.grid-2{
  align-items:start;
}

.funnel-item small{
  display:block;
  margin-top:5px;
  font-size:8px;
  color:#6f7e89;
  font-weight:700;
}

.click-card,
.priority.clickable{
  cursor:pointer;
  transition:.18s ease;
}

.click-card:hover,
.priority.clickable:hover{
  transform:translateY(-1px);
  border-color:#cbdcdd;
  box-shadow:0 8px 24px rgba(11,29,44,.07);
}

.system-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}

.updated{
  font-size:8px;
  color:#8a979f;
  padding-right:7px;
}

.dashboard-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
}

.period-select{
  min-width:120px;
}

.funnel-context{
  color:#77858e;
  font-size:9px;
}

@media(max-width:820px){
  .updated{display:none}
  .dashboard-toolbar{
    margin-top:12px;
    justify-content:flex-start;
  }
}


/* =========================================================
   UNIFIED THEO ADMIN WORKSPACE DESIGN LOCK
   Align administration with the established Theo dashboards
   ========================================================= */

:root{
  --workspace-sidebar: 268px;
}

/* Main shell */
.admin-shell{
  grid-template-columns:var(--workspace-sidebar) 1fr;
}

/* Sidebar — match Theo workspace proportions */
.sidebar{
  width:var(--workspace-sidebar);
  padding:18px 16px 16px;
  background:#0d2031;
}

/* Brand */
.brand{
  padding:2px 12px 18px;
  gap:11px;
}

.brand img{
  width:44px;
  height:44px;
  border-radius:11px;
  padding:6px;
}

.brand strong{
  font-size:13px;
  letter-spacing:.13em;
}

.brand span{
  font-size:10px;
}

/* Group labels */
.nav-label{
  padding:2px 12px 8px;
  font-size:9px;
  color:#778b98;
}

.nav-section{
  padding:12px 12px 5px;
  font-size:8px;
  color:#6f8592;
}

/* Navigation — compact like main Theo dashboard */
.nav{
  gap:2px;
}

.nav-item{
  min-height:48px;
  padding:7px 9px;
  gap:10px;
  border-radius:11px;
}

.nav-item:hover{
  background:rgba(255,255,255,.045);
}

.nav-item.active{
  background:#17374b;
  box-shadow:inset 3px 0 0 #d0a85d;
}

.nav-icon{
  width:34px;
  height:34px;
  border-radius:10px;
}

.nav-item.active .nav-icon{
  background:#244c60;
  border-color:#527183;
  color:#f0cf8b;
}

.nav-item strong{
  font-size:12px;
}

.nav-item small{
  font-size:9px;
  margin-top:1px;
}

/* Account footer */
.admin-profile{
  padding:13px 9px 2px;
}

.avatar{
  width:36px;
  height:36px;
  border-radius:10px;
}

.profile-copy strong{
  font-size:11px;
}

.profile-copy span{
  font-size:9px;
}

/* Header — match other Theo workspaces */
.topbar{
  height:78px;
  padding:0 30px;
  background:#fff;
}

.topbar h2{
  font-size:16px;
  font-weight:800;
}

.eyebrow{
  font-size:8px;
  color:#a87536;
}

/* Main workspace */
.content{
  padding:26px 30px 56px;
}

.section-head{
  margin-bottom:17px;
}

.section-head h1{
  font-size:25px;
  letter-spacing:-.025em;
}

.section-head p{
  font-size:11px;
}

/* KPI cards — same density as landlord dashboard */
.kpis{
  gap:12px;
  margin-bottom:15px;
}

.kpi{
  min-height:112px;
  padding:15px 16px;
  border-radius:15px;
  box-shadow:none;
}

.kpi .label{
  font-size:9px;
}

.kpi strong{
  margin:6px 0 3px;
  font-size:25px;
}

.kpi small{
  font-size:9px;
}

/* Panels */
.panel{
  border-radius:16px;
  box-shadow:none;
}

.panel-head{
  padding:15px 18px;
}

.panel-head h3{
  font-size:13px;
}

.panel-body{
  padding:17px 18px;
}

/* Executive dashboard */
.grid-2{
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);
  gap:14px;
}

.funnel{
  gap:7px;
}

.funnel-item{
  min-height:84px;
  padding:12px 6px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.funnel-item strong{
  font-size:19px;
}

.funnel-item span{
  font-size:9px;
}

.funnel-item small{
  font-size:7.5px;
}

.priority{
  min-height:55px;
  padding:10px 12px;
}

.priority strong{
  font-size:10.5px;
}

.priority span{
  font-size:9px;
}

/* Demand intelligence */
.metric{
  grid-template-columns:120px 1fr 42px;
}

/* Tables */
table{
  min-width:760px;
}

th{
  padding:10px 12px;
}

td{
  padding:11px 12px;
}

/* Buttons / controls */
.control{
  min-height:38px;
  padding:8px 10px;
}

.primary,
.secondary{
  min-height:39px;
}

/* Responsive behaviour — keep desktop Theo shell longer */
@media(max-width:720px){

  .admin-shell{
    display:block;
  }

  .sidebar{
    position:fixed;
    width:268px;
    left:-284px;
    z-index:60;
  }

  .sidebar.open{
    left:0;
  }

  .topbar{
    height:70px;
    padding:0 15px;
  }

  .menu-toggle{
    display:block;
  }

  .content{
    padding:18px 14px 80px;
  }

  .kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .grid-2{
    grid-template-columns:1fr;
  }

  .funnel{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:430px){

  .kpi{
    min-height:100px;
  }

  .section-head h1{
    font-size:22px;
  }
}


/* =======================================================
   THEO PROPERTIES — SUPER ADMIN DASHBOARD DESIGN LOCK
   ======================================================= */

.admin-shell{
  grid-template-columns:268px minmax(0,1fr) !important;
}

.sidebar{
  width:268px !important;
  padding:20px 16px 14px !important;
  background:#0c2132 !important;
}

.brand{
  padding:2px 9px 12px !important;
}

.brand img{
  width:42px !important;
  height:42px !important;
  background:#fff !important;
  border-radius:10px !important;
}

.brand strong{
  font-size:13px !important;
  letter-spacing:.13em !important;
}

.brand span{
  font-size:9px !important;
}

.nav-label{
  padding:6px 9px 5px !important;
  font-size:7.5px !important;
}

.nav{
  flex:1;
  min-height:0;
  overflow-y:auto;
  gap:2px !important;
  padding-right:2px;
  padding-bottom:8px;
}

.nav-section{
  padding:12px 9px 5px !important;
  color:#7c919d !important;
  font-size:7.5px !important;
  letter-spacing:.15em !important;
  font-weight:900 !important;
}

.nav-item{
  min-height:45px !important;
  padding:6px 8px !important;
  gap:9px !important;
  border-radius:10px !important;
}

.nav-item.active{
  background:#17394d !important;
  box-shadow:inset 3px 0 0 #d3aa60 !important;
}

.nav-icon{
  width:33px !important;
  height:33px !important;
  flex:0 0 33px !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid #324b5e !important;
  border-radius:9px !important;
  color:#b4c6d0 !important;
  background:#10293a !important;
}

.nav-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.nav-item.active .nav-icon{
  color:#e5bd71 !important;
  border-color:#567488 !important;
  background:#284d62 !important;
}

.nav-copy{
  flex:1;
  min-width:0;
}

.nav-copy strong{
  display:block;
  color:#edf3f6 !important;
  font-size:10.5px !important;
  line-height:1.15;
}

.nav-copy small{
  display:block;
  color:#8296a2 !important;
  font-size:8px !important;
  line-height:1.15;
  margin-top:2px;
}

.nav-arrow{
  color:#718a98;
  font-size:14px;
}

.nav-item.active .nav-arrow{
  color:#d4ac63;
}

.admin-profile{
  flex:0 0 auto;
  min-height:59px;
  padding:10px 8px 0 !important;
  background:#0c2132 !important;
}

.avatar{
  width:36px !important;
  height:36px !important;
  border-radius:10px !important;
}

.profile-copy strong{
  font-size:10px !important;
}

.profile-copy span{
  font-size:8px !important;
}


/* HEADER */

.topbar{
  height:76px !important;
  padding:0 30px !important;
  background:#fff !important;
  border-bottom:1px solid #e2e8eb !important;
}

.top-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.top-logo{
  width:170px;
  height:51px;
  object-fit:contain;
}

.top-divider{
  width:1px;
  height:34px;
  background:#dfe5e8;
}

.top-context span{
  display:block;
  color:#7d8b97;
  font-size:8px;
  letter-spacing:.12em;
  font-weight:900;
}

.top-context strong{
  display:block;
  color:#132535;
  font-size:12px;
  margin-top:3px;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.live-platform{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#e9f7f2;
  color:#397565;
  border-radius:10px;
  padding:8px 12px;
  font-size:9px;
  font-weight:800;
}

.live-platform i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22a878;
}

.admin-search{
  width:200px;
  height:37px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #dde5e8;
  border-radius:10px;
  padding:0 11px;
}

.admin-search svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:#61717d;
  stroke-width:1.8;
}

.admin-search input{
  width:100%;
  border:0;
  outline:0;
  font-size:9px;
  background:transparent;
}

.top-icon-btn{
  position:relative;
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  border:1px solid #dde5e8;
  border-radius:50%;
  background:#fff;
}

.top-icon-btn svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:#183247;
  stroke-width:1.8;
}

.top-icon-btn span{
  position:absolute;
  top:-4px;
  right:-3px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#df3545;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:7px;
  font-weight:900;
}

.top-user{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf1f3;
  color:#173044;
  font-size:10px;
  font-weight:900;
}


/* MAIN WORKSPACE */

.content{
  max-width:none !important;
  padding:25px 30px 45px !important;
  background:#f7f9fa;
}

.section-head{
  margin-bottom:15px !important;
}

.section-head h1{
  font-size:29px !important;
  letter-spacing:-.035em;
}

.section-head p{
  font-size:10.5px !important;
}


/* KPI */

.kpis{
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:12px !important;
}

.kpi{
  min-height:120px !important;
  padding:15px 16px !important;
  border:1px solid #e1e7ea !important;
  border-radius:13px !important;
  box-shadow:0 5px 18px rgba(15,42,61,.035) !important;
}

.kpi .label{
  font-size:8px !important;
}

.kpi strong{
  font-size:25px !important;
  margin:7px 0 5px !important;
}


/* APPROVED EXECUTIVE GRID */

.executive-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(250px,.65fr) minmax(260px,.7fr);
  gap:14px;
  margin-top:14px;
}

.panel{
  border-radius:14px !important;
  box-shadow:0 5px 22px rgba(15,42,61,.035) !important;
}

.panel-head{
  padding:14px 16px !important;
}

.panel-body{
  padding:15px 16px !important;
}

.chart-panel{
  min-height:305px;
}

.activity-chart{
  width:100%;
  height:218px;
}

.activity-chart text{
  font-size:8px;
  fill:#7a8a95;
}

.chart-grid{
  stroke:#e9edef;
  stroke-width:1;
}

.chart-properties{
  fill:none;
  stroke:#173f64;
  stroke-width:2.5;
}

.chart-applications{
  fill:none;
  stroke:#d8a33c;
  stroke-width:2.5;
}

.chart-viewings{
  fill:none;
  stroke:#228c73;
  stroke-width:2.5;
}

.chart-fill{
  fill:url(#activityArea);
  opacity:.45;
}

.chart-legend{
  display:flex;
  justify-content:center;
  gap:22px;
  margin-top:5px;
  font-size:8px;
  color:#6e7f8a;
}

.chart-legend i{
  width:8px;
  height:8px;
  display:inline-block;
  border-radius:50%;
  margin-right:5px;
}

.conversion-list{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.conversion-step{
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:8px;
  min-height:39px;
  padding:6px 8px;
  background:#f8fafb;
  border-radius:9px;
}

.conversion-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:#eaf3f6;
  border-radius:8px;
  color:#186c95;
}

.conversion-icon svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}

.conversion-step strong{
  display:block;
  font-size:9px;
}

.conversion-step small{
  display:block;
  color:#7c8b94;
  font-size:7.5px;
}

.conversion-number{
  text-align:right;
}

.conversion-number strong{
  font-size:10px;
}

.conversion-number small{
  font-size:7px;
}

.priority-list{
  gap:8px !important;
}

.priority{
  min-height:50px !important;
  border-radius:10px !important;
}

.priority strong{
  font-size:9px !important;
}

.priority span{
  font-size:7.5px !important;
}

.priority-count{
  background:#e33a48;
  color:#fff;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:8px;
  font-weight:900;
}


/* LOWER DASHBOARD */

.lower-dashboard{
  display:grid;
  grid-template-columns:1.55fr .85fr;
  gap:14px;
  margin-top:14px;
}

.recent-table{
  width:100%;
  min-width:0;
}

.recent-table th,
.recent-table td{
  padding:8px 8px !important;
  font-size:8px !important;
}

.property-cell{
  display:flex;
  align-items:center;
  gap:8px;
}

.property-thumb{
  width:45px;
  height:30px;
  border-radius:5px;
  object-fit:cover;
}

.health-list{
  display:flex;
  flex-direction:column;
}

.health-row{
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:8px;
  min-height:39px;
  border-bottom:1px solid #edf0f2;
  font-size:8px;
}

.health-row:last-child{
  border-bottom:0;
}

.health-icon{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#f4f7f8;
}

.health-status{
  color:#278568;
  font-weight:800;
}

.health-status.pending{
  color:#a66a18;
}


/* RESPONSIVE */

@media(max-width:1250px){
  .kpis{
    grid-template-columns:repeat(3,1fr) !important;
  }

  .executive-grid{
    grid-template-columns:1.4fr .8fr;
  }

  .priority-panel{
    grid-column:1/-1;
  }

  .lower-dashboard{
    grid-template-columns:1fr;
  }
}

@media(max-width:820px){
  .top-logo{
    width:130px;
  }

  .admin-search{
    display:none;
  }

  .kpis{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .executive-grid{
    grid-template-columns:1fr;
  }

  .lower-dashboard{
    grid-template-columns:1fr;
  }
}


/* LIVE ADMIN INTELLIGENCE */

.panel-context{
  display:block;
  margin-top:3px;
  font-size:8px;
  color:#7b8994;
}

.snapshot-chart{
  display:flex;
  flex-direction:column;
  gap:15px;
  padding:9px 2px 12px;
}

.snapshot-row{
  display:grid;
  grid-template-columns:105px 1fr 40px;
  gap:12px;
  align-items:center;
  width:100%;
  border:0;
  background:transparent;
  padding:2px 0;
  text-align:left;
  cursor:pointer;
}

.snapshot-label{
  font-size:9px;
  font-weight:800;
}

.snapshot-track{
  height:12px;
  background:#edf2f4;
  border-radius:999px;
  overflow:hidden;
}

.snapshot-fill{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#177f79,#67bcb2);
}

.snapshot-row:nth-child(2) .snapshot-fill{
  background:linear-gradient(90deg,#234f73,#6d98b7);
}

.snapshot-row:nth-child(3) .snapshot-fill{
  background:linear-gradient(90deg,#bd8934,#e1b964);
}

.snapshot-row:nth-child(4) .snapshot-fill{
  background:linear-gradient(90deg,#446f86,#75a5b7);
}

.snapshot-row:nth-child(5) .snapshot-fill{
  background:linear-gradient(90deg,#a85f4b,#ca8b77);
}

.snapshot-row strong{
  text-align:right;
  font-size:11px;
}

.snapshot-note{
  border-top:1px solid #edf0f2;
  padding-top:12px;
  margin-top:6px;
  color:#84919a;
  font-size:8px;
}

.priority-clear{
  border:1px solid #dfebe7;
  background:#f8fffc;
  color:#467066;
  border-radius:10px;
  padding:15px;
  font-size:9px;
}



/* =========================================================
   PREMIUM TYPOGRAPHY & SPACING LOCK
   ========================================================= */

:root{
  --admin-font:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

body{
  font-family:var(--admin-font) !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}


/* ---------------------------------------------------------
   PAGE / CONTENT RHYTHM
   --------------------------------------------------------- */

.content{
  padding:28px 32px 52px !important;
}

.section-head{
  margin-bottom:18px !important;
  align-items:center !important;
}

.section-head h1{
  margin:0 !important;
  font-size:28px !important;
  line-height:1.08 !important;
  font-weight:750 !important;
  letter-spacing:-.035em !important;
  color:#17283a !important;
}

.section-head p{
  margin:7px 0 0 !important;
  font-size:11px !important;
  line-height:1.5 !important;
  color:#70808c !important;
}


/* ---------------------------------------------------------
   TOP HEADER
   --------------------------------------------------------- */

.topbar{
  height:78px !important;
  padding:0 32px !important;
}

.top-context span{
  font-size:8px !important;
  line-height:1 !important;
  letter-spacing:.13em !important;
  font-weight:800 !important;
}

.top-context strong{
  margin-top:5px !important;
  font-size:12px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
}

.live-platform{
  min-height:34px !important;
  padding:8px 13px !important;
  font-size:9px !important;
  font-weight:750 !important;
}

.admin-search{
  width:220px !important;
  height:38px !important;
}

.admin-search input{
  font-size:10px !important;
}


/* ---------------------------------------------------------
   SIDEBAR
   --------------------------------------------------------- */

.brand{
  padding:2px 9px 14px !important;
}

.brand strong{
  font-size:13px !important;
  line-height:1.1 !important;
}

.brand span{
  margin-top:3px !important;
  font-size:9px !important;
  line-height:1.2 !important;
}

.nav-label,
.nav-section{
  font-weight:800 !important;
  letter-spacing:.14em !important;
}

.nav-section{
  padding:13px 9px 6px !important;
  font-size:7.5px !important;
}

.nav-item{
  min-height:46px !important;
  padding:6px 8px !important;
  gap:10px !important;
}

.nav-copy strong{
  font-size:10.5px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:-.005em !important;
}

.nav-copy small{
  margin-top:3px !important;
  font-size:8.25px !important;
  line-height:1.2 !important;
}

.profile-copy strong{
  font-size:10.5px !important;
  line-height:1.2 !important;
}

.profile-copy span{
  margin-top:2px !important;
  font-size:8.5px !important;
}


/* ---------------------------------------------------------
   KPI SYSTEM
   --------------------------------------------------------- */

.kpis{
  gap:14px !important;
  margin-bottom:16px !important;
}

.kpi{
  min-height:112px !important;
  padding:16px 17px !important;
  border-radius:14px !important;
}

.kpi .label{
  font-size:8.25px !important;
  line-height:1.2 !important;
  letter-spacing:.08em !important;
  font-weight:800 !important;
}

.kpi strong{
  margin:9px 0 6px !important;
  font-size:25px !important;
  line-height:1 !important;
  font-weight:750 !important;
  letter-spacing:-.025em !important;
}

.kpi small{
  font-size:9px !important;
  line-height:1.35 !important;
  color:#74838e !important;
}


/* ---------------------------------------------------------
   EXECUTIVE PANELS
   --------------------------------------------------------- */

.executive-grid{
  gap:16px !important;
  margin-top:16px !important;
}

.panel{
  border-radius:14px !important;
}

.panel-head{
  min-height:57px !important;
  padding:15px 18px !important;
}

.panel-head h3{
  margin:0 !important;
  font-size:12.5px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
  letter-spacing:-.01em !important;
}

.panel-context{
  margin-top:4px !important;
  font-size:8.5px !important;
  line-height:1.3 !important;
}

.panel-body{
  padding:18px !important;
}


/* ---------------------------------------------------------
   OPERATIONAL ACTIVITY
   --------------------------------------------------------- */

.snapshot-chart{
  gap:16px !important;
  padding:8px 1px 12px !important;
}

.snapshot-row{
  grid-template-columns:112px 1fr 38px !important;
  gap:13px !important;
  min-height:24px !important;
}

.snapshot-label{
  font-size:9.5px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

.snapshot-track{
  height:11px !important;
}

.snapshot-row strong{
  font-size:10.5px !important;
  line-height:1 !important;
  font-weight:750 !important;
}

.snapshot-note{
  margin-top:9px !important;
  padding-top:13px !important;
  font-size:8.5px !important;
  line-height:1.4 !important;
}


/* ---------------------------------------------------------
   CONVERSION FUNNEL
   --------------------------------------------------------- */

.conversion-list{
  gap:8px !important;
}

.conversion-step{
  min-height:44px !important;
  padding:8px 10px !important;
  border-radius:9px !important;
}

.conversion-step > div:first-child strong{
  font-size:9px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

.conversion-number strong{
  font-size:10.5px !important;
  line-height:1 !important;
  font-weight:750 !important;
}

.conversion-number small{
  margin-top:3px !important;
  display:block !important;
  font-size:7.5px !important;
  line-height:1 !important;
}


/* ---------------------------------------------------------
   PRIORITY ACTIONS
   --------------------------------------------------------- */

.priority-list{
  gap:9px !important;
}

.priority{
  min-height:55px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
}

.priority strong{
  font-size:9.25px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

.priority span{
  margin-top:3px !important;
  font-size:7.75px !important;
  line-height:1.3 !important;
}

.priority-count{
  width:24px !important;
  height:24px !important;
  font-size:8px !important;
}


/* ---------------------------------------------------------
   LOWER DASHBOARD
   --------------------------------------------------------- */

.lower-dashboard{
  gap:16px !important;
  margin-top:16px !important;
}


/* ---------------------------------------------------------
   TABLES
   --------------------------------------------------------- */

.recent-table th,
table th{
  padding:10px 10px !important;
  font-size:7.75px !important;
  line-height:1.2 !important;
  letter-spacing:.07em !important;
  font-weight:800 !important;
  color:#74838e !important;
}

.recent-table td,
table td{
  padding:10px !important;
  font-size:9px !important;
  line-height:1.35 !important;
}

.recent-table td strong,
.entity strong{
  font-size:9.25px !important;
  font-weight:700 !important;
}

.entity small{
  margin-top:3px !important;
  font-size:8px !important;
}


/* ---------------------------------------------------------
   STATUS / BADGES
   --------------------------------------------------------- */

.badge{
  padding:5px 9px !important;
  font-size:7.75px !important;
  line-height:1 !important;
  font-weight:800 !important;
}

.table-btn{
  min-height:31px !important;
  padding:7px 10px !important;
  font-size:8.5px !important;
}


/* ---------------------------------------------------------
   PLATFORM SYSTEM STATUS
   --------------------------------------------------------- */

.health-row{
  min-height:44px !important;
  padding:3px 0 !important;
  font-size:8.75px !important;
}

.health-row strong{
  font-size:8.75px !important;
  line-height:1.25 !important;
}

.health-status{
  font-size:8.25px !important;
  line-height:1.2 !important;
}


/* ---------------------------------------------------------
   CONTROLS / FORMS
   --------------------------------------------------------- */

.control{
  min-height:38px !important;
  padding:8px 11px !important;
  font-size:9.5px !important;
}

.primary,
.secondary{
  min-height:38px !important;
  padding:9px 14px !important;
  font-size:9.5px !important;
  font-weight:750 !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media(max-width:820px){

  .content{
    padding:20px 15px 72px !important;
  }

  .section-head{
    align-items:flex-start !important;
  }

  .section-head h1{
    font-size:24px !important;
  }

  .section-head p{
    font-size:10px !important;
  }

  .kpis{
    gap:10px !important;
  }

  .kpi{
    min-height:102px !important;
    padding:14px !important;
  }

  .kpi strong{
    font-size:22px !important;
  }

  .panel-head{
    min-height:53px !important;
    padding:13px 14px !important;
  }

  .panel-body{
    padding:14px !important;
  }

  .snapshot-row{
    grid-template-columns:90px 1fr 32px !important;
    gap:8px !important;
  }

}


/* =========================================================
   TYPOGRAPHY BALANCE & READABILITY LOCK
   ========================================================= */

/* Base reading scale */
body{
  font-size:11px !important;
  line-height:1.4 !important;
  letter-spacing:0 !important;
}


/* PAGE HEADING */

.section-head h1{
  font-size:27px !important;
  line-height:1.12 !important;
  font-weight:750 !important;
}

.section-head p{
  font-size:11px !important;
  line-height:1.5 !important;
  max-width:760px;
}


/* TOP HEADER */

.top-context span{
  font-size:8.5px !important;
  line-height:1.2 !important;
}

.top-context strong{
  font-size:12px !important;
  line-height:1.3 !important;
}

.live-platform{
  font-size:9.5px !important;
  line-height:1.2 !important;
}


/* SIDEBAR */

.nav-section,
.nav-label{
  font-size:8px !important;
  line-height:1.25 !important;
}

.nav-copy strong{
  font-size:11px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

.nav-copy small{
  font-size:8.75px !important;
  line-height:1.3 !important;
  margin-top:2px !important;
}

.profile-copy strong{
  font-size:10.5px !important;
  line-height:1.25 !important;
}

.profile-copy span{
  font-size:8.75px !important;
  line-height:1.3 !important;
}


/* KPI CARDS */

.kpi .label{
  font-size:8.5px !important;
  line-height:1.25 !important;
}

.kpi strong{
  font-size:24px !important;
  line-height:1.05 !important;
  margin:8px 0 6px !important;
}

.kpi small{
  font-size:9.25px !important;
  line-height:1.4 !important;
}


/* PANEL TITLES */

.panel-head{
  min-height:58px !important;
  padding:15px 18px !important;
}

.panel-head h3{
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:750 !important;
}

.panel-context{
  font-size:8.75px !important;
  line-height:1.35 !important;
}


/* OPERATIONAL ACTIVITY */

.snapshot-label{
  font-size:9.75px !important;
  line-height:1.3 !important;
}

.snapshot-row strong{
  font-size:10.5px !important;
  line-height:1.2 !important;
}

.snapshot-note{
  font-size:8.75px !important;
  line-height:1.5 !important;
}


/* CONVERSION FUNNEL */

.conversion-step{
  min-height:48px !important;
  padding:9px 10px !important;
}

.conversion-step > div:first-child strong{
  font-size:9.5px !important;
  line-height:1.3 !important;
}

.conversion-number strong{
  font-size:10.5px !important;
  line-height:1.2 !important;
}

.conversion-number small{
  font-size:8px !important;
  line-height:1.3 !important;
  margin-top:2px !important;
}


/* PRIORITY ACTIONS */

.priority{
  min-height:58px !important;
  padding:11px 12px !important;
}

.priority strong{
  font-size:9.75px !important;
  line-height:1.3 !important;
}

.priority span{
  font-size:8.25px !important;
  line-height:1.4 !important;
  margin-top:3px !important;
}


/* PROPERTY TABLE */

.recent-table th,
table th{
  font-size:8px !important;
  line-height:1.3 !important;
  padding:11px 10px !important;
}

.recent-table td,
table td{
  font-size:9.5px !important;
  line-height:1.45 !important;
  padding:11px 10px !important;
}

.recent-table td strong,
.entity strong{
  font-size:9.5px !important;
  line-height:1.35 !important;
}


/* BADGES */

.badge{
  font-size:8px !important;
  line-height:1 !important;
  padding:6px 10px !important;
}


/* ---------------------------------------------------------
   PLATFORM SYSTEM STATUS — WRAPPING
   --------------------------------------------------------- */

.health-list{
  display:flex !important;
  flex-direction:column !important;
}

.health-row{
  display:grid !important;
  grid-template-columns:minmax(125px,1fr) auto !important;
  align-items:center !important;
  column-gap:18px !important;
  min-height:50px !important;
  padding:10px 0 !important;
  border-bottom:1px solid #edf0f2 !important;
}

.health-row:last-child{
  border-bottom:0 !important;
}

.health-row .health-icon{
  display:none !important;
}

.health-row strong{
  font-size:9.5px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
}

.health-status{
  font-size:9px !important;
  line-height:1.25 !important;
  font-weight:750 !important;
  text-align:right !important;
  white-space:nowrap !important;
}

.health-status.pending{
  white-space:nowrap !important;
}


/* BUTTONS */

.primary,
.secondary,
.table-btn,
.control{
  font-size:9.5px !important;
  line-height:1.2 !important;
}


/* Slightly more breathing room between major dashboard rows */

.executive-grid,
.lower-dashboard{
  gap:16px !important;
}

.lower-dashboard{
  margin-top:17px !important;
}


/* MOBILE TYPOGRAPHY */

@media(max-width:820px){

  .section-head h1{
    font-size:23px !important;
  }

  .panel-head h3{
    font-size:12px !important;
  }

  .kpi strong{
    font-size:21px !important;
  }

  .health-row{
    grid-template-columns:1fr auto !important;
    column-gap:10px !important;
  }

  .health-status{
    font-size:8.5px !important;
  }
}


/* =========================================================
   PREMIUM SIDEBAR ACTIVE SELECTOR
   ========================================================= */

/* Default menu rows */
.nav-item{
  position:relative !important;
  overflow:hidden !important;
  border:1px solid transparent !important;
  background:transparent !important;
  box-shadow:none !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease !important;
}

/* Hover — light, not bulky */
.nav-item:hover{
  background:rgba(255,255,255,.035) !important;
  border-color:rgba(255,255,255,.035) !important;
}

/* New premium active state */
.nav-item.active{
  background:
    linear-gradient(
      90deg,
      rgba(40,78,99,.72) 0%,
      rgba(27,59,78,.52) 72%,
      rgba(18,46,63,.28) 100%
    ) !important;

  border-color:rgba(119,158,177,.18) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}

/* Slim gold selector rail */
.nav-item.active::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:#d9ad59;
}


/* Move contents slightly away from selector rail */
.nav-item.active{
  padding-left:17px !important;
}

/* Active icon */
.nav-item.active .nav-icon{
  background:#18384b !important;
  border-color:#55778b !important;
  color:#e2b866 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 3px 10px rgba(0,0,0,.08) !important;
}

/* Active text */
.nav-item.active .nav-copy strong{
  color:#ffffff !important;
}

.nav-item.active .nav-copy small{
  color:#b9cbd4 !important;
}

/* Active arrow */
.nav-item.active .nav-arrow{
  color:#e1b45c !important;
  transform:translateX(1px);
}

/* Non-active arrows stay quiet */
.nav-item:not(.active) .nav-arrow{
  color:#708a98 !important;
}

/* Keyboard accessibility */
.nav-item:focus-visible{
  outline:2px solid rgba(217,173,89,.7) !important;
  outline-offset:2px !important;
}




/* =========================================================
   FINAL ADMIN SELECTOR SOURCE LOCK
   Remove legacy gold pseudo-element permanently
   ========================================================= */

html body .admin-shell aside.sidebar .nav .nav-item.active::after{
  content:none !important;
  display:none !important;
  position:static !important;

  width:0 !important;
  height:0 !important;

  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* Selected Admin row */
html body .admin-shell aside.sidebar .nav .nav-item.active{
  outline:none !important;
  box-shadow:none !important;

  border:1px solid rgba(111,151,170,.16) !important;

  background:
    linear-gradient(
      90deg,
      rgba(38,75,96,.70) 0%,
      rgba(26,57,76,.48) 72%,
      rgba(17,44,60,.24) 100%
    ) !important;
}

/* Only one gold selector indicator */
html body .admin-shell aside.sidebar .nav .nav-item.active::before{
  content:"" !important;
  display:block !important;

  position:absolute !important;
  left:0 !important;
  top:9px !important;
  bottom:9px !important;

  width:3px !important;
  height:auto !important;

  background:#d7aa59 !important;
  border:0 !important;
  border-radius:0 999px 999px 0 !important;
  box-shadow:none !important;
}

/* No focus decoration around the active row */
html body .admin-shell aside.sidebar .nav .nav-item.active:focus,
html body .admin-shell aside.sidebar .nav .nav-item.active:active{
  outline:none !important;
  box-shadow:none !important;
}



/* v1.1.1 production hardening */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;text-rendering:optimizeLegibility}
input,select,textarea,button{font:inherit;max-width:100%;box-sizing:border-box}
input,select,textarea{font-size:16px;line-height:1.35}
.badge,.chip,.status,.status-badge,.status-pill,.status-chip,.nav-badge,.filter-pill{border-radius:10px!important}
.tools>*,.panel-body>*,.grid-2>*,.kpis>*,td,th{min-width:0}
td,th,.entity small,.notice,.panel p{overflow-wrap:anywhere}
@media(max-width:540px){.theo-admin .top-brand{flex-wrap:wrap;min-width:0;max-width:100%;gap:8px}.theo-admin .top-context{min-width:0;max-width:100%}.theo-admin .top-context strong{white-space:normal;overflow-wrap:anywhere}.theo-admin #content table{display:block;min-width:0!important;width:100%;table-layout:fixed}.theo-admin #content thead{display:none}.theo-admin #content tbody{display:block;width:100%}.theo-admin #content tr{display:block;min-width:0;border-bottom:1px solid #dfe6e9;padding:10px 0}.theo-admin #content td{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;white-space:normal;overflow-wrap:anywhere;padding:8px 12px;width:auto!important;min-width:0}.theo-admin #content td::before{content:attr(data-label);font-weight:600;color:#687783}.theo-admin #content td>*{min-width:0;max-width:100%}.theo-admin #content td.entity small{grid-column:2}.theo-admin .panel-body{min-width:0}.theo-admin .table-wrap{overflow:visible}.theo-admin .tools{flex-wrap:wrap;min-width:0}.theo-admin .tools input,.theo-admin .tools select{max-width:100%}.theo-admin .primary,.theo-admin .secondary{white-space:normal}}


/* v1.1.1 readable production typography lock */
:root{--admin-font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.theo-admin{font-family:var(--admin-font)!important;font-size:15px;line-height:1.5}
.theo-admin .nav-label,.theo-admin .nav-section{font-size:11px!important;line-height:1.3!important}
.theo-admin .nav-item,.theo-admin .nav-copy strong{font-size:13px!important;line-height:1.35!important}
.theo-admin .nav-item small,.theo-admin .nav-copy small,.theo-admin .profile-copy span,.theo-admin .top-context span,.theo-admin .panel-context,.theo-admin .snapshot-note{font-size:12px!important;line-height:1.4!important}
.theo-admin .profile-copy strong,.theo-admin .snapshot-label,.theo-admin .priority strong,.theo-admin .health-row strong{font-size:13px!important;line-height:1.4!important}
.theo-admin .eyebrow,.theo-admin .live-platform,.theo-admin .health-status,.theo-admin .badge,.theo-admin .status-badge,.theo-admin .status-pill,.theo-admin .status-chip{font-size:11px!important;line-height:1.2!important}
.theo-admin .kpi .label,.theo-admin .kpi small,.theo-admin .conversion-step small,.theo-admin .priority span,.theo-admin .priority-count,.theo-admin .chart-legend,.theo-admin .activity-chart text{font-size:11px!important;line-height:1.35!important}
.theo-admin table th,.theo-admin .recent-table th{font-size:11px!important;line-height:1.25!important}
.theo-admin table td,.theo-admin .recent-table td{font-size:13px!important;line-height:1.45!important}
.theo-admin .entity small{font-size:12px!important;line-height:1.4!important}
.theo-admin input,.theo-admin select,.theo-admin textarea,.theo-admin .control,.theo-admin .admin-search input{font-size:16px!important;line-height:1.35!important}
.theo-admin .primary,.theo-admin .secondary,.theo-admin .table-btn{font-size:13px!important;line-height:1.3!important}

/* v1.1.1 unified production pills and access-gate typography */
.theo-admin .badge,.theo-admin .system-status,.theo-admin .live-platform,.theo-admin .health-status,.theo-admin .priority-count,.theo-admin .filter-pill,.theo-admin .nav-badge{border-radius:10px!important}
.theo-admin .gate-card p,.theo-admin .gate-card label,.theo-admin .return-link,.theo-admin .gate-note{font-size:12px!important;line-height:1.45!important}

/* =========================================================
   THEO v1.1.9 — PROPERTY MANAGER ADMINISTRATION UI POLISH
   Scoped to the Property Managers administration workspace.
   ========================================================= */

.manager-admin-page{
  display:grid;
  gap:14px;
  max-width:1320px;
}

.manager-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  margin-bottom:2px;
}

.manager-summary-item{
  min-width:0;
  padding:15px 18px;
  border-right:1px solid var(--line);
}
.manager-summary-item:last-child{border-right:0}
.manager-summary-item span{
  display:block;
  color:#71808c;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.manager-summary-item strong{
  display:block;
  margin:4px 0 1px;
  color:#12263a;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.03em;
}
.manager-summary-item small{
  display:block;
  color:#7a8892;
  font-size:11px;
  line-height:1.35;
}

.manager-panel{
  border-radius:12px!important;
  box-shadow:none!important;
}
.manager-panel-head{
  min-height:64px;
  padding:13px 16px!important;
  align-items:center!important;
}
.manager-panel-head>div:first-child{min-width:0}
.manager-panel-head h3{
  margin:0!important;
  color:#172a3c;
  font-size:14px!important;
}
.manager-panel-head p{
  margin:3px 0 0;
  color:#788692;
  font-size:11px;
  line-height:1.35;
}
.manager-context{
  color:#72808b;
  font-size:11px;
  white-space:nowrap;
}

.manager-toolbar{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.manager-toolbar label{
  color:#7b8790;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.manager-count{
  min-width:28px;
  height:28px;
  padding:0 8px;
  border:1px solid #dde5e8;
  border-radius:4px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f7f9fa;
  color:#50606c;
  font-size:11px;
  font-weight:800;
}

.manager-select{
  width:100%;
  min-height:42px;
  border:1px solid #cfd9de;
  border-radius:6px!important;
  background:#fff;
  color:#1d3041;
  padding:8px 34px 8px 11px;
  font-size:14px!important;
  line-height:1.3!important;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.manager-select:focus{
  border-color:#6d99a1;
  box-shadow:0 0 0 3px rgba(31,112,112,.09);
}
.manager-select:disabled{
  color:#8c989f;
  background:#f5f7f8;
  cursor:not-allowed;
}
.manager-filter{
  width:auto;
  min-width:145px;
  min-height:34px;
  padding:6px 30px 6px 9px;
  font-size:12px!important;
}

.manager-table-wrap{overflow-x:auto}
.manager-table{min-width:920px}
.manager-table th{
  background:#f7f9fa!important;
  color:#75838e!important;
  padding:10px 13px!important;
  font-size:10px!important;
  line-height:1.25!important;
  letter-spacing:.07em!important;
}
.manager-table td{
  padding:12px 13px!important;
  vertical-align:middle;
  font-size:12px!important;
  line-height:1.4!important;
}
.manager-table tbody tr:hover{background:#fbfcfd}
.manager-table .entity strong,
.manager-table td>strong{
  color:#1d3041;
  font-size:12px;
}
.manager-table .entity small,
.manager-table .cell-sub{
  display:block;
  margin-top:3px;
  color:#768590!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.manager-table .badge{
  border-radius:4px!important;
  padding:5px 8px!important;
  text-transform:capitalize;
  letter-spacing:.01em;
}
.manager-portfolio-band{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:4px 8px;
  border:1px solid #dde5e8;
  border-radius:4px;
  background:#f8fafb;
  color:#445865;
  font-weight:800;
  font-size:11px;
}
.manager-date,.reviewed-copy,.review-note{
  color:#6d7b85;
  font-size:11px;
  line-height:1.35;
}
.review-note{display:block;max-width:220px}

.manager-row-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.manager-action{
  min-height:33px;
  border:1px solid #d7e0e4;
  border-radius:5px!important;
  background:#fff;
  padding:6px 10px;
  color:#2b4151;
  font-size:11px!important;
  font-weight:800;
  line-height:1.2;
  transition:.15s ease;
}
.manager-action:hover{background:#f6f8f9}
.manager-action.approve{
  border-color:#b9d8ce;
  background:#f1f8f5;
  color:#176a55;
}
.manager-action.approve:hover{background:#e8f4ef}
.manager-action.reject,.manager-action.end{
  border-color:#e3cccc;
  color:#aa4c4c;
}
.manager-action.reject:hover,.manager-action.end:hover{background:#fbf2f2}

.assignment-panel{overflow:visible}
.assignment-builder{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(190px,.48fr);
  gap:12px;
  align-items:end;
  padding:15px 16px 17px;
}
.assignment-field{
  display:block;
  min-width:0;
}
.assignment-field>span{
  display:block;
  margin-bottom:6px;
  color:#536573;
  font-size:11px;
  font-weight:800;
}
.assignment-field small,.assignment-submit small{
  display:block;
  margin-top:5px;
  color:#87939a;
  font-size:10px;
  line-height:1.3;
}
.assignment-submit{min-width:0}
.manager-primary-action{
  width:100%;
  min-height:42px;
  border:1px solid #18384f;
  border-radius:6px!important;
  background:#18384f;
  color:#fff;
  padding:9px 13px;
  font-size:12px!important;
  font-weight:800;
}
.manager-primary-action:hover:not(:disabled){background:#102c40}
.manager-primary-action:disabled{
  border-color:#d7dfe3;
  background:#eef1f3;
  color:#8d989f;
  cursor:not-allowed;
}

.manager-empty{
  padding:14px 6px;
  color:#7e8b94;
  font-size:12px;
  text-align:left;
}

@media(max-width:980px){
  .manager-summary{grid-template-columns:1fr}
  .manager-summary-item{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:150px 55px 1fr;align-items:center;gap:8px}
  .manager-summary-item:last-child{border-bottom:0}
  .manager-summary-item strong{margin:0}
  .assignment-builder{grid-template-columns:1fr 1fr}
  .assignment-submit{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,260px) 1fr;align-items:center;gap:10px}
  .assignment-submit small{margin:0}
}

@media(max-width:720px){
  .manager-admin-page{gap:11px}
  .manager-summary-item{grid-template-columns:1fr auto;gap:4px 10px;padding:13px 14px}
  .manager-summary-item small{grid-column:1/-1}
  .manager-panel-head{align-items:flex-start!important;flex-direction:column}
  .manager-toolbar{width:100%;justify-content:space-between}
  .manager-filter{flex:1;min-width:0}
  .manager-context{white-space:normal}
  .assignment-builder{grid-template-columns:1fr;padding:13px}
  .assignment-submit{grid-column:auto;display:block}
  .assignment-submit small{margin-top:5px}

  /* Purpose-built mobile cards for this page rather than compressed desktop rows. */
  .manager-table{display:block!important;min-width:0!important;width:100%!important}
  .manager-table thead{display:none!important}
  .manager-table tbody{display:grid!important;gap:0!important}
  .manager-table tr{display:grid!important;grid-template-columns:1fr 1fr!important;padding:11px 13px!important;border-bottom:1px solid #e7ecef!important}
  .manager-table tr:last-child{border-bottom:0!important}
  .manager-table td{display:block!important;padding:5px 0!important;border:0!important;min-width:0!important}
  .manager-table td::before{content:attr(data-label);display:block;margin-bottom:3px;color:#86929a;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
  .manager-table td:first-child,.manager-table td:last-child{grid-column:1/-1}
  .manager-table td.entity small{display:block!important}
  .manager-row-actions{justify-content:flex-start}
}

@media(max-width:460px){
  .manager-table tr{grid-template-columns:1fr!important}
  .manager-table td,.manager-table td:first-child,.manager-table td:last-child{grid-column:auto!important}
  .manager-summary-item strong{font-size:21px}
}

.manager-review-modal{
  position:fixed;
  inset:0;
  z-index:250;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(9,24,36,.55);
  backdrop-filter:blur(4px);
}
.manager-review-modal[hidden]{display:none!important}
.manager-review-dialog{
  width:min(100%,520px);
  background:#fff;
  border:1px solid #dfe6e9;
  border-radius:12px;
  box-shadow:0 24px 70px rgba(10,28,42,.24);
  padding:20px;
}
.manager-review-dialog-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.manager-review-dialog-head span{
  display:block;
  margin-bottom:3px;
  color:#a17643;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.manager-review-dialog-head h3{margin:0;font-size:18px;color:#172a3c}
.manager-dialog-close{
  width:32px;height:32px;
  border:1px solid #dfe6e9;
  border-radius:5px;
  background:#fff;
  color:#60717d;
  font-size:20px;
  line-height:1;
}
.manager-review-dialog>p{margin:0 0 14px;color:#74838e;font-size:12px;line-height:1.5}
.manager-review-dialog label{display:block;margin-bottom:6px;color:#425665;font-size:11px;font-weight:800}
.manager-review-dialog textarea{
  width:100%;
  min-height:112px;
  resize:vertical;
  border:1px solid #cfd9de;
  border-radius:6px;
  padding:10px 11px;
  color:#1c3041;
  font-size:14px!important;
  line-height:1.45!important;
  outline:none;
}
.manager-review-dialog textarea:focus{border-color:#759ca3;box-shadow:0 0 0 3px rgba(31,112,112,.08)}
.manager-review-dialog-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}
.manager-dialog-secondary,.manager-dialog-danger{
  min-height:38px;
  border-radius:5px;
  padding:8px 12px;
  font-size:12px;
  font-weight:800;
}
.manager-dialog-secondary{border:1px solid #d6dfe3;background:#fff;color:#3d5261}
.manager-dialog-danger{border:1px solid #c96868;background:#b45151;color:#fff}
.manager-dialog-danger:hover{background:#9d4242}


/* =========================================================
   THEO v1.1.11 — ADMIN CONTROL CENTRE UI & OPERATIONS REFINEMENT
   Admin-only presentation and filtering layer. Shared app CSS untouched.
   ========================================================= */
.theo-admin{--radius:8px;--admin-control-radius:5px}
.theo-admin .content{padding:24px 28px 54px;max-width:1580px}
.theo-admin .section-head{margin-bottom:14px}
.theo-admin .section-head h1{font-size:24px;letter-spacing:-.025em}
.theo-admin .section-head p{font-size:12px!important;max-width:820px}
.theo-admin .panel{border-radius:8px;box-shadow:0 4px 16px rgba(11,29,44,.035)}
.theo-admin .panel-head{padding:13px 15px;min-height:52px}
.theo-admin .panel-body{padding:15px}
.theo-admin .kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:12px}
.theo-admin .kpi{border-radius:8px;padding:12px 13px;box-shadow:none}
.theo-admin .kpi strong{font-size:22px;margin:4px 0 2px}
.theo-admin .badge,.theo-admin .status-badge,.theo-admin .status-pill,.theo-admin .status-chip,.theo-admin .priority-count,.theo-admin .health-status{border-radius:4px!important;padding:4px 7px!important}
.theo-admin .primary,.theo-admin .secondary,.theo-admin .table-btn,.theo-admin .control,.theo-admin select,.theo-admin input,.theo-admin textarea{border-radius:var(--admin-control-radius)!important}
.theo-admin .table-btn{min-height:32px;padding:6px 9px}
.theo-admin table th{background:#f7f9fa!important;color:#71808b!important;text-transform:uppercase;letter-spacing:.055em;padding:9px 11px!important}
.theo-admin table td{padding:10px 11px!important;vertical-align:middle;border-bottom:1px solid #edf0f2!important}
.theo-admin table tbody tr:hover{background:#fbfcfd}
.theo-admin .entity strong{color:#1a2e40}
.theo-admin .entity small{margin-top:2px;color:#7a8993}
.theo-admin .topbar{height:76px;padding:0 28px}
.theo-admin .top-logo{max-height:48px}
.theo-admin .admin-search{border-radius:6px!important}
.theo-admin .nav-item{border-radius:7px!important}
.theo-admin .nav-icon{border-radius:6px!important}
.theo-admin .avatar{border-radius:7px!important}

.admin-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:0 0 12px}
.admin-summary-cell{padding:11px 13px;border-right:1px solid var(--line);min-width:0}
.admin-summary-cell:last-child{border-right:0}
.admin-summary-cell>span{display:block;color:#768590;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.admin-summary-cell>strong{display:block;color:#172a3c;font-size:20px;line-height:1.1;margin:4px 0 2px}
.admin-summary-cell>small{display:block;color:#829099;font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.admin-ops-panel{overflow:hidden}
.admin-panel-head{align-items:flex-end!important;gap:16px!important}
.admin-panel-head>div:first-child{min-width:150px}
.admin-toolbar{display:flex;justify-content:flex-end;align-items:flex-end;gap:7px;flex-wrap:wrap;margin-left:auto}
.admin-filter-search{display:block;min-width:230px}
.admin-filter-search input{width:100%;height:35px;border:1px solid #d7e0e4;background:#fff;padding:7px 10px;color:#213647;font-size:13px!important;outline:none}
.admin-filter-search input:focus,.admin-filter-field select:focus,.admin-inline-select:focus{border-color:#7aa19f;box-shadow:0 0 0 3px rgba(23,127,121,.08)}
.admin-filter-field{display:block;min-width:125px}
.admin-filter-field>span{display:block;margin:0 0 4px;color:#788690;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}
.admin-filter-field select,.admin-inline-select{width:100%;height:35px;border:1px solid #d7e0e4;background:#fff;padding:6px 28px 6px 9px;color:#273d4d;font-size:12px!important;outline:none}
.admin-inline-select{min-width:145px;max-width:190px}
.admin-table{width:100%}
.admin-empty{padding:20px 12px;text-align:center;color:#7b8992}
.admin-empty strong{display:block;color:#425665;font-size:12px}
.admin-empty span{display:block;margin-top:3px;font-size:11px}
.admin-role-tag{display:inline-block;margin:2px 3px 2px 0;padding:3px 6px;border:1px solid #dce5e8;background:#f7f9fa;border-radius:4px;color:#415565;font-size:10px;font-weight:750;text-transform:capitalize}
.muted-copy{color:#839099;font-size:11px}
.mono-copy{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d7b84;font-size:11px}
.priority-label{display:inline-block;padding:4px 7px;border-radius:4px;border:1px solid #dce4e7;background:#f7f9fa;color:#536572;font-size:10px;font-weight:850;text-transform:capitalize}
.priority-label.emergency,.priority-label.urgent,.priority-label.high{border-color:#e7c7c7;background:#fbf1f1;color:#a44c4c}
.priority-label.priority{border-color:#ead8b8;background:#fff7e8;color:#936317}
.priority-label.routine,.priority-label.normal,.priority-label.low{border-color:#cfe2dc;background:#f0f8f5;color:#2f735f}

.admin-config-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:12px;align-items:start}
.admin-config-card{max-width:920px}
.admin-form-stack{display:grid;gap:12px}
.admin-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.admin-config-field{display:block}
.admin-config-field>span{display:block;margin-bottom:5px;color:#435766;font-size:11px;font-weight:800}
.admin-config-field>small{display:block;margin-top:4px;color:#839099;font-size:10px;line-height:1.35}
.admin-config-field input,.admin-config-field select,.admin-config-field textarea{width:100%;border:1px solid #d4dee2;background:#fff;padding:9px 10px;color:#213647;font-size:14px!important;outline:none}
.admin-config-field textarea{resize:vertical;min-height:110px}
.input-prefix,.input-suffix{display:grid;align-items:stretch}
.input-prefix{grid-template-columns:auto 1fr}.input-suffix{grid-template-columns:1fr auto}
.input-prefix b,.input-suffix b{display:grid;place-items:center;min-width:42px;border:1px solid #d4dee2;background:#f6f8f9;color:#5d6d78;font-size:11px}
.input-prefix b{border-right:0;border-radius:5px 0 0 5px}.input-prefix input{border-radius:0 5px 5px 0!important}
.input-suffix input{border-radius:5px 0 0 5px!important}.input-suffix b{border-left:0;border-radius:0 5px 5px 0}
.admin-setting-group{border:1px solid #e3e8eb;border-radius:7px;overflow:hidden;margin-top:12px}
.admin-setting-group .setting{margin:0;padding:12px 13px;border-bottom:1px solid #e8edef}
.admin-setting-group .setting:last-child{border-bottom:0}
.admin-guidance{border:1px solid #dce5e8;background:#f9fbfb;border-radius:8px;padding:15px}
.admin-guidance>span{display:block;color:#a3773f;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.admin-guidance>strong{display:block;margin:5px 0;color:#203646;font-size:14px;line-height:1.3}
.admin-guidance>p{margin:0;color:#71818c;font-size:11px;line-height:1.5}
.admin-role-matrix{display:grid}
.admin-role-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:12px 15px;border-bottom:1px solid #e8edef}
.admin-role-row:last-child{border-bottom:0}
.admin-role-row strong{display:block;color:#203545;font-size:12px}
.admin-role-row span{display:block;margin-top:2px;color:#76858f;font-size:11px}
.admin-role-row b{display:inline-block;padding:4px 7px;border:1px solid #dbe4e7;border-radius:4px;background:#f8fafb;color:#526572;font-size:10px}
.admin-audit-list .audit-row{grid-template-columns:130px 130px minmax(220px,1fr) 160px;gap:10px;padding:9px 0}

@media(max-width:1100px){
  .admin-summary-strip{grid-template-columns:repeat(2,1fr)}
  .admin-summary-cell:nth-child(2){border-right:0}.admin-summary-cell:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .admin-config-grid{grid-template-columns:1fr}.admin-guidance{max-width:none}
  .theo-admin .kpis{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .admin-panel-head{align-items:flex-start!important;flex-direction:column}
  .admin-toolbar{width:100%;justify-content:flex-start;margin-left:0}
  .admin-filter-search{flex:1 1 230px}.admin-filter-field{flex:1 1 120px}
  .admin-form-row{grid-template-columns:1fr}
  .theo-admin .kpis{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:540px){
  .theo-admin .content{padding:18px 14px 44px}
  .admin-summary-strip{grid-template-columns:1fr}
  .admin-summary-cell{border-right:0!important;border-bottom:1px solid var(--line)!important;display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center}
  .admin-summary-cell:last-child{border-bottom:0!important}.admin-summary-cell strong{margin:0}.admin-summary-cell small{grid-column:1/-1}
  .admin-toolbar{display:grid;grid-template-columns:1fr;width:100%}.admin-filter-search,.admin-filter-field{min-width:0;width:100%}
  .admin-filter-search input,.admin-filter-field select{width:100%}
  .theo-admin .kpis{grid-template-columns:1fr}
  .admin-audit-list .audit-row{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}.admin-audit-list .audit-row div{grid-column:1/-1}
}

.admin-toast-region{position:fixed;top:88px;right:22px;z-index:400;display:grid;gap:8px;width:min(360px,calc(100vw - 28px));pointer-events:none}
.admin-toast{transform:translateY(-6px);opacity:0;border:1px solid #d9e2e6;border-left:3px solid #607987;background:#fff;color:#263c4b;border-radius:6px;padding:10px 12px;box-shadow:0 12px 34px rgba(9,27,40,.16);font-size:12px;font-weight:700;line-height:1.4;transition:.18s ease}
.admin-toast.show{transform:none;opacity:1}.admin-toast.success{border-left-color:#2d8167}.admin-toast.warning{border-left-color:#b77b22}.admin-toast.error{border-left-color:#b85050}
@media(max-width:540px){.admin-toast-region{top:72px;right:14px;left:14px;width:auto}}


/* ===== design-system.css ===== */


:root{
  --theo-font-body:Inter,Arial,sans-serif;
  --theo-font-display:"Inter Tight",Inter,Arial,sans-serif;
  --theo-radius-status:4px;
  --theo-radius-control:6px;
  --theo-radius-button:7px;
  --theo-radius-row:8px;
  --theo-radius-card:11px;
  --theo-radius-modal:12px;
  --theo-control-height:42px;
  --theo-touch-height:44px;
  --theo-text:#19283b;
  --theo-muted:#627480;
  --theo-line:#dfe6e9;
  --theo-teal:#176c66;
  --theo-navy:#111d2d;
  --theo-gold:#c79a5f;
}

/* Typography lock */
.theo-app,.theo-auth,.theo-admin{font-family:var(--theo-font-body)!important;color:var(--theo-text)}
.theo-app h1,.theo-app h2,.theo-app h3,.theo-app h4,
.theo-auth h1,.theo-auth h2,.theo-auth h3,.theo-auth h4,
.theo-admin h1,.theo-admin h2,.theo-admin h3,.theo-admin h4,
.theo-app .brand,.theo-auth .mark,.theo-admin .brand,
.theo-app .property-price,.theo-app .rent-hero strong,
.theo-admin .kpi strong{font-family:var(--theo-font-display)!important}
.theo-admin .eyebrow,.theo-admin .nav-label,.theo-admin .nav-section,
.theo-admin .kpi .label,.theo-admin table th,.theo-admin .table th,
.theo-app .field label,.theo-app .eyebrow,.theo-app .table th,
.theo-auth .eyebrow{font-size:11px!important;line-height:1.25!important}
.theo-admin .admin-profile span,.theo-admin .kpi small,
.theo-admin .section-head p,.theo-admin .muted,
.theo-app .panel-sub,.theo-app .property .address,.theo-app .listing-source,
.theo-app .notice p,.theo-app .ticket p,.theo-auth .form-note{font-size:12px!important;line-height:1.45!important}
.theo-admin table td,.theo-admin .table td{font-size:13px!important;line-height:1.4!important}

/* Canonical geometry — cards and surfaces */
.theo-app .panel,.theo-app .property,.theo-app .filters,.theo-app .empty,
.theo-app .tenant-empty-primary,.theo-app .ticket,.theo-app .notice,
.theo-admin .kpi,.theo-admin .panel,.theo-admin .card,.theo-admin .table-card,
.theo-admin .content-card,.theo-admin .summary-card,.theo-admin .gate-card,
.theo-auth .account-panel,.theo-auth .manager-registration{border-radius:var(--theo-radius-card)!important}
.theo-app .modal,.theo-admin .modal,.theo-admin .dialog,.theo-auth .card{border-radius:var(--theo-radius-modal)!important}
.theo-app .callout,.theo-app .rent-hero{border-radius:var(--theo-radius-card)!important}

/* Canonical controls */
.theo-app button,.theo-app .button,.theo-app input,.theo-app select,.theo-app textarea,
.theo-admin button,.theo-admin .button,.theo-admin input,.theo-admin select,.theo-admin textarea,
.theo-auth button,.theo-auth .button,.theo-auth input,.theo-auth select,.theo-auth textarea,
.theo-auth .workspace-actions a{border-radius:var(--theo-radius-control)!important}
.theo-app .button,.theo-admin .primary,.theo-admin .secondary,.theo-admin .danger,
.theo-auth .button{border-radius:var(--theo-radius-button)!important}
.theo-app input,.theo-app select,.theo-app textarea,
.theo-admin input,.theo-admin select,.theo-admin textarea,
.theo-auth input,.theo-auth select,.theo-auth textarea{font-family:var(--theo-font-body)!important}

/* Replace legacy capsules with compact segmented controls */
.theo-app .pill,.theo-app .category-tabs button,.theo-app .status,.theo-app .photo-badge,
.theo-app .match-tag,.theo-app .topbar-status,
.theo-admin .status,.theo-admin .badge,.theo-admin .chip,.theo-admin .filter-chip,
.theo-admin .state-pill,.theo-admin .manager-status,
.theo-auth .auth-tabs,.theo-auth .auth-tabs button,
.theo-auth .auth-message,.theo-auth .manager-application-state{border-radius:var(--theo-radius-status)!important}
.theo-app .category-tabs button{padding:8px 12px!important}
.theo-app .status,.theo-admin .status,.theo-admin .badge,.theo-admin .chip{padding:5px 8px!important}

/* Navigation */
.theo-app .nav button,.theo-admin .nav-item{border-radius:var(--theo-radius-button)!important}
.theo-app .sidebar-foot,.theo-app .sidebar-edition,.theo-app .sidebar-account{border-radius:var(--theo-radius-card)!important}

/* Readability and contrast */
.theo-app p,.theo-app .muted,.theo-admin .muted,.theo-admin small,.theo-auth .form-note,
.theo-auth .card>p{color:var(--theo-muted)}
.theo-app .table th,.theo-admin table th,.theo-admin .table th{color:#657681!important}
.theo-app .field label,.theo-admin label,.theo-auth label{color:#536775}

/* Focus system */
.theo-app :focus-visible,.theo-admin :focus-visible,.theo-auth :focus-visible{
  outline:2px solid rgba(23,108,102,.55)!important;
  outline-offset:2px;
}

/* Do not de-round elements whose shape is semantic */
.theo-app .avatar,.theo-app .sidebar-account-avatar,.theo-admin .avatar,.theo-admin .profile-avatar,
.theo-admin .system-status i{border-radius:50%!important}

/* Form polish */
.theo-app input,.theo-app select,.theo-admin input,.theo-admin select,.theo-auth input,.theo-auth select{min-height:var(--theo-control-height)}
.theo-app textarea,.theo-admin textarea,.theo-auth textarea{line-height:1.45}
.theo-app .field,.theo-admin .field,.theo-auth .form-grid>*{min-width:0}
.theo-admin select,.theo-auth select,.theo-app select{text-overflow:ellipsis}

/* Compact desktop rhythm */
@media(min-width:901px){
  .theo-admin .content{padding-top:24px!important}
  .theo-admin .section-head{margin-bottom:16px!important}
  .theo-app .view-head{margin-bottom:20px!important}
  .theo-app .property-grid{gap:16px!important}
}


/* ===== responsive.css ===== */
/* Theo Properties interface */
html,body{max-width:100%;overflow-x:hidden}
img,svg{max-width:100%}

/* Prevent flex/grid children from forcing overflow */
.theo-app .main,.theo-app .content,.theo-app .view,.theo-app .panel,
.theo-admin .main,.theo-admin .content,.theo-admin .panel,
.theo-auth .shell,.theo-auth .card{min-width:0}
.theo-app .data-row>*,.theo-app .manager-row>*,.theo-app .owner-record>*,
.theo-admin .admin-toolbar>*,.theo-admin .manager-toolbar>*{min-width:0}

/* Tablet */
@media(max-width:900px){
  .theo-app .content{padding-left:18px!important;padding-right:18px!important}
  .theo-app .compact-metrics,.theo-app .owner-ops-summary,.theo-app .manager-metrics,
  .theo-app .financial-summary,.theo-app .issue-centre-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .theo-app .manager-overview-grid,.theo-app .manager-lease-grid,.theo-app .lease-action-grid{grid-template-columns:1fr!important}
  .theo-admin .kpis,.theo-admin .admin-summary-strip,.theo-admin .manager-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .theo-admin .executive-grid{grid-template-columns:1fr!important}
  .theo-auth .brand-panel{padding:34px!important}
}

/* Phone */
@media(max-width:600px){
  :root{--theo-control-height:44px}
  .theo-app,.theo-auth,.theo-admin{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .theo-app button,.theo-app .button,.theo-admin button,.theo-admin .button,.theo-auth button,.theo-auth .button,
  .theo-app select,.theo-auth select,.theo-admin select{min-height:44px}

  /* Marketplace / role workspaces */
  .theo-app .content{padding:18px 14px 120px!important}
  .theo-app .topbar{padding:0 14px!important}
  .theo-app .top-actions{gap:6px!important}
  .theo-app .topbar-status{display:none!important}
  .theo-app .pill{padding:7px 9px!important;font-size:12px!important}
  .theo-app .view-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important}
  .theo-app .view-head h1{font-size:24px!important;line-height:1.15!important}
  .theo-app .view-head p{font-size:14px!important}
  .theo-app .filters{grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}
  .theo-app .filters .field,.theo-app .filters .field:first-child,.theo-app .filters .button{grid-column:auto!important}
  .theo-app .filters .field{border-right:0!important;border-bottom:1px solid var(--theo-line)!important;padding:8px 9px!important}
  .theo-app .filters .field:last-of-type{border-bottom:0!important}
  .theo-app .category-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .theo-app .category-tabs button{width:100%;text-align:center!important;white-space:normal!important}
  .theo-app .property-grid{grid-template-columns:1fr!important;gap:14px!important}
  .theo-app .property{border-radius:var(--theo-radius-card)!important}
  .theo-app .property-photo{height:210px!important}
  .theo-app .property-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .theo-app .comparison-scroll{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .theo-app .comparison{min-width:620px}

  /* Tenant / Owner / Manager operation bars */
  .theo-app .tenant-list-filter,.theo-app .tenant-ledger-toolbar,
  .theo-app .owner-list-toolbar,.theo-app .owner-ops-toolbar,
  .theo-app .manager-list-toolbar,.theo-app .manager-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;align-items:stretch!important}
  .theo-app .tenant-filter-tabs,.theo-app .owner-filter-tabs,.theo-app .manager-filter-tabs,
  .theo-app .manager-command-nav,.theo-app .commercial-tabs{display:flex!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:none;gap:6px!important;padding-bottom:2px}
  .theo-app .tenant-filter-tabs::-webkit-scrollbar,.theo-app .owner-filter-tabs::-webkit-scrollbar,
  .theo-app .manager-filter-tabs::-webkit-scrollbar,.theo-app .manager-command-nav::-webkit-scrollbar{display:none}
  .theo-app .tenant-filter-tabs button,.theo-app .owner-filter-tabs button,.theo-app .manager-filter-tabs button,
  .theo-app .manager-command-nav button,.theo-app .commercial-tabs button{flex:0 0 auto;white-space:nowrap;min-height:40px!important}
  .theo-app .tenant-filter-selects,.theo-app .owner-filter-selects,.theo-app .manager-filter-selects{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .theo-app .owner-filter-select,.theo-app .manager-filter-select,.theo-app .manager-inline-select{width:100%!important;max-width:none!important}
  .theo-app .compact-metrics,.theo-app .owner-ops-summary,.theo-app .manager-metrics,
  .theo-app .financial-summary,.theo-app .issue-centre-summary{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .theo-app .data-row,.theo-app .owner-record,.theo-app .manager-row,.theo-app .compact-owner-row{grid-template-columns:1fr!important;gap:8px!important;padding:12px!important}
  .theo-app .data-actions,.theo-app .manager-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
  .theo-app .data-actions .button,.theo-app .manager-actions .button{flex:1 1 130px!important;white-space:normal!important}

  /* Forms and modals */
  .theo-app .theo-form-grid,.theo-app .form-grid,.theo-auth .form-grid{grid-template-columns:1fr!important}
  .theo-app .theo-form-shell,.theo-app .theo-form-section{min-width:0!important}
  .theo-app .modal,.theo-app .ops-modal-card{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;padding:18px!important}
  .theo-app .modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;position:sticky;bottom:-18px;background:#fff;padding-top:10px!important}

  /* Authentication */
  .theo-auth .shell{grid-template-columns:1fr!important}
  .theo-auth .brand-panel{min-height:190px!important;padding:24px!important}
  .theo-auth .statement h1{font-size:32px!important;line-height:1.08!important}
  .theo-auth .statement p{font-size:14px!important;line-height:1.5!important}
  .theo-auth .login-panel{padding:12px!important;align-items:start!important}
  .theo-auth .card{width:100%!important;margin-top:-26px!important;padding:20px!important}
  .theo-auth .wordmark{width:170px!important;margin-bottom:18px!important}
  .theo-auth input,.theo-auth select{font-size:16px!important}

  /* Admin shell */
  .theo-admin .content{padding:18px 12px 46px!important}
  .theo-admin .topbar{height:68px!important;padding:0 12px!important}
  .theo-admin .top-actions{gap:6px!important}
  .theo-admin .marketplace-link,.theo-admin .system-status{display:none!important}
  .theo-admin .section-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .theo-admin .section-head h1{font-size:24px!important}
  .theo-admin .kpis,.theo-admin .admin-summary-strip,.theo-admin .manager-summary{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .theo-admin .admin-toolbar,.theo-admin .manager-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .theo-admin .admin-filter-search,.theo-admin .admin-filter-field,.theo-admin .manager-select{width:100%!important;max-width:none!important}
  .theo-admin .panel,.theo-admin .admin-ops-panel,.theo-admin .manager-panel{overflow:hidden}
  .theo-admin .panel-head,.theo-admin .admin-panel-head,.theo-admin .manager-panel-head{gap:8px!important;align-items:flex-start!important}
  .theo-admin .responsive-table-shell{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:0 0 var(--theo-radius-card) var(--theo-radius-card)}
  .theo-admin .responsive-table-shell table{display:table!important;min-width:720px!important;width:100%!important;border-collapse:collapse!important}
  .theo-admin .responsive-table-shell thead{display:table-header-group!important}
  .theo-admin .responsive-table-shell tbody{display:table-row-group!important}
  .theo-admin .responsive-table-shell tr{display:table-row!important;border:0!important;padding:0!important;margin:0!important}
  .theo-admin .responsive-table-shell th,.theo-admin .responsive-table-shell td{display:table-cell!important;width:auto!important;min-width:0!important;text-align:left!important}
  .theo-admin .responsive-table-shell td:before{display:none!important;content:none!important}
  .theo-admin .manager-row-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important}

  /* Avoid clipped text and accidental single-line overflow */
  .theo-app button,.theo-admin button,.theo-auth button,
  .theo-app td,.theo-admin td,.theo-app .data-row,.theo-admin .panel{overflow-wrap:anywhere}
}

@media(max-width:380px){
  .theo-app .compact-metrics,.theo-app .owner-ops-summary,.theo-app .manager-metrics,
  .theo-app .financial-summary,.theo-app .issue-centre-summary,
  .theo-admin .kpis,.theo-admin .admin-summary-strip,.theo-admin .manager-summary{grid-template-columns:1fr!important}
  .theo-app .category-tabs{grid-template-columns:1fr!important}
}


/* ===== visual-base.css ===== */
/* Theo Properties interface */
:root{color-scheme:light}
::selection{background:rgba(199,154,95,.25);color:#111d2d}

/* Final readability floor for dense operational metadata. */
.theo-app .compact-metric span,.theo-app .owner-filter-count,.theo-app .manager-filter-count,
.theo-app .tenant-empty-kicker,.theo-app .form-hint,.theo-app .manager-context,
.theo-app .owner-record-value,.theo-app .manager-row-value,
.theo-admin .admin-summary-cell span,.theo-admin .manager-summary-item span,
.theo-admin .panel-context,.theo-admin .manager-context{font-size:12px!important;line-height:1.4!important}

/* Financial and operational numbers scan more cleanly with tabular figures. */
.theo-app .property-price,.theo-app .compact-metric strong,.theo-app .financial-summary strong,
.theo-app .manager-metrics strong,.theo-app .owner-ops-summary strong,
.theo-admin .kpi strong,.theo-admin .admin-summary-cell strong,.theo-admin .manager-summary-item strong,
.theo-app table td,.theo-admin table td{font-variant-numeric:tabular-nums}

/* Final table alignment and form consistency. */
.theo-app table td,.theo-app table th,.theo-admin table td,.theo-admin table th{vertical-align:middle}
.theo-app input::placeholder,.theo-admin input::placeholder,.theo-auth input::placeholder{color:#89979f;opacity:1}
.theo-app input,.theo-app select,.theo-app textarea,.theo-admin input,.theo-admin select,.theo-admin textarea,
.theo-auth input,.theo-auth select,.theo-auth textarea{accent-color:var(--theo-teal)}

/* Respect reduced-motion preferences without changing ordinary interaction behaviour. */
@media(prefers-reduced-motion:reduce){
  .theo-app *, .theo-auth *, .theo-admin *{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}


/* ===== forms.css ===== */
/* Theo Properties interface */
:root{
  --theo-type-caption:11px;
  --theo-type-label:12px;
  --theo-type-meta:12px;
  --theo-type-body:13.5px;
  --theo-type-control:14.5px;
  --theo-form-height:46px;
  --theo-form-line:#cbd6dc;
  --theo-form-line-hover:#aebfc8;
  --theo-form-focus:#2d6e77;
  --theo-form-bg:#fff;
  --theo-form-soft:#f8fafb;
  --theo-form-label:#3d5363;
  --theo-form-help:#6e808b;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY FLOOR — dense dashboards remain compact, but never tiny
   -------------------------------------------------------------------------- */
.theo-app,.theo-admin,.theo-auth{font-size:14px}

.theo-app .eyebrow,.theo-admin .eyebrow,.theo-auth .eyebrow,
.theo-admin .nav-label,.theo-admin .nav-section,
.theo-admin .kpi .label,.theo-app .compact-metric span,
.theo-app .owner-section-kicker,.theo-app .owner-review-kicker,
.theo-app #management .manager-metrics span,
.theo-app #management .manager-pulse-grid span,
.theo-app #management .manager-finance-strip span{
  font-size:11px!important;
  line-height:1.3!important;
  letter-spacing:.08em!important;
}

.theo-admin .nav-copy strong,.theo-admin .profile-copy strong,
.theo-app .owner-record-main strong,.theo-app #management .manager-row>div:first-child>strong{
  font-size:12.5px!important;
  line-height:1.35!important;
}

.theo-admin .nav-copy small,.theo-admin .profile-copy span,
.theo-admin .kpi small,.theo-admin .panel-context,.theo-admin .snapshot-note,
.theo-admin .entity small,.theo-admin .health-row,.theo-admin .health-status,
.theo-app .owner-ops-summary small,.theo-app .owner-record-main small,
.theo-app .owner-record-value>span,.theo-app .owner-record-value>small,
.theo-app #management .manager-metrics small,.theo-app #management .manager-priority-list button small,
.theo-app #management .manager-pulse-grid small,.theo-app #management .manager-row small,
.theo-app #management .manager-row-value small,.theo-app #management .manager-empty-state span,
.theo-app .case-event small,.theo-app .case-file small,.theo-app .tenant-ledger-meta small{
  font-size:11.5px!important;
  line-height:1.42!important;
}

.theo-admin table th,.theo-admin .table th,.theo-admin .recent-table th,
.theo-app table th,.theo-app .table th{
  font-size:11px!important;
  line-height:1.3!important;
  letter-spacing:.055em!important;
}
.theo-admin table td,.theo-admin .table td,.theo-admin .recent-table td,
.theo-app table td,.theo-app .table td{
  font-size:13px!important;
  line-height:1.42!important;
}

.theo-admin .badge,.theo-admin .status,.theo-admin .priority-label,
.theo-app .status,.theo-app .pill,.theo-app .case-kicker,.theo-app .issue-reference{
  font-size:10.5px!important;
  line-height:1.2!important;
}

.theo-admin .primary,.theo-admin .secondary,.theo-admin .danger,.theo-admin .table-btn,
.theo-app .button,.theo-app button,.theo-auth .button{
  font-size:12.5px!important;
  line-height:1.2!important;
}

/* --------------------------------------------------------------------------
   CANONICAL FORM CONTROLS
   -------------------------------------------------------------------------- */
.theo-app input:not([type="checkbox"]):not([type="radio"]),
.theo-app select,.theo-app textarea,
.theo-admin input:not([type="checkbox"]):not([type="radio"]),
.theo-admin select,.theo-admin textarea,
.theo-auth input:not([type="checkbox"]):not([type="radio"]),
.theo-auth select,.theo-auth textarea{
  min-height:var(--theo-form-height)!important;
  border:1px solid var(--theo-form-line)!important;
  border-radius:6px!important;
  background:var(--theo-form-bg)!important;
  color:#1d3344!important;
  font-family:var(--theo-font-body)!important;
  font-size:var(--theo-type-control)!important;
  font-weight:500!important;
  line-height:1.35!important;
  padding:10px 12px!important;
  box-shadow:0 1px 0 rgba(17,29,45,.02)!important;
  transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease!important;
}

.theo-app textarea,.theo-admin textarea,.theo-auth textarea{
  min-height:104px!important;
  padding-top:11px!important;
  resize:vertical;
}

.theo-app input:hover,.theo-app select:hover,.theo-app textarea:hover,
.theo-admin input:hover,.theo-admin select:hover,.theo-admin textarea:hover,
.theo-auth input:hover,.theo-auth select:hover,.theo-auth textarea:hover{
  border-color:var(--theo-form-line-hover)!important;
}

.theo-app input:focus,.theo-app select:focus,.theo-app textarea:focus,
.theo-admin input:focus,.theo-admin select:focus,.theo-admin textarea:focus,
.theo-auth input:focus,.theo-auth select:focus,.theo-auth textarea:focus{
  outline:0!important;
  border-color:var(--theo-form-focus)!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(45,110,119,.11)!important;
}

.theo-app input:disabled,.theo-app select:disabled,.theo-app textarea:disabled,
.theo-admin input:disabled,.theo-admin select:disabled,.theo-admin textarea:disabled,
.theo-auth input:disabled,.theo-auth select:disabled,.theo-auth textarea:disabled{
  background:#f1f4f5!important;
  color:#829099!important;
  border-color:#dde4e7!important;
  cursor:not-allowed;
  opacity:1!important;
}

.theo-app input::placeholder,.theo-admin input::placeholder,.theo-auth input::placeholder,
.theo-app textarea::placeholder,.theo-admin textarea::placeholder,.theo-auth textarea::placeholder{
  color:#8a979f!important;
  font-weight:400!important;
  opacity:1!important;
}

/* Consistent select affordance without browser-heavy styling. */
.theo-app select:not([multiple]),.theo-admin select:not([multiple]),.theo-auth select:not([multiple]){
  appearance:none;
  -webkit-appearance:none;
  padding-right:36px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23576c79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:14px 14px!important;
}

.theo-app input[type="checkbox"],.theo-app input[type="radio"],
.theo-admin input[type="checkbox"],.theo-admin input[type="radio"],
.theo-auth input[type="checkbox"],.theo-auth input[type="radio"]{
  accent-color:var(--theo-teal)!important;
}

/* --------------------------------------------------------------------------
   LABELS, HINTS & VALIDATION
   -------------------------------------------------------------------------- */
.theo-app .theo-form-shell label,.theo-app .field label,
.theo-admin .field label,.theo-admin .admin-config-field>span,
.theo-admin .assignment-field>span,.theo-admin .manager-toolbar label,
.theo-auth label{
  color:var(--theo-form-label)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.theo-app .theo-form-shell label>span:first-child{font-size:12px!important;color:var(--theo-form-label)!important}

.theo-app .form-hint,.theo-app .theo-form-section-head small,.theo-app .theo-form-disclosure summary small,
.theo-app .theo-form-callout span,.theo-app .form-error,
.theo-admin .field small,.theo-admin .admin-config-field>small,.theo-admin .assignment-field small,
.theo-admin .assignment-submit small,.theo-auth .form-note{
  font-size:11.5px!important;
  line-height:1.45!important;
  color:var(--theo-form-help)!important;
}

.theo-app .form-error,.theo-admin .form-error,.theo-auth .form-error{
  color:#a44149!important;
  font-weight:600!important;
}

.theo-app label:focus-within>span:first-child,
.theo-admin .field:focus-within label,
.theo-admin .admin-config-field:focus-within>span,
.theo-auth label:focus-within{
  color:#245f67!important;
}

/* --------------------------------------------------------------------------
   APPLICATION / TENANT / OWNER FORM SYSTEM
   -------------------------------------------------------------------------- */
.theo-app .theo-form-shell{gap:15px!important}
.theo-app .theo-form-section{
  gap:12px!important;
  padding:16px!important;
  border:1px solid #dce4e8!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#fff 0%,#fdfefe 100%)!important;
  box-shadow:0 1px 0 rgba(18,42,54,.018)!important;
}
.theo-app .theo-form-section-head{
  gap:10px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid #e9eef0!important;
}
.theo-app .theo-form-section-head>span,.theo-app .theo-form-disclosure summary>span{
  width:30px!important;height:30px!important;
  border:1px solid #d5dfe3!important;
  border-radius:5px!important;
  background:#f4f7f8!important;
  color:#8b673f!important;
  font-size:10.5px!important;
}
.theo-app .theo-form-section-head strong,.theo-app .theo-form-disclosure summary strong{
  font-family:var(--theo-font-display)!important;
  font-size:14px!important;
  line-height:1.3!important;
  letter-spacing:-.015em!important;
  color:#223b4d!important;
}
.theo-app .theo-form-grid{gap:12px 14px!important}
.theo-app .theo-form-shell label{gap:6px!important}
.theo-app .theo-form-callout{
  gap:4px!important;
  padding:12px 14px!important;
  border:1px solid #dde5e8!important;
  border-left:3px solid var(--theo-gold)!important;
  border-radius:6px!important;
  background:#fbfcfc!important;
}
.theo-app .theo-form-callout strong{font-size:13.5px!important;color:#20384b!important}
.theo-app .theo-form-disclosure{
  border:1px solid #dce5e8!important;
  border-radius:7px!important;
  background:#fafcfc!important;
}
.theo-app .theo-form-disclosure summary{padding:11px 13px!important}
.theo-app .theo-form-disclosure-body{gap:12px!important;padding:14px!important}
.theo-app .premium-consent{
  padding:11px 12px!important;
  border-radius:6px!important;
  background:#f8fafb!important;
}
.theo-app .premium-consent span{font-size:12px!important;line-height:1.45!important}

/* Marketplace search reads like a premium search control, not four browser fields. */
.theo-app .filters{padding:10px 12px!important;gap:0!important}
.theo-app .filters .field{gap:5px!important;padding:5px 14px!important}
.theo-app .filters .field label{font-size:11px!important;color:#60727d!important}
.theo-app .filters .field input,.theo-app .filters .field select{
  min-height:28px!important;
  border:0!important;
  border-radius:0!important;
  padding:1px 28px 1px 0!important;
  box-shadow:none!important;
  font-size:14.5px!important;
  font-weight:650!important;
}
.theo-app .filters .field input{background:transparent!important}
.theo-app .filters .field select{background-color:transparent!important}
.theo-app .filters .field input:focus,.theo-app .filters .field select:focus{box-shadow:none!important}

/* --------------------------------------------------------------------------
   OWNER / MANAGEMENT DENSE CONTROLS — readable without losing density
   -------------------------------------------------------------------------- */
.theo-app #owner .owner-filter-select>span,
.theo-app #management .manager-property-selector>span,
.theo-app #management .manager-inline-select>span,
.theo-app #management .manager-filter-selects label>span{
  font-size:11px!important;
  line-height:1.3!important;
}
.theo-app #owner .owner-filter-select select,
.theo-app #management .manager-property-selector select,
.theo-app #management .manager-inline-select select,
.theo-app #management .manager-filter-selects select{
  min-height:40px!important;
  font-size:12.5px!important;
  padding:8px 34px 8px 10px!important;
}
.theo-app #owner .owner-filter-tabs button,.theo-app #management .manager-filter-tabs button,
.theo-app .tenant-filter-tabs button{
  min-height:36px!important;
  font-size:11.5px!important;
  padding:7px 10px!important;
}
.theo-app #management .manager-panel .button,.theo-app #owner .owner-ops-suite .button,
.theo-app #owner .owner-record .data-actions .button{
  min-height:34px!important;
  font-size:11.5px!important;
  padding:7px 10px!important;
}

/* --------------------------------------------------------------------------
   ADMIN FORMS — convert legacy browser-looking controls into one system
   -------------------------------------------------------------------------- */
.theo-admin .form-grid{gap:14px!important}
.theo-admin .field{min-width:0}
.theo-admin .field label{display:block!important;margin:0 0 6px!important}
.theo-admin .field small{display:block!important;margin-top:6px!important}
.theo-admin .admin-form-stack{gap:15px!important}
.theo-admin .admin-form-row{gap:14px!important;margin-bottom:14px!important}
.theo-admin .admin-config-field>span{margin-bottom:6px!important}
.theo-admin .admin-config-field>small{margin-top:6px!important}
.theo-admin .admin-config-card,.theo-admin .admin-setting-group,.theo-admin .admin-guidance{
  border-color:#dfe6e9!important;
}
.theo-admin .admin-setting-group{border-radius:8px!important}
.theo-admin .admin-guidance{border-radius:8px!important;background:#fafcfc!important}
.theo-admin .setting strong{font-size:12.5px!important;line-height:1.35!important}
.theo-admin .setting span{font-size:11.5px!important;line-height:1.4!important}
.theo-admin .control{font-size:12.5px!important;min-height:40px!important}
.theo-admin .input-prefix b,.theo-admin .input-suffix b{
  min-width:44px!important;
  border-color:var(--theo-form-line)!important;
  background:#f4f7f8!important;
  color:#506571!important;
  font-size:12px!important;
}
.theo-admin .input-prefix b{border-radius:6px 0 0 6px!important}
.theo-admin .input-prefix input{border-radius:0 6px 6px 0!important}
.theo-admin .input-suffix input{border-radius:6px 0 0 6px!important}
.theo-admin .input-suffix b{border-radius:0 6px 6px 0!important}
.theo-admin .assignment-field{gap:6px!important}
.theo-admin .assignment-field select{width:100%!important}

/* Admin top-level controls and search */
.theo-admin .admin-search input{font-size:13.5px!important;min-height:42px!important}
.theo-admin .admin-filter-field>span{font-size:11px!important;color:#60727d!important}
.theo-admin .admin-filter-field select,.theo-admin .admin-filter-field input{min-height:40px!important;font-size:12.5px!important}

/* --------------------------------------------------------------------------
   AUTH / REGISTRATION
   -------------------------------------------------------------------------- */
.theo-auth .auth-form{display:grid;gap:13px!important}
.theo-auth label{margin:0 0 6px!important}
.theo-auth .form-grid{gap:12px!important}
.theo-auth .auth-tabs{padding:4px!important;border-radius:7px!important}
.theo-auth .auth-tabs button{min-height:38px!important;font-size:12.5px!important}
.theo-auth .button{min-height:46px!important;margin-top:14px!important;font-size:13px!important}
.theo-auth .form-note{margin-top:7px!important}
.theo-auth .manager-registration,.theo-auth .account-panel{border-radius:10px!important}

/* Keep action rows deliberate and aligned. */
.theo-app .modal-actions,.theo-admin .actions,.theo-admin .modal-actions,
.theo-auth .workspace-actions{gap:8px!important}
.theo-app .modal-actions .button,.theo-admin .actions button,.theo-admin .modal-actions button{
  min-height:40px!important;
}

/* Mobile: avoid iOS zoom and preserve comfortable touch fields. */
@media(max-width:600px){
  :root{--theo-form-height:48px}
  .theo-app input:not([type="checkbox"]):not([type="radio"]),.theo-app select,.theo-app textarea,
  .theo-admin input:not([type="checkbox"]):not([type="radio"]),.theo-admin select,.theo-admin textarea,
  .theo-auth input:not([type="checkbox"]):not([type="radio"]),.theo-auth select,.theo-auth textarea{
    font-size:16px!important;
  }
  .theo-app .theo-form-section{padding:14px!important}
  .theo-app .theo-form-grid,.theo-admin .admin-form-row,.theo-admin .form-grid,.theo-auth .form-grid{grid-template-columns:1fr!important}
  .theo-app .filters .field input,.theo-app .filters .field select{font-size:16px!important}
  .theo-app .filters{gap:2px!important}
}


/* ===== typography.css ===== */
/* Theo Properties interface */
:root{
  --theo-type-page:22px;
  --theo-type-section:15px;
  --theo-type-panel:13px;
  --theo-type-body-compact:12.75px;
  --theo-type-label-compact:11px;
  --theo-type-meta-compact:10.5px;
  --theo-type-control-compact:13.5px;
  --theo-type-kpi:20px;
  --theo-type-money:20px;
}

/* --------------------------------------------------------------------------
   GLOBAL READING SCALE
   -------------------------------------------------------------------------- */
.theo-app,.theo-admin,.theo-auth{
  font-size:13px!important;
  line-height:1.42!important;
}

/* Page-level headings only */
.theo-app .view-head h1,
.theo-admin .section-head h1,
.theo-auth .auth-card h1,
.theo-auth .create-account-card h1{
  font-size:var(--theo-type-page)!important;
  line-height:1.12!important;
  letter-spacing:-.03em!important;
}

/* Decorative auth statement stays controlled, not billboard-sized */
.theo-auth .statement h1{
  font-size:26px!important;
  line-height:1.08!important;
}

/* Section and panel headings */
.theo-app .section-head h2,
.theo-app .owner-operations-heading h2,
.theo-app .manager-head h2,
.theo-app .panel h2,
.theo-app .commercial-panel h2{
  font-size:var(--theo-type-section)!important;
  line-height:1.25!important;
}

.theo-app h3,
.theo-app .panel h3,
.theo-app .case-section h3,
.theo-app .manager-panel h3,
.theo-admin .panel-head h3,
.theo-admin .manager-panel-head h3{
  font-size:var(--theo-type-panel)!important;
  line-height:1.3!important;
}

/* --------------------------------------------------------------------------
   DASHBOARD / KPI LABELS — never headline-sized
   -------------------------------------------------------------------------- */
.theo-admin .conversion-step>div:first-child strong,
.theo-admin .snapshot-row strong,
.theo-admin .priority strong,
.theo-admin .entity strong,
.theo-admin .health-row strong,
.theo-admin .manager-summary-item span,
.theo-app .compact-metric span,
.theo-app .owner-ops-summary span,
.theo-app #management .manager-metrics span,
.theo-app #management .manager-pulse-grid span,
.theo-app #management .manager-finance-strip span,
.theo-app .financial-summary span{
  font-size:var(--theo-type-label-compact)!important;
  line-height:1.3!important;
}

.theo-admin .conversion-step>div:first-child strong{
  font-weight:720!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

/* KPI values remain clear but no longer oversized */
.theo-admin .kpi strong,
.theo-admin .manager-summary-item strong,
.theo-app .compact-metric strong,
.theo-app #management .manager-metrics strong,
.theo-app .owner-ops-summary strong{
  font-size:var(--theo-type-kpi)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}

/* Financial emphasis: noticeable, not billboard-like */
.theo-app .property-price,
.theo-app .financial-summary strong,
.theo-app .tenant-ledger-amount,
.theo-app .rent-amount{
  font-size:var(--theo-type-money)!important;
  line-height:1.12!important;
}

/* Conversion funnel number/value specifically */
.theo-admin .conversion-number strong{
  font-size:12px!important;
  line-height:1.1!important;
}
.theo-admin .conversion-number small{
  font-size:10px!important;
  line-height:1.2!important;
}

/* --------------------------------------------------------------------------
   BODY / TABLE / NAVIGATION
   -------------------------------------------------------------------------- */
.theo-app p,.theo-app .panel p,.theo-app .data-row p,
.theo-admin .panel p,.theo-admin .section-head p,
.theo-auth p{
  font-size:var(--theo-type-body-compact)!important;
  line-height:1.45!important;
}

.theo-admin table td,.theo-admin .table td,.theo-admin .recent-table td,
.theo-app table td,.theo-app .table td{
  font-size:12px!important;
  line-height:1.4!important;
}

.theo-admin table th,.theo-admin .table th,.theo-admin .recent-table th,
.theo-app table th,.theo-app .table th{
  font-size:10.5px!important;
  line-height:1.25!important;
  letter-spacing:.045em!important;
}

.theo-admin .nav-copy strong,.theo-admin .nav-item,
.theo-app .commercial-tabs button,.theo-app .tenant-filter-tabs button,
.theo-app #owner .owner-filter-tabs button,.theo-app #management .manager-filter-tabs button,
.theo-app #management .manager-command-nav button{
  font-size:11.5px!important;
  line-height:1.25!important;
}

.theo-admin .nav-copy small,.theo-admin .profile-copy span,
.theo-admin .panel-context,.theo-admin .snapshot-note,
.theo-app .compact-metric small,.theo-app .owner-ops-summary small,
.theo-app #management .manager-metrics small,.theo-app #management .manager-pulse-grid small,
.theo-app .data-row small,.theo-app .case-event small,.theo-app .case-file small{
  font-size:var(--theo-type-meta-compact)!important;
  line-height:1.38!important;
}

/* --------------------------------------------------------------------------
   FORMS / FILTERS — smaller on desktop, still usable
   -------------------------------------------------------------------------- */
.theo-app label,.theo-admin label,.theo-auth label,
.theo-app .field label,.theo-admin .field label,
.theo-app .theo-form-shell label,.theo-app .owner-form-shell label,
.theo-admin .manager-toolbar label{
  font-size:var(--theo-type-label-compact)!important;
  line-height:1.3!important;
}

.theo-app input:not([type="checkbox"]):not([type="radio"]),
.theo-app select,.theo-app textarea,
.theo-admin input:not([type="checkbox"]):not([type="radio"]),
.theo-admin select,.theo-admin textarea,
.theo-auth input:not([type="checkbox"]):not([type="radio"]),
.theo-auth select,.theo-auth textarea{
  font-size:var(--theo-type-control-compact)!important;
  line-height:1.35!important;
}

.theo-app .button,.theo-app button,
.theo-admin .primary,.theo-admin .secondary,.theo-admin .danger,.theo-admin .table-btn,
.theo-auth .button,.theo-auth button{
  font-size:11.5px!important;
  line-height:1.2!important;
}

.theo-app .status,.theo-app .pill,.theo-app .badge,
.theo-admin .status,.theo-admin .badge,.theo-admin .status-badge,.theo-admin .status-pill,.theo-admin .status-chip{
  font-size:10px!important;
  line-height:1.15!important;
}

/* Property/list cards should feel editorial, not poster-like */
.theo-app .property h3,.theo-app .owner-review-body h3,
.theo-app .case-hero h3{
  font-size:14px!important;
  line-height:1.3!important;
}

/* Explicitly tame the dashboard conversion cards from the reported screen */
.theo-admin .conversion-step{
  min-height:40px!important;
  padding:7px 9px!important;
}
.theo-admin .conversion-list{gap:6px!important}

/* --------------------------------------------------------------------------
   MOBILE: preserve compact hierarchy; only editable controls use 16px to
   prevent iOS/Android browser zoom on focus.
   -------------------------------------------------------------------------- */
@media(max-width:600px){
  :root{
    --theo-type-page:20px;
    --theo-type-section:14px;
    --theo-type-panel:12.5px;
    --theo-type-kpi:18px;
    --theo-type-money:18px;
  }
  .theo-auth .statement h1{font-size:24px!important}
  .theo-app input:not([type="checkbox"]):not([type="radio"]),
  .theo-app select,.theo-app textarea,
  .theo-admin input:not([type="checkbox"]):not([type="radio"]),
  .theo-admin select,.theo-admin textarea,
  .theo-auth input:not([type="checkbox"]):not([type="radio"]),
  .theo-auth select,.theo-auth textarea{
    font-size:16px!important;
  }
}


/* ===== production-surface-clean.css ===== */
/* Theo Properties public-surface cleanup */
body.guest-mode #saved-toggle,
body.guest-mode .alert-actions{display:none!important}
body.guest-mode .marketplace-results-actions{justify-content:flex-end!important}
body.guest-mode .marketplace-results-head{align-items:end!important}
.security-note{font-size:11.5px!important;line-height:1.45!important}


/* ===== layout-rhythm-gallery-v1132.css ===== */
/* Theo Properties v1.1.32 — layout rhythm, gallery and ledger-form lock */
:root{
  --tp-surface:#ffffff;
  --tp-surface-alt:#f8fafb;
  --tp-surface-soft:#f3f6f7;
  --tp-divider:#dfe6e9;
  --tp-divider-strong:#cfd9de;
  --tp-navy:#162c42;
  --tp-gold:#c79a5f;
}

/* --------------------------------------------------------------------------
   PAGE RHYTHM — break long flat white pages into readable operational bands
   -------------------------------------------------------------------------- */
body.signed-mode .content{background:linear-gradient(180deg,#f7f9fa 0%,#f4f7f8 100%)}
body.signed-mode #tenant,body.signed-mode #owner,body.signed-mode #management{padding-bottom:34px}
body.signed-mode #tenant>.view-head,body.signed-mode #owner>.view-head,body.signed-mode #management>.view-head{padding-bottom:14px;border-bottom:1px solid var(--tp-divider)}
.theo-app .panel,.theo-app .commercial-panel,.theo-app .manager-panel,.theo-app .tenant-rental-card-v1131,
.theo-admin .panel,.theo-admin .content-card,.theo-admin .table-card,.theo-admin .admin-config-card{
  border-color:var(--tp-divider)!important;
  box-shadow:0 7px 22px rgba(17,35,53,.045)!important;
}
.theo-app .section-head,.theo-admin .section-head{padding-bottom:9px;border-bottom:1px solid var(--tp-divider);margin-bottom:12px!important}
.theo-app .section-head:before,.theo-admin .section-head:before{content:"";width:22px;height:2px;background:var(--tp-gold);display:inline-block;margin-right:8px;vertical-align:middle}
.theo-app .data-list .data-row:nth-child(even),.theo-app .tenant-ledger-row:nth-child(even),.theo-admin tbody tr:nth-child(even){background:#fbfcfd}
.theo-app .commercial-pane>.panel:nth-of-type(even),#management .manager-panel:nth-of-type(even),#tenant>.panel:nth-of-type(even){background:var(--tp-surface-alt)}
.theo-app .compact-metrics,.theo-app .financial-summary,.theo-app .tenant-rental-metrics-v1131{position:relative}
.theo-app .compact-metrics:after,.theo-app .financial-summary:after,.theo-app .tenant-rental-metrics-v1131:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:1px;background:var(--tp-divider)}
.theo-app .owner-panel,.theo-app .manager-panel{margin-top:14px!important}

/* --------------------------------------------------------------------------
   LEDGER FORM SYSTEM — one consistent, spreadsheet-like form language
   -------------------------------------------------------------------------- */
@media(min-width:721px){
  .theo-app .theo-form-section{padding:0!important;overflow:hidden;background:#fff!important}
  .theo-app .theo-form-section-head{margin:0!important;padding:12px 14px!important;background:#f5f8f9!important;border-bottom:1px solid var(--tp-divider)!important}
  .theo-app .theo-form-grid{display:block!important;margin:0!important;border:0!important}
  .theo-app .theo-form-grid>label,
  .theo-app .theo-form-section>label:not(.consent-row),
  .theo-app .theo-form-disclosure-body>label:not(.consent-row){
    display:grid!important;
    grid-template-columns:minmax(150px,32%) minmax(0,1fr)!important;
    align-items:center!important;
    gap:14px!important;
    margin:0!important;
    padding:9px 12px!important;
    min-height:58px!important;
    border-bottom:1px solid #e8edef!important;
    background:#fff!important;
  }
  .theo-app .theo-form-grid>label:nth-child(even){background:#fbfcfd!important}
  .theo-app .theo-form-grid>label>span:first-child,
  .theo-app .theo-form-section>label>span:first-child,
  .theo-app .theo-form-disclosure-body>label>span:first-child{
    margin:0!important;color:#415563!important;font-size:11.5px!important;font-weight:750!important;line-height:1.3!important
  }
  .theo-app .theo-form-grid input:not([type=checkbox]):not([type=radio]),
  .theo-app .theo-form-grid select,.theo-app .theo-form-grid textarea,
  .theo-app .theo-form-section>label input,.theo-app .theo-form-section>label select,.theo-app .theo-form-section>label textarea,
  .theo-app .theo-form-disclosure-body>label input,.theo-app .theo-form-disclosure-body>label select,.theo-app .theo-form-disclosure-body>label textarea{
    min-height:42px!important;height:42px!important;padding:8px 10px!important;font-size:13px!important;border-radius:5px!important;background:#fff!important
  }
  .theo-app .theo-form-grid textarea,.theo-app .theo-form-section>label textarea,.theo-app .theo-form-disclosure-body>label textarea{height:auto!important;min-height:86px!important;align-self:stretch}
  .theo-app .theo-form-disclosure-body{padding:0!important;gap:0!important;background:#fff!important}
  .theo-app .theo-form-disclosure summary{background:#f5f8f9!important;border-bottom:1px solid transparent}
  .theo-app .theo-form-disclosure[open] summary{border-bottom-color:var(--tp-divider)!important}

  .lifecycle-form-grid,.slot-manager-grid{display:block!important;border:1px solid var(--tp-divider)!important;border-radius:7px!important;overflow:hidden;background:#fff!important}
  .lifecycle-form-grid>label,.slot-manager-grid>label,.lifecycle-file-field,.lifecycle-note{
    display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;
    padding:9px 12px!important;margin:0!important;border-bottom:1px solid #e8edef!important;background:#fff!important
  }
  .lifecycle-form-grid>label:nth-child(even),.slot-manager-grid>label:nth-child(even){background:#fbfcfd!important}
  .lifecycle-form-grid>label.wide,.slot-manager-grid>label.wide{grid-column:auto!important}
  .lifecycle-form-grid input,.lifecycle-form-grid select,.slot-manager-grid input,.slot-manager-grid select,.lifecycle-file-field input{min-height:42px!important;height:42px!important;font-size:13px!important;border-radius:5px!important}
  .lifecycle-form-grid textarea,.lifecycle-note textarea{min-height:84px!important;font-size:13px!important;border-radius:5px!important}
}

/* Admin ledger-form treatment without changing admin workflows. */
@media(min-width:821px){
  .theo-admin .admin-config-card .admin-config-field,
  .theo-admin .assignment-field{
    display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;
    padding:9px 12px!important;margin:0!important;border-bottom:1px solid #e8edef!important;background:#fff!important
  }
  .theo-admin .admin-config-card .admin-config-field:nth-child(even),.theo-admin .assignment-field:nth-child(even){background:#fbfcfd!important}
  .theo-admin .admin-config-card input,.theo-admin .admin-config-card select,.theo-admin .assignment-field input,.theo-admin .assignment-field select{min-height:40px!important;height:40px!important;font-size:12.5px!important;border-radius:5px!important}
}

/* --------------------------------------------------------------------------
   PROPERTY MEDIA STANDARD — 5 image gallery, swipe, next/previous, preview
   -------------------------------------------------------------------------- */
.property,.mobile-property-card{position:relative}
.property-gallery{position:relative;overflow:hidden;background-color:#dce3e6;background-size:cover;background-position:center;touch-action:pan-y;transition:background-image .12s ease}
.gallery-nav{position:absolute;top:50%;z-index:4;transform:translateY(-50%);width:31px;height:38px;border:1px solid rgba(255,255,255,.45);background:rgba(15,31,48,.64);color:#fff;border-radius:6px;display:grid;place-items:center;padding:0;font-size:23px;line-height:1;backdrop-filter:blur(7px);opacity:.92}
.gallery-prev{left:8px}.gallery-next{right:8px}
.gallery-count{position:absolute;right:9px;bottom:9px;z-index:4;background:rgba(15,31,48,.7);color:#fff;padding:4px 7px;border-radius:4px;font-size:10px;font-weight:750;letter-spacing:.02em;backdrop-filter:blur(6px)}
.gallery-preview{position:absolute;left:9px;bottom:9px;z-index:4;min-height:27px;border:1px solid rgba(255,255,255,.45);border-radius:5px;background:rgba(255,255,255,.92);color:#183449;padding:5px 8px;font-size:10.5px;font-weight:750}
.property-photo-overlay{position:absolute;left:0;right:0;top:0;height:210px;z-index:5;pointer-events:none}
.property-photo-overlay .photo-badge,.property-photo-overlay .promotion-label,.property-photo-overlay .save-icon{pointer-events:auto}
.property-photo-overlay .save-icon{position:absolute;top:12px;right:12px}
.property-photo-overlay .photo-badge{position:absolute;top:12px;left:12px}
.property-photo-overlay .promotion-label{position:absolute;left:12px;bottom:43px}
.detail-photo.property-gallery{height:300px!important;margin:-5px -5px 18px!important;border-radius:10px!important}
.detail-photo .gallery-nav{width:36px;height:44px}.detail-photo .gallery-count{font-size:11px}.detail-photo .gallery-preview{display:none}
.mobile-property-image.property-gallery{position:relative}
.mobile-property-card>.mobile-status,.mobile-property-card>.mobile-save{z-index:7}

.property-upload-existing{display:grid;gap:7px;padding:10px 12px;border:1px solid var(--tp-divider);border-radius:7px;background:#f8fafb}
.property-upload-existing>span{font-size:11px;font-weight:750;color:#536774}
.property-upload-existing>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.property-upload-existing i{height:68px;border-radius:5px;background-size:cover;background-position:center;border:1px solid #d8e0e4}
.property-upload-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:0 12px 12px}
.property-upload-preview>div{min-width:0;border:1px solid #dce4e8;border-radius:5px;padding:7px;background:#f8fafb;display:grid;gap:2px}
.property-upload-preview span{font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;color:#98672f;font-weight:800}
.property-upload-preview strong{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#263d4e}.property-upload-preview small{font-size:9.5px;color:#78868e}
.property-image-upload .form-hint{padding:0 12px 9px;margin:0!important}

@media(hover:hover) and (pointer:fine){.property-gallery .gallery-nav{opacity:0;transition:opacity .15s ease}.property-gallery:hover .gallery-nav{opacity:.92}}

@media(max-width:720px){
  body.signed-mode .content{background:#f4f7f8}
  .theo-app .section-head{padding-bottom:8px}
  .theo-app .panel,.theo-app .commercial-panel,.theo-app .manager-panel{padding:15px!important}
  .theo-app .theo-form-section{padding:0!important;overflow:hidden!important}
  .theo-app .theo-form-section-head{padding:12px!important;background:#f5f8f9!important}
  .theo-app .theo-form-grid{gap:0!important}
  .theo-app .theo-form-grid>label,.theo-app .theo-form-section>label:not(.consent-row),.theo-app .theo-form-disclosure-body>label:not(.consent-row){padding:11px 12px!important;margin:0!important;border-bottom:1px solid #e8edef!important;background:#fff!important;gap:5px!important}
  .theo-app .theo-form-grid>label:nth-child(even){background:#fbfcfd!important}
  .theo-app .theo-form-grid input:not([type=checkbox]):not([type=radio]),.theo-app .theo-form-grid select,.theo-app .theo-form-section input,.theo-app .theo-form-section select,.theo-app .theo-form-disclosure-body input,.theo-app .theo-form-disclosure-body select{min-height:47px!important;font-size:16px!important;border-radius:5px!important}
  .gallery-nav{width:34px;height:42px;font-size:25px;opacity:.9}.gallery-count{bottom:8px}.gallery-preview{bottom:8px}
  .property-photo-overlay{height:220px}
  .detail-photo.property-gallery{height:230px!important;margin:-4px -4px 14px!important}
  .property-upload-existing>div,.property-upload-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:420px){.property-upload-existing>div,.property-upload-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== premium-density-colour-rc1071.css ===== */
/* Theo Properties RC1.0.7.1 — Hero Search Density & Composition Fix
   Visual-only refinement. No auth, routing, data-contract, map or workflow changes. */
:root{
  --tp1071-navy:#10283c;
  --tp1071-blue:#eef5f8;
  --tp1071-sky:#f3f7fa;
  --tp1071-sand:#fbf6ed;
  --tp1071-gold:#f7f0e4;
  --tp1071-sage:#f0f7f3;
  --tp1071-teal:#edf7f5;
  --tp1071-stone:#f7f5f1;
  --tp1071-line:#dce5e8;
  --tp1071-shadow:0 12px 34px rgba(18,43,61,.055);
}

/* ─────────────────────────────────────────────────────────────
   MARKETPLACE HERO — contained, image-led, no form overlap
   ───────────────────────────────────────────────────────────── */
body.guest-mode #explore .premium-marketplace-hero{
  min-height:560px!important;
  grid-template-columns:minmax(500px,.88fr) minmax(0,1.12fr)!important;
}
body.guest-mode #explore .marketplace-hero-copy{
  padding:48px 42px 32px!important;
  justify-content:center!important;
}
body.guest-mode #explore .marketplace-kicker{margin-bottom:11px!important}
body.guest-mode #explore .premium-marketplace-hero h1{
  max-width:520px!important;
  margin:0!important;
  font-size:clamp(38px,3.15vw,50px)!important;
  line-height:1.01!important;
  letter-spacing:-.048em!important;
}
body.guest-mode #explore .premium-marketplace-hero h1 span{display:inline!important}
body.guest-mode #explore .hero-lead{
  max-width:500px!important;
  margin:15px 0 20px!important;
  font-size:11.8px!important;
  line-height:1.58!important;
}
body.guest-mode #explore .hero-search-card{
  width:100%!important;
  max-width:560px!important;
  margin:0!important;
  padding:10px 11px 9px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(209,220,224,.92)!important;
  box-shadow:0 12px 34px rgba(11,34,50,.09)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}
body.guest-mode #explore .hero-search-card .public-search{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.82fr) minmax(0,1fr)!important;
  gap:6px!important;
}
body.guest-mode #explore .hero-search-card .public-search .search-location-field{grid-column:1!important}
body.guest-mode #explore .hero-search-card .rent-search-field{grid-column:1/3!important}
body.guest-mode #explore .hero-search-submit{grid-column:3!important;width:100%!important}
body.guest-mode #explore .hero-search-card .public-search input,
body.guest-mode #explore .hero-search-card .public-search select,
body.guest-mode #explore .hero-search-card .rent-range-trigger,
body.guest-mode #explore .hero-search-submit{
  height:39px!important;
  min-height:39px!important;
}
body.guest-mode #explore .hero-search-card .public-search label{font-size:7.7px!important;margin-bottom:3px!important}
body.guest-mode #explore .hero-search-card .public-search input,
body.guest-mode #explore .hero-search-card .public-search select,
body.guest-mode #explore .hero-search-card .rent-range-trigger{font-size:10.7px!important}
body.guest-mode #explore .hero-search-submit{font-size:9.5px!important}
/* Category already exists as a field. Do not repeat it as a second control row. */
body.guest-mode #explore .hero-search-card .public-categories{display:none!important}
body.guest-mode #explore .market-more-filters{margin-top:6px!important}
body.guest-mode #explore .market-more-filters>summary{
  min-height:37px!important;
  padding:7px 10px!important;
  border-radius:7px!important;
  background:#f7f9fa!important;
}
body.guest-mode #explore .market-more-filters>summary span{font-size:9.8px!important}
body.guest-mode #explore .market-more-filters>summary small{font-size:8.4px!important}
body.guest-mode #explore .hero-support{
  max-width:560px!important;
  margin-top:11px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(29,57,76,.08)!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  font-size:8.2px!important;
}
body.guest-mode #explore .hero-support span{padding-left:9px!important;line-height:1.35!important}
body.guest-mode #explore .marketplace-hero-visual{min-height:560px!important}
body.guest-mode #explore .hero-visual-shade{background:linear-gradient(180deg,rgba(8,22,34,0) 60%,rgba(8,22,34,.15) 100%)!important}
/* Remove duplicate merchandising copy and category controls from the hero image. */
body.guest-mode #explore .hero-visual-copy,
body.guest-mode #explore .hero-visual-types{display:none!important}

/* ─────────────────────────────────────────────────────────────
   MARKETPLACE CARDS — category tints, not flat white blocks
   ───────────────────────────────────────────────────────────── */
#available-properties .property.premium-property-card{
  overflow:hidden!important;
  box-shadow:var(--tp1071-shadow)!important;
}
#available-properties .property.premium-property-card[data-category="Residential"]{border-color:#d6e6e1!important}
#available-properties .property.premium-property-card[data-category="Residential"] .property-body{background:linear-gradient(180deg,#fff 0%,#f2f8f6 100%)!important}
#available-properties .property.premium-property-card[data-category="Commercial"]{border-color:#d8e3eb!important}
#available-properties .property.premium-property-card[data-category="Commercial"] .property-body{background:linear-gradient(180deg,#fff 0%,#f1f6fa 100%)!important}
#available-properties .property.premium-property-card[data-category="Industrial"]{border-color:#e4ded4!important}
#available-properties .property.premium-property-card[data-category="Industrial"] .property-body{background:linear-gradient(180deg,#fff 0%,#f7f4ef 100%)!important}
#available-properties .property.premium-property-card[data-category="Agricultural"]{border-color:#d9e5d7!important}
#available-properties .property.premium-property-card[data-category="Agricultural"] .property-body{background:linear-gradient(180deg,#fff 0%,#f3f8f0 100%)!important}
#available-properties .premium-property-card[data-category="Residential"] .property-subtype{color:#49786b!important}
#available-properties .premium-property-card[data-category="Commercial"] .property-subtype{color:#4b708d!important}
#available-properties .premium-property-card[data-category="Industrial"] .property-subtype{color:#806e57!important}
#available-properties .premium-property-card[data-category="Agricultural"] .property-subtype{color:#5f7d52!important}
#available-properties .premium-property-card .premium-card-actions{border-top:1px solid rgba(38,62,79,.07)!important;padding-top:9px!important}

/* Journey and discovery surfaces get restrained colour variation. */
body.guest-mode .journey-steps li:nth-child(1){background:var(--tp1071-blue)!important}
body.guest-mode .journey-steps li:nth-child(2){background:var(--tp1071-sage)!important}
body.guest-mode .journey-steps li:nth-child(3){background:var(--tp1071-sand)!important}
body.guest-mode .journey-steps li:nth-child(4){background:var(--tp1071-teal)!important}
body.guest-mode .journey-steps li:nth-child(5){background:var(--tp1071-sky)!important}
body.guest-mode .journey-steps li{border-color:#dfe7e8!important}

/* ─────────────────────────────────────────────────────────────
   PROPERTY DETAIL — warmer information blocks, map stays functional
   ───────────────────────────────────────────────────────────── */
.modal-backdrop.property-detail-open .modal{background:linear-gradient(180deg,#fff 0%,#fbfcfc 100%)!important}
.detail-summary-zone{padding-left:2px!important;padding-right:2px!important}
.detail-summary-zone .property-facts{background:linear-gradient(90deg,var(--tp1071-sky),rgba(255,255,255,.45))!important;border:1px solid #e2e8eb!important;border-radius:8px!important;padding:10px 11px!important}
.detail-overview-zone .detail-feature-groups>div:nth-child(4n+1){background:var(--tp1071-sky)!important;border-color:#dfe7eb!important}
.detail-overview-zone .detail-feature-groups>div:nth-child(4n+2){background:var(--tp1071-sage)!important;border-color:#dce9e2!important}
.detail-overview-zone .detail-feature-groups>div:nth-child(4n+3){background:var(--tp1071-sand)!important;border-color:#e9e0d2!important}
.detail-overview-zone .detail-feature-groups>div:nth-child(4n+4){background:var(--tp1071-teal)!important;border-color:#d8e9e6!important}
.detail-location-zone .property-location-module{padding:12px!important;border:1px solid #dfe7e9!important;border-radius:10px!important;background:linear-gradient(180deg,#f6faf9,#fff)!important}

/* ─────────────────────────────────────────────────────────────
   WORKSPACES — colour-cue cards by context, keep data calm
   ───────────────────────────────────────────────────────────── */
#tenant .panel{border-color:#dbe8e5!important;background:linear-gradient(145deg,#fff 0%,#f4faf8 100%)!important;box-shadow:var(--tp1071-shadow)!important}
#tenant .tenant-empty-primary{background:linear-gradient(135deg,#f3f8fb 0%,#f4faf7 100%)!important;border-color:#d8e6e7!important}
#tenant .tenant-quick-link:nth-child(4n+1){background:var(--tp1071-sky)!important}
#tenant .tenant-quick-link:nth-child(4n+2){background:var(--tp1071-sage)!important}
#tenant .tenant-quick-link:nth-child(4n+3){background:var(--tp1071-sand)!important}
#tenant .tenant-quick-link:nth-child(4n+4){background:var(--tp1071-teal)!important}
#tenant .tenant-quick-link{border-color:#dce5e7!important}

#owner .panel,#owner .commercial-panel{border-color:#e4e0d8!important;background:linear-gradient(145deg,#fff 0%,#fbf7ef 100%)!important;box-shadow:var(--tp1071-shadow)!important}
#owner .compact-metric:nth-child(4n+1),#management .compact-metric:nth-child(4n+1){background:var(--tp1071-sky)!important}
#owner .compact-metric:nth-child(4n+2),#management .compact-metric:nth-child(4n+2){background:var(--tp1071-sage)!important}
#owner .compact-metric:nth-child(4n+3),#management .compact-metric:nth-child(4n+3){background:var(--tp1071-sand)!important}
#owner .compact-metric:nth-child(4n+4),#management .compact-metric:nth-child(4n+4){background:var(--tp1071-teal)!important}
#owner .compact-metric,#management .compact-metric{border-color:#dfe6e7!important}
#owner .insight-card:nth-child(3n+1){background:var(--tp1071-sky)!important}
#owner .insight-card:nth-child(3n+2){background:var(--tp1071-sage)!important}
#owner .insight-card:nth-child(3n+3){background:var(--tp1071-sand)!important}
#owner .insight-card{border-color:#dfe5e6!important}
#management .panel,#management .commercial-panel,#management .manager-panel{border-color:#d8e7e3!important;background:linear-gradient(145deg,#fff 0%,#f1f8f6 100%)!important;box-shadow:var(--tp1071-shadow)!important}

/* Rows remain light so operational information stays readable. */
#tenant .data-row,#owner .data-row,#management .data-row{background:rgba(255,255,255,.84)!important;border-color:#dfe6e8!important}

/* Property/listing forms: distinct stages instead of a wall of white. */
.theo-app .owner-form-shell .premium-form-card:nth-of-type(4n+1) .theo-form-section-head{background:var(--tp1071-sky)!important}
.theo-app .owner-form-shell .premium-form-card:nth-of-type(4n+2) .theo-form-section-head{background:var(--tp1071-sand)!important}
.theo-app .owner-form-shell .premium-form-card:nth-of-type(4n+3) .theo-form-section-head{background:var(--tp1071-sage)!important}
.theo-app .owner-form-shell .premium-form-card:nth-of-type(4n+4) .theo-form-section-head{background:var(--tp1071-teal)!important}
.theo-app .theo-form-callout{background:linear-gradient(90deg,#f3f7fa,#fbf8f1)!important;border-color:#dce5e7!important}

/* ─────────────────────────────────────────────────────────────
   ADMIN — subtle colour system for KPIs, panels and configuration
   ───────────────────────────────────────────────────────────── */
.theo-admin{background:#f6f8f8!important}
.theo-admin .kpi:nth-child(4n+1){background:linear-gradient(145deg,#fff,var(--tp1071-sky))!important;border-color:#dce6eb!important}
.theo-admin .kpi:nth-child(4n+2){background:linear-gradient(145deg,#fff,var(--tp1071-sage))!important;border-color:#dae7e1!important}
.theo-admin .kpi:nth-child(4n+3){background:linear-gradient(145deg,#fff,var(--tp1071-sand))!important;border-color:#e7dfd3!important}
.theo-admin .kpi:nth-child(4n+4){background:linear-gradient(145deg,#fff,var(--tp1071-teal))!important;border-color:#d8e8e5!important}
.theo-admin .panel{border-color:#dce5e8!important;box-shadow:0 9px 28px rgba(18,43,61,.04)!important;background:linear-gradient(180deg,#fff 0%,#fbfcfc 100%)!important}
.theo-admin .panel-head{background:linear-gradient(90deg,#f6f9fa,#fbf8f2)!important}
.theo-admin .admin-config-card:nth-child(odd) .panel-head{background:var(--tp1071-sky)!important}
.theo-admin .admin-config-card:nth-child(even) .panel-head{background:var(--tp1071-sand)!important}
.theo-admin .admin-summary-cell:nth-child(4n+1){background:var(--tp1071-sky)!important}
.theo-admin .admin-summary-cell:nth-child(4n+2){background:var(--tp1071-sage)!important}
.theo-admin .admin-summary-cell:nth-child(4n+3){background:var(--tp1071-sand)!important}
.theo-admin .admin-summary-cell:nth-child(4n+4){background:var(--tp1071-teal)!important}
.theo-admin .manager-summary-item:nth-child(4n+1){background:var(--tp1071-sky)!important}
.theo-admin .manager-summary-item:nth-child(4n+2){background:var(--tp1071-sage)!important}
.theo-admin .manager-summary-item:nth-child(4n+3){background:var(--tp1071-sand)!important}
.theo-admin .manager-summary-item:nth-child(4n+4){background:var(--tp1071-teal)!important}

/* ─────────────────────────────────────────────────────────────
   ACCOUNT / LOGIN — role cards gain quiet brand colour
   ───────────────────────────────────────────────────────────── */
.theo-auth .auth-modal{background:linear-gradient(160deg,#fff 0%,#f8faf9 100%)!important}
.theo-auth .role-choice:nth-child(1){background:linear-gradient(145deg,#fff,var(--tp1071-sky))!important;border-color:#dce7ed!important}
.theo-auth .role-choice:nth-child(2){background:linear-gradient(145deg,#fff,var(--tp1071-sand))!important;border-color:#e8dfd0!important}
.theo-auth .role-choice:nth-child(3){background:linear-gradient(145deg,#fff,var(--tp1071-sage))!important;border-color:#dbe8e0!important}
.theo-auth .role-choice.active{border-color:#799a9e!important;box-shadow:0 0 0 2px rgba(38,105,105,.08)!important}
.theo-auth .form-section-head{background:linear-gradient(90deg,#f3f7f9,#fbf8f1)!important;border-radius:7px!important;padding:8px 9px!important}
.theo-auth .account-panel{background:linear-gradient(145deg,#f3f8fb,#f5faf6)!important;border-color:#dce8e5!important}
.theo-auth .security-note{background:#f8f5ed!important;border-color:#e8dfd0!important}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — density remains compact without sacrificing touch targets
   ───────────────────────────────────────────────────────────── */
@media(max-width:1180px){
  body.guest-mode #explore .premium-marketplace-hero{grid-template-columns:minmax(440px,.9fr) minmax(0,1.1fr)!important}
  body.guest-mode #explore .marketplace-hero-copy{padding:42px 34px 30px!important}
  body.guest-mode #explore .premium-marketplace-hero h1{font-size:44px!important}
  body.guest-mode #explore .hero-search-card{max-width:520px!important}
}
@media(max-width:900px){
  body.guest-mode #explore .premium-marketplace-hero{grid-template-columns:1fr!important;min-height:0!important}
  body.guest-mode #explore .marketplace-hero-copy{padding:35px 30px 28px!important}
  body.guest-mode #explore .premium-marketplace-hero h1{font-size:42px!important;max-width:620px!important}
  body.guest-mode #explore .hero-search-card{max-width:650px!important}
  body.guest-mode #explore .hero-search-card .public-search{grid-template-columns:1.2fr .8fr 1fr!important}
  body.guest-mode #explore .hero-search-card .rent-search-field{grid-column:1/3!important}
  body.guest-mode #explore .hero-search-submit{grid-column:3!important}
  body.guest-mode #explore .marketplace-hero-visual{min-height:340px!important}
}
@media(max-width:700px){
  body.guest-mode #explore .marketplace-hero-copy{padding:25px 17px 19px!important}
  body.guest-mode #explore .premium-marketplace-hero h1{font-size:32px!important;max-width:350px!important}
  body.guest-mode #explore .hero-search-card{max-width:none!important;padding:9px!important}
  body.guest-mode #explore .hero-search-card .public-search{grid-template-columns:1fr!important}
  body.guest-mode #explore .hero-search-card .public-search .search-location-field,
  body.guest-mode #explore .hero-search-card .rent-search-field,
  body.guest-mode #explore .hero-search-submit{grid-column:auto!important}
  body.guest-mode #explore .hero-search-card .public-search input,
  body.guest-mode #explore .hero-search-card .public-search select,
  body.guest-mode #explore .hero-search-card .rent-range-trigger,
  body.guest-mode #explore .hero-search-submit{height:44px!important;min-height:44px!important;font-size:16px!important}
  body.guest-mode #explore .hero-support{grid-template-columns:1fr!important;gap:5px!important}
  body.guest-mode #explore .marketplace-hero-visual{min-height:225px!important}
}

/* Mobile marketplace cards retain the same soft-colour rhythm. */
.mobile-property-card:nth-child(4n+1) .mobile-property-info{background:linear-gradient(180deg,#fff,var(--tp1071-sage))!important}
.mobile-property-card:nth-child(4n+2) .mobile-property-info{background:linear-gradient(180deg,#fff,var(--tp1071-sky))!important}
.mobile-property-card:nth-child(4n+3) .mobile-property-info{background:linear-gradient(180deg,#fff,var(--tp1071-sand))!important}
.mobile-property-card:nth-child(4n+4) .mobile-property-info{background:linear-gradient(180deg,#fff,var(--tp1071-teal))!important}


/* ===== brand-footer-rc1074.css ===== */
/* Theo Properties RC1.0.7.4 — Brand hierarchy, home navigation & production footer */
:root{
  --tp-brand-navy:#0c2945;
  --tp-brand-gold:#d6a653;
  --tp-footer-bg:#f5f1e9;
  --tp-footer-line:#dfd8cb;
  --tp-footer-muted:#657783;
}
/* Official wordmark: one primary lockup, tightly cropped artwork */
.public-brand,
.topbar-home-brand,
.admin-top-home,
.auth-home-brand,
.auth-modal-home,
.gate-home-brand{display:inline-flex;align-items:center;text-decoration:none}
.public-brand img,
.topbar-home-brand img,
.admin-top-home img,
.auth-modal-home img,
.gate-home-brand img{
  display:block;
  height:auto;
  object-fit:contain;
  image-rendering:auto;
}
body.guest-mode .public-brand{width:205px!important;height:56px!important;justify-content:flex-start}
body.guest-mode .public-brand img{width:198px!important;max-width:100%!important;transform:none!important}
.public-brand:focus-visible,.topbar-home-brand:focus-visible,.admin-top-home:focus-visible,.auth-home-brand:focus-visible,.auth-modal-home:focus-visible,.gate-home-brand:focus-visible{
  outline:2px solid rgba(214,166,83,.58);outline-offset:4px;border-radius:6px;
}

/* Workspace sidebar becomes context, not a competing Theo wordmark. */
.premium-sidebar .workspace-context-brand{
  display:flex!important;align-items:center;gap:11px;padding:4px 7px 18px!important;color:#fff;text-decoration:none;
}
.premium-sidebar .workspace-context-brand img{
  width:39px!important;height:39px!important;flex:none;padding:0!important;background:transparent!important;border-radius:0!important;
}
.premium-sidebar .workspace-context-brand span{display:grid;gap:2px;color:#dfe8ed;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.premium-sidebar .workspace-context-brand small{color:#8298a6;font-size:8px;font-weight:750;letter-spacing:.13em}
.premium-sidebar .workspace-context-brand:hover span{color:#fff}

/* Workspace header keeps the one official wordmark and makes it the universal home action. */
.topbar-home-brand.official-header-logo{
  width:184px!important;height:48px!important;padding:0!important;overflow:visible!important;flex:none;
}
.topbar-home-brand.official-header-logo img{width:181px!important;height:auto!important;max-width:100%!important;transform:none!important}
.topbar-brand-group{min-width:0}
.topbar .crumb{border-left:1px solid #e1e7ea;padding-left:18px!important;margin-left:2px}

/* Admin: sidebar is contextual, top header owns the full brand lockup. */
.theo-admin .brand.admin-context-brand{display:flex;gap:11px;align-items:center;padding:2px 9px 16px!important;text-decoration:none}
.theo-admin .brand.admin-context-brand img{width:40px!important;height:40px!important;padding:0!important;border-radius:0!important;background:transparent!important}
.theo-admin .brand.admin-context-brand strong{font-size:10px!important;letter-spacing:.15em!important;color:#f1f5f7}
.theo-admin .brand.admin-context-brand span{font-size:8px!important;letter-spacing:.08em;color:#839aa7!important}
.theo-admin .admin-top-home{width:176px;height:48px;flex:none}
.theo-admin .admin-top-home .top-logo{width:174px!important;height:auto!important;max-height:44px!important;object-fit:contain!important}
.theo-admin .top-divider{margin-left:0}

/* Login: every official logo can take the user home. */
.auth-home-brand{position:relative;z-index:2;width:max-content;max-width:100%}
.auth-home-brand img{display:block}
.auth-modal-home{justify-content:flex-start;width:max-content;max-width:100%;margin:0 auto 2px}
.auth-modal-home .wordmark{margin:0!important}
.auth-route-transition img{object-fit:contain}

/* Production public footer */
.site-footer{
  margin:42px 0 0;
  border:1px solid var(--tp-footer-line);
  border-radius:18px 18px 0 0;
  background:linear-gradient(180deg,#f8f5ef 0%,var(--tp-footer-bg) 100%);
  color:#183247;
  overflow:hidden;
}
.site-footer-main{display:grid;grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(150px,.72fr));gap:34px;padding:36px 38px 30px}
.site-footer-brand{max-width:390px}
.site-footer-brandmark{display:inline-flex;align-items:center;gap:11px;color:#142e45;text-decoration:none;margin-bottom:15px}
.site-footer-brandmark img{width:34px;height:34px;display:block}
.site-footer-brandmark strong{font:800 14px/1.05 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.site-footer-brandmark span{display:block;margin-top:4px;font:700 9px/1 Inter,system-ui,sans-serif;letter-spacing:.13em;color:#7a8992;text-transform:uppercase}
.site-footer-brand p{margin:0;color:#657680;font-size:12.5px;line-height:1.65;max-width:350px}
.site-footer-contact{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:18px;font-size:11.5px;font-weight:750;color:#36566b}
.site-footer-contact a{color:#36566b;text-decoration:none}
.site-footer-contact a:hover{text-decoration:underline}
.site-footer-column{display:grid;align-content:start;gap:9px}
.site-footer-column strong{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#8a6a3c;margin-bottom:2px}
.site-footer-column a{width:max-content;max-width:100%;font-size:11.5px;font-weight:700;color:#4e6574;text-decoration:none}
.site-footer-column a:hover{color:#132e46;text-decoration:underline}
.site-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 38px;border-top:1px solid var(--tp-footer-line);background:rgba(255,255,255,.34);font-size:10.5px;color:#76858e}
.site-footer-bottom nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.site-footer-bottom a{color:#657680;text-decoration:none;font-weight:700}
.site-footer-bottom a:hover{text-decoration:underline;color:#17354e}

/* Account-page compact support/legal links */
.auth-support-links{display:flex;align-items:center;justify-content:center;gap:8px 13px;flex-wrap:wrap;margin-top:10px;font-size:10px;color:#697b87}
.auth-support-links a{color:#526a79;text-decoration:none;font-weight:700}
.auth-support-links a:hover{text-decoration:underline;color:#18364d}

/* Legal pages */
.legal-page{min-height:100vh;background:#f6f7f7;color:#173047}
.legal-header{height:74px;padding:0 max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #e3e9ec}
.legal-header .public-brand{width:200px;height:54px}
.legal-header .public-brand img{width:194px;height:auto}
.legal-header a.legal-back{font-size:12px;font-weight:750;color:#38566a;text-decoration:none}
.legal-main{max-width:900px;margin:0 auto;padding:54px 24px 70px}
.legal-main .eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#997242;font-weight:850}
.legal-main h1{margin:10px 0 10px;font:800 clamp(32px,5vw,52px)/1.04 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.045em;color:#122d45}
.legal-main .legal-intro{font-size:15px;line-height:1.7;color:#647682;max-width:720px;margin:0 0 34px}
.legal-section{padding:24px 0;border-top:1px solid #dde5e8}
.legal-section h2{font:800 19px/1.25 "Inter Tight",Inter,system-ui,sans-serif;color:#1b3b52;margin:0 0 10px}
.legal-section p,.legal-section li{font-size:13px;line-height:1.7;color:#5c707d}
.legal-section ul{padding-left:20px}
.legal-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;color:#7b8a92;font-size:11px}

@media(max-width:980px){
  .site-footer-main{grid-template-columns:1.4fr 1fr 1fr;gap:26px}.site-footer-column:last-child{grid-column:2/4}
  .theo-admin .admin-top-home{width:158px}.theo-admin .admin-top-home .top-logo{width:156px!important}
}
@media(max-width:800px){
  body.guest-mode .public-brand{width:154px!important;height:42px!important}body.guest-mode .public-brand img{width:150px!important}
  .topbar-home-brand.official-header-logo{width:142px!important;height:40px!important}.topbar-home-brand.official-header-logo img{width:140px!important}
  .topbar .crumb{display:none!important;border:0!important;margin:0!important;padding:0!important}
  .site-footer{margin-top:28px;border-radius:14px 14px 0 0}
  .site-footer-main{grid-template-columns:1fr 1fr;gap:25px 18px;padding:28px 22px 24px}.site-footer-brand{grid-column:1/-1}.site-footer-column:last-child{grid-column:auto}
  .site-footer-bottom{padding:14px 22px;align-items:flex-start;flex-direction:column;gap:8px}
  .theo-admin .admin-top-home{width:142px;height:42px}.theo-admin .admin-top-home .top-logo{width:140px!important;max-height:40px!important}
}
@media(max-width:540px){
  body.guest-mode .public-brand{width:138px!important;height:40px!important}body.guest-mode .public-brand img{width:135px!important}
  .topbar-home-brand.official-header-logo{width:126px!important;height:36px!important}.topbar-home-brand.official-header-logo img{width:124px!important}
  .site-footer-main{grid-template-columns:1fr;padding:24px 18px 21px}.site-footer-brand,.site-footer-column:last-child{grid-column:auto}.site-footer-column{padding-top:4px;border-top:1px solid rgba(223,216,203,.72);padding-bottom:5px}.site-footer-column strong{margin-top:10px}
  .site-footer-bottom{padding:13px 18px}.site-footer-bottom nav{gap:12px}
  .legal-header{height:62px;padding:0 16px}.legal-header .public-brand{width:145px;height:42px}.legal-header .public-brand img{width:141px}.legal-main{padding:38px 18px 54px}
  .theo-admin .admin-top-home{width:128px}.theo-admin .admin-top-home .top-logo{width:126px!important}
}



/* RC1.0.7.12 — EstateHaven-inspired typography system */
:root{--admin-font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--theo-font-body:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--theo-font-display:"Inter Tight",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body,.theo-admin{font-family:var(--theo-font-body)!important;font-weight:400;letter-spacing:-.006em}
button,input,select,textarea{font-family:var(--theo-font-body)!important}
.theo-admin h1,.theo-admin h2,.theo-admin h3,.theo-admin .kpi strong{font-family:var(--theo-font-display)!important;font-weight:600!important;letter-spacing:-.032em!important}
.theo-admin .primary,.theo-admin button,.theo-admin nav a{font-weight:600!important}
