:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;--navy:#14283f;--navy-2:#1d3856;--gold:#b9904a;--line:#e4e8ed;--muted:#6b7280;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{background:var(--navy);color:#fff;z-index:30;flex-direction:column;width:264px;padding:22px 16px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 24px #14283f14}.brand{border-bottom:1px solid #ffffff1f;align-items:center;gap:12px;padding:0 8px 22px;display:flex}.brand-mark{color:#e5c98f;background:#b9904a2e;border-radius:12px;place-items:center;width:42px;height:42px;font-size:25px;display:grid}.brand strong,.brand span{display:block}.brand strong{font-size:17px}.brand span{color:#b7c2cf;margin-top:2px;font-size:12px}.sidebar nav{flex-direction:column;flex:1;gap:4px;margin-top:22px;display:flex}.sidebar nav a{color:#cbd5df;border-radius:10px;align-items:center;gap:12px;padding:11px 12px;font-size:14px;display:flex}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#ffffff1a}.sidebar nav a.active{box-shadow:inset 3px 0 0 var(--gold)}.sidebar-footer{border-top:1px solid #ffffff1f;justify-content:space-between;align-items:center;padding-top:16px;display:flex}.sidebar-footer button,.sidebar-close{color:#cbd5df;background:0 0;border:0;padding:8px}.user-chip{align-items:center;gap:10px;display:flex}.avatar{width:34px;height:34px;color:var(--navy);background:#e5c98f;border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.user-chip strong,.user-chip span{display:block}.user-chip strong{font-size:13px}.user-chip span{color:#aebbc8;text-transform:capitalize;font-size:11px}.sidebar-close{display:none;position:absolute;top:10px;right:10px}.main-area{min-height:100vh;margin-left:264px}.topbar{border-bottom:1px solid var(--line);z-index:15;background:#fff;align-items:center;height:76px;padding:0 30px;display:flex;position:sticky;top:0}.topbar strong,.topbar span{display:block}.topbar strong{color:var(--navy);font-size:15px}.topbar span{color:var(--muted);margin-top:2px;font-size:12px}.topbar-cross{color:var(--gold);margin-left:auto;font-size:25px}.menu-button{background:0 0;border:0;margin-right:12px;display:none}.page{max-width:1560px;margin:0 auto;padding:30px}.page-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.page-heading h1{color:var(--navy);letter-spacing:-.5px;margin:2px 0 5px;font-size:30px}.page-heading p{color:var(--muted);margin:0}.eyebrow{letter-spacing:1.5px;font-weight:800;color:var(--gold)!important;font-size:11px!important}.primary,.secondary{border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:13px;font-weight:700;display:inline-flex}.primary{background:var(--navy);color:#fff}.primary:hover{background:var(--navy-2)}.secondary{border:1px solid var(--line);color:var(--navy);background:#fff}.wide{width:100%}.primary:disabled,.secondary:disabled{opacity:.55;cursor:not-allowed}.card{border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:0 3px 14px #1f293709}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:15px;padding:20px;display:flex}.stat-icon{width:46px;height:46px;color:var(--navy);background:#eef3f7;border-radius:12px;place-items:center;display:grid}.stat-card.success .stat-icon{color:#237a45;background:#eaf7ef}.stat-card.warning .stat-icon{color:#9b6a09;background:#fff5dc}.stat-card.danger .stat-icon{color:#a83434;background:#fceded}.stat-card span,.stat-card strong,.stat-card small{display:block}.stat-card span{color:var(--muted);font-size:13px}.stat-card strong{color:var(--navy);margin:1px 0;font-size:28px}.stat-card small{color:#8a929c;font-size:11px}.dashboard-grid{grid-template-columns:1fr 1fr 1fr;gap:18px;display:grid}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.card-header{justify-content:space-between;align-items:center;padding:20px 22px 14px;display:flex}.card-header h2,.card h3{color:var(--navy);margin:0;font-size:17px}.card-header p{color:var(--muted);margin:4px 0 0;font-size:12px}.sector-list{padding:0 22px 22px}.sector-row{grid-template-columns:24px 1fr 100px 42px;align-items:center;gap:12px;padding:9px 0;display:grid}.sector-row strong{color:var(--navy)}.sector-row span,.sector-row em{color:var(--muted);text-align:right;font-size:12px;font-style:normal}.progress{background:#edf0f3;border-radius:999px;height:8px;overflow:hidden}.progress span{background:var(--navy-2);border-radius:999px;height:100%;display:block}.money-list{padding:0 22px 18px}.money-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:13px 0;display:flex}.money-list span{color:var(--muted);font-size:13px}.money-list strong{color:var(--navy)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{text-align:left;text-transform:uppercase;letter-spacing:.6px;color:#78818c;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafbfc;padding:12px 16px;font-size:11px}td{border-bottom:1px solid #edf0f2;padding:13px 16px;font-size:13px}tbody tr:last-child td{border-bottom:0}.clickable:hover{background:#fafcfd}.badge{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.badge-liber{color:#247948;background:#e8f7ee}.badge-concesionat,.badge-rezervat{color:#8a620d;background:#fff3d6}.badge-ocupat{color:#9b3333;background:#fae8e8}.toolbar{align-items:center;gap:16px;margin-bottom:16px;padding:14px;display:flex}.searchbox{border:1px solid var(--line);background:#fbfcfd;border-radius:9px;flex:1;align-items:center;gap:10px;padding:0 12px;display:flex}.searchbox input{background:0 0;border:0;outline:0;width:100%;padding:11px 0}.filters{align-items:center;gap:8px;display:flex}.filters select{border:1px solid var(--line);color:#394250;background:#fff;border-radius:9px;padding:10px 12px}.table-card{overflow:hidden}.pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:14px 16px;font-size:12px;display:flex}.pagination>div{gap:7px;display:flex}.pagination button{border:1px solid var(--line);color:var(--navy);background:#fff;border-radius:8px;align-items:center;gap:5px;padding:7px 10px;display:inline-flex}.pagination button:disabled{opacity:.45}.loading-cell{color:var(--muted);text-align:center!important;padding:40px!important}.alert{border-radius:10px;align-items:center;gap:9px;margin-bottom:16px;padding:12px 14px;font-size:13px;display:flex}.alert.error{color:#9f2f2f;background:#fff0f0;border:1px solid #f4caca}.muted{color:var(--muted)}.empty-state{text-align:center;color:#8a929c;padding:28px 10px;font-size:13px}.loading-page{text-align:center;color:var(--muted);padding:60px}.back-link{color:var(--muted);align-items:center;gap:6px;margin-bottom:18px;font-size:13px;display:inline-flex}.detail-hero{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.detail-title{align-items:center;gap:12px;display:flex}.detail-title h1{color:var(--navy);margin:0;font-size:31px}.detail-hero p{color:var(--muted);margin:5px 0 0;font-size:13px}.actions{gap:9px;display:flex}.quick-actions{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px;display:grid}.quick-actions button{border:1px solid var(--line);color:var(--navy);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:13px;font-size:12px;font-weight:700;display:flex}.quick-actions svg{width:17px}.detail-grid{grid-template-columns:minmax(0,1fr) 330px;gap:18px;display:grid}.detail-main,.detail-side{flex-direction:column;gap:16px;display:flex}.detail-side .card{padding:20px}.detail-side h3{margin-bottom:14px}.detail-section{overflow:hidden}.detail-section>.info-grid,.detail-section>.record,.detail-section>.mini-table,.detail-section>.note,.detail-section>.empty-state{margin-left:22px;margin-right:22px}.detail-section>.record:last-child,.detail-section>.mini-table:last-child,.detail-section>.note:last-child{margin-bottom:20px}.count{min-width:23px;height:23px;color:var(--muted);background:#eef2f5;border-radius:999px;place-items:center;margin-left:8px;padding:0 7px;font-size:11px;display:inline-grid}.info-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px;display:grid}.info{background:#f8fafb;border-radius:9px;padding:14px}.info span,.info strong{display:block}.info span{color:var(--muted);margin-bottom:5px;font-size:11px}.info strong{color:var(--navy);text-transform:capitalize;font-size:14px}.note{border-top:1px solid var(--line);padding:15px 0 20px}.note strong{color:var(--navy);font-size:12px}.note p{color:var(--muted);margin:5px 0 0;font-size:13px}.record{border-top:1px solid var(--line);align-items:center;gap:12px;padding:13px 0;display:flex}.record-avatar{width:38px;height:38px;color:var(--navy);background:#edf2f6;border-radius:10px;place-items:center;font-size:12px;font-weight:800;display:grid}.record strong,.record span{display:block}.record strong{color:var(--navy);font-size:13px}.record span{color:var(--muted);margin-top:3px;font-size:12px}.deceased .record-avatar{color:var(--gold);font-size:19px}.mini-table{border-top:1px solid var(--line)}.mini-table>div{border-bottom:1px solid var(--line);grid-template-columns:1fr 1.4fr 1fr 70px;gap:10px;padding:12px 0;font-size:12px;display:grid}.mini-table>div:last-child{border-bottom:0}.mini-table span,.mini-table em{color:var(--muted);font-style:normal}.photo-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.photo-placeholder{aspect-ratio:1;color:#8b96a1;background:#eef2f5;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:10px;display:flex}.map-placeholder{height:150px;color:var(--navy);background:linear-gradient(135deg,#eaf0f4,#dfe7ed);border-radius:10px;justify-content:center;align-items:center;gap:8px;font-weight:800;display:flex}.location-card p{color:var(--muted);margin:10px 0 0;font-size:12px}.placeholder-page{text-align:center;min-height:500px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.placeholder-page h1{color:var(--navy);margin:14px 0 6px}.placeholder-page p{max-width:520px;margin:0}.placeholder-page svg{color:var(--gold)}.login-page{background:radial-gradient(circle at 20% 10%,#2c4c6b 0,var(--navy) 34%,#0d1c2d 100%);place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{text-align:center;background:#fff;border-radius:18px;width:min(440px,100%);padding:34px 38px;box-shadow:0 30px 80px #00000042}.login-symbol{width:58px;height:58px;color:var(--gold);background:#f4ead8;border-radius:16px;place-items:center;margin:0 auto 18px;font-size:32px;display:grid}.login-card h1{color:var(--navy);margin:5px 0 7px;font-size:27px}.login-card .muted{margin:0 0 24px;font-size:13px}.login-card form{text-align:left}.login-card label{color:#374151;margin:14px 0;font-size:12px;font-weight:700;display:block}.input-icon{border:1px solid var(--line);border-radius:10px;align-items:center;gap:9px;margin-top:6px;padding:0 12px;display:flex}.input-icon svg{color:#8b96a1}.input-icon input{border:0;outline:0;width:100%;padding:12px 0}.login-foot{border-top:1px solid var(--line);color:#8b96a1;margin-top:22px;padding-top:18px;font-size:11px}.scrim{display:none}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.span-3{grid-column:span 2}.detail-grid{grid-template-columns:1fr}.detail-side{grid-template-columns:1fr 1fr;display:grid}.quick-actions{grid-template-columns:repeat(2,1fr)}}@media (width<=800px){.sidebar{transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-close{display:block}.scrim{z-index:20;background:#0006;display:block;position:fixed;inset:0}.main-area{margin-left:0}.menu-button{display:inline-flex}.topbar{padding:0 16px}.page{padding:20px 14px}.toolbar{flex-direction:column;align-items:stretch}.filters{flex-wrap:wrap}.filters select{flex:1}.page-heading{flex-direction:column;align-items:stretch}.page-heading>button{align-self:flex-start}.detail-hero{flex-direction:column;align-items:flex-start}.info-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=560px){.stats-grid,.dashboard-grid{grid-template-columns:1fr}.span-2,.span-3{grid-column:span 1}.stat-card{padding:16px}.quick-actions{grid-template-columns:1fr}.detail-side{display:flex}.actions{width:100%}.actions button{flex:1}.info-grid{grid-template-columns:1fr 1fr}.login-card{padding:28px 22px}.topbar span{display:none}.mini-table>div{grid-template-columns:1fr 1fr}.mini-table>div span:nth-child(3),.mini-table>div em{display:none}.sector-row{grid-template-columns:20px 1fr 60px}.sector-row em{display:none}}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.module-card{align-items:flex-start;gap:15px;min-height:148px;padding:20px;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex}.module-card:hover{border-color:#d7dde4;transform:translateY(-2px);box-shadow:0 10px 28px #14283f14}.module-card-icon{width:46px;height:46px;color:var(--navy);background:#eef3f7;border-radius:13px;flex:0 0 46px;place-items:center;display:grid}.module-card-copy{flex:1;min-width:0}.module-card-title-row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.module-card h2{color:var(--navy);margin:2px 0 7px;font-size:16px;line-height:1.25}.module-card p{color:var(--muted);margin:0;font-size:12.5px;line-height:1.55}.module-status{white-space:nowrap;color:#886729;background:#f4ead8;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.sidebar nav{padding-right:2px;overflow-y:auto}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:#ffffff2e;border-radius:999px}.sidebar nav a{padding:10px 11px;font-size:13px}@media (width<=1200px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.module-grid{grid-template-columns:1fr}.module-card{min-height:auto}.module-card-title-row{display:block}.module-status{margin-bottom:7px;display:inline-flex}}.record-with-actions{align-items:center;gap:14px;display:flex}.record-content{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.record-content span{overflow-wrap:anywhere}.record-actions button,.modal-close{border:1px solid var(--border,#e4e7eb);color:#334155;cursor:pointer;background:#fff;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.record-actions button:hover{background:#f4f6f8}.record-actions .danger-icon:hover{color:brown;background:#fff1f1;border-color:#f1caca}.text-action{color:#17324f;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:6px 8px;font-weight:700;display:inline-flex}.text-action:hover{background:#f1f4f7}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a192a94;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:18px;width:min(620px,100%);max-height:calc(100vh - 40px);padding:26px;overflow:auto;box-shadow:0 24px 70px #00000047}.modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.modal-header h2{color:#162f4a;margin:4px 0 0;font-size:25px}.modal-close{flex:none}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.field{flex-direction:column;gap:7px;display:flex}.field-full{grid-column:1/-1}.field span{color:#344054;font-size:14px;font-weight:700}.field input,.field textarea{box-sizing:border-box;width:100%;font:inherit;color:#172b42;background:#fff;border:1px solid #d9dee5;border-radius:11px;outline:none;padding:12px 13px}.field input:focus,.field textarea:focus{border-color:#b79754;box-shadow:0 0 0 3px #b7975424}.field textarea{resize:vertical}.modal-actions{border-top:1px solid #edf0f3;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;display:flex}.alert.compact{margin:16px 0 0;padding:10px 12px}@media (width<=640px){.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.modal-card{padding:20px}.modal-actions{flex-direction:column-reverse}.modal-actions button{justify-content:center;width:100%}}.toast-success{z-index:1200;color:#fff;background:#173e2b;border-radius:12px;padding:12px 18px;font-weight:700;position:fixed;top:22px;right:24px;box-shadow:0 12px 30px #0000002e}.alert.error{justify-content:space-between;align-items:center;gap:16px;display:flex}.alert.error button{color:inherit;cursor:pointer;background:0 0;border:0;display:flex}.real-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-tile{border:1px solid var(--border);background:#eef2f5;border-radius:12px;min-height:120px;position:relative;overflow:hidden}.photo-tile img{object-fit:cover;width:100%;height:120px;display:block}.photo-tile>span{color:#fff;background:linear-gradient(#0000,#000000bf);padding:18px 8px 7px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.photo-tile>button{color:#9b2c2c;cursor:pointer;background:#ffffffeb;border:0;border-radius:9px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:7px;right:7px}.field input[type=file]{background:#fff;padding:10px}.field select{border:1px solid var(--border);width:100%;min-height:46px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:0 12px}@media (width<=700px){.toast-success{top:16px;left:16px;right:16px}.real-photos{grid-template-columns:1fr}.photo-tile img{height:180px}}.construction-card{border:1px solid var(--border,#dfe5ec);background:#fff;border-radius:14px;padding:16px}.construction-card-head>div:nth-child(2){flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.construction-icon{color:#8a6820;background:#f5efe2;border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.construction-status{text-transform:uppercase;letter-spacing:.04em;color:#596579;background:#eef1f5;border-radius:999px;width:max-content;padding:3px 8px;font-size:11px;font-weight:800}.construction-status.status-contractat{color:#7b5a00;background:#fff2cf}.construction-status.status-predat{color:#17643b;background:#dff5e8}.construction-details .info{background:#f8fafc;border-radius:9px;padding:9px 10px}@media (width<=900px){.construction-grid{grid-template-columns:1fr}}@media (width<=560px){.construction-details{grid-template-columns:1fr}.construction-card-head{flex-wrap:wrap;align-items:flex-start}.construction-card-head .text-action{margin-left:51px}}.modal-wide{max-width:760px}.scan-panel{border:1px dashed var(--border,#d7dde5);background:#f8fafc;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:14px;display:flex}.scan-panel span{color:#64748b;font-size:12px}.inline-inputs{grid-template-columns:100px 1fr;gap:8px;display:grid}.checks{gap:24px;padding:10px 0;display:flex}.checks label{align-items:center;gap:8px;display:flex}.record small{color:#64748b;margin-top:4px;display:block}.record-actions{gap:6px;margin-left:auto;display:flex}.record-actions button{background:0 0;border:0;padding:7px}.construction-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.construction-card{border:1px solid #e2e8f0;border-radius:14px;padding:16px}.construction-card-head{align-items:center;gap:10px;margin-bottom:14px;display:flex}.construction-card-head>div{flex-direction:column;display:flex}.construction-card-head button{margin-left:auto}.construction-details{grid-template-columns:1fr 1fr;gap:12px;display:grid}.alert.success{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}@media (width<=800px){.construction-grid{grid-template-columns:1fr}.modal-wide{max-width:94vw}.scan-panel{flex-direction:column;align-items:flex-start}}.alert.warning{color:#735414;background:#fff8e5;border:1px solid #efd58d;border-radius:10px;margin:12px 0;padding:12px 14px;font-size:.92rem}.input-missing{box-shadow:0 0 0 3px #d49a231f;background:#fffaf0!important;border-color:#d49a23!important}.scan-panel.field-full{grid-column:1/-1}.scan-panel>div{flex-direction:column;flex:1;gap:3px;display:flex}.scan-panel>div span{color:var(--muted,#667085);font-size:.86rem}.construction-card-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.construction-title{flex:1;align-items:flex-start;gap:10px;min-width:0;flex-direction:row!important;display:flex!important}.construction-title>div{flex-direction:column;gap:4px;min-width:0;display:flex}.construction-title strong{line-height:1.25}.construction-title span{color:#64748b;font-size:12px}.construction-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;flex-direction:row!important;display:flex!important}.construction-actions button{white-space:nowrap;margin-left:0!important}@media (width<=560px){.construction-card-head{flex-direction:column;align-items:stretch}.construction-actions{justify-content:flex-start;padding-left:34px}.construction-card-head .text-action{margin-left:0!important}}.report-grave-link{color:var(--navy);font-weight:800;text-decoration:none}.report-grave-link:hover{text-decoration:underline}.report-sub{color:var(--muted);margin-top:3px;font-size:11px}.report-deadline{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.report-deadline.success{color:#237a45;background:#eaf7ef}.report-deadline.warning{color:#9b6a09;background:#fff5dc}.report-deadline.danger{color:#a83434;background:#fceded}.report-deadline.neutral{color:#6b7280;background:#eef2f5}.report-action-button{cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d8dee6;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700}.report-action-button:hover{background:#f5f7f9}.report-action-button:disabled{opacity:.55;cursor:not-allowed}.detail-section>.photo-grid{margin-left:22px;margin-right:22px}.photo-tile img{transition:transform .18s}.photo-tile:hover img{transform:scale(1.025)}.photo-viewer-backdrop{z-index:2000;background:#050f19e0;justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.photo-viewer{background:#fff;border-radius:16px;flex-direction:column;max-width:1100px;max-height:94vh;display:flex;position:relative;overflow:hidden;box-shadow:0 30px 90px #00000073}.photo-viewer img{object-fit:contain;background:#111;max-width:100%;max-height:78vh;display:block}.photo-viewer-close{z-index:2;color:#172b42;cursor:pointer;background:#fffffff0;border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:12px;right:12px;box-shadow:0 3px 12px #0003}.photo-viewer-info{flex-direction:column;gap:4px;padding:14px 18px 16px;display:flex}.photo-viewer-info strong{color:var(--navy);font-size:15px}.photo-viewer-info span{color:#475569;font-size:13px}.photo-viewer-info small{color:#94a3b8;font-size:11px}@media (width<=700px){.photo-viewer-backdrop{padding:10px}.photo-viewer{width:100%}.photo-viewer img{max-height:72vh}}.real-photos{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;padding:0!important;display:grid!important}.real-photos .photo-tile{aspect-ratio:4/3;background:#eef2f5;border-radius:12px;width:100%;position:relative;overflow:hidden;height:auto!important;min-height:0!important}.real-photos .photo-tile img{display:block;object-fit:cover!important;width:100%!important;height:100%!important;min-height:0!important}.real-photos .photo-tile>span{color:#fff;pointer-events:none;background:linear-gradient(#0000,#000000b8);padding:24px 10px 8px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.real-photos .photo-tile>button{cursor:pointer;z-index:2;background:#ffffffeb;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:8px;right:8px}@media (width<=900px){.real-photos{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=600px){.real-photos{grid-template-columns:1fr!important}}.photo-badges{z-index:3;flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:8px;left:8px}.photo-category,.photo-primary-badge{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:999px;align-items:center;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.photo-category{color:#17324f;background:#ffffffeb}.photo-primary-badge{color:#fff;background:#b9904af0}.photo-actions{z-index:4;gap:6px;display:flex;position:absolute;top:8px;right:8px}.photo-actions button{color:#17324f;cursor:pointer;background:#fffffff0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 2px 8px #0000001f}.photo-actions button:last-child{color:#9b2c2c}.photo-primary-check{align-items:center;gap:10px;flex-direction:row!important;font-weight:600!important;display:flex!important}.photo-primary-check input{margin:0;width:auto!important}.cemetery-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=1100px){.cemetery-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.cemetery-stats{grid-template-columns:1fr}}.sector-total-row td{color:var(--navy);background:#f2f6fb;border-top:2px solid #dbe4ef;font-weight:800}.sector-total-row td:first-child{letter-spacing:.4px}.report-export-actions{gap:8px;display:flex}.report-export-actions .secondary{padding:8px 11px}.cemetery-report-table .sector-main-row td{background:#fbfcfe}.sector-expand-button{color:var(--navy);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0;display:inline-flex}.sector-total-row td{color:var(--navy);border-top:2px solid #cedae7;background:#eef4fa!important}@media (width<=800px){.report-export-actions{width:100%}.report-export-actions button{flex:1}}.report-export-actions{align-items:center;gap:8px;display:flex}.report-export-actions button{align-items:center;gap:6px;display:inline-flex}.cemetery-report-table .sector-main-row td{background:#fbfcfe;font-weight:600}.cemetery-report-table .sector-main-row:hover td{background:#f5f8fb}.sector-expand-button{cursor:pointer;color:var(--navy);font:inherit;background:0 0;border:0;align-items:center;gap:7px;margin:0;padding:0;display:inline-flex}.parcel-row td{color:#5b6876;background:#fff}.parcel-row td:first-child{padding-left:42px}.parcel-name{color:#536273;align-items:center;font-weight:700;display:inline-flex}.parcel-name:before{content:"↳";color:#a2acb7;margin-right:8px}.sector-total-row td{color:var(--navy);font-weight:800;background:#eef4fa!important;border-top:2px solid #ccd9e6!important}@media (width<=800px){.report-export-actions{width:100%}.report-export-actions button{flex:1;justify-content:center}}.report-tabs{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:6px;margin-bottom:18px;padding:5px;display:flex;overflow-x:auto}.report-tab{color:#667085;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:750}.report-tab:hover{color:var(--navy);background:#f4f6f8}.report-tab.active{background:var(--navy);color:#fff}.management-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.report-summary-card{padding:19px 21px}.report-summary-card h3{margin:0 0 12px}.report-summary-card>div>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:10px 0;display:flex}.report-summary-card span{color:var(--muted);font-size:12px}.report-summary-card strong{color:var(--navy);text-align:right}.money-stat-value{line-height:1.2;font-size:20px!important}.report-info-card{padding:22px}.report-info-card h2{color:var(--navy);margin:0 0 7px}.report-info-card p{color:var(--muted);margin:0;line-height:1.6}.collection-progress-card{margin-bottom:18px;padding:22px}.collection-progress-card>div:first-child{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.collection-progress-card span{color:var(--muted);font-size:13px}.collection-progress-card strong{color:var(--navy);font-size:24px}.collection-progress{background:#edf0f3;border-radius:999px;width:100%;height:10px;margin-bottom:10px;overflow:hidden}.collection-progress span{background:var(--navy);border-radius:999px;height:100%;display:block}.collection-progress-card small{color:var(--muted)}@media (width<=900px){.management-grid{grid-template-columns:1fr}}.accounting-contract-summary{background:#f7f9fb;border:1px solid #e5e9ee;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:4px;padding:14px;display:grid}.accounting-contract-summary>div{background:#fff;border-radius:9px;padding:9px 11px}.accounting-contract-summary span,.accounting-contract-summary strong{display:block}.accounting-contract-summary span{color:#6b7280;margin-bottom:4px;font-size:11px}.accounting-contract-summary strong{color:#14283f;font-size:13px}@media (width<=640px){.accounting-contract-summary{grid-template-columns:1fr}}
