/* Lease views share a register; each task keeps its own columns. */
.lease-register{min-width:0}
.lease-view-nav,.people-lease-detail .people-detail-links{display:flex;flex-wrap:nowrap;align-items:stretch;gap:24px;position:static!important;inset:auto!important;width:auto!important;max-width:100%;padding:0!important;margin:0 0 18px!important;border:0!important;border-bottom:1px solid #dce3d0!important;border-radius:0;background:transparent!important;box-shadow:none!important;overflow-x:auto}
.lease-view-nav a,.p-workspace .people-lease-detail .people-detail-links button{display:inline-flex;align-items:center;gap:8px;flex:none;white-space:nowrap;padding:12px 0!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-decoration:none;color:#798365;font-size:13px!important;font-weight:550;line-height:1.5;min-height:44px}
.lease-view-nav a[aria-current],.people-lease-detail .people-detail-links button[aria-pressed=true]{color:#42572b;border-bottom-color:#718447!important;font-weight:700}
.lease-view-nav a:hover,.people-lease-detail .people-detail-links button:hover{color:#485b31}
.lease-tab-count{font-size:10px;line-height:1.5;min-width:18px;box-sizing:border-box;text-align:center;padding:1px 5px;border-radius:4px;background:#edf0e5;color:#6c7855;font-variant-numeric:tabular-nums}
.lease-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:18px 0}
.lease-toolbar label{min-width:140px;flex:1 1 145px;font-size:11px;color:#788566}
.lease-toolbar label:first-child{flex:2 1 240px}
.lease-toolbar :is(input,select){display:block;width:100%;box-sizing:border-box;min-width:0;margin-top:6px;font-size:12px!important}
.lease-toolbar>button{flex:none;min-height:42px}
.lease-register-summary{font-size:12px;line-height:1.7;color:#667554;margin:12px 0}
.lease-register-scroll{max-height:590px;overflow:auto;border:1px solid #e0e6d5;border-radius:9px;scrollbar-gutter:stable;overflow-anchor:none}
.lease-register-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;line-height:1.5;text-align:left}
.lease-register-table :is(th,td){padding:14px 16px;border-bottom:1px solid #e9eddf;vertical-align:middle}
.lease-register-table thead th{position:sticky;top:0;z-index:1;background:#f3f6ed;color:#687956;font-size:10px;font-weight:650;white-space:nowrap}
.lease-register-table tbody td{background:#fff}
.lease-register-table tbody tr:hover td{background:#fafbf7}
.lease-register-table tbody tr:last-child td{border-bottom:0}
.lease-register-table :is(th,td):first-child{min-width:230px;width:30%}
.lease-register-table .lease-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}
.lease-register-table td:nth-child(3),.lease-register-table td:nth-child(4){white-space:nowrap}
.lease-record-title{display:block;color:#41562d;font-size:13px;font-weight:650;text-decoration:none;max-width:370px;overflow-wrap:anywhere}
.lease-record-title:hover{color:#a75c2a;text-decoration:underline;text-underline-offset:3px}
.lease-record-title>span{display:block;color:#73815f;font-size:11px;font-weight:500;margin-top:3px}
.lease-tenants{display:block;color:#7b866c;font-size:11px;margin-top:5px;max-width:370px;overflow-wrap:anywhere}
.lease-badge{display:inline-block;width:fit-content;max-width:230px;font-size:10px;font-weight:550;line-height:1.5;border-radius:4px;padding:4px 7px;white-space:normal}
.lease-badge-neutral{background:#f0f3ea;color:#647255}
.lease-badge-renewal{background:#fff3dc;color:#916619}
.lease-badge-overdue{background:#fcebe7;color:#a44935}
.lease-badge-unknown{background:#f1f3f6;color:#687584}
.lease-attention{display:flex;flex-direction:column;gap:5px;min-width:145px;align-items:start}
.lease-muted{color:#8a927e}
.lease-row-link{font-size:11px;font-weight:600;color:#5d7540;white-space:nowrap;text-decoration:none}
.lease-row-link:hover{text-decoration:underline}
.lease-register-note{font-size:11px;line-height:1.6;color:#7c876c;margin:12px 0 0}
#lease-report-message>p{font-size:12px;line-height:1.6;color:#967027;background:#fff5e1;padding:10px 12px;border-radius:6px;margin:10px 0}
.lease-register-table .lease-empty{padding:30px 16px;text-align:center;color:#7b8869;white-space:normal!important}
.people-lease-detail .p-detail{display:block;margin-top:0}
.people-lease-detail .p-detail>.m-panel{border:0!important;border-radius:0;background:transparent;box-shadow:none;padding:8px 0 18px!important;margin:0}
.people-lease-detail .people-detail-links{margin-top:18px!important}
.people-lease-detail .people-agreement .m-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.people-ledger-section{min-width:0}
.people-ledger-section>h3{display:none}
.lease-detail-ledger .r-stats{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid #e1e7d6;border-bottom:1px solid #e1e7d6;padding:12px 0}
.lease-detail-ledger .r-stats>div{background:transparent;border:0;border-radius:0;padding:0;flex:1;min-width:120px}
.lease-detail-ledger .r-stats strong{font-size:20px;margin-top:4px}
.lease-detail-ledger .r-stats [data-rent-tone=attention] strong{color:#a44935}
.lease-detail-ledger .r-filterbar{display:flex;align-items:end;justify-content:space-between;padding:0;border:0;border-radius:0;background:transparent;gap:16px}
.lease-detail-ledger .r-filterbar label{max-width:200px;flex:1}
.lease-detail-ledger .r-heading p{max-width:none}
.lease-register :is(a,button,input,select):focus-visible,.lease-register-scroll:focus-visible{outline:2px solid #839a59;outline-offset:3px}
@media(max-width:640px){.lease-view-nav,.people-lease-detail .people-detail-links{gap:18px}.lease-view-nav a,.people-lease-detail .people-detail-links button{font-size:12px!important}.lease-toolbar{gap:10px}.lease-toolbar label{flex:1 1 140px}.lease-toolbar label:first-child{flex:1 1 100%}.lease-register-table :is(th,td){padding:12px}.lease-register-table :is(th,td):first-child{min-width:195px}.lease-register-table{min-width:790px}.lease-register-scroll{max-height:530px}.people-lease-detail .people-agreement .m-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.lease-detail-ledger .r-stats{gap:12px}.lease-detail-ledger .r-stats strong{font-size:18px}.lease-detail-ledger .r-filterbar{flex-wrap:wrap}}
