/* Transportes Cano · Rojo, blanco y carbón */
:root{--brand:#b91b27;color:#231f22;background:#f8f5f5}
body{background:radial-gradient(ellipse at 95% 0%,#f2dde0,transparent 48%),#f8f5f5}
.sidebar{background:linear-gradient(160deg,#262226,#262226);border-right:0;box-shadow:5px 0 24px #26222618}
.brand{gap:10px}.brand-logo-wrap{background:#fff;border-radius:14px;padding:12px 10px;box-shadow:0 8px 20px #17131425}.yms-logo{display:block;width:100%;height:auto;object-fit:contain}.brand-title small{color:#e3dee0;text-align:center}.nav-label{color:#c3b8bb}.sidebar nav button{color:#ece8e9}.sidebar nav button:hover{background:#ffffff14;color:white}.sidebar #nav button.active{background:linear-gradient(100deg,#b91b27,#b91b27);color:white;border-color:#e33945;box-shadow:inset 4px 0 #f0a9ae,0 5px 16px #1a171830}
.topbar{border-bottom:3px solid #d31320;background:white}.topbar-label{color:#b91b27}.topbar-label span{color:#78666b}.avatar{background:#f1eff0;color:#b91b27}.heading h1{color:#231f22}.heading .eyebrow,.eyebrow{color:#b91b27}.heading p{color:#756469}
.button,button.small:not(.outline):not(.ghost){background:linear-gradient(110deg,#b91b27,#b91b27);color:#fff;border-color:#b91b27;box-shadow:0 4px 10px #b91b271c}.button:hover,button.small:not(.outline):not(.ghost):hover{background:#941623;border-color:#941623}.outline,.ghost{color:#b91b27;border-color:#dad3d5}.outline:hover,.ghost:hover{background:#f8edef;border-color:#e33945}.danger,button.small.danger{background:#fff0ee!important;color:#b52a23!important;border-color:#f4b4ae!important;box-shadow:none}.danger:hover{background:#ffe2dd!important}
.tabs{background:#f2dde0}.tabs button{color:#6a5a5f}.tabs button.active{background:#b91b27;color:white;border-color:#b91b27;box-shadow:0 3px 9px #b91b272b}.panel{border-color:#e3dfe0;box-shadow:0 8px 28px #39303309}.panel-head{background:linear-gradient(105deg,#fff,#f8f5f5);border-bottom:1px solid #f0edee}.panel-head h2{color:#231f22}th{color:#625458;background:#f8edef}tr:hover td{background:#f8f5f5}td strong{color:#231f22}
.badge{background:#f1eff0;color:#64555a}.badge.good{background:#d8f7eb;color:#096443}.badge.warn{background:#fff0d4;color:#875000}.badge.bad{background:#ffe1df;color:#a32220}.badge.blue{background:#f2dde0;color:#b91b27}.dot-warning,.urgent-context{background:#fff5e4;color:#7a4600;border-color:#ffd49b;border-left-color:#ff8b24}.dot-icon{color:#ef7b13}.dot-warning p{color:#7a4600}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid #f9d5d9;border-color:#e33945}input[type=checkbox],.field input[type=checkbox]{accent-color:#b91b27}button:focus-visible,a:focus-visible{outline:3px solid #e33945;outline-offset:3px}.note,.route-card{background:#f7f5f6;border-left-color:#e33945;color:#483d40}.checks label,.module-grid .repeat-check{background:#f8f7f7;border-color:#ded9da}.diagnosis-chip{background:#f8edef;color:#b91b27}.diagnosis-chip button{background:#b91b27}.repeat-check{background:#f4f1f2;color:#b91b27;border-color:#d1c9cb}
.capture-section{background:#f9f9f9;border-color:#e2dcde}.capture-section-title>span{background:#b91b27;color:white}.capture-section-title h3{color:#231f22}#patio-form .capture-gps-note{background:#f1eff0;color:#574a4e;border-left:3px solid #e33945}#matrix-filters{background:#f8f6f7;border-color:#dbd4d6}.inventory-matrix thead th,.inventory-matrix th:first-child[rowspan]{background:#b91b27;color:white}.inventory-matrix thead tr:nth-child(2) th{background:#941623}.inventory-matrix td.matrix-loaded{background:#f2dde0}.inventory-matrix td.matrix-empty{background:#f8f5f5}.matrix-link,.gps-link{color:#b91b27}#patio-message{color:#b91b27}
.detail-hero{border-left-color:#b91b27}.detail-asset-icon{background:#f0eeee;color:#b91b27}.timeline-dot{background:#b91b27;border-color:#eeeaeb}.timeline-dot.rejected{background:#dc3c32}.detail-gallery a:hover{border-color:#e33945}
.auth-screen{background:radial-gradient(ellipse at 8% 15%,#4b272b88,transparent 50%),radial-gradient(ellipse at 95% 85%,#e339453b,transparent 50%),linear-gradient(140deg,#262226,#262226);padding:24px}.auth-card{border:1px solid #e5e1e2;border-top:5px solid #d31320;box-shadow:0 24px 70px #000a}.auth-logo{width:260px;max-width:100%;margin:0 auto 18px}.auth-card .eyebrow{text-align:center;font-size:10px;color:#b91b27}.auth-card h1{color:#231f22}.auth-card .button{width:100%;min-height:46px}.auth-card .yms-name{color:#7b696e}#auth-error:not(:empty),#modal-error:not(:empty),#flash:not(:empty){background:#fff0e4;color:#8a4200;border:1px solid #ffd3a7}#flash.ok{background:#daf7ec;color:#075d40;border-color:#a1e2c7}.menu-toggle{color:#b91b27;border-color:#dbd5d7}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
