:root{font-family:Inter,Arial,sans-serif;line-height:1.4;color:#f3f4f6;background-color:#0f0f0f}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}body{margin:0;background:radial-gradient(circle at top,#1a1a1a,#0f0f0f 55%);color:#f3f4f6}.app-container{max-width:1140px;margin:0 auto;padding:1rem}.app-main{margin-top:1rem}.app-header{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.brand-block{display:flex;align-items:center;gap:.65rem;min-width:0}.brand-copy{min-width:0}.brand-logo,.brand-logo-fallback{width:120px;height:52px;border-radius:12px;flex-shrink:0}.brand-logo{object-fit:contain;object-position:center;border:1px solid #3a3a3a;background:#fff;padding:.1rem;max-width:100%;max-height:100%;display:block}.brand-logo-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#ff7a00,#c65400);color:#fff;font-size:.84rem;font-weight:800;border:1px solid #ff8d26}.app-header h1{margin:0;color:#fff;font-size:clamp(1.1rem,2.2vw,1.45rem)}.app-header p{margin:.2rem 0 0;color:#d1d5db;font-size:.92rem}.navbar{display:flex;flex-wrap:wrap;gap:.5rem}.navbar button{padding:.5rem .85rem;border:1px solid #3f3f46;border-radius:10px;background:#1f1f1f;color:#e5e7eb;cursor:pointer;transition:all .2s ease}.navbar button:hover{border-color:#334155;color:#fff}.navbar button.active{background:#ff7a00;color:#111827;border-color:#ff7a00;font-weight:700}.card{background:#18181b;border:1px solid #2f2f35;border-radius:12px;padding:1rem;box-shadow:0 8px 24px #00000040}.card-fallback{border-style:dashed;color:#d1d5db}.error{color:#fecaca;margin:0;background:#7f1d1d8c;border:1px solid #ef4444;border-radius:10px;padding:.45rem .6rem}h2{color:#fff}ul{margin:.75rem 0 0;padding-left:1rem}li{color:#e5e7eb;margin-bottom:.5rem}.dashboard-app{display:grid;gap:1rem}.dashboard-header h2{margin:0}.dashboard-header p{margin:.3rem 0 0;color:#d1d5db}.priority-list{display:grid;gap:.85rem}.clients-list{margin-top:.75rem;gap:1rem}.priority-item{background:#171717;border-radius:12px;padding:.62rem;border:1px solid #2f2f35;box-shadow:0 1px 2px #00000040}.priority-item--pendiente{border-color:#f973168c}.priority-item--en-curso{border-color:#22c55e80}.priority-item--aprobado{border-color:#8b5cf680}.priority-item.atrasado{border-left-color:#ef4444}.priority-item.hoy{border-left-color:#ff7a00}.priority-item.proximo{border-left-color:#9ca3af}.priority-item.en-curso{border-left-color:#22c55e}.priority-item__top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.priority-item__top h3{margin:0;font-size:1rem}.badge-semaforo{padding:.2rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700;background:#27272a;color:#f3f4f6;border:1px solid #3f3f46}.badge-semaforo--aprobado{background:#5b21b661;border-color:#8b5cf6;color:#ede9fe}.badge-semaforo--en-curso{background:#14532d;border-color:#22c55e;color:#dcfce7}.badge-semaforo--pendiente{background:#7c2d12;border-color:#ff7a00;color:#fed7aa}.priority-item.atrasado .badge-semaforo{background:#7f1d1d;border-color:#ef4444}.priority-item.hoy .badge-semaforo{background:#7c2d12;border-color:#ff7a00}.priority-item.proximo .badge-semaforo{background:#3f3f46;border-color:#9ca3af}.priority-item.en-curso .badge-semaforo{background:#14532d;border-color:#22c55e}.priority-item.pendiente .badge-semaforo{background:#7c2d12;border-color:#f59e0b;color:#fdba74}.priority-data{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem}.priority-data div{min-width:0}.priority-data dt{font-size:.75rem;color:#9ca3af}.priority-data dd{margin:.1rem 0 0;font-weight:600;font-size:.92rem;overflow-wrap:anywhere}.priority-actions{margin-top:.85rem;display:flex;flex-wrap:wrap;gap:.5rem}.dashboard-priority-list .priority-item{padding:.82rem .88rem}.dashboard-priority-list .priority-item__top{margin-bottom:.5rem}.dashboard-priority-list .priority-item__top h3{font-size:.98rem;line-height:1.2}.dashboard-priority-list .priority-data{gap:.48rem}.dashboard-priority-list .priority-data dt{font-size:.7rem}.dashboard-priority-list .priority-data dd{font-size:.85rem;margin-top:.02rem}.dashboard-priority-list .priority-actions{margin-top:.55rem;gap:.42rem}.dashboard-priority-list .priority-actions .btn{padding:.34rem .56rem;font-size:.78rem;border-radius:7px}.btn{border:1px solid #3f3f46;border-radius:8px;padding:.45rem .7rem;cursor:pointer;text-decoration:none;font-size:.84rem;background:#1f2937;color:#e5e7eb;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;font-weight:600;transition:all .2s ease}.btn:hover{border-color:#ff7a00;color:#fff;transform:translateY(-1px);box-shadow:0 6px 16px #00000047}.btn:disabled{opacity:.65;cursor:not-allowed}.btn-whatsapp{background:#16a34a;color:#fff;border-color:#15803d}.btn-detail{background:#27272a;color:#f3f4f6}.btn-ghost{background:#0f172a73;border-color:#334155}.btn-accent{background:linear-gradient(135deg,#ff7a00,#ea580c);border-color:#ff7a00;color:#fff}@media (max-width: 640px){.app-container{padding:.75rem}.brand-logo,.brand-logo-fallback{width:108px;height:46px}.app-header p{font-size:.85rem}.priority-data{grid-template-columns:1fr 1fr}.dashboard-priority-list{gap:.52rem}.dashboard-priority-list .priority-item{border-radius:11px;padding:.62rem .68rem;box-shadow:0 4px 14px #00000038}.dashboard-priority-list .priority-item__top{margin-bottom:.36rem;gap:.34rem}.dashboard-priority-list .badge-semaforo{padding:.14rem .46rem;font-size:.68rem}.dashboard-priority-list .priority-data{display:flex;flex-wrap:wrap;gap:.35rem}.dashboard-priority-list .priority-data div{min-width:0;flex:1 1 calc(50% - .35rem);border:1px solid #2f2f35;border-radius:8px;background:#111318;padding:.28rem .4rem}.dashboard-priority-list .priority-data dt{font-size:.65rem;line-height:1.08}.dashboard-priority-list .priority-data dd{font-size:.8rem;line-height:1.15}.dashboard-priority-list .priority-actions{margin-top:.4rem;justify-content:flex-end}.dashboard-priority-list .priority-actions .btn{padding:.3rem .5rem;font-size:.74rem}}.priority-item--compact{padding:.7rem .8rem}.priority-item__compact{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.priority-item__compact-main{min-width:0;display:grid;gap:.28rem}.priority-item__compact-main h3{margin:0;display:flex;align-items:center;gap:.4rem;font-size:.95rem}.priority-item__dot{color:#ff7a00;font-size:.8rem}.priority-item__compact-meta{display:flex;flex-wrap:wrap;gap:.3rem .7rem;font-size:.78rem;color:#d1d5db}.priority-item__compact-meta span{display:inline-flex;align-items:center;gap:.25rem;min-width:0}.priority-item__compact-monto{font-weight:700;color:#f3f4f6}.priority-item__compact-actions{display:flex;align-items:center;gap:.35rem}.priority-item__icon-btn{border:1px solid #3f3f46;background:#1f2937;color:#f3f4f6;width:28px;height:28px;border-radius:999px;cursor:pointer;font-weight:700}.priority-item__finish-btn{padding:.3rem .52rem;font-size:.72rem}@media (max-width: 640px){.dashboard-priority-list .priority-item--compact{border-radius:10px;padding:.56rem .6rem}.dashboard-priority-list .priority-item__compact{gap:.34rem;align-items:flex-start}.dashboard-priority-list .priority-item__compact-main h3{font-size:.84rem}.dashboard-priority-list .priority-item__compact-meta{font-size:.74rem;gap:.2rem .52rem}.dashboard-priority-list .badge-semaforo{padding:.1rem .42rem;font-size:.66rem}.dashboard-priority-list .priority-item__compact-actions{flex-direction:column;align-items:flex-end;gap:.2rem}.dashboard-priority-list .priority-item__icon-btn{width:24px;height:24px;font-size:.82rem}.dashboard-priority-list .priority-item__finish-btn{font-size:.67rem;padding:.22rem .45rem}}:root{--crm-form-gap: 16px;--crm-label-gap: .35rem;--crm-input-padding-y: .5rem;--crm-input-padding-x: .6rem;--crm-input-min-height: 40px;--crm-section-gap: .85rem}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--crm-form-gap);align-items:end}.form-grid label{display:grid;gap:var(--crm-label-gap);font-size:.84rem;color:#d1d5db}.form-grid input,.form-grid select{width:100%;min-height:var(--crm-input-min-height);border:1px solid #3f3f46;border-radius:8px;background:#111827;color:#f9fafb;padding:var(--crm-input-padding-y) var(--crm-input-padding-x)}.estado-pill--danger{color:#fed7aa;background:#f9731638;border-color:#f973168c}.cliente-programacion{margin-top:.25rem;padding:.75rem;border:1px solid #334155;border-radius:12px;background:#111827;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:var(--crm-label-gap);align-items:end}.cliente-programacion label{display:grid;gap:var(--crm-label-gap);color:#d1d5db;font-size:.84rem}.cliente-programacion input{width:100%;min-height:var(--crm-input-min-height);border:1px solid rgba(249,115,22,.45);border-radius:8px;background:#0b1220;color:#f9fafb;padding:calc(var(--crm-input-padding-y) - .05rem) calc(var(--crm-input-padding-x) - .05rem)}.agenda-visita-card__alerta{border-radius:10px;padding:.5rem .62rem;display:grid;gap:.25rem;border:1px solid transparent}.agenda-visita-card__alerta--preventiva{background:#facc151f;border-color:#facc1573}.agenda-visita-card__alerta--prioridad{background:#f9731629;border-color:#f9731685}.agenda-visita-card__alerta-titulo{margin:0;font-size:.78rem;font-weight:700;color:#fef3c7}.agenda-visita-card__alerta-texto{margin:0;font-size:.75rem;color:#f9fafb}.agenda-visita-card__alerta-lista{margin:0;padding-left:1rem;display:grid;gap:.12rem;color:#fde68a;font-size:.73rem}.global-search{display:grid;gap:var(--crm-label-gap);margin-bottom:1rem}.global-search input{border:1px solid #3f3f46;border-radius:10px;background:#111827;color:#f9fafb;min-height:var(--crm-input-min-height);padding:var(--crm-input-padding-y) var(--crm-input-padding-x);width:100%}.section-stack>label{display:grid;gap:var(--crm-label-gap);font-size:.84rem;color:#d1d5db}.notifications-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(440px,92vw);z-index:30;border-color:#ff7a00;padding:.62rem}.notifications-header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.8rem}.notifications-header h3{margin:0;font-size:1rem}.notifications-list{list-style:none;padding:0;margin:0;display:grid;gap:.65rem}.notifications-section{display:grid;gap:.5rem;margin-bottom:.75rem}.notifications-section h4{margin:0;color:#fed7aa;font-size:.9rem}.notifications-item{border:1px solid #b45309;border-radius:12px;padding:.75rem;background:#b453091f;display:grid;gap:.34rem}.notifications-item--expired{border-color:#f97316;background:#f9731624}.notifications-item__head{display:flex;justify-content:space-between;gap:.5rem;align-items:baseline}.notifications-item__head strong{font-size:.98rem}.notifications-item__type{margin:0;color:#fed7aa;font-weight:600}.notifications-data{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.34rem}.notifications-data dt{font-size:.72rem;color:#cbd5e1}.notifications-data dd{margin:.15rem 0 0;font-weight:600;font-size:.85rem}.notifications-item__message{margin:0;color:#e5e7eb;font-size:.85rem}.notifications-actions{margin-top:.3rem;display:flex;gap:.34rem;flex-wrap:wrap}.agenda-visita-card--objetivo{border:1px solid #f59e0b;box-shadow:0 0 0 1px #f59e0b80,0 0 0 6px #f59e0b1f}.agenda-visita-card--objetivo:focus{outline:2px solid #fbbf24;outline-offset:3px}.agenda-visita-card__badges{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.agenda-estado{display:inline-flex;align-items:center;min-height:24px;padding:.22rem .46rem;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid transparent}.agenda-estado--programada{color:#bfdbfe;border-color:#2563eb;background:#2563eb29}.agenda-estado--recordada{color:#fde68a;border-color:#d97706;background:#d9770629}.agenda-estado--vencida{color:#fed7aa;border-color:#f97316;background:#f973162e}.agenda-estado--realizada{color:#bbf7d0;border-color:#16a34a;background:#16a34a29}.agenda-estado--no-realizada{color:#fecaca;border-color:#dc2626;background:#dc262624}.agenda-estado--convertida{color:#a7f3d0;border-color:#0d9488;background:#0d948829}.agenda-visita-card--vencida{border-color:#f97316b3}.agenda-visita-card--realizada{border-color:#16a34a8c}.agenda-visita-card--no_realizada{border-color:#dc262673;opacity:.88}.agenda-visita-card--convertida_cliente{border-color:#0d9488a6}@media (max-width: 760px){.app-header{align-items:center}.brand-block,.navbar{width:100%}.navbar button{flex:1 1 130px}}@media (max-width: 640px){.app-container{padding:.75rem}.brand-logo,.brand-logo-fallback{width:102px;height:44px}.app-header p{font-size:.85rem}.priority-data{grid-template-columns:1fr 1fr}}.section-stack{display:grid;gap:.85rem}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.form-grid label{display:grid;gap:.35rem;font-size:.84rem;color:#d1d5db}.form-grid input,.form-grid select{width:100%;border:1px solid #3f3f46;border-radius:8px;background:#111827;color:#f9fafb;padding:.5rem .6rem}.form-grid input:focus,.form-grid select:focus{outline:2px solid #ff7a00;outline-offset:1px}.btn-primary{background:#ff7a00;border-color:#ff7a00;color:#111827;font-weight:700}.success{color:#bbf7d0;margin:0;background:#14532d99;border:1px solid #22c55e;border-radius:10px;padding:.45rem .6rem}.inline-actions{display:flex;gap:.5rem;flex-wrap:wrap}.inline-actions--right{justify-content:flex-end;margin-left:auto}.paginacion-clientes{display:flex;align-items:center;justify-content:flex-end;gap:.6rem}.cliente-item-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.cliente-item-nombre{margin:0;font-size:1.2rem;font-weight:800;color:#f9fafb}.cliente-card{gap:.85rem}.cliente-toolbar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.cliente-toolbar .estado-menu{order:99}.estado-toggle{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem;border:1px solid rgba(249,115,22,.45);border-radius:999px;background:#0b1220}.estado-menu summary{list-style:none}.estado-pill{border:1px solid rgba(249,115,22,.45);border-radius:999px;padding:.28rem .62rem;cursor:pointer;font-size:.78rem;font-weight:700;min-height:30px;display:inline-flex;align-items:center;justify-content:center;background:#111827;color:#d1d5db}.estado-pill--ok{color:#ede9fe;background:#5b21b659;border-color:#8b5cf6}.estado-pill--wait{color:#fdba74;background:#7c2d1266;border-color:#f97316}.estado-pill--neutral{color:#cbd5e1;background:#111827;border-color:#334155}.estado-menu{position:relative}.estado-menu__panel{position:absolute;right:0;top:calc(100% + 6px);z-index:30;display:flex;gap:.4rem;background:#111827;border:1px solid rgba(249,115,22,.45);border-radius:12px;padding:.5rem}.cliente-programacion{margin-top:.25rem;padding:.75rem;border:1px solid #334155;border-radius:12px;background:#111827;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:.5rem;align-items:end}.cliente-programacion label{display:grid;gap:.35rem;color:#d1d5db;font-size:.84rem}.cliente-programacion input{width:100%;min-height:40px;border:1px solid rgba(249,115,22,.45);border-radius:8px;background:#0b1220;color:#f9fafb;padding:.45rem .55rem}.cliente-programacion__action{display:flex;align-items:flex-end}.cliente-programacion__action .btn{width:100%}.edit-inline-grid{width:100%;margin-top:.6rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem}.list-item-with-action{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.agenda-lista{list-style:none;padding:0;margin:0;display:grid;gap:.65rem}.agenda-visita-card{display:grid;grid-template-columns:4px 1fr;border:1px solid #2f384d;border-radius:12px;background:linear-gradient(180deg,#141a27,#111726);overflow:hidden;transition:border-color .2s ease,transform .2s ease}.agenda-visita-card:hover{border-color:#465679;transform:translateY(-1px)}.agenda-visita-card__color{background:linear-gradient(180deg,#ff7a00,#f59e0b)}.agenda-visita-card__contenido{padding:.65rem .8rem;display:grid;gap:.34rem}.agenda-visita-card__top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.agenda-visita-card__identidad{min-width:0}.agenda-visita-card__top h3{margin:0;font-size:.96rem;color:#f9fafb}.agenda-visita-card__tipo{margin:.12rem 0 0;font-size:.78rem;color:#cbd5e1;text-transform:capitalize}.agenda-visita-card__wa{white-space:nowrap;margin-left:auto;padding:.35rem .58rem;font-size:.78rem}.agenda-visita-card__meta{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.agenda-visita-card__meta p{margin:0;padding:.34rem .46rem;border:1px solid #2d3649;border-radius:8px;background:#0f1522;color:#dbe3f0;font-size:.77rem}.agenda-visita-card__acciones{display:flex;flex-wrap:wrap;gap:.34rem;justify-content:flex-end;padding-top:.05rem}.item-pendiente{opacity:.78}.global-search{display:grid;gap:.34rem;margin-bottom:1rem}.global-search label{font-size:.84rem;color:#d1d5db}.global-search input{border:1px solid #3f3f46;border-radius:10px;background:#111827;color:#f9fafb;padding:.62rem .7rem;width:100%}.global-search-results{display:grid;gap:.34rem}.global-search-result{text-align:left;border:1px solid #3f3f46;border-radius:10px;background:#161616;color:#f3f4f6;padding:.55rem .65rem;display:grid;gap:.15rem;cursor:pointer}.global-search-result span,.global-search-result small,.search-help{color:#cbd5e1;font-size:.84rem}.section-stack>label{display:grid;gap:.35rem;font-size:.84rem;color:#d1d5db}.section-stack>label input{border:1px solid #3f3f46;border-radius:8px;background:#111827;color:#f9fafb;padding:.5rem .6rem}.btn-danger{background:#7f1d1d;color:#fff;border-color:#b91c1c}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;display:grid;place-items:center;padding:1rem;z-index:20}.modal-card{width:min(820px,100%);max-height:90vh;overflow:auto;background:#18181b;border:1px solid #3f3f46;border-radius:12px;padding:1rem}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}.modal-header h3{margin:0}.modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem}.modal-grid--two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-grid p{margin:0;padding:.5rem;border:1px solid #33353a;border-radius:10px;background:#121317}@media (max-width: 640px){.btn,.navbar button{min-height:42px}.priority-item,.card{padding:.75rem}}.install-button{border:1px solid #334155;background:#ff7a00;color:#111827;border-radius:10px;min-height:42px;padding:.5rem .85rem;cursor:pointer;font-weight:700}.install-button:hover{background:#ff8f2a}.header-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-left:auto}.notifications-wrapper{position:relative}.notifications-bell{position:relative;border:1px solid #334155;background:#1f1f1f;color:#f9fafb;border-radius:10px;min-width:44px;min-height:42px;cursor:pointer}.notifications-badge{position:absolute;top:-8px;right:-8px;background:#ff7a00;color:#111827;min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:.75rem;font-weight:800}.notifications-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(420px,92vw);z-index:30;border-color:#ff7a00}.notifications-header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.6rem}.notifications-header h3,.notifications-item p{margin:0}.notifications-pending{color:#ffb36d;font-size:.85rem}.notifications-list{list-style:none;padding:0;margin:0;display:grid;gap:.34rem}.notifications-item{border:1px solid #b45309;border-radius:10px;padding:.6rem;background:#b4530924}.notifications-actions{margin-top:.55rem;display:flex;gap:.34rem;flex-wrap:wrap}@media (max-width: 760px){.header-actions{width:100%}.notifications-panel{left:0;right:auto;width:100%}}.form-grid__submit{grid-column:span 4}.detalle-imagenes{margin-top:.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.detalle-imagenes img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:8px;border:1px solid #3f3f46}.modal-files{margin-top:.8rem;display:grid;gap:.75rem}.modal-help{display:flex;align-items:center;gap:.34rem;flex-wrap:wrap}@media (max-width: 768px){.form-grid,.modal-grid--two-cols{grid-template-columns:1fr}.form-grid__submit{grid-column:span 1}}.form-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.file-field input[type=file]{width:100%;max-width:100%;min-height:calc(var(--crm-input-min-height) - 2px);padding:calc(var(--crm-input-padding-y) - .08rem) var(--crm-input-padding-x);font-size:.79rem;line-height:1.2;border:1px solid #3f3f46;border-radius:8px;background:#111827;color:#d1d5db;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-field input[type=file]::file-selector-button{margin-right:.5rem;padding:.3rem .5rem;border:1px solid #475569;border-radius:6px;background:#1f2937;color:#e5e7eb;font-size:.74rem}.edit-inline-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.edit-mode-card{width:100%;margin-top:.85rem;border:1px solid #3a3f4b;border-radius:12px;background:linear-gradient(180deg,#171c28,#131722);padding:.95rem;box-shadow:inset 0 1px #ffffff08}.edit-mode-card__header{margin-bottom:.85rem;padding-bottom:.55rem;border-bottom:1px solid #2f3647}.edit-mode-card__header h4{margin:0;color:#f3f4f6;font-size:1rem}.edit-mode-card label{display:grid;gap:.38rem;color:#d1d5db;font-size:.84rem}.edit-mode-card input,.edit-mode-card select{width:100%;min-height:40px;border:1px solid #475069;border-radius:8px;background:#1a2335;color:#f9fafb;padding:.55rem .65rem}.edit-mode-card input:focus,.edit-mode-card select:focus{outline:2px solid #ff7a00;outline-offset:1px}.edit-inline-grid__actions{grid-column:1 / -1;justify-content:flex-end;gap:.65rem;padding-top:.75rem;border-top:1px solid #2f3647}@media (max-width: 920px){.form-grid,.form-grid--compact,.edit-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){:root{--crm-form-gap: 9px;--crm-label-gap: .2rem;--crm-input-padding-y: .4rem;--crm-input-padding-x: .52rem;--crm-input-min-height: 34px;--crm-section-gap: .6rem}.section-stack{gap:var(--crm-section-gap)}.global-search{margin-bottom:.6rem}.form-grid{gap:var(--crm-form-gap)}.form-grid label,.cliente-programacion label,.edit-mode-card label,.section-stack>label{font-size:.8rem}.file-field input[type=file]{font-size:.75rem}.file-field input[type=file]::file-selector-button{font-size:.7rem;padding:.24rem .44rem}.form-grid,.form-grid--compact,.edit-inline-grid{grid-template-columns:1fr}.agenda-visita-card__top{flex-direction:column;align-items:stretch}.agenda-visita-card__meta{width:100%}.agenda-visita-card__acciones .btn,.agenda-visita-card__wa{width:100%;text-align:center}}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.metric-card h3{margin:0;color:#d1d5db;font-size:.84rem}.metric-card p{margin:.4rem 0 0;font-size:1.35rem;font-weight:700;color:#fff}.metric-card__income-value{color:#34d399;font-variant-numeric:tabular-nums;letter-spacing:.01em}.metric-card__income-value,.metric-card__income-value-amount,.metric-card__income-value-currency{color:#34d399}.dashboard-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.dashboard-summary-card h3{margin:0;color:#d1d5db;font-size:.95rem}.dashboard-summary-card p{margin:.4rem 0 0;font-size:1.3rem;font-weight:700;color:#ff7a00}.dashboard-integrity-detail{display:block;max-width:100%;margin-top:.45rem;color:#cbd5e1;font-size:.78rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help}@media (max-width: 640px){.clients-list{gap:.75rem}}@media (max-width: 760px){.cliente-programacion{grid-template-columns:1fr}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at top,#111827c2,#030712e6 65%);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:1.25rem;z-index:40}.cierre-modal{width:min(600px,100%);border:1px solid rgba(249,115,22,.45);border-radius:16px;background:radial-gradient(circle at top right,rgba(59,130,246,.12),transparent 44%),linear-gradient(180deg,#181d2a,#111827);box-shadow:0 30px 80px #00000073,0 0 18px #f9731629,0 0 28px #3b82f61f,0 0 0 1px #ffffff08 inset;padding:1.25rem;animation:modalFadeIn .22s ease-out}.cierre-modal__header{margin-bottom:1rem;padding-bottom:.85rem;border-bottom:1px solid #2f3a50}.cierre-modal__header h3{margin:0;font-size:1.2rem;color:#f9fafb}.cierre-modal__header p{margin:.45rem 0 0;color:#cbd5e1;font-size:.92rem;line-height:1.45}.cierre-modal__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.cierre-modal__field{display:grid;gap:.42rem}.cierre-modal__field span{color:#e5e7eb;font-size:.77rem;font-weight:600;letter-spacing:.01em}.cierre-modal__field input,.cierre-modal__field select{width:100%;min-height:42px;border:1px solid #45506a;border-radius:10px;background:#1a2335;color:#f9fafb;padding:.58rem .68rem}.cierre-modal__field input[type=file]{padding:.45rem .6rem}.cierre-modal__field input:focus,.cierre-modal__field select:focus{outline:2px solid #ff7a00;outline-offset:1px;border-color:#ff7a00}.cierre-modal__field--full{grid-column:1 / -1}.cierre-modal__actions{margin-top:1.1rem;padding-top:.95rem;border-top:1px solid #2f3a50;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.cierre-modal__actions .btn{min-width:0}.cierre-modal__error{grid-column:1 / -1;margin:.2rem 0 0;font-size:.84rem;color:#fdba74;background:#7c2d1261;border:1px solid rgba(249,115,22,.4);border-radius:10px;padding:.52rem .62rem}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width: 640px){.cierre-modal{padding:1rem;border-radius:12px}.cierre-modal__body{grid-template-columns:1fr}.cierre-modal__actions .btn{width:100%}}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-top:.85rem;flex-wrap:wrap}.pagination__pages{display:inline-flex;align-items:center;gap:.35rem}.pagination__page{min-width:32px;height:32px;border-radius:9px;border:1px solid #3f3f46;background:#171717;color:#e5e7eb;font-weight:700;cursor:pointer}.pagination__page:hover{border-color:#ff7a00;color:#fff}.pagination__page--active{border-color:#ff7a00;background:#ff7a00;color:#111827}.agenda-visita-card__contenido{padding:.5rem .66rem;gap:.34rem}.agenda-visita-card__fila{display:grid;grid-template-columns:minmax(0,1.35fr) auto;gap:.42rem;align-items:center}.agenda-visita-card__left{min-width:0;display:grid;gap:.28rem}.agenda-visita-card__identidad h3{font-size:.95rem;line-height:1.15;margin:0}.agenda-visita-card__tipo{font-size:.74rem;margin:0;opacity:.9;text-transform:capitalize}.agenda-visita-card__meta{display:flex;align-items:center;gap:.36rem;flex-wrap:wrap}.agenda-visita-card__meta p{display:inline-flex;align-items:center;gap:.22rem;margin:0;font-size:.74rem;padding:.15rem .35rem;border-radius:999px}.agenda-visita-card__meta p span,.agenda-visita-card__ubicacion span{font-size:.78rem;line-height:1}.agenda-visita-card__ubicacion{display:inline-flex;align-items:center;gap:.25rem;margin:0;font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agenda-visita-card__ubicacion--link{cursor:pointer;text-decoration:none;color:inherit}.agenda-visita-card__ubicacion--link:hover{text-decoration:underline;color:#f59e0b}.agenda-visita-card__ubicacion--link:focus-visible{outline:2px solid #f59e0b;outline-offset:2px;border-radius:6px}.agenda-visita-card__right{display:inline-flex;align-items:center;gap:.28rem}.agenda-visita-card__acciones-grid-mobile{display:inline-flex;align-items:center;gap:.28rem;flex-wrap:wrap;justify-content:flex-end}.agenda-visita-card__accion-mobile-placeholder{display:none}.agenda-visita-card__icon-btn,.agenda-visita-card__compact-btn,.agenda-visita-card__menu-trigger{min-height:29px;padding:.24rem .5rem;border-radius:8px;font-size:.71rem;font-weight:700;line-height:1.1}.agenda-visita-card__icon-btn{min-width:84px;justify-content:center;padding-inline:.6rem}.agenda-visita-card__compact-btn{min-width:86px;height:32px;padding-block:.24rem;display:inline-flex;align-items:center;justify-content:center}.agenda-visita-card__menu-trigger{cursor:pointer;border:1px solid rgba(249,115,22,.45);background:#1f2937;color:#f9fafb;display:none;align-items:center;justify-content:center;width:32px;padding:0}.agenda-visita-card__menu-list{width:168px;background:#0b1220;border:1px solid #293548;border-radius:12px;padding:.35rem;display:grid;gap:.3rem;box-shadow:0 12px 28px #0000006b;z-index:9999}.agenda-visita-card__menu-list--floating{position:fixed}.agenda-visita-card__menu-btn{width:100%;justify-content:center;min-height:30px;font-size:.72rem}.agenda-visita-card__alerta{padding:.38rem .5rem;gap:.2rem}.agenda-visita-card__alerta-ubicacion{font-size:.76rem}@media (max-width: 640px){.agenda-lista{gap:.4rem}.agenda-visita-card{border-radius:12px}.agenda-visita-card__contenido{padding:.44rem .5rem}.agenda-visita-card__fila{grid-template-columns:1fr;gap:.32rem}.agenda-visita-card__right{order:3;width:100%;justify-content:flex-end}.agenda-visita-card__icon-btn,.agenda-visita-card__compact-btn,.agenda-visita-card__menu-trigger{min-height:30px;height:30px;padding:.18rem .5rem;font-size:.68rem;border-radius:8px}.agenda-visita-card__compact-btn{min-width:0;width:100%}.agenda-visita-card__acciones-grid-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.28rem;width:100%}.agenda-visita-card__accion-mobile{width:100%}.agenda-visita-card__accion-mobile-placeholder{display:block}.agenda-visita-card__menu-trigger{display:none}.pagination{justify-content:center;gap:.35rem}.pagination .btn{min-height:32px;padding:.34rem .62rem;font-size:.76rem}.pagination__pages{gap:.25rem}.pagination__page{min-width:30px;height:30px;border-radius:8px;font-size:.76rem}}login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0f172a;color:#e2e8f0}.login-card{width:360px;background:#111827;border:1px solid #334155;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px}.login-card input{background:#0b1220;border:1px solid #334155;color:#e2e8f0;padding:10px;border-radius:8px}.login-card button{padding:10px;border-radius:8px;background:linear-gradient(135deg,#ff7a00,#ea580c);color:#fff;border:1px solid #ff7a00;font-weight:700}.login-error{color:#fca5a5}.navbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.navbar-links{display:flex;gap:8px}.navbar-user{display:flex;align-items:center;gap:10px}.estado-sistema{display:inline-flex;align-items:center;gap:.42rem;min-height:32px;font-size:.8rem;font-weight:700;margin-right:.75rem;background:#111827;border:1px solid #263449;border-radius:999px;padding:.34rem .62rem;white-space:nowrap}.estado-sistema__dot{display:block;width:.58rem;height:.58rem;border-radius:999px;flex:0 0 auto}.estado-sistema--online{color:#86efac;border-color:#22c55e5c;background:#14532d3d}.estado-sistema--online .estado-sistema__dot{background:#22c55e;box-shadow:0 0 0 4px #22c55e24}.estado-sistema--offline{color:#fca5a5;border-color:#ef444461;background:#7f1d1d3d}.estado-sistema--offline .estado-sistema__dot{background:#ef4444;box-shadow:0 0 0 4px #ef444424}.estado-sistema strong{color:inherit;font-size:inherit;line-height:1}.estado-sistema__time{color:#94a3b8;font-weight:600;font-size:.72rem}.navbar-account-menu{position:relative;display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid #2e3442;border-radius:12px;background:#0f172a}.navbar-email{font-size:.85rem;color:#e5e7eb}.navbar-settings-button{width:36px;height:36px;border-radius:10px;border:1px solid #3a4355;background:#111827;color:#f8fafc;cursor:pointer;transition:all .2s ease}.navbar-settings-button:hover{border-color:#ff7a00;color:#ffb066;box-shadow:0 0 0 3px #f9731626}.navbar-dropdown{position:absolute;right:0;top:calc(100% + 10px);min-width:210px;background:#0b1220;border:1px solid #303a4b;border-radius:12px;padding:8px;box-shadow:0 14px 34px #00000059;opacity:0;transform:translateY(-8px);pointer-events:none;transition:all .22s ease;z-index:70}.navbar-dropdown.open{opacity:1;transform:translateY(0);pointer-events:auto}.navbar-dropdown button{width:100%;text-align:left;background:transparent;border:none;color:#e5e7eb;padding:10px 12px;border-radius:10px}.navbar-dropdown button:hover{background:#f9731629;color:#fff}.navbar-dropdown .logout-item:hover{background:#b91c1c38}.mobile-user-panel{display:none}.password-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617c7;display:flex;align-items:center;justify-content:center;z-index:999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.password-modal{position:relative;width:min(560px,92vw);background:#0f172a;border:1px solid #334155;border-radius:18px;padding:22px;color:#e5e7eb;animation:modalFade .25s ease}.password-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border-radius:50%;border:1px solid #374151;background:#111827;color:#e5e7eb;cursor:pointer}.password-form{display:flex;flex-direction:column;gap:10px}.password-input-group{display:flex;gap:8px}.password-input-group input{flex:1;background:#0b1220;border:1px solid #334155;color:#e2e8f0;padding:11px;border-radius:10px}.password-input-group button{background:#1f2937;color:#f8fafc;border:1px solid #334155;border-radius:10px;padding:0 12px}.pin-inputs{display:flex;justify-content:center;gap:10px;margin:2px 0 8px}.pin-inputs input{width:48px;height:50px;text-align:center;font-size:1.2rem;background:#0b1220;border:1px solid #334155;color:#e2e8f0;border-radius:12px}.pin-inputs input:focus{outline:none;border-color:#ff7a00;box-shadow:0 0 0 3px #f9731633}.password-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.password-cancel{background:#111827;color:#f3f4f6;border:1px solid #334155;border-radius:10px;padding:10px 14px}.password-cancel:hover{background:#3b1111;border-color:#7f1d1d}.password-submit{display:inline-flex;align-items:center;gap:8px;background:#f97316;color:#fff;border:none;border-radius:10px;padding:10px 15px;box-shadow:0 0 0 2px #f9731633;transition:all .2s ease}.password-submit:hover{transform:translateY(-1px);box-shadow:0 0 0 2px #f9731642,0 8px 20px #f9731640}.password-msg-ok{color:#86efac}.password-msg-error{color:#fca5a5}.spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes modalFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}html,body,#root{width:100%;max-width:100%;overflow-x:clip}body{min-height:100dvh;overscroll-behavior-x:none;-webkit-text-size-adjust:100%}.app-container,.app-main,.card,.dashboard-app,.priority-item,.notifications-panel,.modal-card,.password-modal,.cierre-modal{min-width:0}.login-shell{min-height:100vh;min-height:100svh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom))}.app-splash{background:#f8fafc}.app-splash__card{width:min(320px,84vw);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.9rem;padding:1.5rem 1.25rem;background:transparent;border:0;box-shadow:none}.app-splash__logo{width:clamp(92px,22vw,132px);aspect-ratio:1 / 1;object-fit:contain;object-position:center;display:block;filter:none}.app-splash__text{margin:0;color:#0f172a;font-size:clamp(.95rem,3.2vw,1.02rem);font-weight:500;letter-spacing:.01em}.login-card{width:min(360px,92vw)}@media (max-width: 640px){.login-card{width:min(320px,88vw);padding:1rem}}.navbar{width:100%;align-items:flex-start;gap:.75rem}.navbar-menu-toggle{display:none;padding:.55rem .75rem;border:1px solid #3f3f46;border-radius:10px;background:#1f1f1f;color:#f3f4f6}.navbar-links{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.navbar-user{margin-left:auto;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end}.estado-sistema{max-width:100%}.navbar-account-menu{min-width:0;max-width:100%}.navbar-email{display:block;min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-actions,.priority-actions,.notifications-actions,.password-form-actions,.cierre-modal__actions{flex-wrap:wrap}.metrics-grid,.dashboard-summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.modal-backdrop,.password-modal-backdrop,.modal-overlay{padding:max(.75rem,env(safe-area-inset-top)) .75rem max(.75rem,env(safe-area-inset-bottom))}.modal-card,.password-modal,.cierre-modal{width:min(720px,100%);max-height:min(88dvh,88svh);overflow:auto}@media (max-width: 900px){.app-container{padding:.75rem}.navbar{flex-direction:column;align-items:stretch}.navbar-menu-toggle{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start}.navbar-links{display:none;width:100%;flex-direction:column}.navbar-links.open{display:flex}.navbar-links button{width:100%;text-align:left}.navbar-user{width:100%;margin-left:0;justify-content:space-between;gap:.5rem}.estado-sistema{font-size:.76rem;margin-right:0;flex:1 1 100%}.navbar-account-menu{width:100%;justify-content:space-between}.navbar-email{max-width:calc(100vw - 7rem)}.notifications-panel{right:auto;left:0;width:min(100vw - 1.5rem,440px)}.notifications-data,.priority-data,.modal-grid--two-cols,.cierre-modal__body{grid-template-columns:1fr}}@media (max-width: 640px){.app-container{padding:.6rem}.card,.priority-item,.password-modal,.cierre-modal,.modal-card{padding:.8rem}.metrics-grid,.dashboard-summary-grid{grid-template-columns:1fr}.notifications-item__head{flex-direction:column;align-items:flex-start}}@media (max-width: 900px){.app-header{gap:.65rem;margin-bottom:.75rem}.brand-logo,.brand-logo-fallback{width:102px;height:44px;border-radius:10px}.app-header h1{font-size:clamp(1rem,4vw,1.2rem);line-height:1.2}.app-header p{margin-top:.1rem;font-size:.78rem}.navbar-menu-toggle{min-height:36px;padding:.42rem .65rem;border-radius:9px;font-size:.8rem;font-weight:700;letter-spacing:.01em;background:#111827;border-color:#374151}.navbar-links{background:#0b1220;border:1px solid #2f3a4e;border-radius:12px;padding:.35rem;gap:.3rem;box-shadow:0 12px 30px #00000047}.navbar-links button{min-height:38px;padding:.4rem .62rem;border-radius:9px;font-size:.84rem;font-weight:600;background:transparent;border-color:transparent}.navbar-user{align-items:stretch;gap:.4rem}.estado-sistema{font-size:.72rem;padding:.28rem .45rem;border-radius:8px}.navbar-account-menu{padding:.35rem .45rem;border-radius:10px;gap:.34rem}.navbar-email{font-size:.77rem}.navbar-settings-button{width:30px;height:30px;border-radius:8px;font-size:.84rem}.dashboard-header p,.global-search label,.section-stack>label{font-size:.8rem}.metrics-grid,.dashboard-summary-grid,.priority-data{gap:.34rem}.card,.priority-item{border-radius:10px;padding:.7rem}.priority-item__top{margin-bottom:.55rem}.priority-item__top h3,.cliente-item-nombre{font-size:1.02rem;line-height:1.25}.priority-data dt{font-size:.69rem}.priority-data dd{font-size:.86rem;margin-top:.05rem}.btn{min-height:36px;padding:.36rem .58rem;font-size:.8rem;border-radius:8px}.cliente-card{gap:.55rem}.cliente-item-header{gap:.34rem}.cliente-item-header>p{margin:0;font-size:.84rem;font-weight:700}.cliente-toolbar{width:100%;justify-content:flex-start;gap:.35rem}.cliente-toolbar .btn{flex:1 1 calc(50% - .35rem)}.estado-toggle{width:100%;justify-content:space-between;gap:.25rem;padding:.18rem}.estado-pill{flex:1;min-height:28px;padding:.2rem .35rem;font-size:.7rem}.cliente-programacion{margin-top:.15rem;padding:.55rem;gap:.34rem;border-radius:10px}.cliente-programacion label,.form-grid label{font-size:.8rem;gap:.22rem}.cliente-programacion input,.form-grid input,.form-grid select,.section-stack>label input,.global-search input{min-height:36px;padding:.42rem .5rem;font-size:.84rem}.form-grid{gap:10px}.file-field input[type=file]{padding:.42rem;font-size:.78rem}}@media (max-width: 640px){.app-main{margin-top:.6rem}.navbar-links button,.btn{min-height:34px}.cliente-toolbar .btn{flex:1 1 100%}.metrics-grid,.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--mobile-radius: 10px;--mobile-gap: .5rem}.btn{min-height:36px;font-weight:600}.form-grid input,.form-grid select{min-height:38px}@media (max-width: 760px){.app-container{padding:.6rem}.app-header{gap:.55rem;margin-bottom:.6rem}.brand-block{gap:.5rem}.brand-logo,.brand-logo-fallback{width:96px;height:42px;border-radius:10px}.app-header h1{font-size:1rem;line-height:1.2}.app-header p{margin-top:.1rem;font-size:.78rem;opacity:.9}.navbar{width:100%;display:grid;grid-template-columns:auto 1fr;gap:.34rem;align-items:start}.navbar-menu-toggle{min-height:36px;padding:.45rem .65rem;border-radius:var(--mobile-radius);display:inline-flex;gap:.35rem;align-items:center;font-size:.82rem;font-weight:700}.navbar-links{display:none}.navbar-links.open{display:grid;grid-column:1 / -1;grid-template-columns:1fr;gap:.35rem;padding:.45rem;border:1px solid #34343a;border-radius:var(--mobile-radius);background:#111217}.navbar-links button{width:100%;justify-content:flex-start;min-height:34px;padding:.45rem .6rem;font-size:.84rem;border-radius:8px;display:inline-flex;align-items:center;gap:.34rem}.navbar-item-icon{font-size:.92rem}.navbar-user{grid-column:2;display:grid;gap:.3rem;min-width:0}.estado-sistema{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}.navbar-account-menu{display:grid;grid-template-columns:1fr auto;gap:.35rem;align-items:center}.navbar-email{font-size:.75rem;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-settings-button{min-height:34px;min-width:34px;padding:.2rem;font-size:.95rem;border-radius:8px}.metrics-grid,.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.34rem}.metric-card,.dashboard-summary-card,.priority-item,.card{border-radius:var(--mobile-radius);padding:.65rem}.metric-card h3,.dashboard-summary-card h3{font-size:.75rem;margin:0}.metric-card p,.dashboard-summary-card p{font-size:1rem;margin-top:.3rem}.inline-actions{gap:.35rem}.inline-actions .btn{min-height:34px;font-size:.8rem;padding:.38rem .58rem}.priority-item__top{margin-bottom:.55rem}.priority-item__top h3{font-size:.95rem}.priority-data{grid-template-columns:1fr 1fr;gap:.34rem}.priority-data dt{font-size:.69rem}.priority-data dd{font-size:.82rem}.priority-actions{margin-top:.6rem;gap:.4rem}.priority-actions .btn{flex:1;min-width:0;font-size:.79rem}.cliente-item-header{align-items:flex-start;gap:.5rem}.cliente-item-nombre{font-size:1rem;line-height:1.2}.cliente-toolbar{width:100%;justify-content:flex-start;gap:.35rem}.cliente-toolbar .btn,.estado-pill{min-height:34px;font-size:.76rem;padding:.35rem .55rem}.estado-toggle{width:100%;justify-content:space-between;padding:.16rem}.form-grid{grid-template-columns:1fr;gap:.55rem}.form-grid label,.cliente-programacion label{gap:.25rem;font-size:.8rem}.form-grid input,.form-grid select,.cliente-programacion input{min-height:36px;padding:.42rem .52rem;font-size:.87rem}.cliente-programacion{grid-template-columns:1fr;padding:.6rem;gap:.5rem}.edit-inline-grid{grid-template-columns:1fr;gap:.34rem}}@media (max-width: 760px){.app-header{position:sticky;top:.45rem;z-index:45;padding:.55rem .65rem;border-radius:12px;background:linear-gradient(180deg,#101727f7,#0b111ff0);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.brand-block{align-items:center;gap:.4rem}.brand-logo,.brand-logo-fallback{width:88px;height:38px;border-radius:9px}.app-header h1{font-size:.92rem;letter-spacing:.01em}.header-actions{width:100%;align-items:center;justify-content:space-between;gap:.4rem}.navbar{grid-template-columns:auto 1fr;align-items:center;gap:.35rem}.navbar-menu-toggle{min-height:32px;padding:.32rem .48rem;font-size:.74rem;border-radius:8px}.navbar-menu-toggle span:first-child{font-size:.92rem}.notifications-bell{min-width:34px;min-height:34px;border-radius:9px;border-color:#3a465f;background:#11192a;font-size:.92rem;box-shadow:0 8px 20px #00000038}.notifications-badge{top:-6px;right:-6px;min-width:18px;height:18px;font-size:.65rem;color:#fff;background:linear-gradient(135deg,#fb923c,#f97316);box-shadow:0 0 0 2px #0b1120}.notifications-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#02061780;display:grid;place-items:start center;padding:4.4rem .8rem 1rem;animation:notifications-backdrop-in .2s ease}.notifications-panel{position:static;width:min(360px,100%);max-height:min(72vh,580px);overflow:auto;padding:.7rem;border-radius:14px;border-color:#334155;box-shadow:0 18px 34px #02061773;animation:notifications-panel-in .22s ease}.notifications-header{margin-bottom:.55rem}.notifications-header h3{font-size:.88rem}.notifications-pending{font-size:.72rem}.notifications-list{gap:.34rem}.notifications-item{border-radius:10px;padding:.5rem;gap:.3rem}.notifications-item__head strong{font-size:.84rem}.notifications-item__head small,.notifications-item__type,.notifications-item__message,.notifications-data dd{font-size:.74rem}.notifications-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:.28rem}.notifications-data dt{font-size:.62rem}.notifications-actions{margin-top:.15rem;gap:.35rem}.notifications-actions .btn{min-height:30px;font-size:.72rem;padding:.3rem .5rem;border-radius:8px}}@keyframes notifications-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes notifications-panel-in{0%{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.notifications-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#03081461;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:95}.notifications-panel{position:fixed;top:var(--notifications-top, 74px);left:50%;transform:translate(-50%);width:min(360px,calc(100vw - 32px));max-height:min(64vh,calc(100dvh - var(--notifications-top, 74px) - 22px - env(safe-area-inset-bottom)));display:flex;flex-direction:column;overflow:hidden;border-color:#334155;z-index:96}.notifications-header{position:sticky;top:0;z-index:1;margin-bottom:.35rem;padding:0 0 .3rem;background:linear-gradient(145deg,#0b1220,#111827)}.notifications-body{min-height:0;flex:1;overflow-y:auto;display:grid;gap:.45rem;padding-right:.1rem}@media (max-width: 760px){.app-container{padding:.65rem}.app-header{position:sticky;top:.5rem;z-index:120;margin-bottom:.75rem;min-height:64px;padding:.65rem .75rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.6rem;border-radius:16px;background:linear-gradient(135deg,#0c111b,#121927);border-color:#273142}.brand-block{gap:.5rem}.brand-logo,.brand-logo-fallback{width:92px;height:40px;border-radius:10px}.app-header h1{font-size:1.12rem;white-space:nowrap}.header-actions{margin-left:auto;display:contents}.notifications-wrapper{justify-self:end}.notifications-bell{width:92px;height:40px;min-width:42px;min-height:42px;border-radius:12px;display:grid;place-items:center;border:1px solid #334155;background:#ff7a0014}.notifications-bell-icon{font-size:1.05rem}.notifications-badge{top:-5px;right:-5px;min-width:18px;height:18px;font-size:.68rem}.navbar{display:contents}.navbar-menu-toggle{grid-column:1;width:34px;height:34px;min-height:34px;border-radius:10px;padding:0;display:grid;place-items:center;border:1px solid #2f3a4d;background:#131c2a}.navbar-menu-toggle span:last-child,.navbar-user,.estado-sistema,.navbar-email{display:none}.navbar-mobile-backdrop{position:fixed;top:max(74px,calc(env(safe-area-inset-top) + 58px));left:0;right:0;bottom:0;z-index:100;border:0;padding:0;margin:0;background:#0206172e}.navbar-links{display:none;position:fixed;top:max(74px,calc(env(safe-area-inset-top) + 58px));left:.65rem;width:min(340px,calc(100vw - 1.3rem));max-width:calc(100vw - 1.3rem);max-height:min(52vh,360px);overflow-y:auto;overflow-x:hidden;background:#0f1725;border:1px solid #2f3a4d;border-radius:14px;padding:.42rem;box-shadow:0 16px 32px #0000006b;z-index:110}.navbar-links.open{display:grid;grid-template-columns:1fr;gap:.35rem}.navbar-links button{border-radius:10px;padding:.55rem .65rem;font-size:.86rem}.mobile-user-panel{display:grid;gap:.45rem;margin-top:.4rem;padding-top:.5rem;border-top:1px solid #273347}.mobile-user-panel__status,.mobile-user-panel__account{display:flex;align-items:center;flex-wrap:wrap;column-gap:.4rem;row-gap:.2rem;padding:.55rem .6rem;border-radius:10px;background:#0f1725d9;border:1px solid #2e3b50}.mobile-user-panel .estado-sistema{display:inline-flex;min-height:28px;margin-right:0;padding:.28rem .52rem;font-size:.78rem}.mobile-user-panel .estado-sistema strong{color:inherit;font-size:inherit}.mobile-user-panel p{margin:0;font-size:.66rem;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;padding-right:.35rem;border-right:1px solid #334155}.mobile-user-panel strong{color:#f8fafc;font-size:.84rem;line-height:1.2;overflow-wrap:anywhere}.mobile-user-panel span{font-size:.78rem;color:#cbd5e1}.mobile-user-panel__actions{display:grid;grid-template-columns:1fr;gap:.35rem}.mobile-user-panel__actions button{border-radius:10px;text-align:left;font-size:.82rem;padding:.55rem .65rem}.mobile-user-panel__actions .logout-item{border-color:#7f1d1d;color:#fecaca;background:#7f1d1d33}.notifications-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#03081480;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:95;padding:0}.notifications-panel{position:fixed;top:max(var(--notifications-top, 76px),calc(env(safe-area-inset-top) + 68px));left:50%;transform:translate(-50%);width:min(340px,calc(100vw - 20px));max-height:calc(100dvh - max(var(--notifications-top, 76px),calc(env(safe-area-inset-top) + 68px)) - 12px - env(safe-area-inset-bottom));padding:.62rem;border-radius:14px;border:1px solid #334155;background:linear-gradient(145deg,#0b1220,#111827);box-shadow:0 12px 28px #00000073}.notifications-item{padding:.45rem .5rem;border-radius:10px;gap:.25rem}.notifications-header h3{font-size:.9rem}.notifications-data{grid-template-columns:repeat(2,minmax(0,1fr))}.notifications-data dt{display:flex;align-items:center;gap:.2rem;font-size:.62rem}.notifications-actions .btn{flex:1;min-height:30px;padding:.34rem .5rem;font-size:.76rem}.dashboard-app{gap:.5rem}.metrics-grid,.dashboard-summary-grid{gap:.55rem;grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card,.dashboard-summary-card,.priority-item,.card{padding:.7rem;border-radius:12px}.metric-card h3,.dashboard-summary-card h3{font-size:.82rem;margin-bottom:.35rem}.metric-card h3{display:flex;align-items:center;gap:.35rem}.metric-card h3 span{width:1.1rem;text-align:center;font-size:.84rem}.metric-card p,.dashboard-summary-card p{font-size:1.08rem;margin:0;line-height:1.15}.dashboard-summary-card h3{display:flex;align-items:center;gap:.35rem}.inline-actions{gap:.4rem}.inline-actions .btn{padding:.4rem .6rem;font-size:.82rem}.priority-item__top{margin-bottom:.5rem}.priority-data{grid-template-columns:repeat(2,minmax(0,1fr));gap:.34rem}.priority-data dt{font-size:.68rem}.priority-data dd{font-size:.8rem}.priority-actions{margin-top:.6rem;gap:.4rem}.priority-actions .btn{flex:1;font-size:.82rem;padding:.45rem .55rem}}.modal-backdrop--detalles{z-index:60;display:flex;justify-content:center;align-items:flex-start;padding:max(5.8rem,calc(env(safe-area-inset-top) + 4.9rem)) .9rem max(1rem,calc(env(safe-area-inset-bottom) + .45rem));background:#020617d1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card--detalles{width:min(680px,calc(100vw - 1.8rem));max-height:min(74dvh,74svh,74vh);display:flex;flex-direction:column;padding:0;border-radius:16px;border:1px solid rgba(255,122,0,.38);background:linear-gradient(180deg,#0f172afe,#050a16fb);box-shadow:0 24px 54px #0000009e,0 0 0 1px #ff7a0024 inset;overflow:hidden}.modal-header--detalles{position:sticky;top:0;z-index:2;background:#0a0e1af5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-bottom:1px solid rgba(255,122,0,.22);padding:.6rem .78rem;margin-bottom:0}.modal-header--detalles h3{font-size:.96rem}.modal-close{border:1px solid rgba(255,255,255,.2);background:#ffffff0f;color:#f8fafc;width:30px;height:30px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.modal-scroll-body{overflow-y:auto;padding:.46rem .78rem}.modal-grid--detalles{display:grid;grid-template-columns:1fr;gap:.28rem}.detalle-item-row{border:1px solid rgba(148,163,184,.2);background:#02061785;border-radius:9px;padding:.32rem .48rem}.detalle-item-row--compact{display:block}.detalle-item-inline{display:flex;align-items:center;gap:.28rem;width:100%;min-width:0}.detalle-item-label{display:inline-flex;align-items:center;gap:.26rem;font-size:.78rem;color:#e2e8f0;white-space:nowrap;font-weight:600}.detalle-item-value{color:#f8fafc;text-align:left;font-size:.84rem;line-height:1.2;overflow-wrap:anywhere}.detalle-pdfs-actions{display:inline-flex;flex-wrap:wrap;gap:.4rem;align-items:center}.gallery-grid--detalles{margin-top:.25rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:.5rem;align-items:stretch}.detalle-imagen-thumb{position:relative;width:100%;aspect-ratio:4 / 3;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#0f172ac7;cursor:pointer}.detalle-imagen-thumb img{width:100%;height:100%;display:block;object-fit:cover}.detalle-imagen-thumb span{position:absolute;right:.35rem;bottom:.32rem;padding:.18rem .38rem;border-radius:7px;background:#020617d1;color:#f8fafc;font-size:.7rem;font-weight:700}.detalle-imagen-thumb:hover,.detalle-imagen-thumb:focus-visible{border-color:#ff7a00b8;outline:none}.image-viewer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:140;display:flex;align-items:center;justify-content:center;padding:clamp(.55rem,2vw,1rem);background:#000000e0}.image-viewer{width:min(1120px,100%);height:min(780px,92dvh);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:#020617;box-shadow:0 30px 80px #000000b8}.image-viewer__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.58rem .7rem;border-bottom:1px solid rgba(148,163,184,.22);background:#0f172af5}.image-viewer__header>div:first-child{min-width:0;display:grid;gap:.05rem}.image-viewer__header strong,.image-viewer__header span{color:#f8fafc}.image-viewer__header strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-viewer__header span{font-size:.76rem;color:#cbd5e1}.image-viewer__tools{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;flex-wrap:wrap}.image-viewer__tools button,.image-viewer__tools a{min-height:32px;border:1px solid rgba(148,163,184,.3);border-radius:8px;padding:.28rem .5rem;background:#1e293beb;color:#f8fafc;font-size:.76rem;font-weight:700;text-decoration:none}.image-viewer__tools button:disabled{opacity:.45;cursor:not-allowed}.image-viewer__stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#020617;touch-action:none}.image-viewer__stage--draggable{cursor:grab}.image-viewer__stage--draggable:active{cursor:grabbing}.image-viewer__stage img{max-width:100%;max-height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;transition:transform .12s ease;will-change:transform}.image-viewer__nav{position:absolute;top:50%;z-index:2;width:42px;height:56px;border:1px solid rgba(248,250,252,.24);border-radius:10px;background:#020617b8;color:#f8fafc;font-size:2.3rem;line-height:1;transform:translateY(-50%)}.image-viewer__nav--prev{left:.65rem}.image-viewer__nav--next{right:.65rem}.detalle-imagenes-meta{margin-top:.28rem;display:inline-flex;gap:.5rem;flex-wrap:wrap;align-items:center}.modal-footer--detalles{border-top:1px solid rgba(255,122,0,.18);padding:.48rem .78rem .62rem;background:#0a0e1af5}.modal-footer--detalles .btn{width:100%}@media (max-width: 640px){.modal-backdrop--detalles{padding:max(5.5rem,calc(env(safe-area-inset-top) + 4.65rem)) .5rem max(.7rem,calc(env(safe-area-inset-bottom) + .2rem))}.modal-card--detalles{width:min(100%,430px);max-height:min(72dvh,72svh,72vh);border-radius:12px}.modal-header--detalles,.modal-scroll-body,.modal-footer--detalles{padding-left:.64rem;padding-right:.64rem}.detalle-item-row{padding:.28rem .42rem}.detalle-item-inline{gap:.24rem}.detalle-item-label{font-size:.74rem;opacity:.95}.detalle-item-value{font-size:.8rem}.detalle-item-row--imagenes .detalle-item-label{white-space:normal}.gallery-grid--detalles{grid-template-columns:repeat(2,minmax(0,1fr))}.image-viewer{height:min(760px,94dvh);border-radius:10px}.image-viewer__header{align-items:flex-start;flex-direction:column}.image-viewer__tools{width:100%;justify-content:flex-start}.image-viewer__tools button,.image-viewer__tools a{min-height:30px;padding:.24rem .42rem;font-size:.72rem}.image-viewer__nav{width:36px;height:50px;font-size:2rem}}.agenda-visita-card__menu-trigger{display:none}.section-stack .form-grid,.section-stack .form-grid--compact,.section-stack .edit-inline-grid{gap:.52rem}.section-stack .form-grid label,.section-stack .edit-mode-card label,.section-stack .cliente-programacion label{gap:.22rem;font-size:.8rem}.section-stack .form-grid input,.section-stack .form-grid select,.section-stack .edit-mode-card input,.section-stack .edit-mode-card select,.section-stack .cliente-programacion input{min-height:36px;padding:.4rem .54rem;border-radius:8px;font-size:.85rem;line-height:1.2}.section-stack .form-grid .btn,.section-stack .edit-inline-grid__actions .btn{min-height:34px;padding:.34rem .56rem;font-size:.78rem}.section-stack .form-grid .file-field{gap:.2rem}.section-stack .form-grid .file-field input[type=file]{min-height:34px;padding:.36rem .46rem}.section-stack .edit-mode-card{margin-top:.65rem;padding:.72rem}.section-stack .edit-mode-card__header{margin-bottom:.55rem;padding-bottom:.42rem}.section-stack .edit-inline-grid__actions{padding-top:.55rem;gap:.45rem}@media (max-width: 760px){.section-stack .form-grid,.section-stack .form-grid--compact,.section-stack .edit-inline-grid{grid-template-columns:1fr;gap:.44rem}.section-stack .form-grid label,.section-stack .edit-mode-card label,.section-stack .cliente-programacion label{gap:.18rem;font-size:.77rem}.section-stack .form-grid input,.section-stack .form-grid select,.section-stack .edit-mode-card input,.section-stack .edit-mode-card select,.section-stack .cliente-programacion input{min-height:34px;padding:.36rem .5rem;font-size:.82rem}.section-stack .form-grid .btn,.section-stack .edit-inline-grid__actions .btn{min-height:33px;font-size:.76rem;padding:.32rem .5rem}.section-stack .cliente-programacion{padding:.52rem;gap:.4rem}.section-stack .edit-mode-card{margin-top:.55rem;padding:.62rem}}.cliente-columna{display:flex}.cliente-columna--izquierda{flex-direction:column;align-items:flex-start;gap:.35rem}.cliente-columna--estado,.cliente-columna--acciones{align-items:stretch}.cliente-card--compact{gap:.45rem}.cliente-item-header--compact{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.cliente-item-monto{margin:.1rem 0 0;font-size:.82rem;opacity:.88;font-weight:600}.cliente-toolbar--compact{width:auto;display:flex;align-items:center;gap:.4rem}.cliente-identidad{min-width:180px}.cliente-whatsapp-main{min-width:108px}.cliente-acciones-menu{position:relative}.cliente-acciones-menu summary{list-style:none;cursor:pointer;width:34px;height:34px;border:1px solid #2f3f55;border-radius:9px;display:grid;place-items:center;background:#101726;color:#d5e6ff;font-size:1rem}.cliente-acciones-menu summary::-webkit-details-marker{display:none}.cliente-acciones-menu__panel{position:absolute;right:0;top:calc(100% + .35rem);z-index:20;min-width:140px;padding:.38rem;border-radius:10px;border:1px solid #2a3548;background:#0d1320;display:grid;gap:.32rem}.cliente-acciones-inline{display:none;gap:.35rem}.estado-toggle--chips{display:flex;flex-wrap:wrap;width:100%;gap:.3rem;padding:0;border:0;background:transparent}.estado-pill--chip{flex:1 1 auto;min-height:26px;padding:.18rem .42rem;border-radius:999px;font-size:.7rem;line-height:1}@media (max-width: 760px){.cliente-card--compact{padding:.5rem;gap:.34rem}.cliente-item-header--compact{display:grid;grid-template-columns:minmax(130px,1.2fr) minmax(88px,.9fr) minmax(84px,.9fr);align-items:stretch;gap:.38rem}.cliente-item-header--compact .cliente-item-nombre{font-size:.84rem;line-height:1.15;margin:0}.cliente-item-monto{font-size:.72rem;margin-top:.05rem}.cliente-whatsapp-main{min-height:26px;padding:.15rem .36rem;font-size:.65rem;min-width:86px;border-radius:8px}.estado-toggle--chips,.cliente-acciones-inline{display:flex;flex-direction:column;gap:.24rem;width:100%}.estado-pill--chip,.cliente-acciones-inline .btn{width:100%;min-height:24px;font-size:.63rem;padding:.13rem .3rem;justify-content:center;border-radius:999px}.cliente-acciones-inline .btn{border-radius:7px}.cliente-toolbar--compact{width:100%}.cliente-acciones-menu{display:none}}@media (min-width: 761px){.clients-list{gap:.45rem}.cliente-card--compact{padding:.55rem .7rem;border-radius:10px}.cliente-item-header--compact{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(220px,1fr) auto;align-items:center;column-gap:.75rem}.cliente-item-nombre{font-size:.93rem;margin-bottom:.06rem}.cliente-item-monto{margin:0;font-size:.76rem}.estado-toggle--chips{justify-content:flex-start;gap:.22rem;flex-wrap:nowrap}.estado-pill--chip{flex:0 0 auto;min-height:24px;padding:.08rem .5rem;font-size:.67rem;font-weight:600;opacity:.92}.cliente-toolbar--compact{justify-content:flex-end;gap:.28rem}.cliente-whatsapp-main{min-width:98px;min-height:30px;padding:.24rem .56rem;font-size:.72rem}.cliente-acciones-inline{display:flex;align-items:center}.cliente-acciones-inline .btn{min-height:30px;font-size:.7rem;padding:.22rem .5rem}.cliente-acciones-menu{display:none}}.notifications-backdrop{background:#02061733;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.notifications-panel{top:var(--notifications-top, 74px);right:var(--notifications-right, 12px);left:auto;transform:none;width:min(380px,calc(100vw - 24px));max-height:min(68vh,520px);padding:.56rem;border-radius:14px;border:1px solid #334155;background:linear-gradient(145deg,#0b1220,#121a2a);box-shadow:0 14px 28px #02061759;animation:notifications-panel-in .16s ease}.notifications-header{margin-bottom:.4rem;padding:0 0 .38rem}.notifications-header h3{font-size:.88rem}.notifications-pending{font-size:.74rem}.notifications-body{overflow-y:auto;max-height:calc(min(68vh,520px) - 64px);padding-right:.15rem}.notifications-list{gap:.42rem}.notifications-item{padding:.5rem .55rem;border-radius:10px;border:1px solid #475569;background:#1e293b85;gap:.26rem}.notifications-item__head strong{font-size:.84rem}.notifications-item__head small{font-size:.68rem}.notifications-item__type,.notifications-item__message,.notifications-data dd{font-size:.75rem}.notifications-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:.26rem}.notifications-data dt{font-size:.62rem}.notifications-actions{margin-top:.2rem;gap:.3rem}.notifications-actions .btn{min-height:30px;padding:.3rem .48rem;font-size:.72rem}@media (max-width: 760px){.notifications-backdrop{background:#02061742;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.notifications-panel{top:max(var(--notifications-top, 72px),calc(env(safe-area-inset-top) + 62px));right:10px;left:auto;width:min(336px,calc(100vw - 16px));max-height:min(62vh,460px);padding:.5rem;border-radius:12px}.notifications-body{max-height:calc(min(62vh,460px) - 60px)}.notifications-data{grid-template-columns:repeat(2,minmax(0,1fr))}}.form-grid--inline{gap:.42rem}.form-grid--inline .form-row{display:grid;grid-template-columns:minmax(92px,112px) minmax(0,1fr);align-items:center;column-gap:.55rem}.form-grid--inline .form-row>label{margin:0;font-size:.76rem;line-height:1.1;color:#cbd5e1}.form-grid--inline .form-row>input,.form-grid--inline .form-row>select{min-height:31px;padding:.34rem .48rem;margin:0;line-height:1.15}.form-grid--inline .form-grid__submit{margin-top:.2rem}@media (max-width: 760px){.form-grid--inline .form-row{grid-template-columns:minmax(86px,102px) minmax(0,1fr);column-gap:.46rem}.form-grid--inline .form-row>label{font-size:.72rem}.form-grid--inline .form-row>input,.form-grid--inline .form-row>select{min-height:30px;padding:.3rem .44rem}}.historial-view .historial-grid{display:grid;gap:.7rem}.historial-view .historial-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,.18fr) minmax(190px,.32fr) minmax(210px,auto);grid-template-areas:"main estado finanzas actions";align-items:center;column-gap:.85rem;row-gap:.55rem;padding:.72rem .82rem;border:1px solid #2f3f56;border-radius:12px;background:linear-gradient(160deg,#0f172a,#111827);box-shadow:0 10px 22px #00000047}.historial-view .historial-card__main{grid-area:main;display:grid;gap:.38rem;min-width:0}.historial-view .historial-card__header{min-width:0}.historial-view .historial-card h3{margin:0;font-size:.95rem;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.historial-view .historial-chip{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;font-size:.7rem;font-weight:700;color:#dcfce7;background:#16a34a40;border:1px solid rgba(34,197,94,.55);border-radius:999px;padding:.15rem .45rem;white-space:nowrap}.historial-view .historial-card__estado{grid-area:estado;display:flex;align-items:center;justify-content:center;min-width:0}.historial-view .historial-card__direccion,.historial-view .historial-card__meta p,.historial-view .historial-card__monto{margin:0;display:flex;align-items:center;gap:.32rem;font-size:.8rem;line-height:1.25;color:#e2e8f0}.historial-view .historial-card__direccion span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.historial-view .historial-card__meta{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;color:#cbd5e1}.historial-view .historial-card__finanzas{grid-area:finanzas;display:grid;gap:.34rem;min-width:0}.historial-view .historial-card__monto{display:grid;grid-template-columns:minmax(94px,auto) minmax(0,1fr);align-items:baseline;gap:.5rem;font-weight:700}.historial-view .historial-card__monto-label{display:inline-flex;align-items:center;gap:.32rem;min-width:0;white-space:nowrap}.historial-view .historial-card__monto-value{min-width:0;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.historial-view .historial-card__monto--presupuesto{color:#fb923c}.historial-view .historial-card__monto--ganancia{color:#4ade80}.historial-view .historial-card__actions{grid-area:actions;display:grid;grid-template-columns:minmax(96px,auto) minmax(92px,auto);align-items:center;justify-content:flex-end;gap:.42rem;min-width:0}.historial-view .historial-card__actions .btn{display:inline-flex;align-items:center;justify-content:center;padding:.34rem .62rem;font-size:.77rem;border-radius:9px;min-height:auto;white-space:nowrap}.historial-view .historial-card__action-placeholder{display:block;min-width:92px;min-height:1px}@media (max-width: 1024px){.historial-view .historial-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main estado" "finanzas finanzas" "actions actions";row-gap:.5rem}.historial-view .historial-card__estado{justify-content:flex-end;align-self:start}.historial-view .historial-card__finanzas{grid-template-columns:repeat(2,minmax(0,1fr))}.historial-view .historial-card__actions{grid-template-columns:repeat(2,max-content);justify-content:flex-start}}@media (max-width: 720px){.historial-view .historial-card{grid-template-columns:1fr;grid-template-areas:"main" "estado" "finanzas" "actions";padding:.64rem .68rem;gap:.48rem}.historial-view .historial-card__estado{justify-content:flex-start}.historial-view .historial-card__meta{gap:.42rem}.historial-view .historial-card__finanzas{grid-template-columns:1fr}.historial-view .historial-card__actions{grid-template-columns:1fr;justify-content:flex-start}.historial-view .historial-card__actions .btn{width:100%}.historial-view .historial-card__action-placeholder{display:none}}.input-like-button{width:100%;min-height:31px;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:.34rem .48rem;text-align:left;font-size:.82rem}.fecha-mobile-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#0206178c;display:grid;place-items:center;padding:12px}.fecha-mobile-modal__card{width:min(360px,calc(100vw - 24px));max-width:100%;background:#111827;border:1px solid #334155;border-radius:12px;padding:.75rem;display:grid;gap:.6rem}.fecha-mobile-modal__card h4{margin:0;font-size:.95rem}.fecha-mobile-modal__fields{display:grid;gap:.5rem}.fecha-mobile-modal__fields label{display:grid;gap:.2rem;font-size:.78rem;color:#cbd5e1}.fecha-mobile-modal__fields input{width:100%;min-height:34px}.fecha-mobile-modal__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}@media (max-width: 760px){.form-grid--inline .form-row>input[type=datetime-local]{max-width:100%;width:100%}}.estado-toggle--chips{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:.3rem}.estado-pill--chip{width:100%;min-height:26px;justify-content:center;font-weight:600}.estado-pill--chip.estado-pill--wait{color:#fff7ed;background:#f9731647;border-color:#f97316}.estado-pill--chip.estado-pill--ok{color:#f5f3ff;background:#7c3aed54;border-color:#8b5cf6}.estado-pill--chip.estado-pill--danger{color:#fefce8;background:#eab3084d;border-color:#eab308}@media (min-width: 761px){.cliente-columna--estado{align-items:flex-start}.estado-toggle--chips{flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:auto;max-width:100%;gap:.24rem}.estado-pill--chip{width:auto;flex:0 0 auto;min-width:84px;min-height:24px;padding:.12rem .48rem;font-size:.66rem;line-height:1}}.brand-logo{width:auto;height:52px;min-width:52px;aspect-ratio:auto;object-fit:contain;object-position:center;padding:.08rem;border-radius:10px}@media (max-width: 900px){.brand-logo{height:44px;min-width:44px;padding:.06rem;border-radius:9px}}@media (max-width: 760px){.brand-logo{height:40px;min-width:40px;padding:.05rem;border-radius:9px}}@media (max-width: 480px){.brand-logo{height:36px;min-width:36px;border-radius:8px}}@media (max-width: 760px){.app-header{grid-template-columns:auto minmax(0,1fr) auto;justify-content:start;column-gap:.32rem}.navbar{width:auto;margin:0}.navbar-menu-toggle{justify-self:start;margin:0;padding-inline:.38rem}.brand-block{grid-column:2;justify-self:start;justify-content:flex-start;width:auto;display:flex;align-items:center;margin-left:0;gap:.22rem;min-width:0}.brand-logo,.brand-logo-fallback{width:36px;min-width:36px;height:36px;padding:.04rem;border-radius:8px}.brand-copy{min-width:0}.brand-copy h1{margin:0;white-space:nowrap}}.cliente-form-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}.cliente-search-field{display:grid;gap:.42rem;width:100%;margin-bottom:.9rem}.cliente-search-field{color:#cbd5e1;font-size:.82rem;font-weight:600}.cliente-search-field>input{width:100%;min-height:44px;padding:.6rem .78rem;border-radius:10px;border:1px solid rgba(148,163,184,.34);background:#0f172ae6;color:#f8fafc}.cliente-search-field>input::placeholder{color:#94a3b8}.cliente-search-field>input:focus{outline:none;border-color:#3b82f6db;box-shadow:0 0 0 3px #3b82f633}.cliente-form-section{border:1px solid var(--color-border);border-radius:14px;padding:1rem;background:#0f172a9e;display:grid;gap:.9rem}.cliente-form-section__title{margin:0;color:#e2e8f0}.cliente-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.cliente-form-grid--control{grid-template-columns:minmax(220px,360px)}.cliente-field{display:flex;flex-direction:column;gap:.38rem;min-width:0}.cliente-field>span{font-size:.82rem;font-weight:600;color:#cbd5e1}.cliente-field>input,.cliente-field>select,.cliente-field>textarea{width:100%;min-width:0;min-height:42px;padding:.58rem .72rem;border-radius:10px;border:1px solid rgba(148,163,184,.34);background:#0f172ae6;color:#f8fafc;font-size:.9rem;line-height:1.25;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}.cliente-field>input::placeholder,.cliente-field>textarea::placeholder{color:#94a3b8}.cliente-field>input:focus,.cliente-field>select:focus,.cliente-field>textarea:focus{outline:none;border-color:#f97316e6;box-shadow:0 0 0 3px #f9731633;background:#0f172afa}.cliente-field>input:disabled,.cliente-field>select:disabled,.cliente-field>textarea:disabled{opacity:.72;cursor:not-allowed}.cliente-field>select{padding-right:2rem;background-image:linear-gradient(45deg,transparent 50%,#94a3b8 50%),linear-gradient(135deg,#94a3b8 50%,transparent 50%);background-position:calc(100% - .95rem) calc(50% - .16rem),calc(100% - .68rem) calc(50% - .16rem);background-size:.34rem .34rem,.34rem .34rem;background-repeat:no-repeat}.cliente-field>select option{background:#0f172a;color:#f8fafc}.cliente-field.file-field>input[type=file]{min-height:42px;padding:.42rem .5rem;border-radius:10px}.presupuesto-card{border:1px solid var(--color-border);border-radius:12px;padding:.85rem;display:grid;gap:.7rem;background:#02061759}.presupuesto-card__title{margin:0}.presupuesto-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.3fr);gap:.7rem;align-items:end}.presupuesto-grid__archivo input[type=file]{width:100%}.edit-presupuesto-count{max-width:320px}.edit-presupuestos-title{margin-top:.15rem}.presupuesto-card--edit{grid-column:1 / -1;padding:.78rem;border-color:#475069c2;background:#0f172a94}.presupuesto-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.presupuesto-card__title{display:grid;gap:.16rem}.presupuesto-card__title span{color:#94a3b8;font-size:.74rem;font-weight:600}.presupuesto-card__remove{width:30px;height:30px;flex:0 0 auto;border:1px solid rgba(248,113,113,.58);border-radius:8px;background:#7f1d1db3;color:#fecaca;font-size:.8rem;font-weight:900;line-height:1}.presupuesto-card__remove:hover,.presupuesto-card__remove:focus-visible{background:#b91c1ce6;color:#fff}.presupuesto-card__current-link{width:fit-content;border:1px solid rgba(59,130,246,.35);border-radius:8px;padding:.32rem .55rem;background:#1e40af3d;color:#bfdbfe;font-size:.78rem;font-weight:700;text-decoration:none}.presupuesto-grid--edit{grid-template-columns:minmax(180px,1.35fr) minmax(120px,.75fr) minmax(110px,.65fr) minmax(260px,1.65fr);gap:.78rem;align-items:end}.presupuesto-grid--edit .file-field input[type=file]{min-width:0;white-space:normal}.edit-imagenes-field{grid-column:1 / -1}.cliente-form-layout__submit{width:100%;min-height:44px}@media (max-width: 960px){.cliente-form-grid,.presupuesto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.presupuesto-grid__archivo{grid-column:1 / -1}}@media (max-width: 760px){.cliente-form-section{padding:.82rem}.cliente-form-grid,.cliente-form-grid--control,.presupuesto-grid{grid-template-columns:1fr}.cliente-field>span{font-size:.8rem}}.employees-toolbar,.employees-filters,.employees-grid{display:flex;gap:.6rem;flex-wrap:wrap}.employees-grid .employee-card{width:min(100%,260px)}.employee-card img{width:84px;height:84px;border-radius:50%;object-fit:cover}.btn-orange{background:#ff7a00!important;color:#111!important;border-color:#ff7a00!important}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0008;display:grid;place-items:center;padding:1rem;z-index:60}.modal-card{width:min(640px,100%)}.modal-card form{display:grid;gap:.5rem}.modal-card input{background:#0f0f0f;border:1px solid #3f3f46;color:#fff;padding:.55rem;border-radius:8px}.employees-actions{display:flex;gap:.5rem;flex-wrap:wrap}.employees-crm-ui .employees-toolbar,.employees-crm-ui .employees-filters,.employees-crm-ui .employees-grid{display:flex;gap:.75rem;flex-wrap:wrap}.employees-crm-ui .employees-toolbar{margin-bottom:1rem}.employees-crm-ui .employees-filters{margin-bottom:1.15rem}.employees-crm-ui .employees-grid{margin-top:.25rem;row-gap:1rem}.employees-search{flex:1 1 320px;min-height:46px;display:flex;align-items:center;gap:.6rem;background:#0f172ae6;border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:.55rem .8rem;transition:border-color .25s ease,box-shadow .25s ease}.employees-search:focus-within{border-color:#ff7a00;box-shadow:0 0 0 3px #ff7a002e}.employees-search__icon{opacity:.85}.employees-search input{width:100%;background:transparent;border:0;color:#f8fafc;outline:none}.employees-search input::placeholder{color:#94a3b8}.btn-orange.employees-btn-add{display:inline-flex;align-items:center;gap:.5rem;border-radius:14px;padding:.72rem 1rem;box-shadow:0 10px 26px #ff7a0038}.btn-orange.employees-btn-add:hover{transform:translateY(-1px);box-shadow:0 14px 28px #ff7a004d}.employees-filter-chip{border:1px solid rgba(148,163,184,.24);background:#0f172ab8;color:#e2e8f0;border-radius:999px;padding:.45rem .8rem;display:inline-flex;align-items:center;gap:.4rem;transition:all .2s ease}.employees-filter-chip:hover{border-color:#ff7a008c;transform:translateY(-1px)}.employees-filter-chip.active{background:linear-gradient(135deg,#ff7a00,#ff9e40);color:#111827;border-color:transparent;font-weight:700}.employees-crm-ui .employees-grid .employee-card{width:min(100%,290px);background:#0f172ae0;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:.95rem;transition:transform .25s ease,box-shadow .25s ease}.employees-crm-ui .employees-grid .employee-card:hover{transform:translateY(-4px);box-shadow:0 16px 28px #ff7a001f}.employee-card img{width:88px;height:88px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,122,0,.45)}.employee-card h3{margin:.5rem 0 .2rem;font-size:1.08rem}.employee-card__status{display:inline-flex;border-radius:999px;padding:.23rem .64rem;background:#1e293be6;border:1px solid rgba(148,163,184,.24);font-size:.86rem}.employee-card__docs-alert{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.22rem .58rem;margin:.28rem 0 0;background:#7f1d1d59;border:1px solid rgba(248,113,113,.45);color:#fecaca;font-size:.78rem;font-weight:800}.employee-card__whatsapp{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:.48rem;padding:.48rem .78rem;border-radius:999px;border:1px solid rgba(34,197,94,.58);background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-size:.82rem;font-weight:900;text-decoration:none;box-shadow:0 10px 22px #16a34a2e}.employee-card__whatsapp:hover{transform:translateY(-1px);box-shadow:0 14px 24px #16a34a3d}.employee-card__whatsapp--disabled{opacity:.55;cursor:not-allowed;background:#1e293bc7;border-color:#94a3b847;color:#cbd5e1;box-shadow:none}.employee-card__action{margin-top:.55rem}.employee-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:.42rem;margin-top:.58rem}.employee-card__actions .employee-card__action{margin-top:0;width:100%;min-height:36px;border-radius:9px;font-size:.78rem;font-weight:800}.employee-card__actions .employee-card__action--premium{grid-column:1 / -1}.employee-card__action--edit{border:1px solid rgba(148,163,184,.35);background:#1e293bb8;color:#e2e8f0}.employee-card__action--delete{border:1px solid rgba(248,113,113,.45);background:#7f1d1d3d;color:#fecaca}.modal-card--employees{width:min(680px,100%);background:#020617f5;border:1px solid rgba(148,163,184,.25)}.modal-card--employees form{display:grid;gap:.65rem}.modal-card--employees input,.login-card--premium input,.login-card--premium select,.login-card--premium input[type=file],.login-card--premium textarea,.modal-card--employees button,.login-card--premium button,.login-card--premium label,.login-card--premium .login-error,.login-card--premium .btn-secondary,.login-card--premium .access-switch button,.login-card--premium .access-switch{transition:all .2s ease}.modal-card--employees input,.login-card--premium input,.login-card--premium select,.login-card--premium input[type=file]{background:#0f172ad9;border:1px solid rgba(148,163,184,.25);border-radius:12px;color:#f8fafc;padding:.68rem .78rem}.modal-card--employees input:focus,.login-card--premium input:focus,.login-card--premium select:focus{outline:none;border-color:#ff7a00;box-shadow:0 0 0 3px #ff7a0033}.login-card--premium{gap:.7rem}.access-switch{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-bottom:.35rem}.access-switch button{border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172ab3;color:#e2e8f0;padding:.62rem .7rem;font-weight:600}.access-switch button.active{background:linear-gradient(135deg,#ff7a00,#ff9e40);color:#111827;border-color:transparent;box-shadow:0 10px 24px #ff7a0040}.btn-secondary{border:1px solid rgba(148,163,184,.35);background:#1e293b99;color:#e2e8f0;border-radius:12px;padding:.65rem .78rem}.btn-secondary:hover{border-color:#ff7a0099}.employees-token-box{margin-top:.65rem;padding:.7rem;border-radius:12px;background:#0f172a8c;border:1px solid rgba(148,163,184,.24)}@media (max-width: 760px){.employees-search{flex-basis:100%}.btn-orange.employees-btn-add{width:100%;justify-content:center;min-height:46px}.employees-filter-chip{min-height:42px}.employees-crm-ui .employees-grid .employee-card{width:100%}.access-switch{grid-template-columns:1fr}}.employee-register-alert{border-radius:12px;padding:.62rem .78rem;font-weight:600;border:1px solid transparent}.employee-register-alert--success{background:#16a34a26;border-color:#4ade8073;color:#bbf7d0}.employee-register-alert--error{background:#dc262629;border-color:#f8717173;color:#fecaca}.login-card input[type=checkbox]{accent-color:#ff7a00}.upload-card{position:relative;display:grid;gap:.45rem;padding:.9rem;border-radius:14px;border:1px dashed rgba(148,163,184,.45);background:linear-gradient(180deg,#0f172aeb,#020617e0);box-shadow:inset 0 0 0 1px #ffffff05,0 10px 22px #02061773;cursor:pointer}.upload-card:hover{border-color:#ff7a00bf;box-shadow:0 0 0 3px #ff7a001f,0 12px 28px #ff7a0029}.upload-card__input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload-card__header{display:flex;align-items:center;gap:.45rem;color:#f8fafc}.upload-card__cta{color:#cbd5e1;font-size:.92rem;border:1px solid rgba(148,163,184,.22);border-radius:10px;padding:.55rem .65rem;background:#0f172a73}.upload-card__status{font-size:.85rem;font-weight:600;color:#94a3b8}.upload-card--uploaded .upload-card__status{color:#86efac}.upload-card--error .upload-card__status{color:#fca5a5}.upload-card__filename{font-size:.82rem;color:#e2e8f0;word-break:break-word}.upload-card__preview{width:88px;height:88px;object-fit:cover;border-radius:10px;border:1px solid rgba(255,122,0,.4)}.upload-badge{margin-left:auto;font-size:.72rem;border-radius:999px;padding:.2rem .5rem}.upload-badge--required{background:#ea580c33;color:#fdba74;border:1px solid rgba(251,146,60,.45)}@media (max-width: 760px){.login-card{width:min(100%,96vw);padding:1rem}.upload-card{padding:.8rem}.upload-card__preview{width:72px;height:72px}}.employee-card__action--premium{width:100%;min-height:42px;border-radius:12px;border:1px solid #ff7a00;background:#ff7a00;color:#111827;font-weight:850;box-shadow:0 4px 10px #ff7a0029;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.employee-card__action--premium:hover{transform:translateY(-1px);box-shadow:0 6px 12px #ff7a0033;border-color:#ff8a1f;background:#ff8a1f}.employee-card__action--premium:focus-visible{outline:none;box-shadow:0 0 0 3px #ff7a003d}.modal-card--employee-profile{width:min(860px,100%);padding:.95rem;display:grid;gap:.85rem;max-height:min(92vh,920px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,122,0,.55) rgba(15,23,42,.8);position:relative}.modal-card--employee-profile::-webkit-scrollbar{width:10px}.modal-card--employee-profile::-webkit-scrollbar-track{background:#0f172ab8;border-radius:999px}.modal-card--employee-profile::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff7a00a6,#ff7a0059);border-radius:999px}.employee-profile-header{display:flex;gap:.8rem;align-items:flex-start;justify-content:space-between;padding:.68rem .72rem;border-radius:14px;background:#0f172ab8;border:1px solid rgba(148,163,184,.22)}.employee-profile-header__content{flex:1;min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.employee-profile-header img{width:76px;height:76px;border-radius:16px;object-fit:cover;border:2px solid rgba(255,122,0,.5);box-shadow:0 0 16px #ff7a0033}.employee-profile-name{margin:.1rem 0 .28rem;font-weight:700;color:#f8fafc}.employee-profile-grid{display:grid;gap:.72rem;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.employee-profile-block{background:#0f172ab3;border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:.75rem;min-width:0}.employee-profile-block h4{margin:0 0 .6rem;color:#ffb777;font-size:.95rem}.employee-profile-block p{margin:0 0 .35rem;color:#e2e8f0}.employee-profile-block p:last-child{margin-bottom:0}.employee-profile-block--token{border-color:#ff7a0073;box-shadow:inset 0 0 0 1px #ff7a0024,0 10px 20px #ff7a001f}.employee-token-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem;letter-spacing:.04em;color:#ffd9b4!important;word-break:break-word}.employee-token-hint{color:#cbd5e1!important;font-size:.85rem}.employee-profile-actions{display:grid;gap:.38rem;padding:.45rem .5rem;border-radius:12px;border:1px solid rgba(148,163,184,.24);background:#020617a6;min-width:154px}.employee-profile-actions h4{margin:0;color:#ffb777;font-size:.95rem}.employee-profile-actions__buttons{display:flex;flex-direction:column;gap:.45rem;align-items:stretch}.employee-profile-action-btn{width:100%;min-height:30px;padding:.28rem .58rem;border-radius:9px;font-size:.81rem;line-height:1.2;font-weight:700;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,filter .2s ease}.employee-profile-action-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 22px #ff7a003d}.employee-profile-action-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #ff7a0047,0 12px 22px #ff7a0033}.employee-profile-action-btn:disabled{cursor:not-allowed;opacity:.75;filter:saturate(.8)}.employee-profile-action-btn--danger{border-color:#fb718573}.employee-profile-action-btn--danger:hover:not(:disabled){box-shadow:0 12px 22px #fb718533;border-color:#fb7185bf}.employee-profile-block--docs{grid-column:1 / -1}.employee-docs-groups{display:grid;gap:.68rem}.employee-doc-group{background:#02061794;border:1px solid rgba(148,163,184,.25);border-radius:12px;padding:.66rem}.employee-doc-group h5{margin:0 0 .55rem;color:#ffd0a4;font-size:.93rem}.employee-doc-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-bottom:.52rem}.employee-doc-thumb{border:1px solid rgba(148,163,184,.34);border-radius:10px;background:#0f172abf;padding:.38rem;text-decoration:none}.employee-doc-thumb img{width:100%;height:96px;object-fit:cover;border-radius:8px;display:block}.employee-doc-thumb span{display:block;margin-top:.36rem;color:#cbd5e1;font-size:.78rem;text-align:center}.employee-doc-open-btn{display:inline-flex;margin-top:.32rem;align-items:center;justify-content:center;min-height:30px;padding:.25rem .6rem;border:1px solid rgba(255,122,0,.7);border-radius:8px;background:linear-gradient(135deg,#ff7a003d,#ff7a0014);color:#ffd8b7;font-weight:700;text-decoration:none;font-size:.8rem}.employee-doc-open-btn:hover{border-color:#ffae71f2;box-shadow:0 8px 16px #ff7a0033}.employee-portal-layout .employee-portal-navbar-links{flex:1}.employee-portal-layout .employee-portal-navbar-links button{min-height:44px;font-weight:700}.employee-portal-layout .employee-portal-navbar-user{display:flex;align-items:center;gap:.6rem}.employee-portal-layout .employee-portal-status{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:.45rem;row-gap:.1rem}.employee-portal-layout .employee-portal-status .estado-sistema__time{grid-column:1 / -1}.employee-portal-layout .employee-portal-account-menu{min-height:44px}.employee-portal-layout .employee-portal-header-actions{display:flex;gap:.55rem;flex-wrap:wrap}.employee-portal-layout .employee-portal-touch-target{min-height:44px;min-width:44px}@media (max-width: 768px){.employee-portal-layout{padding-inline:.55rem}.employee-portal-layout .app-header{padding:.7rem;gap:.65rem}.employee-portal-layout .brand-block{margin-top:.1rem;gap:.5rem}.employee-portal-layout .navbar{flex-direction:column;align-items:stretch;gap:.55rem}.employee-portal-layout .employee-portal-navbar-links button{width:100%;justify-content:center;border-radius:11px}.employee-portal-layout .employee-portal-navbar-user{flex-direction:column;align-items:stretch;gap:.45rem}.employee-portal-layout .employee-portal-status,.employee-portal-layout .employee-portal-account-menu{width:100%}.employee-portal-layout .employee-portal-account-menu{justify-content:space-between}.employee-portal-layout .navbar-email{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-portal-layout .employee-portal-header-actions>*{flex:1 1 160px}.employee-portal-layout .employee-portal-grid .card{margin-inline:0}}@media (max-width: 480px){.employee-portal-layout{padding-inline:.35rem}.employee-portal-layout .app-header{padding:.6rem}.employee-portal-layout .brand-logo{width:36px;height:36px}.employee-portal-layout .app-header h1{font-size:1rem}.employee-portal-layout .employee-portal-header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.employee-portal-layout .employee-portal-header-actions .notifications-wrapper{grid-column:1 / -1;display:flex;justify-content:flex-end}.employee-portal-layout .employee-portal-grid{gap:.65rem}.employee-portal-layout .employee-portal-card{padding:.7rem}}@media (min-width: 769px){.employee-portal-layout{padding-inline:.8rem}.employee-portal-layout .employee-portal-grid{gap:.9rem}}.employee-portal-layout{padding:.85rem}.employee-portal-layout .app-header{background:linear-gradient(165deg,#101623f5,#070b16f5);border:1px solid rgba(100,116,139,.34);box-shadow:0 18px 38px #0000006b,inset 0 0 0 1px #94a3b81c;border-radius:16px}.employee-portal-layout .employee-portal-navbar-links button{background:linear-gradient(145deg,#243047eb,#1a2337f2);border-color:#94a3b873;color:#f8fafc;box-shadow:0 0 0 1px #ffffff08}.employee-portal-layout .employee-portal-navbar-links button.active{background:linear-gradient(140deg,#ff9333,#ff7a00 62%);color:#111827;border-color:#ff9f4a}.employee-portal-brand-block .brand-logo{width:110px;height:50px}.employee-portal-brand-block .brand-copy p{margin:.15rem 0 0;color:#94a3b8;font-size:.85rem}.employee-portal-layout .employee-portal-status{background:#0f172ac2;border:1px solid rgba(148,163,184,.4);border-radius:12px;padding:.42rem .68rem}.employee-portal-layout .employee-portal-account-menu{background:#0f172ac2;border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:.32rem .45rem}.employee-portal-layout .employee-portal-header-actions{align-items:center}.employee-portal-layout .employee-portal-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.95rem}.employee-portal-layout .employee-portal-card{border-radius:14px;border:1px solid rgba(71,85,105,.6);background:linear-gradient(160deg,#111827ed,#0b111ded);box-shadow:0 14px 28px #00000059;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.employee-portal-layout .employee-portal-card:hover{transform:translateY(-2px);border-color:#94a3b8cc;box-shadow:0 18px 34px #0000006b,0 0 0 1px #ff7a0014}.employee-portal-layout .employee-portal-card h3{margin-top:0}.employee-portal-layout .employee-profile-summary{display:flex;align-items:center;gap:.75rem}.employee-portal-layout .employee-avatar{width:72px;height:72px;border-radius:14px;border:1px solid rgba(148,163,184,.5);object-fit:cover;box-shadow:0 8px 18px #00000059}.employee-portal-layout .employee-profile-summary__meta{min-width:0}.employee-portal-layout .employee-portal-profile-name{margin:0;font-weight:700;font-size:1rem}.employee-portal-layout .employee-portal-profile-meta{margin:.2rem 0 0;color:#cbd5e1}.employee-portal-card--resumen-b{grid-column:span 2}.employee-portal-card--laboral-a{grid-column:span 3}.employee-portal-card--laboral-b{grid-column:span 5}.employee-portal-card--operacion-b{grid-column:span 5}.employee-portal-card--comunicacion-a{grid-column:span 8}.employee-portal-card--operacion-c{grid-column:span 4}.employee-portal-layout .employee-portal-inline-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem}@media (max-width: 1024px){.employee-portal-layout .employee-portal-card--resumen-a,.employee-portal-layout .employee-portal-card--resumen-b,.employee-portal-layout .employee-portal-card--laboral-a,.employee-portal-layout .employee-portal-card--laboral-b,.employee-portal-layout .employee-portal-card--operacion-a,.employee-portal-layout .employee-portal-card--operacion-b,.employee-portal-layout .employee-portal-card--comunicacion-a,.employee-portal-layout .employee-portal-card--operacion-c{grid-column:span 6}}@media (max-width: 768px){.employee-portal-layout .employee-portal-grid{grid-template-columns:1fr;gap:.72rem}.employee-portal-layout .employee-portal-card--resumen-a,.employee-portal-layout .employee-portal-card--resumen-b,.employee-portal-layout .employee-portal-card--laboral-a,.employee-portal-layout .employee-portal-card--laboral-b,.employee-portal-layout .employee-portal-card--operacion-a,.employee-portal-layout .employee-portal-card--operacion-b,.employee-portal-layout .employee-portal-card--comunicacion-a,.employee-portal-layout .employee-portal-card--operacion-c{grid-column:span 1}.employee-portal-layout .employee-portal-header-actions>*{flex:1 1 140px}}@media (max-width: 760px){.modal-backdrop{display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;min-height:100dvh}.modal-card--employee-profile{width:min(860px,100%);max-height:min(94dvh,94svh);min-height:auto;margin:.35rem 0}.employee-profile-grid{grid-template-columns:1fr}.employee-profile-header{align-items:flex-start}.employee-profile-header__content{flex-direction:column;align-items:stretch}.employee-profile-actions{min-width:100%}.employee-doc-previews{grid-template-columns:1fr}.employee-doc-thumb img{height:120px}}.employee-portal-layout{min-height:100dvh;background:radial-gradient(circle at 12% 0%,rgba(255,122,0,.12),transparent 28%),linear-gradient(180deg,#111214,#0b0c0f)}.employee-portal-layout .app-header{align-items:center;padding:.85rem 1rem;border-radius:12px;background:#121316f5;border-color:#d2d6dc24;box-shadow:0 18px 46px #00000057}.employee-portal-layout .employee-portal-navbar-links button,.employee-portal-layout .employee-portal-account-menu,.employee-portal-layout .employee-portal-status{border-radius:10px}.employee-portal-layout .employee-portal-navbar-links button{background:#181a1f;border-color:#d2d6dc29;color:#f7f7f8}.employee-portal-layout .employee-portal-navbar-links button.active{background:#f97316;color:#111214;border-color:#fb923c}.employee-portal-layout .employee-portal-account-menu{position:relative;background:#15171c;border-color:#d2d6dc29}.employee-portal-account-dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:45;width:220px;padding:.4rem;display:grid;gap:.25rem;border:1px solid rgba(210,214,220,.18);border-radius:10px;background:#111214;box-shadow:0 18px 42px #00000075}.employee-portal-account-dropdown button{width:100%;justify-content:flex-start;min-height:40px;padding:.58rem .68rem;border:1px solid transparent;border-radius:8px;background:transparent;color:#f7f7f8;font-weight:700}.employee-portal-account-dropdown button:hover{border-color:#f9731659;background:#f973161f}.employee-portal-account-dropdown__danger{color:#fecaca!important}.employee-portal-layout .employee-portal-grid{align-items:stretch}.employee-portal-layout .employee-portal-card{border-radius:10px;background:#15171c;border-color:#d2d6dc24;box-shadow:0 14px 32px #00000047}.employee-portal-layout .employee-portal-card:hover{transform:none;border-color:#f973165c;box-shadow:0 16px 34px #00000057}.employee-portal-layout .employee-portal-card h3{margin:0 0 .72rem;color:#f8fafc;font-size:.92rem;font-weight:800}.employee-portal-layout .employee-avatar{width:88px;height:88px;border-radius:10px;border:2px solid rgba(249,115,22,.45);background:#fff}.employee-portal-layout .employee-portal-profile-name{color:#fff;font-size:1.08rem;line-height:1.2}.employee-portal-layout .employee-portal-profile-meta{color:#aeb6c2;overflow-wrap:anywhere}.employee-status-pill,.employee-document-status,.employee-rubros-list span{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:.24rem .58rem;font-size:.78rem;font-weight:800}.employee-status-pill{margin-top:.48rem;color:#bbf7d0;background:#16653447;border:1px solid rgba(74,222,128,.34)}.employee-portal-value{margin:0;color:#fff;font-size:1.3rem;font-weight:800}.employee-rubros-list{display:flex;flex-wrap:wrap;gap:.42rem}.employee-rubros-list span{color:#fed7aa;background:#f9731621;border:1px solid rgba(249,115,22,.3)}.employee-rubros-list .employee-rubro-pill--green{color:#bbf7d0;background:#16a34a29;border-color:#4ade805c}.employee-documents-list,.employee-attendance-row,.employee-history-summary{display:grid;gap:.62rem}.employee-document-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.55rem;padding:.62rem;border:1px solid rgba(210,214,220,.12);border-radius:8px;background:#ffffff09}.employee-document-row strong,.employee-document-row span{display:block}.employee-document-row strong{color:#f8fafc;font-size:.9rem}.employee-document-row div span{margin-top:.1rem;color:#aeb6c2;font-size:.78rem}.employee-document-status--valid{color:#bbf7d0;background:#1665343d;border:1px solid rgba(74,222,128,.32)}.employee-document-status--expired{color:#fecaca;background:#7f1d1d52;border:1px solid rgba(248,113,113,.34)}.employee-document-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:.28rem .58rem;border-radius:8px;border:1px solid rgba(249,115,22,.44);color:#fed7aa;text-decoration:none;font-weight:800}.employee-attendance-row{margin-top:.65rem;padding:.72rem;border:1px solid rgba(210,214,220,.12);border-radius:8px;background:#ffffff09}.employee-attendance-row__head{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.employee-attendance-row__head strong{color:#fff}.employee-attendance-row__head span{color:#fed7aa;font-weight:800}.employee-attendance-metrics{margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem}.employee-attendance-metrics div,.employee-history-summary div{min-width:0;padding:.52rem;border-radius:8px;background:#00000038;border:1px solid rgba(210,214,220,.1)}.employee-attendance-metrics dt,.employee-history-summary span{color:#9ca3af;font-size:.72rem;font-weight:700}.employee-attendance-metrics dd,.employee-history-summary strong{margin:.12rem 0 0;color:#f8fafc;font-size:.92rem;font-weight:800}.employee-attendance-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.48rem}.employee-history-summary{margin-top:.72rem;grid-template-columns:repeat(4,minmax(0,1fr))}.employee-portal-layout .employee-portal-filters{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(90px,.7fr) minmax(110px,.8fr) auto;gap:.55rem;align-items:end}.employee-portal-layout .employee-portal-filter-field{display:grid;gap:.3rem;color:#cbd5e1;font-size:.78rem;font-weight:700}.employee-portal-layout .employee-portal-filter-field input{width:100%;min-height:40px;border:1px solid rgba(210,214,220,.18);border-radius:8px;background:#0e1014;color:#f8fafc;padding:.5rem .58rem}.employee-portal-layout .employee-portal-filter-field input:focus{outline:none;border-color:#f97316bf;box-shadow:0 0 0 3px #f9731629}.employee-portal-layout .employee-portal-filter-submit{min-height:40px}.employee-portal-layout .employee-empty-state{margin:0;padding:.72rem;border:1px dashed rgba(210,214,220,.2);border-radius:8px;color:#cbd5e1;background:#ffffff08}.employee-portal-card--resumen-b{grid-column:span 3}.employee-portal-card--laboral-a,.employee-portal-card--laboral-b{grid-column:span 5}.employee-portal-card--operacion-a{grid-column:span 7}.employee-portal-card--operacion-b{grid-column:span 12}@media (max-width: 1024px){.employee-attendance-metrics,.employee-history-summary,.employee-portal-layout .employee-portal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.employee-portal-layout .app-header{border-radius:10px}.employee-portal-account-dropdown{left:auto;right:0;width:min(260px,calc(100vw - 2rem))}.employee-portal-layout .employee-profile-summary,.employee-attendance-row__head{align-items:flex-start;flex-direction:column}.employee-document-row{grid-template-columns:1fr;align-items:stretch}.employee-document-status,.employee-document-link{justify-content:center}.employee-attendance-metrics,.employee-history-summary,.employee-portal-layout .employee-portal-filters{grid-template-columns:1fr}.employee-attendance-actions .btn,.employee-portal-layout .employee-portal-filter-submit{width:100%}}.employees-crm-ui .modal-backdrop{align-items:center;justify-content:center;padding:.75rem;overflow:hidden}.employees-crm-ui .modal-card--employee-profile{width:min(1040px,calc(100vw - 1.5rem));max-height:calc(100dvh - 1.5rem);min-height:0;padding:.78rem;gap:.62rem;overflow-y:auto;overflow-x:hidden;border-radius:10px;background:#101218;border-color:#d2d6dc29;box-shadow:0 26px 64px #00000094}.employees-crm-ui .employee-profile-header{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.68rem;align-items:stretch;padding:.58rem;border-radius:9px;background:#ffffff09}.employees-crm-ui .employee-profile-header img{width:64px;height:64px;border-radius:9px}.employees-crm-ui .employee-profile-header__content{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,260px) auto;gap:.7rem;align-items:start}.employees-crm-ui .employee-profile-heading{min-width:0}.employees-crm-ui .employee-profile-kicker{display:block;margin-bottom:.18rem;color:#ffb777;font-size:.72rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.employees-crm-ui .employee-profile-heading h3{margin:0;color:#f8fafc;font-size:1.05rem}.employees-crm-ui .employee-profile-heading__meta{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.42rem}.employees-crm-ui .employee-profile-heading__meta>span{display:inline-flex;align-items:center;min-height:24px;padding:.16rem .48rem;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:#0f172ab8;color:#e2e8f0;font-size:.76rem;font-weight:800}.employees-crm-ui .employee-profile-close-icon{width:34px;height:34px;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#0f172adb;color:#f8fafc;cursor:pointer;font-size:.9rem;font-weight:900;line-height:1}.employees-crm-ui .employee-profile-close-icon:hover{border-color:#ff7a009e;color:#ffd8b7}.employees-crm-ui .employee-profile-header h3,.employees-crm-ui .employee-profile-actions h4,.employees-crm-ui .employee-profile-block h4,.employees-crm-ui .employee-doc-group h5{margin:0 0 .38rem;line-height:1.15}.employees-crm-ui .employee-profile-header h3{font-size:1rem}.employees-crm-ui .employee-profile-name{margin:0 0 .32rem;font-size:.96rem}.employees-crm-ui .employee-profile-actions{min-width:0;padding:.5rem;border-radius:9px}.employees-crm-ui .employee-profile-actions__buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.employees-crm-ui .employee-profile-action-btn{min-height:34px;padding:.32rem .48rem;border-radius:8px;font-size:.76rem;white-space:nowrap}.employees-crm-ui .employee-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;grid-auto-flow:dense;align-items:start}.employees-crm-ui .employee-profile-block{padding:.58rem;border-radius:9px}.employees-crm-ui .employee-profile-block p{margin:0 0 .24rem;font-size:.84rem;line-height:1.3;overflow-wrap:anywhere}.employees-crm-ui .employee-profile-block--personal{grid-column:span 3}.employees-crm-ui .employee-profile-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;margin:0}.employees-crm-ui .employee-profile-detail-list div{min-width:0;padding:.5rem;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:#0206176b}.employees-crm-ui .employee-profile-detail-list dt{margin:0 0 .16rem;color:#94a3b8;font-size:.68rem;font-weight:800;text-transform:uppercase}.employees-crm-ui .employee-profile-detail-list dd{margin:0;color:#f8fafc;font-size:.84rem;font-weight:700;overflow-wrap:anywhere}.employees-crm-ui .employee-profile-emergency-value{display:grid;gap:.16rem}.employees-crm-ui .employee-profile-emergency-value span+span{color:#cbd5e1;font-size:.8rem;font-weight:700}.employees-crm-ui .employee-profile-detail-list--compact{grid-template-columns:1fr}.employees-crm-ui .employee-profile-block--docs{grid-column:span 3;grid-row:span 3}.employees-crm-ui .employee-profile-block--attendance{grid-column:span 3}.employees-crm-ui .employee-profile-block--token{grid-column:span 1;align-self:start;padding-bottom:.5rem}.employees-crm-ui .employee-profile-block--history,.employees-crm-ui .employee-profile-block--confirmations{grid-column:4;align-self:start}.employees-crm-ui .employee-attendance-history-search{display:grid;gap:.25rem;margin-bottom:.48rem;color:#cbd5e1;font-size:.72rem;font-weight:800}.employees-crm-ui .employee-attendance-history-search input{min-height:34px;border:1px solid rgba(148,163,184,.25);border-radius:7px;background:#020617ad;color:#f8fafc;padding:.35rem .45rem}.employees-crm-ui .employee-attendance-history-list li{display:grid;gap:.16rem}.employees-crm-ui .employee-attendance-history-list span,.employees-crm-ui .employee-attendance-history-list small,.employees-crm-ui .employee-attendance-history-list em{color:#cbd5e1;font-size:.76rem;font-style:normal}.employees-crm-ui .employee-confirmation-list li{border-color:#22c55e38}.employees-crm-ui .employee-confirmation-checks{display:grid;grid-template-columns:1fr;gap:.24rem;margin-top:.18rem}.employees-crm-ui .employee-confirmation-check{display:inline-flex;align-items:center;min-height:24px;padding:.16rem .42rem;border:1px solid rgba(148,163,184,.2);border-radius:999px;color:#94a3b8;font-size:.74rem;font-weight:800}.employees-crm-ui .employee-confirmation-check--ok{border-color:#22c55e73;background:#16a34a29;color:#bbf7d0}.employees-crm-ui .employee-confirmation-check--error{border-color:#f8717180;background:#7f1d1d38;color:#fecaca}.notifications-item--clickable{cursor:pointer}.notifications-item--clickable:hover{border-color:#ffae71f2;background:#f9731633}.employee-attendance-report{display:grid;gap:.5rem;margin-top:.62rem;padding:.62rem;border:1px solid rgba(248,113,113,.34);border-radius:10px;background:#7f1d1d2e}.employee-attendance-observation{margin:.45rem 0 0;padding:.48rem .56rem;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0206176b;color:#e2e8f0;font-size:.84rem}.employee-attendance-report label{display:grid;gap:.34rem;color:#fecaca;font-size:.82rem;font-weight:800}.employee-attendance-report textarea{min-height:82px;resize:vertical;border:1px solid rgba(248,113,113,.34);border-radius:8px;background:#020617b8;color:#f8fafc;padding:.55rem .62rem}.employees-crm-ui .employee-profile-block__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.42rem}.employees-crm-ui .employee-profile-block__heading h4{margin:0}.employees-crm-ui .employee-profile-block__heading span{color:#94a3b8;font-size:.76rem;font-weight:800}.employees-crm-ui .employee-attendance-admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem}.employees-crm-ui .employee-attendance-admin-form label{display:grid;gap:.24rem;color:#cbd5e1;font-size:.74rem;font-weight:700}.employees-crm-ui .employee-attendance-admin-form input{width:100%;min-height:34px;border:1px solid rgba(148,163,184,.25);border-radius:7px;background:#020617ad;color:#f8fafc;padding:.35rem .45rem}.employees-crm-ui .employee-attendance-admin-form__wide{grid-column:1 / -1}.employees-crm-ui .employee-attendance-admin-actions{display:flex;justify-content:flex-end;gap:.38rem;flex-wrap:wrap;margin-top:.48rem}.employees-crm-ui .employee-docs-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.employees-crm-ui .employee-doc-group{padding:.5rem;border-radius:9px}.employees-crm-ui .employee-doc-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;margin-bottom:.36rem}.employees-crm-ui .employee-doc-thumb{padding:.28rem;border-radius:8px}.employees-crm-ui .employee-doc-thumb img{height:76px;border-radius:6px}.employees-crm-ui .employee-doc-thumb span{margin-top:.24rem;font-size:.72rem}.employees-crm-ui .employee-doc-open-btn{min-height:28px;margin-top:.22rem;padding:.2rem .5rem;border-radius:7px;font-size:.74rem}.employees-crm-ui .employee-token-value{font-size:.82rem}.employees-crm-ui .employee-profile-block--token button{width:100%;margin-top:.35rem}.employees-crm-ui .employee-profile-block ul{display:grid;gap:.3rem;margin:0;padding:0;list-style:none}.employees-crm-ui .employee-profile-block li{padding:.42rem .5rem;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:#0206175c;color:#e2e8f0;font-size:.8rem}.modal-card--employee-edit{width:min(760px,100%);max-height:min(92dvh,920px);overflow-y:auto;padding:.85rem .85rem 1.25rem;display:grid;gap:.65rem}.employee-edit-header{position:sticky;top:-.85rem;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.3rem 0 .65rem;background:#020617fa;border-bottom:1px solid rgba(148,163,184,.18)}.employee-edit-header h3,.employee-edit-header p{margin:0}.employee-edit-header p{margin-top:.15rem;color:#94a3b8;font-size:.84rem}.employee-edit-close{width:36px;height:36px;border-radius:9px;border:1px solid rgba(148,163,184,.28);background:#0f172ad1;color:#f8fafc;font-size:1.2rem;line-height:1;cursor:pointer}.employee-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.56rem;padding-bottom:.75rem}.employee-edit-form label,.employee-edit-form__rubros{display:grid;gap:.32rem;color:#cbd5e1;font-size:.82rem;font-weight:700}.employee-edit-form input,.employee-edit-form select{width:100%;min-height:40px;border:1px solid rgba(148,163,184,.26);border-radius:8px;background:#0f172ad1;color:#f8fafc;padding:.48rem .58rem}.employee-edit-form__inline{display:flex!important;align-items:center;gap:.45rem;min-height:40px}.employee-edit-form__inline input,.employee-edit-form__rubros input{width:auto;min-height:auto}.employee-edit-form__rubros{grid-column:1 / -1;border:1px solid rgba(148,163,184,.22);border-radius:10px;padding:.62rem;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;overflow:visible}.employee-edit-form__rubros legend{padding:0 .24rem;color:#ffb777}.employee-edit-form__rubros label{display:flex;align-items:center;gap:.42rem;min-height:38px;padding:.42rem .52rem;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a8f;line-height:1.15;white-space:normal}.employee-edit-form__actions{position:sticky;bottom:-.85rem;z-index:3;grid-column:1 / -1;display:flex;justify-content:flex-end;gap:.48rem;padding:.65rem 0 .2rem;background:#020617fa;border-top:1px solid rgba(148,163,184,.18)}.employee-edit-form__actions .btn-secondary,.employee-edit-form__actions .btn-orange{min-height:40px;min-width:132px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;padding:.58rem .82rem;font-weight:800}.employee-delete-backdrop{background:#000000b8}.employee-delete-modal{width:min(430px,100%);padding:1rem;display:grid;justify-items:center;gap:.65rem;text-align:center;border-radius:12px;border:1px solid rgba(248,113,113,.28);background:linear-gradient(180deg,#0f172afa,#020617fa);box-shadow:0 28px 70px #00000094}.employee-delete-modal__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:999px;background:#7f1d1d6b;border:1px solid rgba(248,113,113,.44);color:#fecaca;font-weight:900;font-size:1.2rem}.employee-delete-modal h3{margin:0;color:#f8fafc}.employee-delete-modal p{margin:0;color:#cbd5e1;line-height:1.45}.employee-delete-modal__actions{width:100%;display:grid;grid-template-columns:1fr 1.35fr;gap:.48rem;margin-top:.15rem}.employee-delete-modal__actions button{min-height:42px;border-radius:12px;font-weight:800}.employee-delete-confirm{border:1px solid rgba(248,113,113,.58);background:#7f1d1d6b;color:#fecaca;cursor:pointer}.employee-delete-confirm:hover:not(:disabled){border-color:#fca5a5d9;background:#991b1b94}@media (max-width: 980px){.employees-crm-ui .employee-profile-header__content,.employees-crm-ui .employee-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-crm-ui .employee-profile-block--docs,.employees-crm-ui .employee-profile-block--attendance{grid-column:1 / -1}}@media (max-width: 700px){.employees-crm-ui .modal-backdrop{align-items:stretch;padding:.5rem}.employees-crm-ui .modal-card--employee-profile{width:100%;max-height:calc(100dvh - 1rem)}.employees-crm-ui .employee-profile-header,.employees-crm-ui .employee-profile-header__content,.employees-crm-ui .employee-profile-grid,.employees-crm-ui .employee-docs-groups,.employees-crm-ui .employee-profile-actions__buttons,.employees-crm-ui .employee-attendance-admin-form{grid-template-columns:1fr}.employees-crm-ui .employee-attendance-admin-actions .employee-profile-action-btn{width:100%}.employee-edit-form,.employee-edit-form__rubros{grid-template-columns:1fr}.employee-edit-form__actions{flex-direction:column-reverse}.employee-delete-modal__actions{grid-template-columns:1fr}}.employee-register-optional{display:inline-flex;align-items:center;min-height:24px;padding:.16rem .48rem;border-radius:999px;border:1px solid rgba(148,163,184,.3);color:#cbd5e1;background:#0f172ab3;font-size:.72rem;font-weight:800}.employees-crm-ui .modal-card--employee-profile{width:min(1180px,calc(100vw - 1.5rem));padding:.95rem;gap:.85rem;border-radius:16px;background:radial-gradient(circle at 8% 0%,rgba(249,115,22,.16),transparent 26%),linear-gradient(180deg,#111318,#0b0d12)}.employees-crm-ui .employee-profile-header{grid-template-columns:76px minmax(0,1fr);gap:.9rem;align-items:stretch;padding:.78rem;border-radius:14px;background:linear-gradient(135deg,#ffffff0f,#ffffff06);border-color:#ffffff1f}.employees-crm-ui .employee-profile-header img{width:76px;height:76px;border-radius:14px}.employees-crm-ui .employee-profile-header__content{grid-template-columns:minmax(0,1fr) minmax(270px,330px) auto;gap:.85rem;align-items:start}.employees-crm-ui .employee-profile-heading h3{font-size:1.28rem;letter-spacing:-.02em}.employees-crm-ui .employee-profile-actions{padding:.62rem;border-radius:12px;background:#02061794}.employees-crm-ui .employee-profile-layout{display:grid;gap:.9rem}.employees-crm-ui .employee-profile-block{padding:1rem;border-radius:16px;background:linear-gradient(180deg,#12161feb,#0b0f17e6);border:1px solid rgba(148,163,184,.18);box-shadow:0 18px 34px #0000003d}.employees-crm-ui .employee-profile-section-title{display:flex;align-items:center;gap:.62rem;margin-bottom:.85rem}.employees-crm-ui .employee-profile-section-title span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f9731629;border:1px solid rgba(249,115,22,.34);color:#fed7aa;font-size:.78rem;font-weight:900}.employees-crm-ui .employee-profile-section-title h4,.employees-crm-ui .employee-profile-block__heading h4{margin:0;color:#f8fafc;font-size:1rem;letter-spacing:-.01em}.employees-crm-ui .employee-profile-section-title small{margin-left:auto;color:#94a3b8;font-size:.78rem;font-weight:800}.employees-crm-ui .employee-profile-block--personal{grid-column:auto}.employees-crm-ui .employee-profile-detail-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;overflow:hidden;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:#02061738}.employees-crm-ui .employee-profile-detail-list div{padding:.82rem .9rem;border:0;border-right:1px solid rgba(148,163,184,.12);border-bottom:1px solid rgba(148,163,184,.12);border-radius:0;background:transparent}.employees-crm-ui .employee-profile-detail-list div:nth-child(4n){border-right:0}.employees-crm-ui .employee-profile-detail-list dt{margin-bottom:.24rem;color:#9aa6b8;font-size:.72rem;letter-spacing:.04em}.employees-crm-ui .employee-profile-detail-list dd{color:#f8fafc;font-size:.93rem;line-height:1.35}.employees-crm-ui .employee-profile-detail-list dd a{color:#ffd0a4;text-decoration:none}.employees-crm-ui .employee-profile-detail-list dd a:hover{text-decoration:underline}.employees-crm-ui .employee-profile-operational-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.9rem;align-items:stretch}.employees-crm-ui .employee-profile-block--attendance,.employees-crm-ui .employee-profile-block--history{grid-column:auto;min-height:360px}.employees-crm-ui .employee-profile-block__heading{margin-bottom:.9rem;padding-bottom:.72rem;border-bottom:1px solid rgba(148,163,184,.14)}.employees-crm-ui .employee-profile-panel-kicker{display:block;margin-bottom:.22rem;color:#fb923c;font-size:.72rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.employees-crm-ui .employee-attendance-admin-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem}.employees-crm-ui .employee-attendance-admin-form label,.employees-crm-ui .employee-attendance-history-search{gap:.35rem;color:#d5dce8;font-size:.8rem}.employees-crm-ui .employee-attendance-admin-form input,.employees-crm-ui .employee-attendance-history-search input{min-height:42px;border-radius:11px;background:#0206178a}.employees-crm-ui .employee-attendance-admin-actions{margin-top:.9rem}.employees-crm-ui .employee-attendance-admin-actions .employee-profile-action-btn{width:auto;min-height:42px;padding-inline:1rem}.employees-crm-ui .employee-attendance-history-list{max-height:235px;overflow-y:auto;padding-right:.18rem}.employees-crm-ui .employee-attendance-history-list li{gap:.28rem;padding:.72rem;border-radius:12px;background:#0206176b}.employees-crm-ui .employee-confirmation-checks{grid-template-columns:repeat(2,minmax(0,max-content));gap:.36rem}.employees-crm-ui .employee-history-empty{margin:.7rem 0 0;padding:.85rem;border:1px dashed rgba(148,163,184,.22);border-radius:12px;color:#cbd5e1;background:#02061747}.employees-crm-ui .employee-profile-block--docs{grid-column:auto}.employees-crm-ui .employee-docs-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.employees-crm-ui .employee-doc-group{display:grid;gap:.72rem;padding:.82rem;border-radius:14px;background:#0206176b;border-color:#94a3b833}.employees-crm-ui .employee-doc-group h5{margin:0;color:#f8fafc;font-size:.96rem}.employees-crm-ui .employee-doc-previews{gap:.55rem;margin:0}.employees-crm-ui .employee-doc-thumb{padding:.38rem;border-radius:12px;background:#0f172ab8}.employees-crm-ui .employee-doc-thumb img{height:108px;border-radius:9px}.employees-crm-ui .employee-doc-meta{display:grid;gap:.25rem}.employees-crm-ui .employee-doc-meta p{margin:0}.employees-crm-ui .employee-doc-open-btn{width:100%;min-height:38px;margin-top:0;border-radius:11px;font-size:.82rem}.employees-crm-ui .employee-profile-block--token{grid-column:auto;padding:0;overflow:hidden;border-style:dashed;border-color:#94a3b838;background:#0f172a94;box-shadow:none}.employees-crm-ui .employee-profile-block--token summary{cursor:pointer;padding:.85rem 1rem;color:#cbd5e1;font-weight:900;list-style-position:inside}.employees-crm-ui .employee-profile-block--token[open]{padding-bottom:.85rem}.employees-crm-ui .employee-profile-block--token p,.employees-crm-ui .employee-profile-block--token button{margin-left:1rem;margin-right:1rem}.employees-crm-ui .employee-token-value{font-size:.9rem}@media (max-width: 980px){.employees-crm-ui .employee-profile-header__content{grid-template-columns:minmax(0,1fr) auto}.employees-crm-ui .employee-profile-actions{grid-column:1 / -1}.employees-crm-ui .employee-profile-detail-list,.employees-crm-ui .employee-docs-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-crm-ui .employee-profile-detail-list div:nth-child(4n){border-right:1px solid rgba(148,163,184,.12)}.employees-crm-ui .employee-profile-detail-list div:nth-child(2n){border-right:0}.employees-crm-ui .employee-profile-operational-row{grid-template-columns:1fr}.employees-crm-ui .employee-profile-block--attendance,.employees-crm-ui .employee-profile-block--history{min-height:auto}}@media (max-width: 700px){.employees-crm-ui .modal-card--employee-profile{width:100%;padding:.72rem;border-radius:14px}.employees-crm-ui .employee-profile-header,.employees-crm-ui .employee-profile-header__content,.employees-crm-ui .employee-profile-detail-list,.employees-crm-ui .employee-docs-groups,.employees-crm-ui .employee-attendance-admin-form{grid-template-columns:1fr}.employees-crm-ui .employee-profile-detail-list div,.employees-crm-ui .employee-profile-detail-list div:nth-child(4n),.employees-crm-ui .employee-profile-detail-list div:nth-child(2n){border-right:0}.employees-crm-ui .employee-profile-actions__buttons,.employees-crm-ui .employee-confirmation-checks{grid-template-columns:1fr}.employees-crm-ui .employee-profile-section-title{align-items:flex-start}.employees-crm-ui .employee-profile-section-title small{margin-left:0}.employees-crm-ui .employee-doc-thumb img{height:126px}.employees-crm-ui .employee-attendance-admin-actions .employee-profile-action-btn{width:100%}}.employee-history-panel,.employees-crm-ui .employee-admin-history-panel{position:relative;overflow:hidden;border-color:#f973163d;background:linear-gradient(145deg,#0f172af0,#020617eb)}.employee-history-heading,.employees-crm-ui .employee-admin-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.employee-history-heading span,.employees-crm-ui .employee-admin-history-heading p{margin:0}.employee-history-heading span{display:block;margin-bottom:.2rem;color:#fb923c;font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.employee-history-heading h3{margin:0;color:#f8fafc}.employee-history-heading p,.employees-crm-ui .employee-admin-history-heading p{max-width:340px;color:#cbd5e1;font-size:.86rem;line-height:1.35}.employee-portal-layout .employee-portal-filters--compact{grid-template-columns:repeat(4,minmax(0,1fr));padding:.55rem;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:#02061757}.employee-portal-layout .employee-portal-filter-field select,.employees-crm-ui .employee-admin-history-filters select,.employees-crm-ui .employee-admin-history-filters input{width:100%;min-height:42px;border:1px solid rgba(148,163,184,.22);border-radius:12px;background:#020617b8;color:#f8fafc;padding:.48rem .62rem;font-weight:800}.employee-portal-layout .employee-portal-filter-field select:focus,.employees-crm-ui .employee-admin-history-filters select:focus,.employees-crm-ui .employee-admin-history-filters input:focus{outline:none;border-color:#f97316bd;box-shadow:0 0 0 3px #f9731629}.employee-history-summary--visual,.employees-crm-ui .employee-admin-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:.9rem 0}.employee-history-summary--visual div,.employees-crm-ui .employee-admin-history-summary div{min-width:0;padding:.82rem;border:1px solid rgba(148,163,184,.16);border-radius:16px;background:linear-gradient(145deg,#0f172ad1,#1e293b6b);box-shadow:inset 0 1px #ffffff0a}.employee-history-summary--visual span,.employees-crm-ui .employee-admin-history-summary span{display:block;color:#cbd5e1;font-size:.76rem;font-weight:900}.employee-history-summary--visual strong,.employees-crm-ui .employee-admin-history-summary strong{display:block;margin-top:.34rem;color:#fff;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:950}.employee-history-summary--visual strong.employee-cost-value,.employees-crm-ui .employee-admin-history-summary strong.employee-cost-value{color:#22c55e}.employee-history-timeline,.employees-crm-ui .employee-admin-history-list{display:grid;gap:.65rem}.employee-history-timeline-item,.employees-crm-ui .employee-admin-history-list li{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(120px,.7fr) minmax(110px,.5fr);gap:.75rem;align-items:center;padding:.85rem;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:#0206177a}.employee-history-timeline-item strong,.employees-crm-ui .employee-admin-history-item-main strong{display:block;color:#f8fafc;font-size:1rem}.employee-history-timeline-item span,.employee-history-timeline-item small,.employees-crm-ui .employee-admin-history-list span,.employees-crm-ui .employee-admin-history-list small,.employees-crm-ui .employee-admin-history-list em{color:#cbd5e1;font-size:.82rem;font-style:normal}.employee-history-timeline-item b,.employees-crm-ui .employee-admin-history-item-main b{display:block;color:#fed7aa;font-size:1.05rem}.employee-history-status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:.32rem .58rem;border-radius:999px;border:1px solid rgba(250,204,21,.28);color:#fde68a!important;background:#713f123d;font-weight:900}.employee-history-status--ok{border-color:#22c55e59;color:#bbf7d0!important;background:#16653442}.employee-history-status--error{border-color:#f8717161;color:#fecaca!important;background:#7f1d1d4d}.employees-crm-ui .employee-profile-operational-row{grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr)}.employees-crm-ui .employee-admin-history-panel{min-height:520px}.employees-crm-ui .employee-admin-history-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;padding:.65rem;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:#02061757}.employees-crm-ui .employee-admin-history-filters label{display:grid;gap:.32rem;color:#d5dce8;font-size:.76rem;font-weight:900}.employees-crm-ui .employee-admin-history-summary{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.employees-crm-ui .employee-admin-history-summary .employee-cost-metric{grid-column:span 2}.employees-crm-ui .employee-admin-history-summary .employee-cost-value{white-space:nowrap;font-size:clamp(1rem,1.45vw,1.35rem)}.employees-crm-ui .employee-admin-history-list{max-height:430px;margin-top:.8rem}.employees-crm-ui .employee-admin-history-list li{grid-template-columns:minmax(0,1fr) auto}.employees-crm-ui .employee-admin-history-item-main,.employees-crm-ui .employee-admin-history-item-side{display:grid;gap:.22rem}.employees-crm-ui .employee-admin-history-item-side{justify-items:end}.employees-crm-ui .employee-admin-history-list em,.employees-crm-ui .employee-admin-history-list .employee-confirmation-checks{grid-column:1 / -1}@media (max-width: 1024px){.employee-portal-layout .employee-portal-filters--compact,.employee-history-summary--visual,.employees-crm-ui .employee-admin-history-filters,.employees-crm-ui .employee-admin-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-crm-ui .employee-profile-operational-row{grid-template-columns:1fr}}@media (max-width: 640px){.employee-history-heading,.employees-crm-ui .employee-admin-history-heading,.employee-history-timeline-item,.employees-crm-ui .employee-admin-history-list li{grid-template-columns:1fr}.employee-history-heading,.employees-crm-ui .employee-admin-history-heading{display:grid}.employee-portal-layout .employee-portal-filters--compact,.employee-history-summary--visual,.employees-crm-ui .employee-admin-history-filters,.employees-crm-ui .employee-admin-history-summary{grid-template-columns:1fr}.employees-crm-ui .employee-admin-history-summary .employee-cost-metric{grid-column:span 1}.employees-crm-ui .employee-admin-history-item-side{justify-items:start}}.employee-portal-layout .employee-portal-grid{gap:.78rem;align-items:start}.employee-portal-layout .employee-portal-card{padding:.9rem;border-color:#d2d6dc1a;box-shadow:0 10px 26px #0000003d}.employee-portal-layout .employee-portal-card:hover{border-color:#f9731642;box-shadow:0 12px 30px #00000047}.employee-portal-layout .employee-profile-card,.employee-portal-layout .employee-portal-card--laboral-a{min-height:auto}.employee-portal-layout .employee-profile-summary{gap:.65rem}.employee-portal-layout .employee-avatar{width:62px;height:62px;border-width:1px}.employee-portal-layout .employee-status-pill{margin-top:.34rem;min-height:24px;padding:.18rem .5rem}.employee-rubros-list{gap:.34rem}.employee-rubros-list span{min-height:24px;padding:.18rem .5rem}.employee-section-heading{display:grid;gap:.15rem;margin-bottom:.7rem}.employee-section-heading--inline{margin-bottom:.35rem}.employee-section-heading span{color:#fb923c;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.employee-section-heading h3{margin:0!important;color:#f8fafc}.employee-portal-card--resumen-a{grid-column:span 4}.employee-portal-card--laboral-a{grid-column:span 8}.employee-portal-card--resumen-operativo,.employee-portal-card--operacion-a,.employee-portal-card--operacion-b,.employee-portal-card--documentos{grid-column:span 12}.employee-operational-summary{border-color:#f973162e!important;background:linear-gradient(145deg,#12141afa,#0e1014f5)!important}.employee-history-summary--standalone{margin:0}.employee-history-summary--visual div{border-color:#d2d6dc17;border-radius:12px;background:#ffffff09;box-shadow:none}.employee-pending-card{align-self:start}.employee-pending-card--empty{padding-block:.75rem}.employee-pending-card--empty .employee-empty-state{padding:.55rem 0;border:0;background:transparent;color:#aeb6c2}.employee-attendance-row,.employee-document-row,.employee-history-timeline-item{border-color:#d2d6dc14;background:#ffffff07}.employee-attendance-metrics div,.employee-history-summary div{border-color:#d2d6dc14}.employee-history-panel{min-height:560px;border-color:#f9731633!important;background:linear-gradient(145deg,#10141dfa,#080a0ff5)!important}.employee-history-heading{margin-bottom:.75rem}.employee-portal-layout .employee-portal-filters--compact{border-color:#d2d6dc14;border-radius:12px;background:#ffffff07}.employee-history-timeline{max-height:min(58vh,640px);overflow-y:auto;padding-right:.18rem}.employee-history-timeline::-webkit-scrollbar{width:7px}.employee-history-timeline::-webkit-scrollbar-thumb{border-radius:999px;background:#f973165c}.employee-documents-card{padding:.55rem .7rem!important;border-color:#d2d6dc14!important;background:#15171cb8!important;box-shadow:none!important}.employee-documents-toggle{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.6rem;min-height:42px;padding:0;border:0;background:transparent;color:#f8fafc;text-align:left;cursor:pointer}.employee-documents-toggle span{font-weight:900}.employee-documents-toggle small{color:#94a3b8;font-weight:800}.employee-documents-toggle strong{color:#fb923c;font-size:.85rem}.employee-documents-card .employee-documents-list,.employee-documents-card .employee-empty-state{margin-top:.45rem}@media (min-width: 900px){.employee-history-timeline-item{grid-template-columns:minmax(0,1.5fr) minmax(130px,.55fr) minmax(120px,.45fr)}}.employee-history-message-card{grid-template-columns:minmax(320px,680px) auto;align-items:center;gap:.68rem;justify-content:space-between;padding:.62rem .78rem;border-color:#f9731629;background:linear-gradient(145deg,#ffffff0b,#0f172a5c)}.employee-history-message-card__date{display:inline-flex;align-items:center;width:fit-content;gap:.42rem;padding:.26rem .58rem;border-radius:999px;border:1px solid rgba(249,115,22,.18);background:#f9731612}.employee-history-message-card__date span{color:#fdba74;font-size:.68rem;font-weight:900;text-transform:uppercase}.employee-history-message-card__date strong{color:#fff;font-size:.82rem;text-align:left}.employee-history-message-card__body{display:contents;min-width:0}.employee-history-message-card__body p{margin:0;max-width:680px;color:#dbe4ef;font-size:.9rem;line-height:1.38;min-width:0}.employee-history-message-card__body p strong{display:inline;color:#fff}.employee-history-message-card__body p b{display:inline;color:#fed7aa;font-weight:950}.employee-history-message-card__meta{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap;justify-content:flex-end}.employee-history-rubro-chip{display:inline-flex;align-items:center;width:fit-content;min-height:31px;padding:.32rem .62rem;border-radius:999px;border:1px solid rgba(148,163,184,.2);background:#0f172abd;color:#e2e8f0!important;font-size:.78rem;font-weight:900}@media (max-width: 1024px){.employee-portal-layout .employee-portal-card--resumen-a,.employee-portal-layout .employee-portal-card--laboral-a,.employee-portal-layout .employee-portal-card--resumen-operativo,.employee-portal-layout .employee-portal-card--operacion-a,.employee-portal-layout .employee-portal-card--operacion-b,.employee-portal-layout .employee-portal-card--documentos{grid-column:span 12}.employee-history-panel{min-height:480px}}@media (max-width: 640px){.employee-portal-layout{padding:.5rem}.employee-portal-layout .employee-portal-grid{gap:.62rem}.employee-portal-layout .employee-portal-card{padding:.72rem;border-radius:12px}.employee-portal-layout .employee-profile-summary{flex-direction:row;align-items:center}.employee-portal-layout .employee-avatar{width:54px;height:54px}.employee-history-panel{min-height:420px}.employee-history-timeline{max-height:none;overflow:visible;padding-right:0}.employee-history-message-card{grid-template-columns:1fr;align-items:start}.employee-history-message-card__date{justify-items:start}.employee-history-message-card__body{display:grid;gap:.5rem}.employee-history-message-card__meta{justify-content:flex-start}.employee-documents-toggle{grid-template-columns:minmax(0,1fr) auto}.employee-documents-toggle small{display:none}}.employees-crm-ui .modal-card--employee-profile{width:min(1240px,calc(100vw - 1.5rem))}.employees-crm-ui .employee-profile-header{gap:1rem;padding:.9rem}.employees-crm-ui .employee-profile-header__content,.employees-crm-ui .employee-profile-layout{gap:1rem}.employees-crm-ui .employee-profile-block{border-color:#94a3b824;box-shadow:0 16px 32px #0003}.employees-crm-ui .employee-profile-block--personal{padding:1.15rem;background:linear-gradient(180deg,#12161ff0,#090d14e6)}.employees-crm-ui .employee-profile-detail-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem 1.15rem;overflow:visible;border:0;border-radius:0;background:transparent}.employees-crm-ui .employee-profile-detail-list div,.employees-crm-ui .employee-profile-detail-list div:nth-child(4n),.employees-crm-ui .employee-profile-detail-list div:nth-child(2n){padding:0;border:0;background:transparent}.employees-crm-ui .employee-profile-detail-list dt{margin-bottom:.28rem;color:#98a6bb;font-size:.71rem}.employees-crm-ui .employee-profile-detail-list dd{color:#f8fafc;font-size:.95rem}.employees-crm-ui .employee-profile-operational-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem}.employees-crm-ui .employee-profile-block--attendance,.employees-crm-ui .employee-profile-block--history{min-height:610px}.employees-crm-ui .employee-admin-history-panel{min-height:610px;border-color:#f9731642}.employees-crm-ui .employee-admin-history-list{max-height:500px;overflow-y:auto;padding-right:.18rem}.employees-crm-ui .employee-profile-block--docs{padding:1.1rem;background:linear-gradient(180deg,#0f131cf0,#090d14e0)}.employees-crm-ui .employee-docs-groups{grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:.9rem}.employees-crm-ui .employee-doc-group{align-content:start;min-height:100%;border:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,#0f172ab8,#02061761);box-shadow:inset 0 1px #ffffff0a}.employees-crm-ui .employee-doc-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-crm-ui .employee-doc-meta{gap:.32rem;padding-top:.12rem}.employees-crm-ui .employee-profile-block--token{margin-top:-.15rem;border-color:#94a3b829;background:#0f172a6b}@media (max-width: 980px){.employees-crm-ui .employee-profile-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-crm-ui .employee-profile-operational-row{grid-template-columns:1fr}.employees-crm-ui .employee-profile-block--attendance,.employees-crm-ui .employee-profile-block--history,.employees-crm-ui .employee-admin-history-panel{min-height:auto}}@media (max-width: 700px){.employees-crm-ui .employee-profile-detail-list,.employees-crm-ui .employee-doc-previews{grid-template-columns:1fr}}:root{--z-base: 1;--z-navbar-dropdown: 70;--z-mobile-backdrop: 90;--z-mobile-menu: 100;--z-notifications: 110;--z-modal-backdrop: 120;--z-modal-content: 121;--z-urgent-overlay: 130}.navbar-dropdown{z-index:var(--z-navbar-dropdown)}.navbar-mobile-backdrop{z-index:var(--z-mobile-backdrop)}.navbar-links.open{z-index:var(--z-mobile-menu)}.notifications-panel{z-index:var(--z-notifications)}.modal-backdrop,.modal-overlay,.password-modal-backdrop,.fecha-mobile-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:clamp(.75rem,2.5vw,1.5rem);background:#020617c7;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:var(--z-modal-backdrop)}.modal-backdrop--detalles{z-index:var(--z-urgent-overlay)}.modal-card,.cierre-modal,.fecha-mobile-modal__card{position:relative;z-index:var(--z-modal-content);width:min(100%,760px);max-width:100%;max-height:min(86vh,920px);overflow:hidden;border-radius:14px}.modal-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.modal-scroll-body,.cierre-modal__body{min-height:0;overflow:auto}.fecha-mobile-modal__card{width:min(100%,440px);max-height:80vh}.cierre-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto}@media (max-width: 760px){.navbar-links{z-index:var(--z-mobile-menu)}}
