/* Theo Properties RC1.0.15.128.1
   Global Empty-State Icon Cleanup Lock
   Presentation only — authenticated Tenant / Owner / Manager / Admin surfaces. */

:root{
  --tp-empty-icon-size:40px;
  --tp-empty-icon-radius:10px;
  --tp-empty-icon-bg:#f2f6f8;
  --tp-empty-icon-border:#d6e3e9;
  --tp-empty-icon-ink:#315b73;
}

/* --------------------------------------------------------------------------
   OWNER — remove oversized / double-framed empty-state tiles globally
   -------------------------------------------------------------------------- */
body.signed-mode #owner .owner-empty-state,
body.signed-mode #owner .owner-filter-empty,
body.signed-mode #owner .biz-empty,
body.signed-mode #owner .commercial-empty,
body.signed-mode #owner .commercial-positive-state,
body.signed-mode #owner .commercial-module-error,
body.signed-mode #owner .mandate-empty,
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty{
  padding-left:78px!important;
}

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{
  content:""!important;
  position:absolute!important;
  left:22px!important;
  top:50%!important;
  width:var(--tp-empty-icon-size)!important;
  height:var(--tp-empty-icon-size)!important;
  transform:translateY(-50%)!important;
  border:1px solid var(--tp-empty-icon-border)!important;
  border-radius:var(--tp-empty-icon-radius)!important;
  background:linear-gradient(145deg,#f8fbfc,var(--tp-empty-icon-bg))!important;
  box-shadow:none!important;
}

/* One clean line icon inside the tile. */
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{
  content:""!important;
  position:absolute!important;
  left:33px!important;
  top:50%!important;
  width:18px!important;
  height:18px!important;
  transform:translateY(-50%)!important;
  background:var(--tp-empty-icon-ink)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V8l8-5 8 5v13M8 21v-7h8v7M3 21h18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V8l8-5 8 5v13M8 21v-7h8v7M3 21h18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

/* Applications retain the document semantic, but use the same tile geometry. */
body.signed-mode #owner #owner-applications .owner-empty-state.compact::after,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden])::after{
  left:33px!important;
  width:18px!important;
  height:18px!important;
  background:var(--tp-empty-icon-ink)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h8l4 4v14H7zM15 3v5h5M10 12h6M10 16h6M10 8h2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h8l4 4v14H7zM15 3v5h5M10 12h6M10 16h6M10 8h2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

/* Multi-unit uses the building semantic without the old background-image frame. */
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty::before{
  background:
    linear-gradient(145deg,#f8fbfc,var(--tp-empty-icon-bg))!important;
}
body.signed-mode #owner [data-multiunit-owner] .multiunit-empty::after{
  content:""!important;
  position:absolute!important;
  left:33px!important;
  top:50%!important;
  width:18px!important;
  height:18px!important;
  transform:translateY(-50%)!important;
  background:var(--tp-empty-icon-ink)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V9h6v12M13 21V4h6v17M8 12h1M8 16h1M16 8h1M16 12h1M16 16h1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V9h6v12M13 21V4h6v17M8 12h1M8 16h1M16 8h1M16 12h1M16 16h1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

/* --------------------------------------------------------------------------
   PROPERTY MANAGER — same tile geometry and restraint
   -------------------------------------------------------------------------- */
#management .manager-empty-state,
#management .manager-filter-empty{
  padding-left:78px!important;
}
#management .manager-empty-state::before,
#management .manager-filter-empty::before{
  content:""!important;
  position:absolute!important;
  left:22px!important;
  top:50%!important;
  width:var(--tp-empty-icon-size)!important;
  height:var(--tp-empty-icon-size)!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  border:1px solid var(--tp-empty-icon-border)!important;
  border-radius:var(--tp-empty-icon-radius)!important;
  background-color:var(--tp-empty-icon-bg)!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:18px 18px!important;
  box-shadow:none!important;
}

/* --------------------------------------------------------------------------
   ADMIN — add the same restrained empty-state marker where one is absent
   -------------------------------------------------------------------------- */
.theo-admin .admin-empty,
.theo-admin .manager-empty,
.theo-admin .manager-empty-state,
.theo-admin .owner-empty-state,
.theo-admin .owner-filter-empty,
.theo-admin .tenant-ledger-empty,
.theo-admin .tenant-empty-support,
.theo-admin .acq-empty{
  position:relative!important;
  min-height:96px!important;
  padding:20px 20px 20px 74px!important;
  text-align:left!important;
}
.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{
  content:""!important;
  position:absolute!important;
  left:20px!important;
  top:50%!important;
  width:38px!important;
  height:38px!important;
  transform:translateY(-50%)!important;
  border:1px solid var(--tp-empty-icon-border)!important;
  border-radius:10px!important;
  background:
    var(--tp-empty-icon-bg)
    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") center/17px 17px no-repeat!important;
  box-shadow:none!important;
}

/* --------------------------------------------------------------------------
   TENANT + SHARED NOTIFICATIONS — align existing dedicated icon tiles
   -------------------------------------------------------------------------- */
body.signed-mode #tenant[data-tenant-page="applications"] .tenant-activity-empty::before,
body.signed-mode #tenant[data-tenant-page="applications"] .tenant-inline-empty-combined::before{
  width:40px!important;
  height:40px!important;
  border-radius:10px!important;
  border:1px solid var(--tp-empty-icon-border)!important;
  background-color:var(--tp-empty-icon-bg)!important;
  box-shadow:none!important;
}
.global-notification-empty-icon{
  width:40px!important;
  height:40px!important;
  border:1px solid var(--tp-empty-icon-border)!important;
  border-radius:10px!important;
  background:var(--tp-empty-icon-bg)!important;
  color:var(--tp-empty-icon-ink)!important;
  box-shadow:none!important;
}
.global-notification-empty-icon svg{width:18px!important;height:18px!important}

/* Tablet / mobile: slightly smaller, tighter, but never cramped. */
@media (max-width:1180px){
  :root{--tp-empty-icon-size:36px;--tp-empty-icon-radius:9px}
  body.signed-mode #owner .owner-empty-state,
  body.signed-mode #owner .owner-filter-empty,
  body.signed-mode #owner .biz-empty,
  body.signed-mode #owner .commercial-empty,
  body.signed-mode #owner .commercial-positive-state,
  body.signed-mode #owner .commercial-module-error,
  body.signed-mode #owner .mandate-empty,
  body.signed-mode #owner [data-multiunit-owner] .multiunit-empty,
  #management .manager-empty-state,
  #management .manager-filter-empty{
    padding-left:66px!important;
  }
  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,
  #management .manager-empty-state::before,
  #management .manager-filter-empty::before{
    left:16px!important;
  }
  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,
  body.signed-mode #owner #owner-applications .owner-empty-state.compact::after,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden])::after{
    left:25px!important;
    width:18px!important;
    height:18px!important;
  }
  .theo-admin .admin-empty,
  .theo-admin .manager-empty,
  .theo-admin .manager-empty-state,
  .theo-admin .owner-empty-state,
  .theo-admin .owner-filter-empty,
  .theo-admin .tenant-ledger-empty,
  .theo-admin .tenant-empty-support,
  .theo-admin .acq-empty{
    padding-left:66px!important;
  }
  .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{
    left:16px!important;
    width:36px!important;
    height:36px!important;
  }
}

@media (max-width:700px){
  body.signed-mode #owner .owner-empty-state,
  body.signed-mode #owner .owner-filter-empty,
  body.signed-mode #owner .biz-empty,
  body.signed-mode #owner .commercial-empty,
  body.signed-mode #owner .commercial-positive-state,
  body.signed-mode #owner .commercial-module-error,
  body.signed-mode #owner .mandate-empty,
  body.signed-mode #owner [data-multiunit-owner] .multiunit-empty,
  #management .manager-empty-state,
  #management .manager-filter-empty,
  .theo-admin .admin-empty,
  .theo-admin .manager-empty,
  .theo-admin .manager-empty-state,
  .theo-admin .owner-empty-state,
  .theo-admin .owner-filter-empty,
  .theo-admin .tenant-ledger-empty,
  .theo-admin .tenant-empty-support,
  .theo-admin .acq-empty{
    min-height:94px!important;
  }
}
