:root{--background:#f5f6f8;--surface:#fff;--surface-muted:#f8fafc;--text:#172033;--text-muted:#667085;--border:#dfe3ea;--border-strong:#c9d0db;--primary:#1f5eff;--primary-hover:#164bd6;--danger:#b42318;--danger-soft:#fff1f0;--success:#067647;--success-soft:#ecfdf3;--shadow:0 1px 2px #1018280a, 0 8px 24px #1018280d;--radius:12px}*{box-sizing:border-box}html{background:var(--background)}body{color:var(--text);background:var(--background);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}h1{letter-spacing:-.025em;margin-bottom:8px;font-size:clamp(1.65rem,2vw,2.15rem);line-height:1.2}h2{letter-spacing:-.015em}.app-shell{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:4px 6px 22px;display:flex}.brand-mark{color:#fff;background:var(--primary);border-radius:10px;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand strong,.brand small{display:block}.brand strong{font-size:.95rem}.brand small{color:var(--text-muted);margin-top:2px;font-size:.75rem}.dashboard-nav{gap:4px;display:grid}.nav-link{color:var(--text-muted);border-radius:8px;padding:10px 12px;font-size:.92rem;font-weight:600}.nav-link:hover,.nav-link.active{color:var(--text);background:#f0f4ff}.sidebar-footer{border-top:1px solid var(--border);margin-top:auto;padding-top:18px}.signed-in-email{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-bottom:10px;font-size:.78rem;display:block;overflow:hidden}.app-main{min-width:0}.mobile-header{display:none}.page-container{width:min(1480px,100%);margin:0 auto;padding:34px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.page-header p{color:var(--text-muted);margin-bottom:0}.eyebrow{color:var(--primary);letter-spacing:.09em;text-transform:uppercase;margin-bottom:7px;font-size:.76rem;font-weight:800}.button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 14px;font-size:.88rem;font-weight:700;line-height:1;transition:background .14s,border-color .14s,color .14s;display:inline-flex}.button:disabled{cursor:wait;opacity:.65}.button-primary{color:#fff;background:var(--primary)}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-secondary{color:var(--text);background:var(--surface);border-color:var(--border-strong)}.button-secondary:hover:not(:disabled){background:var(--surface-muted)}.button-ghost{color:var(--text-muted);background:0 0}.button-danger{color:var(--danger);background:var(--danger-soft);border-color:#fecdca}.button-danger:hover:not(:disabled){background:#fee4e2}.button-small{min-height:34px;padding:7px 10px;font-size:.8rem}.button-block{width:100%}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.summary-card span{color:var(--text-muted);font-size:.82rem;font-weight:600}.summary-card strong{font-size:1.45rem}.list-panel,.form-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.list-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.search-form{flex:1;gap:8px;display:flex}.search-form input{width:min(560px,100%)}.status-tabs{background:var(--surface-muted);border:1px solid var(--border);border-radius:9px;gap:2px;padding:3px;display:flex}.status-tab{color:var(--text-muted);border-radius:6px;padding:7px 10px;font-size:.8rem;font-weight:700}.status-tab.active{color:var(--text);background:var(--surface);box-shadow:0 1px 2px #10182814}.record-list{display:grid}.record-card{border-bottom:1px solid var(--border);grid-template-columns:150px minmax(0,1fr) auto;align-items:stretch;gap:18px;padding:18px;display:grid}.record-card:last-child{border-bottom:0}.record-media,.record-placeholder{background:var(--surface-muted);border:1px solid var(--border);border-radius:9px;width:150px;min-height:118px;overflow:hidden}.record-media img{object-fit:cover;width:100%;height:100%;min-height:118px;display:block}.record-placeholder{color:var(--text-muted);place-items:center;font-size:.78rem;display:grid}.record-content{min-width:0}.record-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.record-title-row h2{margin:2px 0 0;font-size:1.06rem}.record-code{color:var(--text-muted);letter-spacing:.04em;font-size:.72rem;font-weight:700}.badge{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;max-width:160px;padding:4px 8px;font-size:.72rem;font-weight:700;overflow:hidden}.badge-active{color:var(--success);background:var(--success-soft)}.badge-muted{color:#475467;background:#f2f4f7}.record-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.record-data-grid span,.record-data-grid strong,.record-data-grid small{display:block}.record-data-grid span{color:var(--text-muted);text-transform:uppercase;margin-bottom:3px;font-size:.7rem;font-weight:700}.record-data-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.record-data-grid small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.74rem;overflow:hidden}.record-actions{flex-direction:column;gap:8px;display:flex}.record-actions form,.record-actions .button{width:100%}.empty-state{text-align:center;padding:70px 24px}.empty-state h2{margin-bottom:6px;font-size:1.2rem}.empty-state p{color:var(--text-muted)}.pagination{border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;align-items:center;padding:14px 16px;font-size:.82rem;display:flex}.page-link{color:var(--text);font-weight:700}.page-link.disabled{pointer-events:none;opacity:.4}.property-form{gap:18px;display:grid}.form-section{overflow:hidden}.form-section-heading{border-bottom:1px solid var(--border);background:var(--surface-muted);padding:18px 20px}.form-section-heading h2{margin-bottom:3px;font-size:1rem}.form-section-heading p{color:var(--text-muted);margin-bottom:0;font-size:.8rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;padding:20px;display:grid}.form-grid-spaced{padding-top:0}.field{align-content:start;gap:7px;min-width:0;display:grid}.field-full{grid-column:1/-1}.field label,.field-label{color:#344054;font-size:.8rem;font-weight:700}input,select,textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;outline:none}input,select{min-height:42px;padding:9px 11px}textarea{resize:vertical;padding:10px 11px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1f5eff1c}input[type=checkbox],input[type=radio]{width:17px;height:17px;min-height:auto;accent-color:var(--primary);padding:0}input[type=file]{background:var(--surface-muted);padding:7px}.field-hint,.field-error{font-size:.73rem}.field-hint{color:var(--text-muted)}.field-error,.form-error{color:var(--danger)}.form-message{color:var(--danger);background:var(--danger-soft);border-radius:var(--radius);border:1px solid #fecdca;gap:3px;padding:14px 16px;font-size:.85rem;display:grid}.form-message ul{margin:6px 0 0;padding-left:20px}.facility-groups{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px;display:grid}.facility-group{border:1px solid var(--border);border-radius:9px;gap:9px;margin:0;padding:13px;display:grid}.facility-group legend{color:var(--text-muted);padding:0 5px;font-size:.76rem;font-weight:800}.checkbox-row,.radio-row{color:#344054;cursor:pointer;align-items:center;gap:8px;font-size:.8rem;display:flex}.danger-check{color:var(--danger)}.existing-single-image{align-content:start;gap:8px;display:grid}.existing-single-image img{object-fit:cover;border:1px solid var(--border);border-radius:9px;width:150px;height:150px}.existing-image-grid,.new-image-preview-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.existing-image-card{background:var(--surface-muted);border:1px solid var(--border);border-radius:9px;gap:8px;padding:8px;display:grid}.existing-image-card img,.new-image-preview img{object-fit:cover;border-radius:6px;width:100%;height:130px;display:block}.new-image-preview-grid{margin-top:4px}.new-image-preview{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;padding:6px}.form-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.sticky-actions{z-index:10;border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:10px;padding:12px;position:sticky;bottom:12px}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--surface);border:1px solid var(--border);width:min(430px,100%);box-shadow:var(--shadow);border-radius:14px;padding:28px}.login-card h1{font-size:1.55rem}.login-card>p{color:var(--text-muted);font-size:.88rem}.login-form{gap:16px;margin-top:24px;display:grid}@media (max-width:1180px){.record-card{grid-template-columns:120px minmax(0,1fr)}.record-media,.record-placeholder{width:120px}.record-actions{flex-direction:row;grid-column:1/-1;justify-content:flex-end}.record-actions form,.record-actions .button{width:auto}.record-data-grid,.facility-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.app-shell{display:block}.sidebar{display:none}.mobile-header{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;justify-content:space-between;align-items:center;min-height:58px;padding:10px 16px;display:flex;position:sticky;top:0}.mobile-brand{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:800;overflow:hidden}.page-container{padding:22px 16px 80px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.list-toolbar{flex-direction:column;align-items:stretch}.search-form input{width:100%}.status-tabs{width:max-content;max-width:100%}}@media (max-width:680px){.page-header{flex-direction:column;align-items:stretch}.page-header>.button{width:100%}.search-form{grid-template-columns:1fr auto;display:grid}.search-form input{grid-column:1/-1}.record-card{grid-template-columns:1fr}.record-media,.record-placeholder{width:100%;height:190px}.record-media img{height:190px}.record-actions{grid-column:auto;grid-template-columns:repeat(3,1fr);display:grid}.record-actions form,.record-actions .button{width:100%}.record-title-row{align-items:flex-start}.record-data-grid,.form-grid,.facility-groups{grid-template-columns:1fr}.field-full{grid-column:auto}.form-grid,.facility-groups{padding:16px}.form-actions{grid-template-columns:1fr 1fr;display:grid}.form-actions .button{width:100%}}.page-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:680px){.page-header-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.page-header-actions .button{width:100%}}.location-capture{background:var(--surface-muted);border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;padding:14px;display:grid}.location-capture-copy{gap:3px;min-width:0;display:grid}.location-capture-copy strong{color:var(--text);font-size:.86rem}.location-capture-copy span,.location-status{color:var(--text-muted);font-size:.76rem}.location-capture-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.location-status{grid-column:1/-1;margin:0}.location-status-success{color:#067647}.location-status-error{color:var(--danger)}@media (max-width:700px){.location-capture{grid-template-columns:1fr}.location-capture-actions{justify-content:stretch}.location-capture-actions .button{width:100%}.location-status{grid-column:auto}}.button-important{color:#854d0e;background:#fffbeb;border-color:#fde68a}.button-important:hover:not(:disabled){background:#fef3c7}.button-important-active{color:#78350f;background:#fef3c7;border-color:#f59e0b}.button-important-active:hover:not(:disabled){background:#fde68a}.record-card-important{background:#fffdf7;box-shadow:inset 3px 0 #f59e0b}.record-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.badge-important{color:#854d0e;background:#fef3c7}@media (max-width:680px){.record-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.record-badges{justify-content:flex-start}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-header-compact{margin-bottom:14px}.summary-grid-compact{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:14px}.summary-grid-compact .summary-card{min-height:58px;padding:10px 14px}.summary-grid-compact .summary-card strong{font-size:1.2rem}.property-table-panel{overflow:visible}.list-toolbar-compact{padding:12px}.property-table-wrap{width:100%}.property-table{border-collapse:collapse;table-layout:fixed;width:100%}.property-table th{height:38px;color:var(--text-muted);background:var(--surface-muted);border-bottom:1px solid var(--border);letter-spacing:.04em;text-align:left;text-transform:uppercase;padding:8px 10px;font-size:.68rem;font-weight:800}.property-table td{vertical-align:middle;border-bottom:1px solid var(--border);height:66px;padding:8px 10px;font-size:.78rem}.property-table tbody tr:last-child td{border-bottom:0}.property-table tbody tr:hover{background:#fafbfc}.property-row-important{background:#fffdf7;box-shadow:inset 3px 0 #f59e0b}.property-row-important:hover{background:#fffaf0!important}.property-table th:first-child,.property-primary-cell{width:25%}.column-contact{width:15%}.column-location{width:19%}.column-type{width:10%}.column-rent{width:9%}.column-status{width:10%}.column-updated{width:8%}.column-actions{width:78px;text-align:right!important}.property-primary{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;min-width:0;display:grid}.property-table-thumb{width:44px;height:44px;color:var(--text-muted);background:var(--surface-muted);border:1px solid var(--border);border-radius:7px;place-items:center;font-size:.72rem;display:grid;overflow:hidden}.property-table-thumb img{object-fit:cover;width:100%;height:100%;display:block}.property-primary-copy,.table-text-cell{min-width:0}.property-title-line{align-items:center;gap:5px;min-width:0;display:flex}.property-title-line a{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:750;overflow:hidden}.property-title-line a:hover{text-decoration:underline}.table-important-star{color:#d97706;flex:none;font-size:.82rem}.property-primary-copy .record-code{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;display:block;overflow:hidden}.property-mobile-details{display:none}.table-text-cell strong,.table-text-cell small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.table-text-cell strong{color:var(--text);font-size:.78rem;font-weight:700}.table-text-cell small{color:var(--text-muted);margin-top:3px;font-size:.69rem}.table-money-cell,.table-date-cell{color:var(--text);white-space:nowrap;font-size:.76rem;font-weight:650}.table-date-cell{color:var(--text-muted);font-weight:500}.table-status-stack{justify-items:start;gap:4px;display:grid}.table-status-stack .badge{max-width:100%;padding:3px 6px;font-size:.65rem}.property-actions-cell{text-align:right;position:relative}.row-actions-menu{display:inline-block;position:relative}.row-actions-menu>summary{min-width:64px;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:7px;justify-content:center;align-items:center;padding:6px 8px;font-size:.7rem;font-weight:750;list-style:none;display:inline-flex}.row-actions-menu>summary::-webkit-details-marker{display:none}.row-actions-menu>summary:after{content:"▾";color:var(--text-muted);margin-left:5px;font-size:.62rem}.row-actions-menu[open]>summary{border-color:#98a2b3;box-shadow:0 0 0 3px #98a2b31f}.row-actions-popover{z-index:40;background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:9px;gap:2px;width:168px;padding:5px;display:grid;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 12px 28px #1018282e}.row-actions-popover form{width:100%}.row-menu-action{width:100%;min-height:32px;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;padding:7px 9px;font-size:.74rem;font-weight:650;display:flex}.row-menu-action:hover:not(:disabled){background:var(--surface-muted)}.row-menu-action:disabled{cursor:wait;opacity:.6}.row-menu-important-active{color:#92400e;background:#fffbeb}.row-menu-danger{color:var(--danger)}@media (max-width:1180px){.property-table th:first-child,.property-primary-cell{width:29%}.column-location{width:23%}.column-rent,.column-updated{display:none}}@media (max-width:900px){.summary-grid-compact{scrollbar-width:thin;grid-template-columns:repeat(5,minmax(104px,1fr));overflow-x:auto}.column-type,.column-status{display:none}.property-table th:first-child,.property-primary-cell{width:37%}.column-contact{width:25%}.column-location{width:auto}}@media (max-width:680px){.page-header-compact{margin-bottom:10px}.page-header-compact p{display:none}.summary-grid-compact{gap:7px;margin:0 -16px 10px;padding:0 16px 4px}.summary-grid-compact .summary-card{min-height:50px;padding:8px 10px}.summary-grid-compact .summary-card strong{font-size:1.05rem}.list-toolbar-compact{gap:10px;padding:10px}.property-table,.property-table tbody{display:block}.property-table thead{display:none}.property-table tbody{width:100%}.property-table tbody tr{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-height:88px;padding:9px 10px;display:grid}.property-table tbody tr:last-child{border-bottom:0}.property-table td{border:0;height:auto;padding:0;display:none;width:auto!important}.property-table .property-primary-cell,.property-table .property-actions-cell{display:block}.property-primary{grid-template-columns:40px minmax(0,1fr);gap:8px}.property-table-thumb{width:40px;height:40px}.property-title-line a{font-size:.8rem}.property-primary-copy .record-code{font-size:.64rem}.property-mobile-details{color:var(--text-muted);flex-wrap:wrap;gap:3px 8px;margin-top:4px;font-size:.66rem;line-height:1.25;display:flex}.property-mobile-details span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.property-mobile-details span:not(:last-child):after{content:"·";color:#98a2b3;margin-left:8px}.property-actions-cell{position:static}.row-actions-menu>summary{color:#0000;width:34px;min-width:34px;height:32px;padding:0;font-size:0;overflow:hidden}.row-actions-menu>summary:after{content:"•••";color:var(--text-muted);letter-spacing:.05em;margin:0;font-size:.72rem}.row-actions-popover{top:42px;right:10px}.pagination{gap:8px;padding:11px 10px;font-size:.72rem}}
