/* PropertyFlow's navigation uses one consistent 24px outline icon family. */
:root {
  --pf-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zM9 21v-7h6v7'/%3E%3C/svg%3E");
  --pf-properties: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v16M16 10h3a2 2 0 0 1 2 2v9M1.5 21h21M7 7h1m3 0h1m-5 4h1m3 0h1m-5 4h1m3 0h1M8 21v-3h3v3'/%3E%3C/svg%3E");
  --pf-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18m-13 5h1m3 0h1m3 0h1m-9 3h1m3 0h1'/%3E%3C/svg%3E");
  --pf-maintenance: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6a5.5 5.5 0 0 0 6.2 7.7l-7.9 7.9a2.1 2.1 0 0 1-3-3l7.9-7.9A5.5 5.5 0 0 0 14 6l3 3 3-3-3-3a5.5 5.5 0 0 0-3 3z' transform='rotate(0 12 12)'/%3E%3Cpath d='m4 3 4 4-2 2-4-4zM7 8l5 5'/%3E%3C/svg%3E");
  --pf-pool: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13V5a2 2 0 0 1 4 0m2 8V5a2 2 0 0 1 4 0M7 8h6m-6 4h6M2 16c2 2 4 2 6 0 2 2 4 2 6 0 2 2 4 2 6 0l2 1M2 20c2 2 4 2 6 0 2 2 4 2 6 0 2 2 4 2 6 0l2 1'/%3E%3C/svg%3E");
  --pf-cleaning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 3 6 6-8 8-6-6zM7 11 3 16l5 5 5-4M5 18l3-3m-1 5 3-3M4 4v4M2 6h4m13 9v4m-2-2h4'/%3E%3C/svg%3E");
  --pf-inspections: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3'/%3E%3Crect x='8' y='2' width='8' height='5' rx='2'/%3E%3Cpath d='m7 14 3 3 7-7'/%3E%3C/svg%3E");
  --pf-accounting: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7 7h10M7 11h10m-10 4h2m6 0h2m-10 3h2m6 0h2'/%3E%3C/svg%3E");
  --pf-payments: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='3'/%3E%3Cpath d='M3 10h18M6 15h4m3 0h2'/%3E%3C/svg%3E");
  --pf-staff: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M2 20v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2M16 5a3 3 0 0 1 0 6m2 3a5 5 0 0 1 4 5v1'/%3E%3C/svg%3E");
  --pf-assignments: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3Cpath d='M10 6h4a4 4 0 0 1 4 4v4M6 10v4a4 4 0 0 0 4 4h4'/%3E%3C/svg%3E");
  --pf-reports: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM14 3v5h4M8 12h6M8 16h6'/%3E%3C/svg%3E");
  --pf-analytics: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 17v-5m5 5V8m5 9V4'/%3E%3C/svg%3E");
  --pf-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}

/* Shared mappings for the connected app and the separate fictional demo. */
[data-action='nav:dashboard'], button[onclick="navigate('dashboard')"] { --pf-icon:var(--pf-home); }
[data-action='nav:properties'], button[onclick="navigate('propiedades')"] { --pf-icon:var(--pf-properties); }
[data-action='nav:calendar'], button[onclick="navigate('calendario')"] { --pf-icon:var(--pf-calendar); }
[data-action='nav:reservations'] { --pf-icon:var(--pf-assignments); }
[data-action='nav:maintenance'], button[onclick="navigate('mantenimiento')"] { --pf-icon:var(--pf-maintenance); }
[data-action='nav:pool'], button[onclick="navigate('piscinas')"] { --pf-icon:var(--pf-pool); }
[data-action='nav:cleaning'], button[onclick="navigate('limpieza')"] { --pf-icon:var(--pf-cleaning); }
[data-action='nav:inspections'], button[onclick="navigate('inspecciones')"] { --pf-icon:var(--pf-inspections); }
[data-action='nav:accounting'], button[onclick="navigate('contabilidad')"] { --pf-icon:var(--pf-accounting); }
[data-action='nav:payments'], button[onclick="navigate('pagos')"] { --pf-icon:var(--pf-payments); }
[data-action='nav:staff'], button[onclick="navigate('personal')"],button[onclick="navigate('usuarios')"] { --pf-icon:var(--pf-staff); }
[data-action='nav:assignments'], button[onclick="navigate('asignaciones')"] { --pf-icon:var(--pf-assignments); }
[data-action='nav:reports'], button[onclick="navigate('campo')"] { --pf-icon:var(--pf-reports); }
[data-action='nav:analytics'], button[onclick="navigate('reportes')"] { --pf-icon:var(--pf-analytics); }
.bottomnav [data-action='menu'], .menu { --pf-icon:var(--pf-menu); }

:is(.sidebar,#sidebar) .nav > span, .bottomnav button > span {
  font-size:0 !important; display:grid !important; place-items:center;
  flex:0 0 auto; line-height:1; width:24px; height:24px;
}
:is(.sidebar,#sidebar) .nav > span::before, .bottomnav button > span::before, .menu::before {
  content:""; display:block; width:23px; height:23px; background:currentColor;
  -webkit-mask:var(--pf-icon) center / contain no-repeat; mask:var(--pf-icon) center / contain no-repeat;
}
:is(.sidebar,#sidebar) .nav { gap:12px; }
.menu { font-size:0 !important; }
.menu::before { width:22px;height:22px; }
.bottomnav { box-shadow:0 -5px 24px #173f3810; border-top:1px solid #dbe6e2; padding:7px 6px max(7px,env(safe-area-inset-bottom)); }
.bottomnav button { min-width:0; min-height:58px; padding:3px 2px 5px; border-radius:12px; gap:4px; color:#5a726d; font-size:11px; line-height:1.2; letter-spacing:-.12px; text-align:center; }
.bottomnav button > span { width:46px;height:31px;border-radius:11px; transition:background-color .18s,color .18s; }
.bottomnav button > span::before { width:25px;height:25px; }
.bottomnav button.active { color:#087c70; font-weight:750; }
.bottomnav button.active > span { background:#dff3eb; color:#087c70; }
.bottomnav button:hover > span { background:#edf7f2; }
.bottomnav button.active:hover > span { background:#d6eee4; }
@media (max-width:420px) { .bottomnav button { font-size:10.5px; } .bottomnav { padding-inline:3px; } }
.pf-brandmark {background:none!important;padding:0;overflow:hidden}.pf-brandmark img{width:100%;height:100%;display:block;border-radius:inherit}
.urgency{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:750;line-height:1.3;margin:2px 0}
.urgency.low{background:#e3f2eb;color:#24644f}.urgency.normal{background:#fff0cb;color:#806007}.urgency.high{background:#fee1df;color:#a22a2a}
.summary-list{display:grid;gap:12px;margin-top:16px}.summary-source{display:grid;gap:8px;max-height:250px;overflow:auto;margin:8px 0 12px}.summary-choice{display:flex!important;gap:11px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;font:inherit}.summary-choice input{width:19px!important;height:19px;flex:0 0 auto}.summary-choice small{display:block;color:var(--muted);margin-top:3px}.pagehead .actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.urgency-field{border:0;padding:0;min-width:0;margin:8px 0 2px}.urgency-field legend{font-size:14px;font-weight:750;color:#3b6158;margin-bottom:9px;padding:0}.urgency-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.urgency-choice{--pri:#27715a;--pri-bg:#e7f4ec;display:flex!important;position:relative;align-items:center;gap:8px;border:1.5px solid #dce8e3;border-radius:12px;padding:13px 10px;min-height:74px;background:#fff;color:#243e37;cursor:pointer;margin:0!important}.urgency-choice.normal{--pri:#9a690a;--pri-bg:#fff6de}.urgency-choice.high{--pri:#b13e39;--pri-bg:#fdecea}.urgency-choice:has(input:checked){background:var(--pri-bg);border-color:var(--pri);box-shadow:inset 0 0 0 1px var(--pri)}.urgency-choice input{accent-color:var(--pri);width:16px!important;height:16px;flex:0 0 auto;margin:0}.urgency-choice-text{display:block;min-width:0}.urgency-choice strong{display:block;font-size:13px;line-height:1.25;color:var(--pri)}.urgency-choice small{display:block;font-size:11px;line-height:1.3;color:#536864;margin-top:3px}.urgency-indicator{width:16px;height:15px;display:inline-flex;align-items:flex-end;gap:2px;flex-shrink:0;color:inherit}.urgency-choice .urgency-indicator{color:var(--pri)}.urgency-indicator i{background:currentColor;border-radius:2px;width:4px;height:5px;opacity:.25}.urgency-indicator i:nth-child(2){height:9px}.urgency-indicator i:nth-child(3){height:13px}.urgency .urgency-indicator i:first-child,.urgency-choice .urgency-indicator i:first-child,.urgency.normal .urgency-indicator i:nth-child(2),.urgency-choice.normal .urgency-indicator i:nth-child(2),.urgency.high .urgency-indicator i,.urgency-choice.high .urgency-indicator i{opacity:1}.urgency{gap:6px;border:1px solid currentColor;padding:5px 9px}.urgency.low{border-color:#b6dfcf}.urgency.normal{border-color:#ead18b}.urgency.high{border-color:#e9b1ae}.urgency-choice:focus-within{outline:3px solid #8bcfc2;outline-offset:2px}@media(max-width:600px){.urgency-options{grid-template-columns:1fr}.urgency-choice{min-height:53px}.urgency-choice strong{font-size:14px}.urgency-choice small{font-size:12px}.urgency-choice-text{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}}
 .pf-push-bell{width:39px;height:39px;display:inline-grid;place-items:center;padding:5px;flex-shrink:0}.pf-push-bell svg{display:block}
.sidebar .pf-menu-sections{display:flex;flex-direction:column;gap:14px}.sidebar .pf-menu-group{padding:0 0 10px;border-bottom:1px solid #ffffff17}.sidebar .pf-menu-group:last-child{border-bottom:0;padding-bottom:0}.sidebar .pf-menu-label,.sidebar .pf-account-label{color:#9ebeb8;letter-spacing:.075em;text-transform:uppercase;font-size:10px;font-weight:700;margin:0 12px 6px}.sidebar .pf-menu-group .nav{font-size:13px;min-height:41px;padding:8px 10px;margin:2px 0;gap:10px}.sidebar .pf-menu-group .nav.active{background:#285f57;color:#fff;box-shadow:inset 3px 0 #70d2b7}.sidebar .pf-menu-group .nav:hover{background:#27574f}.sidebar .foot{margin-top:16px;padding:14px 8px 8px;border-top:1px solid #ffffff21}.sidebar .pf-account-label{margin:0 0 10px}.sidebar .foot button,.sidebar .foot a{background:transparent;border:1px solid #ffffff20;border-radius:8px;margin-top:6px;padding:8px 9px;font-size:12px;color:#d5ece5;text-decoration:none}.sidebar .foot button:hover,.sidebar .foot a:hover{background:#275d55}.sidebar .brand{margin-bottom:18px}
