/* Property Management System - styles on top of the shared iPOS app.css */
:root { --brand: #0f766e; --brand-2: #115e59; --brand-soft: #e6f7f5; }
.sidenav { background: #06302d; }
.login-screen { background: linear-gradient(160deg, #06302d, #0f766e); }
.shopbar { background: linear-gradient(90deg, #021a18, #06302d 60%, #0a423e); }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.neg { color: var(--bad); }
.stack { display: flex; flex-direction: column; gap: 8px; }
label.f.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--brand-soft); }
tr.tot td { border-top: 2px solid var(--line); }
.banner.info { background: var(--brand-soft); color: var(--brand); }
.nbadge { margin-left: auto; background: #f2b705; color: #16202e; border-radius: 99px; font-size: 11.5px; padding: 1px 7px; }
.ac-list:empty { display: none; }
button.ac-row { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; justify-content: flex-start; cursor: pointer; }
#gsr button.ac-row { border-bottom: 1px solid var(--line); border-radius: 0; }
.ac-row small { display: block; font-size: 12px; }
.more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.more-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin: 0; }
.more-item svg { width: 28px; height: 28px; color: var(--brand); }
.feat-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.feat-row input { margin-top: 4px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* plot map */
.plot { min-width: 54px; height: 50px; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 2px 6px; }
.plot small { font-size: 10px; font-weight: 500; opacity: .8; }
.plot:hover { filter: brightness(.95); transform: translateY(-1px); }
/* print */
.a4-head { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 12px; }
.a4-head img { width: 60px; height: 60px; object-fit: contain; }
.a4-head h1 { font-size: 20px; margin: 0; }
.a4-head h2 { margin-left: auto; font-size: 18px; }
.a4 h3 { margin: 14px 0 6px; }
.a4 .kv > :nth-child(odd) { color: #333; font-weight: 600; }
.a4 th { background: #eee; text-align: left; }
.a4 th.right, .a4 td.right { text-align: right; }
#sSel { max-width: 340px; }
@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; height: auto; min-height: 56px; padding-top: 8px; padding-bottom: 8px; row-gap: 8px; }
  #topActions { flex: 1 1 100%; order: 9; }
  #topActions .btn { width: 100%; }
  .tablewrap table { min-width: 620px; font-size: 13.5px; }
  .tablewrap td, .tablewrap th { padding: 8px 8px; }
  .grid[style*="repeat(auto-fill"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stat .val { font-size: 19px; }
  .row > select, .row > input { flex: 1 1 100%; max-width: none; }
}
