*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--verde: #2A5080;--verde-hover: #1E3E68;--verde-oscuro: #1E3354;--cobre: #D4921A;--cobre-hover: #B87A14;--fondo: #F4F5F8;--superficie: #FFFFFF;--superficie2: #EAECF2;--borde: #C2CAD8;--texto: #1A2440;--texto-suave: #4A5878;--blanco: #1A2440;--exito: #1E5A34;--advertencia: #8A6818;--error: #AA2828;--pendiente: #2A5080;--sidebar-w: 240px}html,body,#root{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;background:var(--fondo);color:var(--texto);font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}@keyframes fadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--fondo)}::-webkit-scrollbar-thumb{background:var(--borde);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--verde)}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase}.badge-confirmada{background:#d0e8d4;color:#2a5a34}.badge-pendiente{background:#cce0f0;color:#285480}.badge-completada{background:#cce8d4;color:#2a5a34}.badge-cancelada{background:#f2cccc;color:#882020}.badge-no_show{background:#eee0b8;color:#7a4800}.badge-vip{background:#ede0c0;color:#8a5a18}.badge-frecuente{background:#d0e8d4;color:#2a5a34}.badge-nuevo{background:#cce0f0;color:#285480}.badge-en_riesgo{background:#eee0b8;color:#7a4800}.badge-inactivo{background:#e4e8e0;color:#5a6858}@media(max-width:820px){html,body,#root{width:100%;overflow:hidden}.app-shell{flex-direction:column!important;height:100dvh!important}.app-main{width:100%!important;min-width:0!important;padding-bottom:70px}.app-sidebar{position:fixed;left:0;right:0;bottom:0;z-index:80;width:100%!important;min-height:64px!important;height:64px!important;border-right:0!important;border-top:1px solid rgba(212,146,26,.22);flex-direction:row!important;overflow-x:auto;overflow-y:hidden}.app-sidebar-logo,.app-sidebar-user{display:none!important}.app-sidebar-nav{display:flex!important;flex:1 0 auto!important;gap:4px!important;padding:7px 8px!important;min-width:max-content}.app-sidebar-link{min-width:76px!important;height:50px!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;padding:6px 8px!important;margin-bottom:0!important;font-size:10px!important;text-align:center;white-space:nowrap}.app-sidebar-label{max-width:64px;overflow:hidden;text-overflow:ellipsis}.agenda-page{height:calc(100dvh - 70px)!important;min-width:0}.agenda-header-content{padding:10px 12px!important;align-items:stretch!important;flex-direction:column!important;gap:10px!important}.agenda-date-controls{justify-content:space-between!important;gap:6px!important}.agenda-date-label{min-width:0!important;flex:1}.agenda-date-label>div:first-child{font-size:13px!important;line-height:1.25}.agenda-date-label>div:last-child{display:none}.agenda-header-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.agenda-header-actions button{justify-content:center;min-height:38px;padding:8px 10px!important}.agenda-scroll{width:100%;overflow:auto!important;overscroll-behavior:contain}.agenda-grid{min-width:max(760px,calc(64px + (var(--barberos-count, 4) * 150px)))!important}.agenda-grid[data-single-barber=true]{min-width:100%!important}.agenda-time-column{width:52px!important}.agenda-barber-column{min-width:150px!important}.agenda-grid[data-single-barber=true] .agenda-barber-column{min-width:0!important}.financiero-page{width:100%!important;max-width:none!important;padding:14px 12px 86px!important;box-sizing:border-box;overflow-x:hidden}.finance-period-controls{flex-wrap:nowrap!important;overflow-x:auto;gap:6px!important;padding-bottom:4px;margin-bottom:16px!important}.finance-period-controls button,.finance-tabs button{flex:0 0 auto;min-height:38px}.finance-kpi-grid{grid-template-columns:1fr!important;gap:10px!important;margin-bottom:18px!important}.finance-tabs{overflow-x:auto;white-space:nowrap;gap:4px!important;margin-bottom:18px!important}.finance-tabs button{padding:10px 12px!important}.financiero-page table{min-width:560px}.agenda-modal-panel{width:min(100%,430px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:16px!important;border-radius:10px!important}.agenda-slot-buttons{grid-template-columns:repeat(3,1fr)!important;max-height:188px!important}.agenda-time-picker,.agenda-two-col,.agenda-payment-options,.agenda-modal-actions{grid-template-columns:1fr!important;flex-direction:column!important}}@media(max-width:420px){.agenda-grid{min-width:720px!important}.agenda-grid[data-single-barber=true]{min-width:100%!important}.agenda-barber-column{min-width:140px!important}.agenda-grid[data-single-barber=true] .agenda-barber-column{min-width:0!important}.agenda-slot-buttons{grid-template-columns:repeat(2,1fr)!important}}
