/* SATRIA Landlord Portal — external, mobile-first (target-ui/LANDLORD_PORTAL_TARGET_UI.html) */
body.portal{background:#f5f7fb;min-height:100vh}
body.portal #main{display:block}
.pt-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.pt-brand{display:flex;align-items:center;gap:10px;color:inherit}
.pt-logo{width:40px;height:40px;border-radius:13px;background:#e9f2ff;color:var(--primary);display:grid;place-items:center;flex:0 0 40px}
.pt-logo.lg{width:58px;height:58px;border-radius:18px;margin:0 auto 12px}
.pt-brand strong{display:block;font-size:17px;letter-spacing:-.3px}.pt-brand small{display:block;color:var(--muted);font-size:12px}
.pt-nav{display:flex;gap:4px}
.pt-nav a{padding:9px 13px;border-radius:11px;color:#46566d;font-size:13px;font-weight:800}
.pt-nav a.active{background:#eaf3ff;color:var(--primary)}
.pt-user{position:relative}
.pt-avatar{width:40px;height:40px;border-radius:50%;border:0;background:#e9f2ff;color:var(--primary);font-weight:900;cursor:pointer}
.pt-menu{position:absolute;right:0;top:48px;width:240px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 40px rgba(15,23,42,.14);padding:6px;display:none}
.sx-pop.open .pt-menu{display:block}
.pt-menu-head{padding:10px 10px 8px;border-bottom:1px solid #f0f3f7;margin-bottom:4px}.pt-menu-head strong{display:block;font-size:13.5px}.pt-menu-head small{color:var(--muted);font-size:12px}
.pt-menu a,.pt-menu button{display:flex;gap:9px;align-items:center;width:100%;padding:10px;border:0;background:none;border-radius:10px;color:#26364f;font-size:13px;font-weight:700;text-align:left;cursor:pointer}
.pt-menu a:hover,.pt-menu button:hover{background:#f4f7fb}
.pt-wrap{max-width:1120px;margin:0 auto;padding:22px 20px 96px}
.pt-hello{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}
.pt-hello h1{margin:0;font-size:27px;letter-spacing:-.6px}.pt-hello p{margin:6px 0 0;color:var(--muted);font-size:13.5px}
.pt-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#e9f9ee;color:#15803d;font-size:12px;font-weight:800;white-space:nowrap}
.pt-sites{display:flex;gap:7px;overflow-x:auto;margin:0 0 12px;padding-bottom:2px}
.pt-site-chip{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:38px;padding:0 13px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#46566d;font-size:12.5px;font-weight:800}
.pt-site-chip.active{background:#eaf3ff;border-color:#bcd7fb;color:var(--primary)}
.pt-card{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 2px 14px rgba(15,23,42,.035)}
.pt-body{padding:16px}
.pt-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}
.pt-property{padding:18px}
.pt-property-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.pt-property h2{margin:0;font-size:19px}
.pt-sub{color:var(--muted);font-size:12.5px;margin-top:4px}
.pt-lease-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e7edf5;border-radius:14px;overflow:hidden;margin-top:16px}
.pt-lease-grid>div{background:#f9fbfe;padding:13px}
.pt-lease-grid span{display:block;font-size:11px;color:var(--muted)}.pt-lease-grid strong{display:block;margin-top:5px;font-size:14.5px}
.pt-countdown{padding:18px;background:linear-gradient(135deg,#0f66dd,#1d8bf0);color:#fff;border:0}
.pt-countdown span{font-size:11.5px;opacity:.85;letter-spacing:.06em;font-weight:800}
.pt-countdown strong{display:block;font-size:32px;margin-top:6px;letter-spacing:-.6px}
.pt-countdown p{font-size:13px;line-height:1.5;opacity:.9;margin:8px 0 0}
.pt-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.pt-section{margin-top:16px}
.pt-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 9px}
.pt-section-title h3{margin:0;font-size:16px}
.pt-link{color:var(--primary);font-size:12.5px;font-weight:800}
.pt-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pt-progress{height:9px;border-radius:999px;background:#edf1f6;overflow:hidden;margin:11px 0}
.pt-progress i{display:block;height:100%;background:#16a34a;border-radius:999px}
.pt-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #edf1f6;color:inherit}
.pt-row:first-child,.pt-progress+.pt-row{border-top:0}
.pt-ico{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#edf5ff;color:var(--primary);display:grid;place-items:center;font-weight:900;font-size:11.5px;text-transform:uppercase}
.pt-main{flex:1;min-width:0}.pt-main strong{display:block;font-size:13.5px}.pt-main small{display:block;color:var(--muted);font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.pt-status{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}
.pt-status.lg{font-size:12.5px;min-height:30px;padding:4px 12px}
.pt-status.ok{background:#e9f9ee;color:#15803d}.pt-status.warn{background:#fff4db;color:#b96b03}.pt-status.bad{background:#ffeded;color:#cf3434}.pt-status.muted{background:#eef2f6;color:#64748b}
.pt-steps{display:flex;margin-top:4px}
.pt-step{flex:1;text-align:center;position:relative;min-width:64px}
.pt-step:before{content:"";height:4px;background:#dce5ef;position:absolute;left:0;right:0;top:12px}
.pt-step:first-child:before{left:50%}.pt-step:last-child:before{right:50%}
.pt-step.done:before{background:#bfe9cd}
.pt-step b{position:relative;z-index:1;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#e4ebf3;color:#64748b;font-size:11px}
.pt-step.done b{background:#dcf5e4;color:#15803d}.pt-step.active b{background:var(--primary);color:#fff}
.pt-step small{display:block;font-size:11px;color:var(--muted);margin-top:6px;font-weight:700}
.pt-step.active small{color:var(--primary)}
.pt-doc{margin-top:10px}
.pt-doc summary{display:flex;align-items:center;gap:11px;padding:13px 15px;cursor:pointer;list-style:none}
.pt-doc summary::-webkit-details-marker{display:none}
.pt-doc-body{padding:0 15px 15px}
.pt-lease-card{display:block;color:inherit;margin-bottom:12px}
.pt-auth{min-height:calc(100vh - 40px);display:grid;place-items:center;padding:20px 0}
.pt-auth-card{width:min(420px,100%);background:#fff;border:1px solid var(--border);border-radius:22px;padding:28px 24px;box-shadow:0 20px 50px rgba(15,23,42,.08);text-align:center}
.pt-auth-card h1{margin:0;font-size:23px}.pt-auth-card>p{color:var(--muted);font-size:13.5px;line-height:1.5;margin:8px 0 18px}
.pt-auth-card form{text-align:left}
.pt-fine{color:var(--muted);font-size:12px;margin:16px 0 0;line-height:1.5}
.pt-bottom{display:none}
@media (max-width:860px){.pt-nav{display:none}}
@media (max-width:760px){
  .pt-wrap{padding:16px 13px 92px}.pt-top{padding:10px 13px}.pt-brand small{display:none}
  .pt-hello{display:block}.pt-hello h1{font-size:22px}.pt-pill{margin-top:10px}.pt-hello>.btn{margin-top:12px;width:100%}
  .pt-hero,.pt-grid2{grid-template-columns:1fr}
  .pt-lease-grid{grid-template-columns:1fr 1fr}.pt-lease-grid>div:nth-child(3){grid-column:1/3}
  .pt-countdown strong{font-size:28px}.pt-steps{overflow-x:auto}
  .pt-actions .btn{flex:1}
  .pt-bottom{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(5,1fr);height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid var(--border);z-index:40}
  .pt-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#64748b;font-size:11px;font-weight:700}
  .pt-bottom a.active{color:var(--primary)}
}
.pt-section-title{align-items:baseline}
.pt-section-title h3{margin:0!important;padding:0;line-height:1.3}
.pt-section-title .pt-link{margin:0}
