/* Theo Properties RC1.0.15.128.4 — Global Empty-State Icon Geometry Authority Lock
   Baseline: RC1.0.15.128.3
   Presentation only. Replaces split tile/glyph pseudo constructions with one self-contained icon tile. */

:root{
  --tp-empty-tile:34px;
  --tp-empty-glyph:16px;
  --tp-empty-radius:9px;
  --tp-empty-bg:#f4f8fa;
  --tp-empty-border:#d6e3e9;
  --tp-empty-ink:#315b73;
}

/* --------------------------------------------------------------------------
   OWNER — one pseudo-element owns both tile and glyph.
   This prevents the glyph from slipping below/outside the tile.
   -------------------------------------------------------------------------- */
body.signed-mode #owner .owner-empty-state::before,
body.signed-mode #owner .owner-filter-empty::before,
body.signed-mode #owner .biz-empty::before,
body.signed-mode #owner .commercial-empty::before,
body.signed-mode #owner .commercial-positive-state::before,
body.signed-mode #owner .commercial-module-error::before,
body.signed-mode #owner .mandate-empty::before,
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty::before{
  width:var(--tp-empty-tile)!important;
  height:var(--tp-empty-tile)!important;
  min-width:var(--tp-empty-tile)!important;
  min-height:var(--tp-empty-tile)!important;
  border:1px solid var(--tp-empty-border)!important;
  border-radius:var(--tp-empty-radius)!important;
  box-shadow:none!important;
  background-color:var(--tp-empty-bg)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13M8 21v-7h8v7M3 21h18'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:var(--tp-empty-glyph) var(--tp-empty-glyph)!important;
}

/* Retire detached secondary glyphs on Owner empty states. */
body.signed-mode #owner .owner-empty-state::after,
body.signed-mode #owner .owner-filter-empty::after,
body.signed-mode #owner .biz-empty::after,
body.signed-mode #owner .commercial-empty::after,
body.signed-mode #owner .commercial-positive-state::after,
body.signed-mode #owner .commercial-module-error::after,
body.signed-mode #owner .mandate-empty::after,
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty::after{
  content:none!important;
  display:none!important;
}

/* Semantic glyphs: same geometry, context-appropriate symbols. */
body.signed-mode #owner #owner-applications .owner-empty-state.compact::before,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden])::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l4 4v14H7zM15 3v5h5M10 12h6M10 16h6M10 8h2'/%3E%3C/svg%3E")!important;
}
body.signed-mode #owner #owner-finance .biz-empty::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18H5z'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h3M14 15h2'/%3E%3C/svg%3E")!important;
}
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9h6v12M13 21V4h6v17M8 12h1M8 16h1M16 8h1M16 12h1M16 16h1'/%3E%3C/svg%3E")!important;
}
body.signed-mode #owner .mandate-empty::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v18H7zM9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E")!important;
}
body.signed-mode #owner .commercial-module-error::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5662e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.8 20h18.4L12 3Z'/%3E%3Cpath d='M12 9v5M12 17h.01'/%3E%3C/svg%3E")!important;
}
body.signed-mode #owner .commercial-positive-state::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23317867' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16.5 9'/%3E%3C/svg%3E")!important;
}

/* Ledger uses a grid-positioned tile: compact the first column to the same authority. */
body.signed-mode #owner #owner-finance .biz-empty{
  grid-template-columns:var(--tp-empty-tile) minmax(0,1fr) auto!important;
  gap:14px!important;
}

/* --------------------------------------------------------------------------
   PROPERTY MANAGER — same tile/glyph authority.
   -------------------------------------------------------------------------- */
#management .manager-empty-state::before,
#management .manager-filter-empty::before{
  width:var(--tp-empty-tile)!important;
  height:var(--tp-empty-tile)!important;
  min-width:var(--tp-empty-tile)!important;
  min-height:var(--tp-empty-tile)!important;
  border:1px solid var(--tp-empty-border)!important;
  border-radius:var(--tp-empty-radius)!important;
  box-shadow:none!important;
  background-color:var(--tp-empty-bg)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13M8 21v-7h8v7M3 21h18'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:var(--tp-empty-glyph) var(--tp-empty-glyph)!important;
}

/* --------------------------------------------------------------------------
   ADMIN / SUPER ADMIN — compact, centred, single-layer marker.
   -------------------------------------------------------------------------- */
.theo-admin .admin-empty::before,
.theo-admin .manager-empty::before,
.theo-admin .manager-empty-state::before,
.theo-admin .owner-empty-state::before,
.theo-admin .owner-filter-empty::before,
.theo-admin .tenant-ledger-empty::before,
.theo-admin .tenant-empty-support::before,
.theo-admin .acq-empty::before{
  width:var(--tp-empty-tile)!important;
  height:var(--tp-empty-tile)!important;
  min-width:var(--tp-empty-tile)!important;
  min-height:var(--tp-empty-tile)!important;
  border:1px solid var(--tp-empty-border)!important;
  border-radius:var(--tp-empty-radius)!important;
  box-shadow:none!important;
  background-color:var(--tp-empty-bg)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13M8 21v-7h8v7M3 21h18'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:var(--tp-empty-glyph) var(--tp-empty-glyph)!important;
}

/* --------------------------------------------------------------------------
   TENANT — compact the actual inline empty icon, and restore the activity
   panel accent pseudo that RC1.0.15.128.1 unintentionally treated as an icon.
   -------------------------------------------------------------------------- */
body.signed-mode #tenant[data-tenant-page="applications"] .tenant-inline-empty-combined::before{
  width:var(--tp-empty-tile)!important;
  height:var(--tp-empty-tile)!important;
  min-width:var(--tp-empty-tile)!important;
  min-height:var(--tp-empty-tile)!important;
  border:1px solid var(--tp-empty-border)!important;
  border-radius:var(--tp-empty-radius)!important;
  box-shadow:none!important;
  background-color:var(--tp-empty-bg)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l4 4v14H7zM15 3v5h5M10 12h6M10 16h6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:var(--tp-empty-glyph) var(--tp-empty-glyph)!important;
}

@media (min-width:1181px){
  body.signed-mode #tenant[data-tenant-page="applications"] .tenant-activity-empty::before{
    top:0!important;
    left:28px!important;
    right:auto!important;
    width:86px!important;
    height:3px!important;
    min-width:0!important;
    min-height:0!important;
    transform:none!important;
    border:0!important;
    border-radius:0 0 999px 999px!important;
    background:linear-gradient(90deg,#b48135,#e2c48e)!important;
    box-shadow:none!important;
  }
}
@media (min-width:701px) and (max-width:1180px){
  body.signed-mode #tenant[data-tenant-page="applications"] .tenant-activity-empty::before{
    top:0!important;
    left:28px!important;
    right:auto!important;
    width:74px!important;
    height:3px!important;
    min-width:0!important;
    min-height:0!important;
    transform:none!important;
    border:0!important;
    border-radius:0 0 999px 999px!important;
    background:linear-gradient(90deg,#b48135,#dfbd82)!important;
    box-shadow:none!important;
  }
}
@media (max-width:700px){
  body.signed-mode #tenant[data-tenant-page="applications"] .tenant-activity-empty::before{
    top:0!important;
    left:14px!important;
    right:14px!important;
    width:auto!important;
    height:3px!important;
    min-width:0!important;
    min-height:0!important;
    transform:none!important;
    border:0!important;
    border-radius:0 0 999px 999px!important;
    background:linear-gradient(90deg,var(--activity-panel,#b48135),rgba(var(--activity-panel-rgb,180,129,53),.16))!important;
    box-shadow:none!important;
  }
}

/* Shared notification empty-state icon. */
.global-notification-empty-icon{
  width:var(--tp-empty-tile)!important;
  height:var(--tp-empty-tile)!important;
  min-width:var(--tp-empty-tile)!important;
  min-height:var(--tp-empty-tile)!important;
  border:1px solid var(--tp-empty-border)!important;
  border-radius:var(--tp-empty-radius)!important;
  background:var(--tp-empty-bg)!important;
  color:var(--tp-empty-ink)!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
}
.global-notification-empty-icon svg{
  width:var(--tp-empty-glyph)!important;
  height:var(--tp-empty-glyph)!important;
}

/* Tablet/mobile: same geometry, slightly tighter. */
@media (max-width:1180px){
  :root{
    --tp-empty-tile:32px;
    --tp-empty-glyph:15px;
    --tp-empty-radius:8px;
  }
}
