:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#059669;text-decoration:inherit}a:hover{color:#047857}body{margin:0;padding:0;min-width:320px;min-height:100vh}h1{font-size:2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.dashboard h1{margin-bottom:2rem;color:#333}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;gap:1rem;transition:transform .2s,box-shadow .2s;text-decoration:none;color:#333}.stat-card.clickable{cursor:pointer}.stat-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.stat-card.highlight{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.stat-icon{font-size:2.5rem}.stat-content h3{font-size:.875rem;font-weight:600;opacity:.8;margin-bottom:.5rem}.stat-card.highlight .stat-content h3{opacity:1}.stat-number{font-size:2rem;font-weight:700;margin-bottom:.25rem}.stat-number.positive{color:#10b981}.stat-number.negative{color:#ef4444}.stat-card.highlight .stat-number{color:#fff}.stat-detail{font-size:.875rem;opacity:.7}.income-expense-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.income-line,.expense-line{display:flex;justify-content:space-between;align-items:center}.income-line .label,.expense-line .label{font-size:.875rem;font-weight:600;opacity:.8}.income-line .value,.expense-line .value{font-size:1.5rem;font-weight:700}.income-line .value{color:#10b981}.expense-line .value{color:#ef4444}.quick-actions{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.quick-actions h2{margin-bottom:1.5rem;color:#333}.action-buttons{display:flex;gap:1rem;flex-wrap:wrap}.action-btn{background:#f3f4f6;color:#333;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-block;transition:background .2s}.action-btn:hover{background:#e5e7eb}.properties-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.property-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .2s,box-shadow .2s}.property-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.property-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.property-header h3{font-size:1.25rem;color:#333;margin:0;flex:1}.property-header-actions{display:flex;align-items:center;gap:.5rem}.property-details p{margin:.5rem 0;color:#666}.property-details .rent{font-size:1.25rem;font-weight:700;color:#10b981;margin-top:1rem}.tenants-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e5e7eb}.tenants-section h4{font-size:.875rem;font-weight:600;color:#555;margin:0 0 .75rem}.tenant-info{display:flex;justify-content:space-between;align-items:center;margin:.5rem 0;padding:.5rem;background:#f9fafb;border-radius:6px}.tenant-link{color:#059669;text-decoration:none;font-weight:600;transition:color .2s}.tenant-link:hover{color:#047857;text-decoration:underline}.tenant-rent{font-size:.875rem;font-weight:600;color:#10b981}.email-tenants-btn{width:100%;margin-top:.75rem;padding:.5rem;background:#059669;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s}.email-tenants-btn:hover{background:#047857}.property-details .notes{font-size:.875rem;font-style:italic;color:#999;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.tenants-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:2rem}.search-filter-bar{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;align-items:center}.search-box{position:relative;flex:1;min-width:300px}.search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.search-input:focus{outline:none;border-color:#10b981}.clear-search{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:#e5e7eb;border:none;width:24px;height:24px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.875rem;color:#666;transition:background .2s}.clear-search:hover{background:#d1d5db}.filter-box{display:flex;align-items:center;gap:.5rem}.filter-box label{font-weight:600;color:#555;white-space:nowrap}.status-filter-select{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;transition:border-color .2s;min-width:180px}.status-filter-select:focus{outline:none;border-color:#10b981}.tenant-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .2s,box-shadow .2s}.tenant-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.tenant-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #f3f4f6}.tenant-header h3{font-size:1.25rem;color:#1f2937;margin:0;flex:1}.tenant-header-actions{display:flex;align-items:center;gap:.5rem}.edit-btn,.delete-btn{background:#f3f4f6;border:none;padding:.5rem .75rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.edit-btn:hover{background:#e5e7eb;transform:scale(1.1)}.delete-btn:hover{background:#fee2e2;transform:scale(1.1)}.tenant-details{display:flex;flex-direction:column;gap:.75rem}.tenant-details p{margin:0;font-size:.9rem;color:#4b5563;line-height:1.5}.tenant-details p strong{color:#1f2937;font-weight:600}.tenant-details .rent{color:#059669;font-size:1rem;font-weight:600;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #f3f4f6}.tenant-details .notes{font-style:italic;color:#6b7280;background:#f9fafb;padding:.75rem;border-radius:6px;margin-top:.5rem}.status-actions{display:flex;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb;flex-wrap:wrap}.status-btn{flex:1;min-width:140px;padding:.625rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.review-btn{background:#fbbf24;color:#78350f}.review-btn:hover{background:#f59e0b}.approve-btn{background:#10b981;color:#fff}.approve-btn:hover{background:#059669}.reject-btn{background:#ef4444;color:#fff}.reject-btn:hover{background:#dc2626}.lease-btn{background:#3b82f6;color:#fff}.lease-btn:hover{background:#2563eb}.view-lease-btn{background:#3b82f6;color:#fff}.view-lease-btn:hover{background:#2563eb}.action-buttons-row{display:flex;gap:.5rem;margin-top:1rem}.action-btn{flex:1;padding:.625rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s}.upload-btn{background:#6366f1;color:#fff}.upload-btn:hover{background:#4f46e5}.email-tenant-btn{background:#059669;color:#fff}.email-tenant-btn:hover{background:#047857}.portal-btn{background:#0ea5e9;color:#fff}.portal-btn:hover{background:#0284c7}.status-badge.applied{background:#dbeafe;color:#1e40af}.status-badge.under-review{background:#fef3c7;color:#92400e}.status-badge.approved,.status-badge.active{background:#d1fae5;color:#065f46}.modal-content{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.modal-body{padding:1.5rem}.email-recipients{background:#f3f4f6;padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.875rem;color:#555}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.btn-secondary{background:#f3f4f6;color:#333;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-secondary:hover{background:#e5e7eb}.delete-modal .modal-header h2{color:#dc2626}.delete-warning{font-size:1.125rem;color:#333;margin-bottom:1rem;line-height:1.6}.delete-warning strong{color:#dc2626;font-weight:700}.delete-warning-detail{background:#fef2f2;color:#991b1b;padding:1rem;border-radius:8px;border-left:4px solid #dc2626;font-size:.875rem;margin-bottom:1.5rem}.btn-danger{background:#dc2626;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-danger:hover{background:#b91c1c}.tenant-guarantor-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.tenant-guarantor-header{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}.tenant-guarantor-header h3{margin:0;color:#111827}.tenant-guarantor-subtitle{margin:.35rem 0 0;color:#6b7280;font-size:.9rem}.tenant-guarantor-card{margin-top:1rem;padding:1.5rem;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;box-shadow:inset 0 1px #ffffffb3}.guarantor-toggle{background:#ecfdf5;border:1px solid #34d399;color:#047857;padding:.6rem 1.4rem;border-radius:999px;font-weight:600;cursor:pointer;transition:all .2s ease}.expenses{padding-bottom:2rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.summary-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.summary-card h3{font-size:.875rem;font-weight:600;color:#666;margin-bottom:.5rem}.summary-card .amount{font-size:2rem;font-weight:700;margin:0}.summary-card.income .amount{color:#10b981}.summary-card.expense .amount{color:#ef4444}.summary-card.net .amount.positive{color:#10b981}.summary-card.net .amount.negative{color:#ef4444}.filters{display:flex;gap:1rem;align-items:flex-end;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;min-width:150px}.filter-group label{font-weight:600;margin-bottom:.5rem;color:#555;font-size:.875rem}.filter-group select{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;cursor:pointer;transition:border-color .2s}.filter-group select:focus{outline:none;border-color:#10b981}.clear-filters-btn{background:#f3f4f6;color:#333;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s}.clear-filters-btn:hover{background:#e5e7eb}.expenses-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.expenses-table{width:100%;border-collapse:collapse}.expenses-table thead{background:#f9fafb}.expenses-table th{padding:1rem;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.expenses-table td{padding:1rem;border-bottom:1px solid #e5e7eb;color:#6b7280}.expenses-table tbody tr:hover{background:#f9fafb}.expenses-table tbody tr:last-child td{border-bottom:none}.type-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;display:inline-block}.type-badge.income{background:#d1fae5;color:#065f46}.type-badge.expense{background:#fee2e2;color:#991b1b}.amount-cell{font-weight:600;text-align:right}.income-amount{color:#10b981}.expense-amount{color:#ef4444}.expenses-table-container .empty-state{padding:3rem;text-align:center;color:#666}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#059669,#047857);padding:2rem}.login-box{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:3rem;width:100%;max-width:450px}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-size:2rem;color:#059669;margin:0 0 .5rem}.login-header h2{font-size:1.25rem;color:#666;font-weight:500;margin:0}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #dc2626;font-size:.875rem}.success-message{background:#d1fae5;color:#065f46;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #10b981;font-size:.875rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.login-form .form-group{display:flex;flex-direction:column;gap:.5rem}.login-form label{font-weight:600;color:#333;font-size:.875rem}.login-form input[type=email],.login-form input[type=password]{padding:.875rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.login-form input[type=email]:focus,.login-form input[type=password]:focus{outline:none;border-color:#10b981}.form-group-checkbox{display:flex;align-items:center;gap:.5rem}.form-actions-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.forgot-password-link{background:none;border:none;color:#059669;font-size:.875rem;font-weight:500;cursor:pointer;padding:0;text-decoration:none;transition:color .2s}.forgot-password-link:hover{color:#047857;text-decoration:underline}.form-group-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-group-checkbox label{font-weight:500;color:#666;cursor:pointer;margin:0}.login-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:.5rem}.login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.login-btn:disabled{opacity:.6;cursor:not-allowed}.back-to-login-btn{background:transparent;color:#666;border:2px solid #e5e7eb;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.back-to-login-btn:hover{border-color:#059669;color:#059669}.login-footer{text-align:center;margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.login-footer p{color:#999;font-size:.875rem;margin:0}.homepage{min-height:100vh;background:#f5f7fa}.hero{background:linear-gradient(135deg,#059669,#047857);color:#fff;padding:6rem 2rem;text-align:center}.hero-content{max-width:800px;margin:0 auto}.hero h1{font-size:3.5rem;margin:0 0 1rem;font-weight:700}.hero .tagline{font-size:1.5rem;margin:0 0 1.5rem;font-weight:500;opacity:.95}.hero .description{font-size:1.125rem;line-height:1.6;margin:0 0 2.5rem;opacity:.9}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-primary,.btn-secondary{padding:1rem 2rem;border-radius:8px;font-size:1.125rem;font-weight:600;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-block}.btn-primary{background:#fff;color:#059669}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ffffff4d}.btn-secondary{background:#fff3;color:#fff;border:2px solid white}.btn-secondary:hover{background:#ffffff4d;transform:translateY(-2px)}.about-section{padding:5rem 2rem;background:#fff}.container{max-width:1200px;margin:0 auto}.about-section h2{text-align:center;font-size:2.5rem;color:#333;margin:0 0 3rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.feature-card{text-align:center;padding:2rem;background:#f9fafb;border-radius:12px;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #0000001a}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-card h3{font-size:1.5rem;color:#059669;margin:0 0 1rem}.feature-card p{color:#666;line-height:1.6;margin:0}.cta-section{padding:5rem 2rem;background:#f5f7fa;text-align:center}.cta-section h2{font-size:2.5rem;color:#333;margin:0 0 1rem}.cta-section p{font-size:1.25rem;color:#666;margin:0 0 2.5rem}.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-outline{padding:1rem 2rem;border-radius:8px;font-size:1.125rem;font-weight:600;text-decoration:none;background:#fff;color:#059669;border:2px solid #059669;transition:all .2s;display:inline-block}.footer{background:#1f2937;color:#fff;padding:2rem;text-align:center}.footer p{margin:.5rem 0;opacity:.9}@media(max-width:768px){.hero h1{font-size:2.5rem}.hero .tagline{font-size:1.25rem}.about-section h2,.cta-section h2{font-size:2rem}.features-grid{grid-template-columns:1fr}}.public-properties-page{min-height:100vh;background:#f5f7fa}.public-nav{background:#fff;box-shadow:0 2px 4px #0000001a;position:sticky;top:0;z-index:100}.nav-content{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.nav-logo{font-size:1.5rem;font-weight:700;color:#059669;text-decoration:none;transition:opacity .2s}.nav-logo:hover{opacity:.8}.nav-links{display:flex;align-items:center;gap:2rem}.nav-link{color:#333;text-decoration:none;font-weight:500;transition:color .2s}.nav-link:hover{color:#059669}.login-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.625rem 1.5rem;border-radius:6px;text-decoration:none;font-weight:600;transition:transform .2s,box-shadow .2s}.login-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.page-header{background:linear-gradient(135deg,#059669,#047857);color:#fff;padding:3rem 2rem;text-align:center}.header-content{max-width:1200px;margin:0 auto}.page-header h1{font-size:2.5rem;margin:0 0 .5rem}.page-header p{font-size:1.125rem;margin:0;opacity:.9}.properties-container{max-width:1200px;margin:0 auto;padding:3rem 2rem}.properties-count{text-align:center;margin-bottom:2rem}.properties-count p{font-size:1.25rem;color:#666;font-weight:600}.no-properties{background:#fff;border-radius:12px;padding:4rem 2rem;text-align:center;box-shadow:0 2px 8px #0000001a}.no-properties h2{font-size:2rem;color:#333;margin:0 0 1rem}.no-properties p{font-size:1.125rem;color:#666;line-height:1.6;margin:.75rem 0}.no-properties .btn-primary{display:inline-block;margin-top:2rem;padding:1rem 2rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;text-decoration:none;border-radius:8px;font-weight:600;transition:transform .2s,box-shadow .2s}.no-properties .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.properties-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.property-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s;position:relative}.property-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.property-badge{position:absolute;top:1rem;right:1rem;background:#10b981;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;z-index:1}.property-header{padding:1.5rem 1.5rem 1rem;border-bottom:2px solid #f3f4f6}.property-header h3{font-size:1.5rem;color:#333;margin:0 0 .5rem}.property-location{color:#666;font-size:1rem;margin:0}.property-details{padding:1.5rem}.detail-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #f3f4f6}.detail-row:last-child{border-bottom:none}.detail-label{color:#666;font-weight:600}.detail-value{color:#333;font-weight:600}.property-description{margin-top:1rem;padding-top:1rem;border-top:2px solid #f3f4f6}.property-description p{color:#666;line-height:1.6;margin:0;font-size:.95rem}.property-footer{padding:1.5rem;background:#f9fafb;border-top:2px solid #e5e7eb}.property-rent{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.rent-label{color:#666;font-size:.875rem;font-weight:600}.rent-amount{font-size:1.75rem;font-weight:700;color:#059669}.apply-btn{display:block;width:100%;padding:.875rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;text-align:center;text-decoration:none;border-radius:8px;font-weight:600;transition:transform .2s,box-shadow .2s}.apply-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.general-application-cta{margin-top:3rem;padding:2rem;background:#fff;border-radius:12px;text-align:center;box-shadow:0 2px 8px #0000001a}.general-application-cta p{font-size:1.125rem;color:#666;margin:0 0 1rem}.btn-outline{display:inline-block;padding:.875rem 2rem;background:#fff;color:#059669;border:2px solid #059669;text-decoration:none;border-radius:8px;font-weight:600;transition:all .2s}.btn-outline:hover{background:#059669;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #0596694d}.page-footer{background:#1f2937;color:#fff;padding:2rem;text-align:center;margin-top:3rem}.page-footer p{margin:.5rem 0;opacity:.9}@media(max-width:768px){.page-header h1{font-size:2rem}.properties-grid{grid-template-columns:1fr}.nav-links{gap:1rem}.nav-link{font-size:.875rem}.login-btn{padding:.5rem 1rem;font-size:.875rem}}.application-container{max-width:900px;margin:0 auto;padding:2rem;background:#f5f7fa;min-height:100vh}.application-header{text-align:center;margin-bottom:3rem;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.application-header h1{font-size:2.5rem;color:#059669;margin:0 0 .5rem}.application-header p{color:#666;font-size:1.125rem;margin:0}.application-form{background:#fff;border-radius:12px;padding:2.5rem;box-shadow:0 2px 8px #0000001a}.form-section{margin-bottom:2.5rem;padding-bottom:2.5rem;border-bottom:2px solid #e5e7eb}.form-section:last-of-type{border-bottom:none}.form-section h2{font-size:1.5rem;color:#333;margin:0 0 1.5rem;padding-bottom:.75rem;border-bottom:3px solid #10b981}.section-subtitle{margin:.35rem 0 0;color:#6b7280;font-size:.95rem}.guarantor-header-row{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}.guarantor-toggle{background:#ecfdf5;border:1px solid #34d399;color:#047857;padding:.65rem 1.5rem;border-radius:999px;font-weight:600;cursor:pointer;transition:all .2s ease}.guarantor-toggle:hover{background:#d1fae5}.guarantor-toggle.secondary{background:#fff5f5;border-color:#fca5a5;color:#b91c1c}.guarantor-toggle.secondary:hover{background:#fee2e2}.guarantor-card{margin-top:1.5rem;padding:1.5rem;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;box-shadow:inset 0 1px #ffffffb3}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.form-group label{font-weight:600;color:#333;font-size:.95rem}.form-group input,.form-group select,.form-group textarea{padding:.875rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .2s}.form-group small{color:#666;font-size:.875rem;font-style:italic}.consent-section{background:#f9fafb;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.form-group-checkbox{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1rem}.form-group-checkbox:last-child{margin-bottom:0}.form-group-checkbox input[type=checkbox]{width:20px;height:20px;margin-top:2px;cursor:pointer;flex-shrink:0}.form-group-checkbox label{cursor:pointer;line-height:1.6;color:#333}.submit-btn{width:100%;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:1.25rem;border-radius:8px;font-size:1.125rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:1rem}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.success-message{text-align:center;background:#fff;border-radius:12px;padding:4rem 2rem;box-shadow:0 2px 8px #0000001a;margin-top:2rem}.success-icon{width:80px;height:80px;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;margin:0 auto 2rem;box-shadow:0 4px 12px #10b9814d}.success-message h1{color:#059669;font-size:2rem;margin:0 0 1rem}.success-message p{color:#666;font-size:1.125rem;line-height:1.6;margin:.75rem 0}.success-message strong{color:#333}.success-message .btn-primary{margin-top:2rem;padding:1rem 2rem;font-size:1rem}@media(max-width:768px){.application-container{padding:1rem}.application-form{padding:1.5rem}.form-grid{grid-template-columns:1fr}.application-header h1{font-size:2rem}}.lease-signing-page{min-height:100vh;background:#f5f5f5;padding:20px}.lease-container{max-width:900px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;padding:40px}.fees-section{margin-left:20px;margin-top:15px}.fee-row{display:flex;justify-content:space-between;margin-bottom:8px;padding:5px 0}.signature-section h2{font-size:22px;color:#333;margin-bottom:15px}.signature-pad-container{margin-top:30px;margin-bottom:30px}.signature-pad-container label{display:block;font-weight:700;margin-bottom:10px;font-size:16px}.signature-canvas{border:2px solid #333;border-radius:4px;cursor:crosshair;display:block;background:#fff;width:100%;max-width:600px;height:200px;touch-action:none}.btn-clear{margin-top:10px;padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.btn-clear:hover{background:#5a6268}.sign-actions{text-align:center;margin-top:30px}.btn-sign{padding:15px 40px;background:#28a745;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:18px;font-weight:700;transition:background .3s}.btn-sign:hover:not(:disabled){background:#218838}.btn-sign:disabled{background:#ccc;cursor:not-allowed}.signature-note{text-align:center;margin-top:20px;font-size:14px;color:#666}.error-container h1{color:#dc3545;font-size:32px;margin-bottom:20px}.error-container p{font-size:18px;color:#666}.success-container{max-width:600px;margin:100px auto;background:#fff;border-radius:8px;padding:40px;text-align:center;box-shadow:0 2px 10px #0000001a}.success-container h1{color:#28a745;font-size:32px;margin-bottom:20px}.success-container p{font-size:18px;color:#666;margin-bottom:15px}@media(max-width:768px){.lease-container{padding:20px}.signature-canvas{height:150px}}.view-signed-lease{min-height:100vh;background:#f5f5f5;padding:20px}.lease-header-bar{max-width:900px;margin:0 auto 20px;display:flex;justify-content:space-between;gap:10px}.btn-back,.btn-print{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-back{background:#6c757d;color:#fff}.btn-back:hover{background:#5a6268}.btn-print{background:#007bff;color:#fff}.btn-print:hover{background:#0056b3}.signed-lease-container{max-width:900px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;padding:40px;position:relative}.signed-badge{position:absolute;top:20px;right:20px;background:#28a745;color:#fff;padding:8px 16px;border-radius:20px;font-weight:700;font-size:14px}.lease-header{text-align:center;margin-bottom:40px;border-bottom:2px solid #333;padding-bottom:20px}.lease-header h1{font-size:28px;font-weight:700;margin-bottom:10px;color:#333}.property-address{font-size:16px;color:#666;font-weight:500}.lease-content{line-height:1.8}.lease-section{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #eee}.field-row{margin-bottom:10px;display:flex;flex-wrap:wrap}.field-label{font-weight:700;min-width:220px;color:#333}.field-value{color:#555;flex:1}.terms-section{margin-top:40px}.terms-section h2{font-size:22px;color:#333;margin-bottom:20px;text-align:center}.terms-section h3{font-size:16px;font-weight:700;color:#333;margin-top:20px;margin-bottom:10px}.terms-section p{text-align:justify;margin-bottom:15px;color:#444}.signature-section{margin-top:60px;padding-top:40px;border-top:2px solid #333}.signature-section h2{font-size:22px;color:#333;margin-bottom:30px}.signature-display{background:#f9f9f9;border:2px solid #333;border-radius:8px;padding:30px}.signature-image-container{background:#fff;border:1px solid #ddd;border-radius:4px;padding:20px;margin-bottom:20px;text-align:center}.signature-image{max-width:400px;height:auto;display:inline-block}.signature-info{margin-top:20px}.signature-info p{margin:8px 0;color:#555;font-size:14px}.signature-info strong{color:#333;font-weight:600}.loading{text-align:center;padding:100px 20px;font-size:20px;color:#666}.error-container{max-width:600px;margin:100px auto;background:#fff;border-radius:8px;padding:40px;text-align:center;box-shadow:0 2px 10px #0000001a}.error-container h1{color:#dc3545;font-size:28px;margin-bottom:20px}.error-container p{font-size:16px;color:#666;margin-bottom:30px}@media print{.lease-header-bar,.signed-badge{display:none}.signed-lease-container{box-shadow:none;padding:20px}}@media(max-width:768px){.signed-lease-container{padding:20px}.lease-header-bar{flex-direction:column}}.tenant-dashboard{min-height:100vh;background:#f5f7fa;padding:2rem}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{font-size:2rem;color:#333;margin:0 0 .5rem}.dashboard-header .subtitle{color:#666;font-size:1rem;margin:0}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;max-width:1400px}.info-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.info-card.full-width{grid-column:1 / -1}.info-card h2{font-size:1.25rem;color:#333;margin:0 0 1rem;border-bottom:2px solid #e5e7eb;padding-bottom:.75rem}.info-content{display:flex;flex-direction:column;gap:.75rem}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.info-row .label{font-weight:600;color:#555}.info-row .value{color:#333;text-align:right}.info-row .value.rent{font-size:1.25rem;font-weight:700;color:#10b981}.status-badge.approved{background:#d1fae5;color:#065f46}.documents-section{display:flex;flex-direction:column;gap:1.5rem}.document-group h3{font-size:1rem;color:#555;margin:0 0 .75rem}.document-list{display:flex;flex-direction:column;gap:.75rem}.document-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px;transition:background .2s}.document-item:hover{background:#f3f4f6}.document-icon{font-size:1.5rem}.document-info{flex:1;display:flex;flex-direction:column;gap:.25rem}.document-name{font-weight:600;color:#333}.document-date{font-size:.875rem;color:#666}.document-download{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.5rem 1rem;border-radius:6px;text-decoration:none;font-weight:600;font-size:.875rem;transition:transform .2s}.document-download:hover{transform:translateY(-2px)}.no-documents{text-align:center;color:#999;padding:2rem;font-style:italic}.loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:#666}.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;text-align:center;padding:2rem}.error-state h2{color:#991b1b;margin:0 0 1rem}.error-state p{color:#666}.action-bar{margin-bottom:1.5rem}.request-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.request-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.request-form-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #0000001a;margin-bottom:1.5rem}.request-form-card h2{font-size:1.25rem;color:#333;margin:0 0 1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#555;font-size:.875rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn,.submit-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;border:none;transition:all .2s}.cancel-btn{background:#f3f4f6;color:#333}.cancel-btn:hover{background:#e5e7eb}.submit-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.maintenance-list{display:flex;flex-direction:column;gap:1rem}.maintenance-item{padding:1.5rem;background:#f9fafb;border-radius:8px;border-left:4px solid #10b981}.maintenance-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:.75rem;gap:1rem}.maintenance-header h3{font-size:1.1rem;color:#333;margin:0}.category-badge{display:inline-block;background:#e5e7eb;color:#555;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;margin-top:.5rem}.maintenance-badges{display:flex;gap:.5rem;flex-wrap:wrap}.priority-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.priority-badge.priority-low{background:#e0f2fe;color:#075985}.priority-badge.priority-medium{background:#fef3c7;color:#92400e}.priority-badge.priority-high{background:#fed7aa;color:#9a3412}.priority-badge.priority-urgent{background:#fee2e2;color:#991b1b}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.in-progress{background:#dbeafe;color:#1e40af}.status-badge.completed{background:#d1fae5;color:#065f46}.status-badge.cancelled{background:#e5e7eb;color:#6b7280}.maintenance-description{color:#666;margin:0 0 .75rem;line-height:1.5}.maintenance-footer{display:flex;gap:1rem;font-size:.875rem;color:#999}.maintenance-resolved{color:#059669;font-weight:600}.no-requests{text-align:center;color:#999;padding:2rem;font-style:italic}.card-header-with-action{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;border-bottom:2px solid #e5e7eb;padding-bottom:.75rem}.card-header-with-action h2{font-size:1.25rem;color:#333;margin:0;border:none;padding:0}.upload-doc-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:transform .2s}.upload-doc-btn:hover{transform:translateY(-2px)}.document-delete{background:#fee2e2;color:#991b1b;border:none;padding:.5rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:all .2s}.document-delete:hover{background:#fecaca;transform:scale(1.1)}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;color:#333;font-size:1.25rem}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .2s}.modal-close:hover{background:#f3f4f6}.upload-form{padding:1.5rem}.upload-form .form-group{margin-bottom:1.5rem}.file-info{margin-top:.5rem;padding:.75rem;background:#f3f4f6;border-radius:6px;font-size:.875rem;color:#555}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fa}.app{min-height:100vh}.navbar{background:linear-gradient(135deg,#059669,#047857);color:#fff;padding:1rem 0;box-shadow:0 2px 10px #0000001a}.nav-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}.logo{font-size:1.5rem;font-weight:700}.nav-links{display:flex;gap:2rem;align-items:center}.logout-section{display:flex;flex-direction:column;gap:.25rem;align-items:flex-end}.nav-links a{color:#fff;text-decoration:none;font-weight:500;transition:opacity .2s}.nav-links a:hover{opacity:.8}.logout-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;font-size:.875rem}.logout-btn:hover{background:#ffffff4d;border-color:#ffffff80}.user-email{font-size:.8rem;color:#ffffffd9;letter-spacing:.01em}.main-content{max-width:1200px;margin:2rem auto;padding:0 2rem}.loading{text-align:center;padding:3rem;font-size:1.2rem;color:#666}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.page-header h1{font-size:2rem;color:#333}.page-header--brand h1{color:#fff}.page-count{color:#6ee7b7;font-weight:600;margin-left:.4rem;font-size:1.3rem}.btn-primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.status-badge.vacant{background:#fef3c7;color:#92400e}.status-badge.occupied{background:#d1fae5;color:#065f46}.status-badge.maintenance{background:#fee2e2;color:#991b1b}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.inactive{background:#e5e7eb;color:#6b7280}.add-form{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem}.add-form h2{margin-bottom:1.5rem;color:#333}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1 / -1}.form-group label{font-weight:600;margin-bottom:.5rem;color:#555}.form-group input,.form-group select,.form-group textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#10b981}.empty-state{text-align:center;padding:3rem;background:#fff;border-radius:12px;color:#666}
