@media(max-width:768px){.gtbl-mobile-card-list{display:flex;flex-direction:column;gap:10px;padding:12px 12px 20px;box-sizing:border-box;width:100%}.gtbl-mobile-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 16px;color:var(--text-secondary, #6b7280);font-size:14px}.gtbl-mobile-empty{padding:40px 16px;text-align:center}.gtbl-mobile-card{background:var(--bg-primary, #ffffff);border:1px solid var(--border-color, rgba(0,0,0,.1));border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:0;box-shadow:0 1px 4px #0000000f;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;transition:box-shadow .15s ease;box-sizing:border-box;width:100%}.gtbl-mobile-card--clickable{cursor:pointer}.gtbl-mobile-card--clickable:active{box-shadow:0 0 0 2px var(--primary-color, #3b82f6),0 1px 4px #0000000f}.gtbl-mobile-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px}.gtbl-mobile-card__title-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.gtbl-mobile-card__title{font-size:15px;font-weight:700;color:var(--text-primary, #111827);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.3}.gtbl-mobile-card__badges{display:flex;align-items:flex-end;flex-direction:column;gap:4px;flex-shrink:0}.gtbl-mobile-card__fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.gtbl-mobile-card__field{display:flex;flex-direction:column;gap:2px;min-width:0;overflow:hidden}.gtbl-mobile-card__field--amount{align-items:flex-end}.gtbl-mobile-card__label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-secondary, #6b7280);white-space:nowrap}.gtbl-mobile-card__value{font-size:13px;color:var(--text-primary, #111827);word-break:break-word;line-height:1.35;max-width:100%;overflow:hidden}.gtbl-mobile-card__value--amount{font-size:15px;font-weight:700;color:var(--primary-color, #3b82f6)}.gtbl-mobile-card__secondary{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding-top:10px;border-top:1px dashed var(--border-color, rgba(0,0,0,.08));margin-top:10px;animation:gtbl-expand .16s ease}@keyframes gtbl-expand{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.gtbl-mobile-card__expand-btn{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;padding:8px 0 0;background:none;border:none;border-top:1px solid var(--border-color, rgba(0,0,0,.06));margin-top:10px;font-size:12px;font-weight:500;color:var(--primary-color, #3b82f6);cursor:pointer;-webkit-tap-highlight-color:transparent}.gtbl-mobile-card__expand-chevron{display:inline-block;font-size:14px;line-height:1;transition:transform .2s ease}.gtbl-mobile-card__expand-chevron.open{transform:rotate(180deg)}.gtbl-mobile-card__actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-top:8px;border-top:1px solid var(--border-color, rgba(0,0,0,.06));margin-top:10px}}@media(max-width:768px){.global-table-layout .table-scroll-region{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;max-width:100%}.global-table-layout .table th{font-size:10px!important;padding:7px 8px!important;white-space:nowrap;letter-spacing:.04em!important}.global-table-layout .table td{font-size:12px!important;padding:9px 8px!important;vertical-align:middle}.global-table-layout .table tbody tr{min-height:48px}.global-table-layout .table td:last-child,.global-table-layout .table th:last-child{position:sticky;right:0;z-index:2;background:var(--bg-primary, #fff);box-shadow:-3px 0 8px #0000000d}.pending-list-layout .table td:last-child,.pending-list-layout .table th:last-child{position:static!important;box-shadow:none!important;background:inherit!important;z-index:auto!important}.global-table-layout .table tbody tr:hover{background:inherit!important}}@media(max-width:768px){.pending-list-layout .report-filters-row{gap:6px}.pending-list-layout .report-filter-field-wide{flex:1 1 100%;min-width:0}.pending-list-layout .report-filter-field-date{flex:1 1 calc(50% - 6px);min-width:0}.pending-list-layout .report-filter-field{flex:1 1 100%;min-width:0}.pending-list-layout .report-filter-actions{margin-left:0;flex:0 0 auto}.pending-list-table th{font-size:9.5px!important;padding:6px 7px!important}.pending-list-table td{font-size:11.5px!important;padding:7px!important}.pending-list-table .col-business,.pending-list-table .col-mobile-num{display:none}}@media(max-width:768px){.card:has(.global-table-layout),.card:has(.gtbl-mobile-card-list){padding:0!important;overflow:hidden;border-radius:12px!important}.card .table-header-area,.card .global-table-layout .table-header-area{padding:10px 12px!important}.global-table-layout,.table-container,.table-scroll-region{max-width:100%;box-sizing:border-box}}@media(max-width:768px){.gtbl-mobile-card__actions .action-btns-desktop{display:none!important}.gtbl-mobile-card__actions .action-btns-mobile{display:flex!important;position:static!important}.action-kebab-trigger{width:36px!important;height:36px!important;display:flex;align-items:center;justify-content:center}}@media(max-width:768px){.table-header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%}.table-header-actions .modern-search-wrapper,.table-header-actions .search-bar-wrapper,.table-header-actions>.search-wrapper{flex:1 1 100%;max-width:100%}.table-header-actions .btn,.table-header-actions .btn-sm,.table-header-actions .btn-icon,.table-header-area>.btn,.table-header-area>.btn-sm,.table-header-area>.btn-icon{min-height:36px!important;min-width:36px!important}}@media(max-width:390px){.gtbl-mobile-card-list{padding:8px 8px 16px}.gtbl-mobile-card{padding:12px;border-radius:10px}.gtbl-mobile-card__title{font-size:14px}.gtbl-mobile-card__fields,.gtbl-mobile-card__secondary{grid-template-columns:1fr}.gtbl-mobile-card__field--amount{align-items:flex-start}}@media(max-width:768px){@keyframes gtbl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.gtbl-mobile-skeleton{background:var(--bg-primary, #ffffff);border:1px solid var(--border-color, rgba(0,0,0,.08));border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 4px #0000000a;box-sizing:border-box;width:100%;min-height:112px}.gtbl-skeleton-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.gtbl-skeleton-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.gtbl-skeleton-line{height:12px;border-radius:6px;background:linear-gradient(90deg,var(--border-color, rgba(0,0,0,.08)) 25%,rgba(255,255,255,.6) 50%,var(--border-color, rgba(0,0,0,.08)) 75%);background-size:200% 100%;animation:gtbl-shimmer 1.4s ease-in-out infinite}.gtbl-skeleton-line--title{height:16px;width:55%;flex-shrink:0}.gtbl-skeleton-line--badge{height:20px;width:64px;border-radius:10px;flex-shrink:0}.gtbl-scroll-sentinel{height:1px;width:100%}.gtbl-mobile-end-of-list{text-align:center;padding:12px 16px 4px;font-size:12px;color:var(--text-secondary, #6b7280);letter-spacing:.02em}.spinner-sm{width:20px;height:20px;border:2px solid var(--border-light, #e5e7eb);border-top-color:var(--primary-600, #2563eb);border-radius:50%;animation:spin .6s linear infinite;flex-shrink:0}}@media(max-width:390px){.gtbl-skeleton-fields{grid-template-columns:1fr}}.lease-mobile-shell{padding:10px 12px 4px}.lease-mobile-toolbar{margin-bottom:10px}.lease-mobile-toolbar .modern-search-wrapper{max-width:100%}.lease-mobile-view-title{font-size:13px;font-weight:700;color:var(--text-secondary);margin-bottom:8px}.lease-mobile-list{display:grid;gap:10px}.lease-mobile-state{padding:16px 12px;border:1px solid var(--border-light);border-radius:12px;background:var(--bg-primary);color:var(--text-secondary);font-size:13px;text-align:center}.lease-mobile-card{width:100%;border:1px solid var(--border-light);border-radius:12px;background:var(--bg-primary);padding:12px;text-align:left;display:flex;flex-direction:column;gap:8px;-moz-appearance:none;appearance:none;-webkit-appearance:none;font:inherit;color:inherit}.lease-mobile-card-clickable{cursor:pointer}.lease-mobile-card-clickable:active{transform:scale(.995)}.lease-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.lease-mobile-tenant{margin:0;font-size:15px;line-height:1.25;font-weight:700;color:var(--text-primary);min-width:0}.lease-mobile-meta-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.lease-mobile-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.lease-mobile-label{font-size:11px;font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.02em}.lease-mobile-value{font-size:13px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lease-mobile-value.strong{font-weight:700}.lease-mobile-period .lease-mobile-value{font-size:12px;white-space:normal;line-height:1.2}.lease-mobile-footer{display:flex;justify-content:flex-start;margin-top:2px}.lease-field-label-with-action{display:inline-flex;align-items:center;gap:8px}.lease-tenant-refresh-btn{width:22px;height:22px;border:1px solid var(--border-light);border-radius:999px;background:var(--bg-secondary);color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s ease;padding:0}.lease-tenant-refresh-btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-medium)}.lease-tenant-refresh-btn:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.lease-tenant-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.lease-header-actions-wrap{position:relative;display:flex;align-items:center;gap:var(--spacing-sm);width:100%;flex-wrap:wrap}.lease-filter-toggle.active{border-color:var(--primary);color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,var(--bg-primary))}.lease-filter-panel{width:100%;min-height:0;border:1px solid var(--border-light);border-radius:10px;background:var(--bg-primary);padding:10px;box-shadow:0 6px 16px #0f172a14;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.lease-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;flex:1}.lease-filter-field{display:flex;align-items:center;gap:8px;min-width:0}.lease-filter-label{display:inline-flex;font-size:12px;font-weight:600;color:var(--text-secondary);margin-bottom:0;white-space:nowrap;flex-shrink:0}.lease-filter-field .modern-select-wrapper{flex:1;min-width:0}.lease-filter-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:0;flex-shrink:0}@media(min-width:769px){.lease-mobile-shell{display:none}}@media(max-width:420px){.lease-mobile-meta-row{grid-template-columns:1fr}.lease-mobile-card{padding:10px}.lease-filter-grid{grid-template-columns:1fr}.lease-filter-field{flex-direction:column;align-items:stretch;gap:6px}.lease-filter-panel{flex-direction:column;align-items:stretch}.lease-filter-actions{justify-content:flex-end}}.lease-details-header{align-items:center;gap:var(--spacing-md);padding-top:4px;padding-bottom:2px;margin-bottom:10px;gap:10px}.lease-details-header-main{display:flex;align-items:center;gap:10px;min-width:0}.lease-details-heading-block{min-width:0}.LeaseDetailsHeadingRow{display:flex;align-items:center;gap:8px}.lease-details-title{margin:0;line-height:1.1;min-width:0;overflow-wrap:anywhere;text-transform:capitalize}.lease-details-actions{display:flex;align-items:center;gap:8px}.lease-details-actions-header{flex-wrap:nowrap}.lease-details-actions-header>*{flex:0 0 auto}.lease-business-center{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 var(--spacing-sm)}.lease-business-label{font-size:.64rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--text-tertiary);line-height:1.1}.LeaseBusinessValue{font-size:.85rem;font-weight:700;color:var(--text-primary);text-transform:capitalize;width:100%;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.lease-quick-actions{position:relative}.lease-quick-actions-menu{position:absolute;top:calc(100% + .25rem);right:0;min-width:12rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);padding:.25rem;z-index:20}.lease-quick-actions-item{width:100%;border:0;background:transparent;color:var(--text-primary);text-align:left;font-size:.85rem;font-weight:500;border-radius:var(--radius-sm);padding:.45rem .55rem;cursor:pointer;text-transform:capitalize}.lease-quick-actions-item:hover{background:var(--gray-100)}.lease-quick-actions-item-danger{color:var(--error, #dc2626)}.lease-quick-actions-item-danger:hover{background:#dc262614}.lease-quick-actions-divider{height:1px;background:var(--border-light);margin:4px 0}.lease-quick-actions-divider-strong{height:1px;background:var(--border-color, var(--border-light));margin:6px 0}.lease-quick-actions-group-label{font-size:10px;font-weight:600;color:var(--gray-500, #6b7280);letter-spacing:.06em;text-transform:uppercase;padding:6px 10px 2px}.lease-quick-actions-backdrop,.lease-quick-actions-sheet-handle,.lease-quick-actions-sheet-header{display:none}.lease-quick-actions-trigger-icon{display:inline-flex;align-items:center;margin-left:4px}.lease-tenant-name-link{display:inline-flex;align-items:center;gap:5px;background:none;border:none;padding:2px 5px;margin:0 -5px;font:inherit;color:var(--primary-600);cursor:pointer;border-radius:var(--radius-sm, 4px);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;transition:color .15s,background .15s,text-decoration-color .15s}.lease-tenant-name-link:hover{color:var(--primary-700);text-decoration-color:var(--primary-400);background:var(--primary-50)}.lease-tenant-name-link:focus-visible{outline:2px solid var(--primary-400);outline-offset:1px;color:var(--primary-700);background:var(--primary-50)}.lease-tenant-name-icon{flex-shrink:0;opacity:.8}.lease-section-chips,.lease-header-status-row{display:none}.lease-invoice-segmented{display:inline-flex;border:1px solid var(--border-light);border-radius:8px;padding:2px;background:var(--bg-secondary, #f5f5f5)}.lease-invoice-segmented-btn{border:0;background:transparent;padding:4px 12px;font-size:12px;font-weight:500;color:var(--text-secondary);border-radius:6px;cursor:pointer;transition:background .15s,color .15s}.lease-invoice-segmented-btn.active{background:var(--bg-primary, #fff);color:var(--text-primary);box-shadow:0 1px 3px #00000014}.lease-fab-container{display:none}.lease-overview-grid{align-items:stretch;margin-bottom:8px}.lease-overview-card{border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:none;overflow:hidden;min-width:0;background:var(--bg-primary)}.lease-overview-card:hover{border-color:var(--gray-300)}.lease-overview-card-info,.lease-overview-card-finance,.lease-overview-card-risk,.lease-overview-card-tds{background:var(--bg-primary)}.lease-overview-card-header{padding:.3rem .55rem;border-bottom:1px solid var(--border-light);background:transparent}.lease-overview-card-title{margin:0;font-size:.5rem;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--gray-400, #98a2b3)}.lease-overview-card .grid{gap:.2rem;padding:.35rem .45rem .45rem}.lease-metric{border:1px solid rgba(16,24,40,.06);border-radius:6px;padding:.22rem .35rem;min-height:auto;background:#ffffffe0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem .4rem;min-width:0}.lease-metric-label{margin:0;font-size:.62rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--text-tertiary);line-height:1.1;min-width:0;overflow-wrap:anywhere;word-break:break-word}.lease-metric-value{margin:0;font-size:.76rem;line-height:1.05;font-weight:700;color:var(--text-primary);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;min-width:0;max-width:100%}.lease-metric-value-button{border:none;background:transparent;padding:0;cursor:pointer}.lease-metric-value-rooms{white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}.lease-metric-value-masked{letter-spacing:.08em}.lease-metric-value-primary{color:var(--primary-700)}.lease-metric-value-success{color:var(--success)}.lease-metric-value-warning{color:var(--warning)}.lease-metric-value-danger{color:var(--error)}.lease-metric-hint{margin:0;grid-column:1 / -1;font-size:.6rem;line-height:1.1;color:var(--text-tertiary);text-align:right}.lease-metric-critical{border-color:#1018281f}.lease-metric-critical-due{background:#fff3f1;border-color:#ffd2cb}.lease-metric-critical-deposit{background:#f1f8ff;border-color:#d0e4ff}.lease-metric-critical-exposure{background:#f4f6ff;border-color:#d7ddff}.lease-status-chip{display:inline-flex;align-items:center;border-radius:var(--radius-full);padding:.12rem .45rem;font-size:.6rem;font-weight:700;letter-spacing:.03em;border:1px solid transparent}.lease-status-active{color:#0b6d43;background:#e8fbf0;border-color:#b8ebce}.lease-status-expired{color:#475467;background:#f2f4f7;border-color:#d0d5dd}.lease-status-renewed{color:#155cb0;background:#edf4ff;border-color:#cfe0ff}.lease-status-default{color:var(--text-secondary);background:var(--gray-100);border-color:var(--gray-300)}.btn-closure-status:hover:not(:disabled){background:var(--primary-100)!important;border-color:var(--primary-400)!important;color:var(--primary-800)!important;transform:translateY(-1px);box-shadow:var(--shadow-sm)!important}.btn-closure-status:disabled{opacity:.82}.lease-status-inline{display:inline-flex;align-items:center;justify-content:flex-end;gap:.25rem;min-width:0}.lease-invoice-history-toggle-row{display:inline-flex;align-items:center;gap:.35rem;margin-bottom:.35rem;padding-left:12px}.lease-invoice-history-toggle-label{font-size:11px;font-weight:600;color:var(--text-secondary);line-height:1}.lease-invoice-history-toggle-group{padding:0;border:none;background:transparent;gap:0;box-shadow:none}.lease-invoice-history-toggle-group .toggle-switch{width:30px;height:16px}.lease-invoice-history-toggle-group .toggle-slider{border-radius:999px}.lease-invoice-history-toggle-group .toggle-slider:before{width:10px;height:10px;left:3px;bottom:3px}.lease-invoice-history-toggle-group input:checked+.toggle-slider:before{transform:translate(14px)}.lease-status-inline-single{width:100%}.lease-risk-chip{display:inline-flex;align-items:center;border-radius:var(--radius-full);padding:.12rem .42rem;font-size:.6rem;font-weight:700;letter-spacing:.02em;border:1px solid transparent;text-transform:uppercase}.lease-risk-chip-danger{color:#ad2418;background:#ffe9e5;border-color:#ffccc4}.lease-risk-chip-safe{color:#0b6d43;background:#e8fbf0;border-color:#b8ebce}.lease-exposure-chip{display:inline-flex;align-items:center;border-radius:var(--radius-full);padding:.1rem .35rem;font-size:.58rem;font-weight:700;letter-spacing:.03em;border:1px solid transparent;text-transform:uppercase}.lease-exposure-due{color:#ad2418;background:#ffe9e5;border-color:#ffccc4}.lease-exposure-advance{color:#134eb1;background:#eaf2ff;border-color:#c8dbff}.lease-risk-text{font-size:.66rem;font-weight:700}.lease-risk-text-danger{color:var(--error)}.lease-risk-text-safe{color:var(--success)}.lease-notes-card{padding:.55rem .7rem;margin-bottom:8px}.lease-notes-inline-shell{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.lease-notes-inline{margin:0;display:flex;align-items:flex-start;gap:.42rem;color:var(--text-primary);line-height:1.3;white-space:pre-wrap}.lease-notes-label{font-size:.7rem;font-weight:700;color:var(--text-secondary);white-space:nowrap}.lease-notes-text{font-size:.76rem;font-weight:500;color:var(--text-primary);min-width:0}.lease-notes-edit-btn{flex-shrink:0}.lease-notes-inline-edit{display:flex;flex-direction:column;gap:.4rem}.lease-notes-editor{min-height:92px;max-height:180px;resize:vertical}.lease-notes-actions{display:flex;justify-content:flex-end;gap:.4rem}.lease-details-tabs-shell{display:flex;align-items:center;width:100%;padding:0;margin:0;border-bottom:1px solid var(--border-light);background:linear-gradient(180deg,#f8fbff,#eef4fb);box-shadow:inset 0 1px #ffffffd1;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;position:sticky;top:0;z-index:7;flex:0 0 auto}.lease-details-tabs-shell::-webkit-scrollbar{display:none}.lease-details-tabs-shell .tabs-root.tabs-pill{margin:0;min-height:30px;padding:2px 0;border:none;border-radius:0;background:transparent;box-shadow:none}.lease-details-tab-content{padding:4px 10px 8px;min-height:0;display:flex;flex-direction:column;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.lease-details-tab-content>*{min-height:0}.lease-tab-panel{display:none;min-height:0}.lease-tab-panel.is-active{display:block}.lease-tab-section-header{display:none}.lease-history-table{min-width:0}.lease-linked-tab-root{display:flex;flex-direction:column;gap:8px}.lease-linked-tab-root .global-table-layout,.lease-linked-tab-root .table-scroll-region,.lease-linked-tab-root .table-container,.lease-linked-tab-root .table,.lease-linked-tab-root .table tbody tr,.lease-linked-tab-root .pagination-container{transition:none!important;animation:none!important}.lease-linked-group-id-cell{display:inline-flex;align-items:center;gap:6px}.lease-linked-group-id{font-weight:700}.lease-linked-tenant-name{font-weight:600}.lease-linked-tab-empty-hint{margin:0;font-size:.76rem;color:var(--text-secondary);padding:0 2px 2px}.lease-details-table-shell{overflow:visible}.lease-details-header-leading-row{align-items:center;gap:8px}.lease-header-center-block{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lease-header-tenant-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-weight:700;font-size:1.05rem;color:var(--text-primary)}.lease-header-business-name{font-size:1rem;color:var(--text-primary);font-weight:600}.lease-header-business-name:before{content:"|";margin-right:8px;color:var(--text-tertiary);font-weight:400}@media(max-width:1280px){.lease-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.lease-details-header{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:8px}.lease-details-header-main{width:100%;gap:8px}.LeaseDetailsHeadingRow{flex-wrap:wrap}.lease-business-center{width:100%;align-items:flex-start;text-align:left;padding:0}.LeaseBusinessValue{white-space:normal}.lease-details-actions{width:100%;gap:6px;flex-wrap:wrap}.lease-details-actions>.btn,.lease-details-actions>.lease-quick-actions{flex:1 1 auto;min-width:0}.lease-details-actions>.btn,.lease-quick-actions>.btn{width:100%;justify-content:center}.lease-quick-actions{min-width:0}.lease-quick-actions-menu{left:0;right:0;min-width:0}.lease-overview-grid{grid-template-columns:1fr}.lease-notes-inline{flex-direction:column;gap:.18rem}.lease-notes-inline-shell{flex-direction:column;align-items:stretch}.lease-notes-label{white-space:normal}.lease-overview-card .grid{grid-template-columns:1fr;gap:.18rem;padding:.3rem .35rem .35rem}.lease-details-tabs-shell{padding:0}.lease-details-tab-content{padding:4px 8px 8px}.lease-invoice-history-toggle-row{padding-left:4px;margin-bottom:6px}.lease-overview-card-header{padding:.28rem .45rem}.lease-metric{grid-template-columns:1fr;align-items:flex-start;padding:.22rem .3rem;gap:.14rem}.lease-metric-value{font-size:.74rem;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.2}.lease-overview-card-info .lease-metric-info{grid-template-columns:1fr;align-items:flex-start;gap:.14rem}.lease-overview-card-info .lease-metric-info .lease-metric-value{text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.2}.lease-history-table .table th,.lease-history-table .table td{padding:7px 8px}.lease-history-table .table th{font-size:10px}.lease-history-table .table td{font-size:12px}.lease-history-table .table td .badge{font-size:10px}.lease-history-table .table th:last-child,.lease-history-table .table td:last-child{text-align:right;min-width:78px}}@media(max-width:767.98px){.lease-mobile-shell{--ll-tenant-font: clamp(15px, .7rem + 1.1vw, 17px);--ll-label-font: clamp(10.5px, .5rem + .5vw, 12px);--ll-value-font: clamp(12.5px, .65rem + .7vw, 14px);--ll-amount-font: clamp(14px, .75rem + .9vw, 16.5px);--ll-card-pad: clamp(12px, .5rem + 1.4vw, 18px);--ll-card-radius: clamp(12px, 1rem + .5vw, 16px);--ll-card-gap: clamp(8px, 1.5vw, 12px);--ll-chip-pad-y: clamp(8px, 1.5vw, 10px);--ll-chip-pad-x: clamp(12px, 3.5vw, 18px);--ll-chip-font: clamp(12px, .6rem + .7vw, 13.5px);--ll-btn-min-h: 44px}.lease-mobile-shell{width:100%;max-width:100%;overflow-x:hidden}.lease-mobile-toolbar{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 0;position:sticky;top:0;z-index:20;background:var(--bg-primary, #fff);box-shadow:0 1px 0 var(--border-light, rgba(0, 0, 0, .06));align-items:center}.lease-mobile-toolbar .modern-search-wrapper,.lease-mobile-toolbar .search-bar-wrapper{width:100%;max-width:100%;min-width:0}.lease-mobile-toolbar .btn{width:auto;justify-content:center;min-height:var(--ll-btn-min-h)}.lease-mobile-toolbar .lease-filter-toggle{min-width:96px}.lease-mobile-add-btn{min-height:36px!important;padding:6px 12px!important;border-radius:10px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.lease-mobile-add-btn__label{font-size:13px}.lease-filter-status-field{gap:6px}.lease-filter-status-chips{display:flex!important;flex-wrap:wrap;gap:6px;overflow:visible!important;margin:0!important;padding:0!important}.lease-filter-status-chips .lease-mobile-status-chip{flex:0 1 auto;min-height:38px}.lease-mobile-status-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 4px;margin:0 -2px}.lease-mobile-status-chips::-webkit-scrollbar{display:none}.lease-mobile-status-chip{flex-shrink:0;border:1px solid var(--border-color);border-radius:999px;background:var(--bg-primary);color:var(--text-secondary);font-size:var(--ll-chip-font);font-weight:600;padding:var(--ll-chip-pad-y) var(--ll-chip-pad-x);min-height:36px;cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .1s;white-space:nowrap;-webkit-tap-highlight-color:transparent}.lease-mobile-status-chip:active{transform:scale(.97)}.lease-mobile-status-chip.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.lease-mobile-list{display:flex;flex-direction:column;gap:var(--ll-card-gap);padding:4px 0 24px}.lease-mobile-card{display:flex;flex-direction:column;gap:var(--ll-card-gap);background:var(--bg-primary);border:1px solid var(--border-light, var(--border-color));border-radius:var(--ll-card-radius);padding:var(--ll-card-pad);box-shadow:0 1px 3px #0000000a,0 1px 2px #0000000f;text-align:left;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;color:inherit;cursor:default}.lease-mobile-card-clickable{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,box-shadow .15s ease}.lease-mobile-card-clickable:active{transform:scale(.997);box-shadow:0 1px 2px #0000000a,0 0 0 2px var(--primary-color-faded, rgba(59, 130, 246, .18))}.lease-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.lease-mobile-tenant{margin:0;font-size:var(--ll-tenant-font);font-weight:700;color:var(--text-primary);line-height:1.25;overflow-wrap:anywhere}.lease-mobile-card-head .badge{flex-shrink:0;font-size:clamp(10.5px,.55rem + .5vw,12px);padding:3px 8px;border-radius:999px;white-space:nowrap}.lease-mobile-meta-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;row-gap:8px}.lease-mobile-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.lease-mobile-meta--full{grid-column:1 / -1}.lease-mobile-label{font-size:var(--ll-label-font);font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.03em;line-height:1.1}.lease-mobile-value{font-size:var(--ll-value-font);font-weight:500;color:var(--text-primary);line-height:1.3;overflow-wrap:anywhere}.lease-mobile-value--amount{font-size:var(--ll-amount-font);font-weight:700;color:var(--text-primary)}.num,.lease-mobile-value.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.lease-mobile-period .lease-mobile-value{font-size:clamp(11.5px,.6rem + .5vw,13px)}.lease-mobile-footer{display:flex;flex-wrap:wrap;gap:6px}.lease-mobile-card-actions{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid var(--border-light)}.lease-mobile-card-actions-primary{display:flex;gap:8px}.lease-mobile-card-actions-primary .btn{flex:1 1 0;min-height:var(--ll-btn-min-h);font-size:clamp(13px,.7rem + .6vw,14.5px);font-weight:600;padding:10px 12px;border-radius:10px;justify-content:center}.lease-mobile-card-actions-danger{display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-end}.lease-mobile-danger-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--error, #dc2626);font-size:clamp(12px,.65rem + .4vw,13px);font-weight:600;padding:8px 4px;cursor:pointer;min-height:36px;-webkit-tap-highlight-color:transparent}.lease-mobile-danger-link:active{opacity:.7}.lease-filter-panel{flex-direction:column;gap:10px;padding:clamp(12px,3vw,16px);border-radius:12px;margin-top:4px}.lease-filter-grid{grid-template-columns:1fr;gap:8px}.lease-filter-field{flex-direction:row;align-items:center;gap:8px}.lease-filter-label{min-width:110px;flex-shrink:0}.lease-filter-field .modern-select-wrapper,.lease-filter-field select{flex:1}.lease-filter-actions{justify-content:flex-end}.pagination-container{flex-wrap:wrap;gap:6px;padding:10px 4px 14px;font-size:clamp(12px,.65rem + .4vw,13px)}.pagination-container .btn{min-width:40px;min-height:40px;padding:0 10px;font-size:clamp(12px,.65rem + .4vw,13.5px)}.pagination-size-select{font-size:clamp(12px,.65rem + .4vw,13px)}.lease-mobile-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:clamp(28px,8vw,44px) clamp(14px,4vw,20px);text-align:center}.lease-mobile-empty-icon{width:44px;height:44px;border-radius:50%;background:var(--bg-secondary, #f1f5f9);color:var(--text-tertiary);display:inline-flex;align-items:center;justify-content:center;margin-bottom:4px}.lease-mobile-empty-title{margin:0;font-size:clamp(14px,.75rem + .7vw,16px);font-weight:700;color:var(--text-primary)}.lease-mobile-empty-hint{margin:0;font-size:clamp(12px,.65rem + .5vw,13.5px);color:var(--text-secondary)}.lease-mobile-skeleton-list{display:flex;flex-direction:column;gap:var(--ll-card-gap);padding-top:4px}.lease-mobile-skeleton-card{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:var(--ll-card-radius);padding:var(--ll-card-pad);display:flex;flex-direction:column;gap:10px}.lease-mobile-skeleton-line{height:12px;width:100%;border-radius:4px;background:linear-gradient(90deg,var(--bg-secondary, #f1f5f9) 0%,var(--gray-100, #e5e7eb) 50%,var(--bg-secondary, #f1f5f9) 100%);background-size:200% 100%;animation:lease-mobile-skel 1.2s ease-in-out infinite}.lease-mobile-skeleton-line--title{width:60%;height:16px}.lease-mobile-skeleton-line--short{width:45%}@keyframes lease-mobile-skel{0%{background-position:200% 0}to{background-position:-200% 0}}.lease-mobile-state{padding:24px 16px;text-align:center;color:var(--text-secondary)}@media(prefers-reduced-motion:reduce){.lease-mobile-skeleton-line{animation:none}.lease-mobile-card-clickable{transition:none}}}@media(max-width:359.98px){.lease-mobile-shell{--ll-card-pad: 10px;--ll-card-gap: 7px;--ll-chip-pad-x: 10px;--ll-btn-min-h: 40px}.lease-mobile-meta-grid{grid-template-columns:1fr}.lease-mobile-card-actions-primary{flex-direction:column}.lease-mobile-toolbar{grid-template-areas:"chips chips" "search search" "filter filter" "add add"}}@media(min-width:600px)and (max-width:767.98px){.lease-mobile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lease-mobile-toolbar{grid-template-columns:1fr auto auto;grid-template-areas:"chips chips chips" "search filter add"}.lease-mobile-toolbar>.btn-primary{width:auto}}@media(max-width:768px){.lease-details-header.page-header{padding-top:6px;padding-bottom:6px;margin-bottom:8px}.lease-details-title{font-size:1.2rem}.lease-details-page-header .app-page-header-leading{width:100%;position:relative}.lease-details-header-leading-row{position:relative;width:100%;min-height:36px}.lease-details-header-leading-row>.btn-icon:first-child{margin-left:8px}.lease-header-center-block{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:0 48px;pointer-events:none;gap:2px}.lease-header-center-block>*{pointer-events:auto}.lease-header-tenant-name{font-size:.9rem;font-weight:700;color:var(--text-primary);display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap;line-height:1.3}.lease-header-business-name{font-size:.75rem;color:var(--text-secondary);font-weight:400;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.lease-header-business-name:before{display:none}.lease-details-page-header.app-page-header{position:relative}.lease-details-page-header .app-page-header-actions:has(.lease-details-actions){display:flex;align-items:flex-end;position:absolute;top:6px;right:12px;z-index:5}.lease-details-page-header .lease-details-actions{flex-direction:column;align-items:stretch;gap:4px}.lease-header-center-block{padding:0 80px 0 44px}.lease-details-page-header .lease-quick-actions-trigger{height:22px!important;min-height:22px!important;min-width:0;padding:0 7px!important;border-radius:5px;font-size:10px;font-weight:600;line-height:1;box-shadow:none;display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.lease-details-page-header .lease-quick-actions-trigger-icon{display:inline-flex}.lease-details-page-header .lease-quick-actions-trigger-icon svg{width:9px;height:9px}.lease-quick-actions-menu{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;top:auto;max-height:70dvh;overflow-y:auto;background:var(--bg-primary);border-radius:18px 18px 0 0;box-shadow:0 -8px 28px #0000002e;padding:0 8px calc(12px + env(safe-area-inset-bottom,0px));z-index:110;animation:leaseSheetSlideUp .22s cubic-bezier(.16,1,.3,1)}.lease-quick-actions-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:100;animation:leaseSheetFade .18s ease-out}.lease-quick-actions-sheet-handle{display:block;width:36px;height:4px;background:var(--border-color);border-radius:999px;margin:10px auto 6px}.lease-quick-actions-sheet-header{display:block;font-size:16px;font-weight:700;color:var(--text-primary);padding:4px 12px 8px}@keyframes leaseSheetSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes leaseSheetFade{0%{opacity:0}to{opacity:1}}.lease-quick-actions-item{font-size:14px;padding:12px 14px;border-radius:10px;min-height:44px;display:flex;align-items:center}}@media(max-width:768px){.lease-overview-carousel-outer{margin-bottom:4px}.lease-overview-grid{display:flex!important;overflow-x:scroll;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:0;padding:0;margin-bottom:0}.lease-overview-grid::-webkit-scrollbar{display:none}.lease-overview-grid>.card.lease-overview-card{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.lease-overview-card .grid.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 12px 12px}.lease-metric{grid-template-columns:1fr;gap:2px;padding:8px 10px;border-radius:8px}.lease-metric-label{font-size:10px;letter-spacing:.03em}.lease-metric-value{font-size:13px;text-align:left;white-space:normal;line-height:1.25;font-weight:700}.lease-overview-card .lease-overview-card-header{display:none}.lease-notes-card{padding:10px 12px;margin-bottom:8px}}@media(max-width:768px){.lease-details-tabs-shell{display:none}.card.lease-details-table-shell.table-card-shell{background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;overflow-y:visible!important;max-height:none!important;padding:0!important}.lease-details-tab-content{display:flex!important;flex-direction:column!important;width:100vw;margin-left:calc((100% - 100vw)/2);margin-right:calc((100% - 100vw)/2);overflow:visible!important;scroll-snap-type:none;-webkit-overflow-scrolling:touch;scrollbar-width:none;align-items:stretch;gap:12px;padding:12px 0 0;height:auto!important;min-height:auto!important;max-height:none;overscroll-behavior:auto;touch-action:auto}.lease-details-tab-content::-webkit-scrollbar{display:none}.lease-tab-panel{display:none!important;width:100%;min-width:0;overflow:visible;touch-action:pan-y;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:var(--radius-sm);box-shadow:none;position:relative;scroll-margin-top:92px;box-sizing:border-box}.lease-tab-panel.is-active{display:block!important}.lease-tab-section-loading{display:flex;align-items:center;justify-content:center;padding:32px 16px;color:var(--text-secondary);font-size:13px}.lease-tab-section-header{display:none}.lease-carousel-nav{display:flex!important;align-items:center;gap:2px;padding:0 4px;height:40px;box-sizing:border-box;background:var(--bg-primary);border-bottom:1px solid var(--border-light)}.lease-carousel-nav__items{display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.lease-carousel-nav__items::-webkit-scrollbar{display:none}.lease-carousel-nav__arrow{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;background:transparent;color:var(--text-secondary, #667085);font-size:20px;line-height:1;border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s ease,opacity .2s ease}.lease-carousel-nav__arrow:disabled{opacity:.25;cursor:default}.lease-details-tabs-shell{position:static}.lease-section-nav{position:-webkit-sticky;position:sticky!important;top:var(--m-bar-h, 44px);z-index:150;background:var(--bg-primary);will-change:transform;transition:box-shadow .15s ease}.lease-section-nav.is-sticky{box-shadow:0 2px 8px #0000001f}.lease-carousel-nav__item{display:inline-flex;align-items:center;flex:0 0 auto;border:0;margin:0;padding:6px 4px;background:transparent;border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .24s ease}.lease-carousel-nav__item.is-active{background:var(--primary-50, #eff6ff);padding:6px 10px 6px 8px}.lease-carousel-nav__dot{width:7px;height:7px;flex:0 0 auto;border-radius:999px;background:var(--gray-300, #d0d5dd);transition:background .24s ease,transform .24s ease}.lease-carousel-nav__item.is-active .lease-carousel-nav__dot{background:var(--primary-700, #2563eb);transform:scale(1.15)}.lease-carousel-nav__label{max-width:0;margin-left:0;opacity:0;overflow:hidden;white-space:nowrap;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--primary-700, #2563eb);transition:max-width .32s cubic-bezier(.4,0,.2,1),margin-left .32s cubic-bezier(.4,0,.2,1),opacity .22s ease}.lease-carousel-nav__item.is-active .lease-carousel-nav__label{max-width:180px;margin-left:7px;opacity:1}.lease-tab-panel .lease-invoice-history-toggle-row{margin:0;padding:8px 12px;border-bottom:1px solid var(--border-light)}.lease-tab-panel .pagination-container{padding:8px 12px 12px}.lease-tab-panel .global-table-layout{min-width:0;padding:6px 12px 4px}.lease-tab-panel .table-scroll-region{overflow-x:visible;overflow-y:visible;max-height:none}.lease-history-table{--tbl-cell-font: clamp(11.5px, .55rem + .6vw, 13px);--tbl-head-font: clamp(9.5px, .5rem + .35vw, 11px);--tbl-badge-font: clamp(9.5px, .5rem + .4vw, 11px);--tbl-cell-pad-y: clamp(7px, .2rem + .8vw, 11px);--tbl-cell-pad-x: clamp(6px, .15rem + 1vw, 12px);--tbl-line-height: 1.35}.lease-history-table .table-scroll-region,.lease-history-table .table-container{width:100%;min-width:0;overflow:visible}.lease-history-table table.table,.lease-history-table thead,.lease-history-table tbody,.lease-history-table tr{display:table!important}.lease-history-table table.table{width:100%;table-layout:fixed;border-collapse:collapse;min-width:0!important}.lease-history-table thead{display:table-header-group!important}.lease-history-table tbody{display:table-row-group!important}.lease-history-table tr{display:table-row!important;background:transparent;border:0;border-radius:0;margin:0;padding:0}.lease-history-table th,.lease-history-table td{display:table-cell!important;padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x);border-bottom:1px solid var(--border-light);vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--tbl-cell-font);line-height:var(--tbl-line-height);grid-column:auto;grid-row:auto}.lease-history-table td .num,.lease-history-table td.num,.lease-history-table-invoices td:nth-child(2),.lease-history-table-invoices td:nth-child(3),.lease-history-table-invoices td:nth-child(5),.lease-history-table-payments td:nth-child(3),.lease-history-table-payments td:nth-child(4),.lease-history-table-deposits td:nth-child(3){font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.lease-history-table thead th{position:static}.lease-history-table th{background:var(--bg-secondary, #f8fafc);color:var(--text-tertiary);font-size:var(--tbl-head-font);font-weight:700;letter-spacing:.03em;text-transform:uppercase}.lease-history-table td:has(.badge),.lease-history-table td:last-child{overflow:visible}.lease-history-table td:before{display:none!important}.lease-history-table td .badge{display:inline-block;padding:clamp(2px,.7vw,4px) clamp(5px,1.4vw,8px);font-size:var(--tbl-badge-font);font-weight:600;line-height:1.15;border-radius:999px;white-space:nowrap;max-width:none;overflow:visible}.lease-history-table .table td:last-child,.lease-history-table .table th:last-child,.lease-history-table td:last-child,.lease-history-table th:last-child{position:static!important;right:auto!important;z-index:auto!important;box-shadow:none!important;background:transparent!important;min-width:0!important;text-align:center}.lease-history-table td:last-child{padding:6px;border-top:0;margin-top:0}.lease-history-table td:last-child .btn,.lease-history-table td:last-child .row-actions-dropdown button,.lease-history-table td:last-child>button{font-size:12px;padding:8px 10px;min-width:32px;min-height:32px;white-space:nowrap}.lease-history-table-invoices table.table{table-layout:fixed;width:100%}.lease-history-table-invoices th,.lease-history-table-invoices td{padding:var(--tbl-cell-pad-y) clamp(3px,.8vw,6px)!important;font-size:clamp(10.5px,.5rem + .55vw,12px)!important}.lease-history-table-invoices th{font-size:clamp(9px,.45rem + .4vw,10.5px)!important}.lease-history-table-invoices th{white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.2;vertical-align:middle}.lease-history-table-invoices td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25;vertical-align:middle}.lease-history-table-invoices td .badge,.lease-history-table td .badge{white-space:nowrap!important;overflow-wrap:normal;word-break:keep-all}.lease-history-table-invoices th:nth-child(1),.lease-history-table-invoices td:nth-child(1){width:25%;text-align:left}.lease-history-table-invoices th:nth-child(2),.lease-history-table-invoices td:nth-child(2){width:22%;text-align:right}.lease-history-table-invoices th:nth-child(3),.lease-history-table-invoices td:nth-child(3){width:22%;text-align:right}.lease-history-table-invoices th:nth-child(4),.lease-history-table-invoices td:nth-child(4){width:19%;text-align:center}.lease-history-table-invoices th:nth-child(5),.lease-history-table-invoices td:nth-child(5){width:12%;text-align:center}.lease-history-table-invoices th:nth-child(2)>div,.lease-history-table-invoices th:nth-child(3)>div,.lease-history-table-invoices th:nth-child(5)>div{justify-content:flex-end!important}.lease-history-table-invoices th:nth-child(4)>div{justify-content:center!important}.lease-history-table-payments table.table{table-layout:fixed;width:100%}.lease-history-table-payments th,.lease-history-table-payments td{padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x)}.lease-history-table-payments th:nth-child(1),.lease-history-table-payments td:nth-child(1){width:22%;text-align:left}.lease-history-table-payments th:nth-child(2),.lease-history-table-payments td:nth-child(2){width:20%;text-align:center}.lease-history-table-payments th:nth-child(3),.lease-history-table-payments td:nth-child(3){width:22%;text-align:right}.lease-history-table-payments th:nth-child(4),.lease-history-table-payments td:nth-child(4){width:22%;text-align:right}.lease-history-table-payments th:nth-child(5),.lease-history-table-payments td:nth-child(5){width:14%;text-align:center}.lease-history-table-payments th:nth-child(2)>div{justify-content:center!important}.lease-history-table-payments th:nth-child(3)>div,.lease-history-table-payments th:nth-child(4)>div{justify-content:flex-end!important}.lease-history-table-deposits table.table{table-layout:fixed;width:100%}.lease-history-table-deposits th,.lease-history-table-deposits td{padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x)}.lease-history-table-deposits th:nth-child(1),.lease-history-table-deposits td:nth-child(1){width:28%;text-align:left}.lease-history-table-deposits th:nth-child(2),.lease-history-table-deposits td:nth-child(2){width:24%;text-align:center}.lease-history-table-deposits th:nth-child(3),.lease-history-table-deposits td:nth-child(3){width:26%;text-align:right}.lease-history-table-deposits th:nth-child(4),.lease-history-table-deposits td:nth-child(4){width:22%;text-align:right}.lease-history-table-deposits th:nth-child(2)>div{justify-content:center!important}.lease-history-table-deposits th:nth-child(3)>div,.lease-history-table-deposits th:nth-child(4)>div{justify-content:flex-end!important}.lease-history-table-renewals table.table{table-layout:auto}.lease-history-table-renewals th,.lease-history-table-renewals td{width:auto;padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x)}.lease-history-table-renewals th:nth-child(1),.lease-history-table-renewals td:nth-child(1){text-align:left;width:1%}.lease-history-table-renewals th:nth-child(2),.lease-history-table-renewals td:nth-child(2){text-align:left;width:100%}.lease-history-table-renewals th:nth-child(3),.lease-history-table-renewals td:nth-child(3){text-align:right;width:1%}.lease-history-table-renewals th:nth-child(4),.lease-history-table-renewals td:nth-child(4){text-align:right;width:1%}.lease-history-table-linked table.table{table-layout:auto}.lease-history-table-linked th,.lease-history-table-linked td{width:auto;padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x)}.lease-history-table-linked th:nth-child(1),.lease-history-table-linked td:nth-child(1){text-align:left;width:1%}.lease-history-table-linked th:nth-child(2),.lease-history-table-linked td:nth-child(2){text-align:left;width:100%}.lease-history-table-linked th:nth-child(3),.lease-history-table-linked td:nth-child(3){text-align:left;width:1%}.lease-history-table-linked th:nth-child(4),.lease-history-table-linked td:nth-child(4){text-align:right;width:1%}.lease-history-table-linked th:nth-child(5),.lease-history-table-linked td:nth-child(5){text-align:right;width:1%}.lease-history-table-reminders th,.lease-history-table-reminders td{padding:var(--tbl-cell-pad-y) var(--tbl-cell-pad-x)}.lease-history-table-reminders th:nth-child(1),.lease-history-table-reminders td:nth-child(1){width:50%;text-align:left}.lease-history-table-reminders th:nth-child(2),.lease-history-table-reminders td:nth-child(2){width:28%;text-align:left}.lease-history-table-reminders th:nth-child(3),.lease-history-table-reminders td:nth-child(3){width:22%;text-align:center}.lease-history-table-reminders th:nth-child(3)>div{justify-content:center!important}.lease-history-table-reminders td:nth-child(1){white-space:normal;overflow-wrap:anywhere}.lease-history-table-reminders .lease-reminder-note{font-size:var(--tbl-cell-font);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;font-weight:500;color:var(--text-primary)}.lease-history-table-reminders tbody tr{cursor:pointer;-webkit-tap-highlight-color:transparent}.lease-history-table-reminders tbody tr:active{background:var(--bg-secondary, #f1f5f9)}.lease-renewal-period{display:flex;flex-direction:column;gap:2px;line-height:1.25;font-variant-numeric:tabular-nums}.lease-renewal-period__sep{display:none}.lease-renewal-period__from,.lease-renewal-period__to{font-size:clamp(11px,.62rem + .6vw,13px);color:var(--text-primary)}.lease-renewal-period__to{color:var(--text-secondary)}.lease-history-table-renewals tr.lease-renewal-row--current td:first-child{position:relative;font-weight:700}.lease-history-table-renewals tr.lease-renewal-row--current td:first-child:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--success, #16a34a);border-radius:0 2px 2px 0}.lease-history-table-renewals tr.lease-renewal-row--current td{background:color-mix(in srgb,var(--success, #16a34a) 6%,transparent)}.lease-deposit-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 12px 8px;padding:10px 12px;border-radius:10px;background:var(--bg-secondary, #f8fafc);border:1px solid var(--border-light)}.lease-deposit-summary__label{font-size:clamp(10.5px,.6rem + .5vw,12.5px);font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.04em}.lease-deposit-summary__amount{font-size:clamp(15px,.75rem + 1.4vw,19px);font-weight:700;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.lease-deposit-summary--positive .lease-deposit-summary__amount{color:var(--success, #16a34a)}.lease-deposit-summary--negative .lease-deposit-summary__amount{color:var(--error, #dc2626)}.lease-deposit-summary--zero .lease-deposit-summary__amount{color:var(--text-secondary)}.lease-tab-panel .lease-invoice-segmented-btn{min-height:36px;padding:clamp(7px,1.8vw,10px) clamp(12px,3.5vw,18px);font-size:clamp(12px,.65rem + .7vw,14px)}.lease-tab-panel .pagination-container button,.lease-tab-panel .pagination-container .btn{min-height:36px;min-width:36px}.lease-tab-skeleton{padding:10px 12px 14px}.lease-tab-skeleton__row{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:clamp(6px,1.8vw,12px);padding:clamp(7px,1.8vw,11px) 0;border-bottom:1px solid var(--border-light)}.lease-tab-skeleton__row--head{padding:7px 0;border-bottom:1px solid var(--border-color)}.lease-tab-skeleton__cell{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--bg-secondary, #f1f5f9) 0%,var(--gray-100, #e5e7eb) 50%,var(--bg-secondary, #f1f5f9) 100%);background-size:200% 100%;animation:lease-tab-skel-shimmer 1.2s ease-in-out infinite;opacity:.85}.lease-tab-skeleton__row--head .lease-tab-skeleton__cell{height:8px;opacity:.55}@keyframes lease-tab-skel-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.lease-history-table .empty-state{padding:clamp(22px,6vw,36px) clamp(12px,4vw,20px);gap:6px}.lease-history-table .empty-state-icon{width:36px;height:36px;border-radius:50%;background:var(--bg-secondary, #f1f5f9);color:var(--text-tertiary);display:inline-flex;align-items:center;justify-content:center;margin-bottom:4px}.lease-history-table .empty-state-title{font-size:clamp(13px,.75rem + .7vw,15px);font-weight:700;margin:0}.lease-history-table .empty-state-message{font-size:clamp(11.5px,.65rem + .6vw,13.5px);color:var(--text-secondary);margin:2px 0 0}.lease-history-table .empty-state-hint{font-size:clamp(11px,.6rem + .5vw,12.5px);color:var(--text-tertiary)}.lease-history-table-invoices tr.lease-invoice-row--paid td:first-child,.lease-history-table-invoices tr.lease-invoice-row--partial td:first-child,.lease-history-table-invoices tr.lease-invoice-row--unpaid td:first-child{position:relative}.lease-history-table-invoices tr.lease-invoice-row--paid td:first-child:before,.lease-history-table-invoices tr.lease-invoice-row--partial td:first-child:before,.lease-history-table-invoices tr.lease-invoice-row--unpaid td:first-child:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:3px;border-radius:0 2px 2px 0}.lease-history-table-invoices tr.lease-invoice-row--paid td:first-child:before{background:var(--success, #16a34a)}.lease-history-table-invoices tr.lease-invoice-row--partial td:first-child:before{background:var(--warning, #d97706)}.lease-history-table-invoices tr.lease-invoice-row--unpaid td:first-child:before{background:var(--error, #dc2626)}}.lease-carousel-nav{display:none}@media(max-width:768px){.lease-section-chips{display:none!important}.lease-section-chips::-webkit-scrollbar{display:none}.lease-section-chip{position:relative;flex:0 0 auto;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-light);background:var(--bg-primary);color:var(--text-secondary);font-size:12px;font-weight:500;padding:0 12px;border-radius:999px;cursor:pointer;white-space:nowrap;line-height:1;height:32px;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .15s ease,color .15s ease,border-color .15s ease,font-weight 0s}.lease-section-chip:before{content:attr(data-label);font-weight:600;display:block;height:0;visibility:hidden;overflow:hidden;pointer-events:none}.lease-section-chip.active{background:var(--primary-color, #3b82f6);color:#fff;border-color:var(--primary-color, #3b82f6);font-weight:600}.lease-tab-panel .pagination-container{background:var(--bg-primary);border-top:1px solid var(--border-light);padding:6px 8px 8px;margin:0}.lease-tab-panel .table-scroll-region{position:relative;overflow:visible;mask-image:none;-webkit-mask-image:none}.lease-header-center-block{display:grid!important;grid-template-columns:auto auto;grid-template-areas:"tenant tenant" "biz    status";column-gap:8px;row-gap:2px;justify-content:flex-start;align-items:flex-start}.lease-header-tenant-name{grid-area:tenant}.lease-header-business-name{grid-area:biz;margin:0!important}.lease-header-status-row{grid-area:status;display:inline-flex!important;align-items:center;margin:0!important;pointer-events:auto}.lease-quick-actions-item{font-size:15px;padding:14px 16px;border-radius:10px;min-height:48px}.lease-quick-actions-group-label{font-size:11px;padding:8px 16px 4px}.lease-quick-actions-divider{margin:6px 12px}.lease-invoice-segmented{width:100%}.lease-invoice-segmented-btn{flex:1 1 50%;padding:8px 12px;font-size:13px;min-height:36px}.lease-tab-section-loading .spinner-sm{width:22px;height:22px;border:2px solid var(--border-light);border-top-color:var(--primary-color, #3b82f6);border-radius:50%;animation:leaseSpin .8s linear infinite}@keyframes leaseSpin{to{transform:rotate(360deg)}}}@media(max-width:768px){.modal-overlay .modal[style*="max-width: 800px"],.modal-overlay .modal[style*="max-width:800px"]{max-width:100%!important;width:100%!important;margin:0!important;border-radius:0!important;max-height:100dvh!important;height:100dvh!important;display:flex;flex-direction:column}.modal-overlay .modal[style*="max-width: 800px"] .modal-body,.modal-overlay .modal[style*="max-width:800px"] .modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 14px}.modal-overlay .modal[style*="max-width: 800px"] .modal-footer,.modal-overlay .modal[style*="max-width:800px"] .modal-footer{border-top:1px solid var(--border-light);padding:10px 14px;gap:8px}.modal-overlay .modal[style*="max-width: 800px"] .modal-footer .btn,.modal-overlay .modal[style*="max-width:800px"] .modal-footer .btn{flex:1;justify-content:center;min-height:44px;font-size:14px}.modal .form-field label,.modal .form-group label{font-size:12px}.modal .form-input,.modal select.form-input,.modal textarea.form-input{min-height:44px;font-size:15px;border-radius:10px}.modal input[type=radio]{width:18px;height:18px}.modal .grid.grid-4{grid-template-columns:repeat(2,1fr)!important;gap:10px}.modal .grid.grid-3{grid-template-columns:1fr!important;gap:10px}.modal .grid-lease-1-2{grid-template-columns:1fr!important}}@media(max-width:420px){.modal .grid.grid-4{grid-template-columns:1fr!important}}@media(max-width:768px){.lease-details-header .btn,.lease-mobile-card .btn,.lease-details-actions .btn{min-height:40px;padding-top:8px;padding-bottom:8px}.back-btn,.back-button{min-height:40px;min-width:40px}.badge{font-size:11px;padding:3px 8px}.lease-mobile-card:hover{box-shadow:0 1px 4px #0000000f}.lease-metric-value-primary,.lease-metric-value-success,.lease-metric-value-danger{font-size:13px}.flex.items-center.gap-sm.mb-sm{padding:0 2px;font-size:13px}.global-table-empty{padding:24px 16px;font-size:13px}}@media(max-width:768px){.lease-tab-panel,.lease-tab-panel>*,.lease-tab-panel .lease-history-table,.lease-tab-panel .global-table-layout,.lease-tab-panel .table-scroll-region,.lease-tab-panel .table-container,.lease-tab-panel .pagination-container,.lease-tab-panel .pagination-controls,.lease-tab-panel .pagination-info{min-width:0!important;max-width:100%}.lease-tab-panel .pagination-container{flex-wrap:wrap;row-gap:6px;column-gap:4px}.lease-tab-panel .pagination-controls{flex-wrap:wrap;row-gap:4px;column-gap:3px}.lease-tab-panel .pagination-btn{min-width:0;padding:4px 6px;font-size:11px}.lease-tab-panel .pagination-info{font-size:11px;flex-basis:100%}.lease-tab-panel .pagination-page-size-label{display:none}.lease-history-table td:last-child .btn{max-width:100%;overflow:hidden;text-overflow:ellipsis;display:inline-block}}@media(max-width:400px){.lease-tab-panel .pagination-info{font-size:10px}.lease-tab-panel .pagination-btn{padding:3px 5px;font-size:10px}.lease-history-table th,.lease-history-table td{padding:4px 2px;font-size:9px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.15}.lease-history-table-invoices td{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;overflow-wrap:normal}.lease-history-table-invoices th,.lease-history-table-invoices td{padding:5px 2px!important;font-size:9.5px!important}.lease-history-table-invoices th{font-size:8.5px!important}.lease-history-table th{font-size:8px}.lease-history-table td .badge{font-size:8px;padding:1px 3px;white-space:nowrap!important}.lease-history-table td:last-child .btn{font-size:0;line-height:1;padding:6px 8px}.lease-history-table td:last-child .btn:after{content:"▾";font-size:12px;line-height:1}}@media(max-width:359.98px){.lease-history-table{--tbl-cell-font: 11px;--tbl-head-font: 9.5px;--tbl-badge-font: 9.5px;--tbl-cell-pad-y: 6px;--tbl-cell-pad-x: 5px}.lease-tab-section-header{padding:10px 10px 6px}.lease-deposit-summary{margin:6px 8px;padding:8px 10px}.lease-deposit-summary__amount{font-size:14px}.lease-renewal-period{gap:1px}.lease-history-table td .badge{padding:1px 5px}}@media(min-width:600px)and (max-width:767.98px){.lease-tab-section-header{padding:14px 18px 10px}.lease-tab-panel .global-table-layout{padding:8px 18px 6px}.lease-tab-panel .lease-invoice-history-toggle-row{padding:12px 18px}.lease-tab-panel .pagination-container{padding:12px 18px 14px}.lease-deposit-summary{margin:10px 18px;padding:12px 16px}.lease-history-table{--tbl-cell-pad-y: 11px;--tbl-cell-pad-x: 12px}.lease-tab-skeleton{padding:12px 18px 16px}}@media(max-width:767.98px){.lease-tab-panel,.lease-history-table,.lease-history-table .table-container,.lease-history-table .table-scroll-region{max-width:100%;overflow-x:hidden}@media(prefers-reduced-motion:reduce){.lease-tab-skeleton__cell{animation:none}}}@media(max-width:768px){.lease-history-table .gtbl-mobile-card-list{gap:6px;padding:6px 8px 10px;flex:0 1 auto!important;overflow-y:visible!important}.lease-history-table .gtbl-mobile-card{padding:8px 10px;border-radius:8px;box-shadow:0 1px 2px #0000000a}.lease-history-table .gtbl-mobile-card__head{gap:6px;margin-bottom:4px}.lease-history-table .gtbl-mobile-card__title-wrap{gap:1px}.lease-history-table .gtbl-mobile-card__title{font-size:13px;line-height:1.2}.lease-history-table .gtbl-mobile-card__badges{gap:2px}.lease-history-table .gtbl-mobile-card__fields{gap:4px 10px}.lease-history-table .gtbl-mobile-card__field{gap:0}.lease-history-table .gtbl-mobile-card__label{font-size:9px;letter-spacing:.04em}.lease-history-table .gtbl-mobile-card__value{font-size:12px;line-height:1.2}.lease-history-table .gtbl-mobile-card__value--amount{font-size:13px;line-height:1.15}.lease-history-table .gtbl-mobile-card__secondary{gap:4px 10px;padding-top:5px;margin-top:5px}.lease-history-table .gtbl-mobile-card__expand-btn{padding-top:4px;margin-top:5px;font-size:10px;line-height:1.15}.lease-history-table .gtbl-mobile-card__expand-chevron{font-size:11px}.lease-history-table .gtbl-mobile-card__actions{padding-top:5px;margin-top:5px}.lease-history-table .gtbl-mobile-card__actions .action-kebab-trigger{width:30px!important;height:30px!important}.lease-history-table-invoices .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) minmax(0,.85fr);align-items:end;gap:4px clamp(5px,1.8vw,8px)}.lease-history-table-invoices .gtbl-mobile-card__field{min-width:0}.lease-history-table-invoices .gtbl-mobile-card__field:not(.gtbl-mobile-card__field--amount){align-items:flex-start}.lease-history-table-invoices .gtbl-mobile-card__field--amount{align-items:flex-end}.lease-history-table-invoices .gtbl-mobile-card__label,.lease-history-table-invoices .gtbl-mobile-card__value{white-space:nowrap}.lease-history-table-invoices .gtbl-mobile-card__value{font-size:clamp(11px,3.2vw,12px);overflow:hidden;text-overflow:ellipsis}.lease-history-table-invoices .gtbl-mobile-card__value--amount{font-size:clamp(12px,3.4vw,13px)}.lease-history-table-payments .gtbl-mobile-card__fields,.lease-history-table-deposits .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,.9fr);align-items:end;gap:4px clamp(5px,1.8vw,8px)}.lease-history-table-payments .gtbl-mobile-card__field,.lease-history-table-deposits .gtbl-mobile-card__field,.lease-history-table-renewals .gtbl-mobile-card__field,.lease-history-table-linked .gtbl-mobile-card__field{min-width:0}.lease-history-table-payments .gtbl-mobile-card__field--amount,.lease-history-table-deposits .gtbl-mobile-card__field--amount{align-items:flex-end}.lease-history-table-payments .gtbl-mobile-card__label,.lease-history-table-payments .gtbl-mobile-card__value,.lease-history-table-deposits .gtbl-mobile-card__label,.lease-history-table-deposits .gtbl-mobile-card__value,.lease-history-table-renewals .gtbl-mobile-card__label,.lease-history-table-renewals .gtbl-mobile-card__value,.lease-history-table-linked .gtbl-mobile-card__label,.lease-history-table-linked .gtbl-mobile-card__value{white-space:nowrap}.lease-history-table-payments .gtbl-mobile-card__value,.lease-history-table-deposits .gtbl-mobile-card__value,.lease-history-table-renewals .gtbl-mobile-card__value,.lease-history-table-linked .gtbl-mobile-card__value{overflow:hidden;text-overflow:ellipsis}.lease-history-table-renewals .gtbl-mobile-card__fields,.lease-history-table-linked .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px clamp(6px,2vw,10px)}.lease-history-table-reminders .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1fr)}}@media(max-width:390px){.lease-history-table .gtbl-mobile-card{padding:7px 9px}.lease-history-table .gtbl-mobile-card__fields,.lease-history-table .gtbl-mobile-card__secondary{grid-template-columns:1fr 1fr}.lease-history-table .gtbl-mobile-card__field--amount{align-items:flex-end}.lease-history-table-invoices .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) minmax(0,.85fr);gap:3px 5px}.lease-history-table-invoices .gtbl-mobile-card__label{font-size:8px}.lease-history-table-invoices .gtbl-mobile-card__value{font-size:10.5px}.lease-history-table-invoices .gtbl-mobile-card__value--amount{font-size:11px}.lease-history-table-payments .gtbl-mobile-card__fields,.lease-history-table-deposits .gtbl-mobile-card__fields{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,.9fr);gap:3px 5px}.lease-history-table-payments .gtbl-mobile-card__label,.lease-history-table-deposits .gtbl-mobile-card__label,.lease-history-table-renewals .gtbl-mobile-card__label,.lease-history-table-linked .gtbl-mobile-card__label{font-size:8px}.lease-history-table-payments .gtbl-mobile-card__value,.lease-history-table-deposits .gtbl-mobile-card__value,.lease-history-table-renewals .gtbl-mobile-card__value,.lease-history-table-linked .gtbl-mobile-card__value{font-size:10.5px}.lease-history-table-payments .gtbl-mobile-card__value--amount,.lease-history-table-deposits .gtbl-mobile-card__value--amount,.lease-history-table-renewals .gtbl-mobile-card__value--amount{font-size:11px}}
