/* Orlando CRM / ajuste global 2026. Un sistema visual silencioso y orientado a datos. */
:root,html.dark{--bg:#0d151b;--surface:#172128;--surface2:#1c2830;--ink:#e8f0ee;--sub:#acbaba;--muted:#8fa3a3;--border:#2b3e43;--line:#283a40;--blue:#c6d9f3;--blue-light:#263947;--green:#93cfb0;--green-bg:#1d3c35;--red:#ecadad;--red-bg:#3a2829;--amber:#e6c791;--amber-bg:#3b3124;--shadow:none;}
html.dark,body{background:var(--bg);color:var(--ink)}
html.dark .sidebar{background:#101b20;border-right-color:#263940}
html.dark .topbar{background:rgba(16,27,32,.98);border-bottom-color:#273b40;backdrop-filter:none}
html.dark .nav-item{color:#a9b9bc}
html.dark .nav-item:hover{background:#20323a;color:#f0f5f3}
html.dark .nav-item.active{background:#263c43;color:#f5faf7}
.nav-item.active::before{background:#aac9c3}
html.dark .btn.primary{background:#406c73;border:1px solid #56848a;color:#f8faf9}
html.dark .btn.primary:hover{background:#4b8087;border-color:#61989e}
html.dark .btn:not(.primary){border-color:#394d54}
html.dark .surface,.surface,.lot-card,.inventory-stat{background:#172128;border-color:#2b3d43}
html.dark .lot-card:hover{background:#1b2930;border-color:#536d70}
html.dark .form-control,html.dark .select{background:#1c2930;border-color:#3a5056;color:#f0f5f3}
html.dark .form-control:focus,html.dark .select:focus{border-color:#a9d4ca}
:where(button,a,input,select,textarea,[role="button"]):focus-visible{outline:2px solid #a8d4cb!important;outline-offset:2px}
html.dark .data-table th{background:#1b282f;color:#bbcccc}
html.dark .data-table tr:hover{background:#213139}
.q-preview{background:#172128!important;border:1px solid #2b3e43!important}
.q-stat.main{background:#233941!important;color:#d0e7e1}
.q-stat.main strong{color:#c0e7d8}
.q-preview-price strong{color:#f0f6f3}
.q-panel,.q-preview{border-radius:11px}
.q-layout{gap:18px}
.q-panel-header,.q-body{padding-left:22px;padding-right:22px}
.q-pricing{border-radius:9px}
.page-subtitle{line-height:1.6}
.heading-actions{flex-wrap:wrap}
.inventory-toolbar{flex-wrap:wrap}
.lot-price{letter-spacing:-.03em}
input,button,select,textarea{font-variant-numeric:tabular-nums}
@media(max-width:767px){
 .mobile-bottom-nav{background:#121f24;border-color:#33494d;padding-bottom:env(safe-area-inset-bottom,0px)}
 .mobile-tab{min-height:48px}
 .mobile-tab.active:not(.mobile-create),html.dark .mobile-tab.active:not(.mobile-create){background:#294148;color:#ebf5f0}
 .mobile-tab.mobile-create .mobile-tab-icon,html.dark .mobile-tab.mobile-create .mobile-tab-icon{background:#355d65;color:white}
 .heading-actions{width:100%}
 .heading-actions .btn{flex:1}
 .btn{min-height:43px}
 .lot-actions .btn{min-height:42px}
 .q-layout{display:block}
 .q-preview{position:static;margin-top:16px}
 .q-panel-header,.q-body{padding-left:16px;padding-right:16px}
}
@media(min-width:768px) and (max-width:1399px){.content{padding-left:24px;padding-right:24px}.q-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
