*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #f5f2ee;--surface: #ffffff;--surface2: #efebe5;--surface3: #e8e3dc;--border: rgba(0,0,0,.07);--border2: rgba(0,0,0,.12);--green: #15803d;--green-l: #16a34a;--green-p: rgba(22,163,74,.1);--green-glow:rgba(22,163,74,.18);--white: #1c1917;--muted: rgba(28,25,23,.5);--muted2: rgba(28,25,23,.28);--amber: #b45309;--red: #dc2626;--purple: #7c3aed;--blue: #2563eb;--font-display: "Fraunces", serif;--font-ui: "Syne", sans-serif;--font-mono: "DM Mono", monospace;--sidebar-w: 224px;--header-h: 60px;--radius: 10px;--radius-sm: 6px;--shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);--shadow: 0 4px 12px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05)}html,body,#root{height:100%;background:var(--bg);color:var(--white);font-family:var(--font-mono);font-size:13px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:var(--green)}input,textarea,select{color-scheme:light}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border2);border-radius:2px}scrollbar-width: thin; scrollbar-color: var(--border2) transparent; @keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes glow{0%,to{box-shadow:0 0 0 0 var(--green-glow)}50%{box-shadow:0 0 16px 4px var(--green-glow)}}.fade-up{animation:fadeUp .4s ease both}.fade-in{animation:fadeIn .3s ease both}.slide-in{animation:slideIn .35s ease both}.truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (max-width: 768px){html,body,#root{height:100dvh}header{-webkit-backdrop-filter:blur(12px)!important}.app-layout{flex-direction:column!important}.app-sidebar{display:none!important}.app-main{padding-bottom:64px!important}.mobile-nav{display:flex!important;position:fixed;bottom:0;left:0;right:0;height:60px;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);z-index:100}.app-header{padding:0 16px!important}.app-header .greeting-date{display:none!important}.app-header .greeting-name{font-size:15px!important}.app-header .header-actions{gap:6px!important}table{font-size:11px!important}.modal-box{max-width:100%!important;width:100%!important;margin:0!important;border-radius:16px 16px 0 0!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important}.modal-overlay{align-items:flex-end!important;padding:0!important}.page-pad{padding:16px!important;gap:12px!important}.dashboard-grid{grid-template-columns:1fr!important}.kpi-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.stat-bar{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;padding-bottom:6px!important;gap:8px!important}.stat-bar>*{min-width:130px!important;flex-shrink:0!important}.invoice-controls{flex-direction:column!important;align-items:stretch!important;gap:8px!important}.invoice-filter-row{flex-direction:column!important;align-items:stretch!important;gap:6px!important}.invoice-filter-row>div:first-child{width:100%!important}.invoice-filter-row>div:first-child input{width:100%!important}.invoice-pills{flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;padding-bottom:2px!important}.detail-grid{grid-template-columns:1fr!important;gap:16px!important;padding:16px!important}.config-grid-2{grid-template-columns:1fr!important}.config-grid-3{grid-template-columns:1fr 1fr!important}.agente-sidebar{width:100%!important;border-right:none!important}.agente-sidebar--hidden{display:none!important}.agente-back-btn{display:flex!important}input,textarea,select{font-size:16px!important}.col-hide-mobile{display:none!important}.client-detail-grid{grid-template-columns:1fr!important;gap:12px!important}.ai-pulse-icon{display:none!important}.nueva-factura{font-size:10px!important;padding:5px 10px!important}.table-actions{gap:14px!important}.table-actions>span{padding:10px 2px!important;min-height:44px;display:flex;align-items:center}.invoice-row-actions{display:none!important}}
