/* Theo Properties RC1.0.15.128.2 — Owner Applications Premium Density & Empty-State Authority Lock
   Presentation-only refinement. Baseline: RC1.0.15.128.1. */

/* Keep semantic hidden states authoritative. */
body.signed-mode #owner #owner-applications [hidden]{display:none!important}

/* If the source list itself is empty, never also show the filter-empty message. */
body.signed-mode #owner #owner-applications .owner-filter-list:has(.owner-empty-state) + .owner-filter-empty{
  display:none!important;
}

/* ---------- Overall workspace ---------- */
body.signed-mode #owner #owner-applications{
  --app-accent:#7063b2;
  --app-accent-soft:#f3f1fb;
  --app-line:#dbe6eb;
  --app-ink:#17384e;
  --app-muted:#708592;
}

body.signed-mode #owner #owner-applications>.owner-panel,
body.signed-mode #owner #owner-applications>.commercial-panel{
  max-width:1480px!important;
  margin-inline:auto!important;
  border-radius:22px!important;
  border-color:#d8e4ea!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  box-shadow:0 20px 54px rgba(17,48,69,.075)!important;
}

/* ---------- Header ---------- */
body.signed-mode #owner #owner-applications .section-head{
  min-height:94px!important;
  padding:22px 30px!important;
  background:linear-gradient(110deg,#fffdf9 0%,#ffffff 48%,#f7f5fd 100%)!important;
}
body.signed-mode #owner #owner-applications .section-head>div:first-child{
  padding-left:50px!important;
}
body.signed-mode #owner #owner-applications .section-head>div:first-child:before{
  width:38px!important;
  height:38px!important;
  left:0!important;
  border-radius:11px!important;
  border:1px solid #ddd9ee!important;
  background:linear-gradient(145deg,#ffffff,#f3f1fb)!important;
  box-shadow:none!important;
}
body.signed-mode #owner #owner-applications .section-head>div:first-child:after{
  left:11px!important;
  width:16px!important;
  height:16px!important;
  background:#675da2!important;
}
body.signed-mode #owner #owner-applications .section-head h2{
  font-size:1.24rem!important;
  font-weight:850!important;
}
body.signed-mode #owner #owner-applications .section-head p{
  max-width:720px!important;
  margin-top:5px!important;
  font-size:.8rem!important;
}
body.signed-mode #owner #owner-applications .section-head>span{
  min-height:38px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:11px!important;
  background:#fff!important;
  border:1px solid #d8e3e8!important;
  color:#657b89!important;
}

/* ---------- Decision toolbar ---------- */
body.signed-mode #owner #owner-applications .owner-list-toolbar{
  margin:18px 30px 0!important;
  padding:10px!important;
  gap:10px!important;
  border-radius:14px!important;
  border:1px solid #dbe6eb!important;
  background:linear-gradient(180deg,#f8fafb,#f5f8fa)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body.signed-mode #owner #owner-applications .owner-filter-tabs{
  gap:5px!important;
}
body.signed-mode #owner #owner-applications .owner-filter-tabs button{
  min-height:36px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  font-size:.73rem!important;
}
body.signed-mode #owner #owner-applications .owner-filter-tabs button.active{
  background:linear-gradient(145deg,#173b54,#214e69)!important;
  border-color:#173b54!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(18,55,79,.13)!important;
}
body.signed-mode #owner #owner-applications .owner-filter-select>span{
  margin-bottom:3px!important;
}
body.signed-mode #owner #owner-applications .owner-filter-select select{
  min-height:38px!important;
  border-radius:9px!important;
}
body.signed-mode #owner #owner-applications .owner-filter-count{
  min-height:36px!important;
  border-radius:9px!important;
}

/* ---------- Empty state: one intentional SaaS state, not two large dashed boxes ---------- */
body.signed-mode #owner #owner-applications .owner-filter-list{
  margin:14px 30px 0!important;
}
body.signed-mode #owner #owner-applications .owner-empty-state.compact,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]){
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:178px!important;
  margin:0!important;
  padding:66px 28px 28px!important;
  border:1px solid #dbe5ea!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(112,99,178,.055),transparent 42%),
    linear-gradient(180deg,#fbfcfe,#f8fafb)!important;
  box-shadow:none!important;
  text-align:center!important;
}
body.signed-mode #owner #owner-applications .owner-empty-state.compact:before,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:24px!important;
  width:40px!important;
  height:40px!important;
  transform:translateX(-50%)!important;
  border:1px solid #d9dcea!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,#fff,#f1f0f8)!important;
  box-shadow:none!important;
}
body.signed-mode #owner #owner-applications .owner-empty-state.compact:after,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:35px!important;
  width:18px!important;
  height:18px!important;
  transform:translateX(-50%)!important;
  background:#526f82!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;
}
body.signed-mode #owner #owner-applications .owner-empty-state.compact strong,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]) strong{
  color:#17384e!important;
  font-size:.98rem!important;
  font-weight:850!important;
}
body.signed-mode #owner #owner-applications .owner-empty-state.compact span,
body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]) span{
  max-width:460px!important;
  margin-top:6px!important;
  color:#718693!important;
  font-size:.79rem!important;
  line-height:1.5!important;
}
body.signed-mode #owner #owner-applications .owner-list-footer{
  min-height:28px!important;
  padding:0 30px 24px!important;
}

/* ---------- Record-state polish ---------- */
body.signed-mode #owner #owner-applications .data-row.owner-record{
  min-height:88px!important;
  border-radius:13px!important;
  border-color:#dde6eb!important;
  box-shadow:0 5px 16px rgba(17,48,69,.035)!important;
}
body.signed-mode #owner #owner-applications .data-row.owner-record:hover{
  border-color:#cfdde4!important;
  box-shadow:0 10px 24px rgba(17,48,69,.065)!important;
}

/* ---------- Tablet ---------- */
@media (min-width:701px) and (max-width:1180px){
  body.signed-mode #owner #owner-applications .section-head{min-height:0!important;padding:19px 20px!important}
  body.signed-mode #owner #owner-applications .owner-list-toolbar{margin:14px 20px 0!important}
  body.signed-mode #owner #owner-applications .owner-filter-list{margin:12px 20px 0!important}
  body.signed-mode #owner #owner-applications .owner-empty-state.compact,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]){
    min-height:158px!important;
    padding:62px 22px 24px!important;
  }
  body.signed-mode #owner #owner-applications .owner-empty-state.compact:before,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):before{
    top:20px!important;width:38px!important;height:38px!important
  }
  body.signed-mode #owner #owner-applications .owner-empty-state.compact:after,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):after{
    top:30px!important;width:18px!important;height:18px!important
  }
  body.signed-mode #owner #owner-applications .owner-list-footer{padding:0 20px 20px!important}
}

/* ---------- Mobile ---------- */
@media (max-width:700px){
  body.signed-mode #owner #owner-applications>.owner-panel,
  body.signed-mode #owner #owner-applications>.commercial-panel{border-radius:16px!important}
  body.signed-mode #owner #owner-applications .section-head{padding:16px 14px 14px!important}
  body.signed-mode #owner #owner-applications .section-head>div:first-child{padding-left:40px!important}
  body.signed-mode #owner #owner-applications .section-head>div:first-child:before{width:31px!important;height:31px!important;border-radius:9px!important}
  body.signed-mode #owner #owner-applications .section-head>div:first-child:after{left:9px!important;width:13px!important;height:13px!important}
  body.signed-mode #owner #owner-applications .owner-list-toolbar{margin:10px 10px 0!important;padding:9px!important}
  body.signed-mode #owner #owner-applications .owner-filter-list{margin:9px 10px 0!important}
  body.signed-mode #owner #owner-applications .owner-empty-state.compact,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]){
    min-height:142px!important;
    padding:58px 18px 20px!important;
    border-radius:13px!important;
  }
  body.signed-mode #owner #owner-applications .owner-empty-state.compact:before,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):before{
    top:17px!important;width:34px!important;height:34px!important;border-radius:9px!important
  }
  body.signed-mode #owner #owner-applications .owner-empty-state.compact:after,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]):after{
    top:26px!important;width:16px!important;height:16px!important
  }
  body.signed-mode #owner #owner-applications .owner-empty-state.compact strong,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]) strong{font-size:.86rem!important}
  body.signed-mode #owner #owner-applications .owner-empty-state.compact span,
  body.signed-mode #owner #owner-applications .owner-filter-empty:not([hidden]) span{font-size:.72rem!important}
  body.signed-mode #owner #owner-applications .owner-list-footer{padding:0 10px 16px!important}
}
