/* V13.21 — Owner quick actions use one stable visual system; custody remains modal-only. */
.owner-portal-items-card,.owner-portal-items-v1253{display:none!important}
.owner-quick-actions.owner-actions-organized{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;align-items:stretch!important;width:100%;margin-top:14px}
.owner-actions-organized .owner-simulation-status{grid-column:1/-1!important;justify-self:start;order:0;margin:0 0 2px!important}
.owner-actions-organized>*{min-width:0}
.owner-actions-organized button,.owner-actions-organized .btn,.owner-actions-organized a{font-weight:500!important;font-size:16px!important;line-height:1.2!important;letter-spacing:0!important}
.owner-actions-organized button:not(.owner-simulation-status),.owner-actions-organized .btn,.owner-actions-organized a{background:#e5e7eb!important;color:#111827!important;border:0!important;box-shadow:none!important;border-radius:12px!important;width:100%!important;min-width:0!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;padding:12px 14px!important}
.owner-actions-organized .owner-sim-action{order:10}.owner-actions-organized .owner-doc-action{order:20}.owner-actions-organized .owner-request-action{order:21}.owner-actions-organized .owner-property-ops-action{order:22}.owner-actions-organized .owner-custody-action{order:23}
#ownerCustodyPortalLaunch,#oopLaunch{display:contents!important}
.owner-custody-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;margin-left:7px;border-radius:999px;background:#f1f5f9;color:#111827;font-size:11px;font-weight:700;line-height:1}
.owner-custody-modal{position:fixed!important;inset:0!important;z-index:2147482500!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(3px)}
.owner-custody-dialog{width:min(94vw,1080px)!important;max-width:1080px!important;max-height:90vh!important;overflow:auto!important;padding:24px!important;border-radius:20px!important;background:#fff!important}
.owner-custody-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.owner-custody-head>div{min-width:0}.owner-custody-head h2{margin:7px 0 7px;font-size:26px;line-height:1.15}.owner-custody-head p{margin:0;color:var(--muted,#64748b);font-size:13px;line-height:1.45}.owner-custody-close{flex:0 0 auto}.owner-custody-loading{padding:18px 0;color:var(--muted,#64748b)}
.owner-custody-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.owner-custody-summary span{min-width:0;display:flex;align-items:baseline;gap:6px;padding:11px 13px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:#f8fafc}.owner-custody-summary b{font-size:19px;line-height:1;color:#111827}.owner-custody-summary small{font-size:11px;color:#64748b}
.opi53-preview-note{margin:0 0 14px;padding:9px 11px;border-radius:10px;background:#eef6ff;color:#315b80;font-size:11px;font-weight:700}.opi53-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.opi53-item{min-width:0;display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--line,#e2e8f0);border-radius:15px;background:#fff}.opi53-photo{width:90px;height:90px;border-radius:11px;overflow:hidden;background:#eef2f7;display:grid;place-items:center;text-align:center;color:#94a3b8;font-size:10px}.opi53-photo img{width:100%;height:100%;object-fit:cover}.opi53-copy{min-width:0}.opi53-item-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.opi53-item-head>div{min-width:0}.opi53-item-head b{display:block;font-size:14px;line-height:1.25}.opi53-item-head span{display:block;margin-top:3px;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.opi53-item-head em{font-style:normal;font-size:9px;font-weight:800;line-height:1.15;padding:5px 7px;background:#eef2f7;border-radius:999px;color:#334155;white-space:nowrap}.opi53-qty{margin-top:7px;font-size:11px;color:#475569}.opi53-qty strong{color:#111827}.opi53-item p{margin:5px 0 0;color:#64748b;font-size:10px;line-height:1.35}.opi53-empty{min-height:130px;padding:22px;border:1px dashed #d9e0e8;border-radius:14px;background:#fbfdff;display:grid;place-items:center;align-content:center;text-align:center;gap:5px}.opi53-empty b{font-size:14px}.opi53-empty span{font-size:11px;color:#64748b}
@media(max-width:1100px){.owner-quick-actions.owner-actions-organized{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-custody-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.opi53-grid{grid-template-columns:1fr}}
@media(max-width:650px){.owner-quick-actions.owner-actions-organized{grid-template-columns:1fr;gap:10px!important}.owner-actions-organized .owner-simulation-status{grid-column:1!important}.owner-actions-organized button,.owner-actions-organized .btn,.owner-actions-organized a{font-size:16px!important;font-weight:500!important}.owner-custody-modal{align-items:flex-end!important;padding:0!important}.owner-custody-dialog{width:100%!important;max-width:100vw!important;max-height:95vh!important;margin:0!important;border-radius:18px 18px 0 0!important;padding:16px!important;overflow-x:hidden!important}.owner-custody-head{gap:10px}.owner-custody-head h2{font-size:23px;margin:7px 0}.owner-custody-head p{font-size:11px}.owner-custody-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.owner-custody-summary span{padding:9px 10px;display:block}.owner-custody-summary b{font-size:16px;margin-right:4px}.owner-custody-summary small{font-size:10px}.opi53-item{grid-template-columns:72px minmax(0,1fr);gap:9px;padding:9px}.opi53-photo{width:72px;height:72px}.opi53-item-head{display:block}.opi53-item-head em{display:inline-block;margin-top:5px;white-space:normal}}
