/* YMS 1.22 · Electric blue / cyan / orange */
:root{--brand:#0063e6;--cyan:#00c4e8;--navy:#08234a;--orange:#ff8b24;color:#173454;background:#edf6ff}
body{background:radial-gradient(ellipse at 95% 0%,#d9f6ff,transparent 48%),#edf6ff}
.sidebar{background:linear-gradient(160deg,#08234a,#073865);border-right:0;box-shadow:5px 0 24px #08234a18}
.brand{gap:10px}.brand-logo-wrap{background:#fff;border-radius:14px;padding:12px 10px;box-shadow:0 8px 20px #00152a25}.yms-logo{display:block;width:100%;height:auto;object-fit:contain}.brand-title small{color:#c2e5ff;text-align:center}.nav-label{color:#8dc6ee}.sidebar nav button{color:#d5eaff}.sidebar nav button:hover{background:#ffffff14;color:white}.sidebar #nav button.active{background:linear-gradient(100deg,#0063e6,#009dd9);color:white;border-color:#00d1f4;box-shadow:inset 4px 0 #ff962f,0 5px 16px #00183130}.sidebar-footer{color:#b2d2ed}.live-dot{background:#00e1ba;box-shadow:0 0 0 4px #00e1ba15}
.topbar{border-bottom:3px solid #00b8e2;background:white}.topbar-label{color:#0063e6}.topbar-label span{color:#52718c}.avatar{background:#e1f6ff;color:#0063e6}.heading h1{color:#092e59}.heading .eyebrow,.eyebrow{color:#0063e6}.heading p{color:#516e88}
.button,button.small:not(.outline):not(.ghost){background:linear-gradient(110deg,#0063e6,#008bcf);color:#fff;border-color:#0063e6;box-shadow:0 4px 10px #0063e61c}.button:hover,button.small:not(.outline):not(.ghost):hover{background:#004fbe;border-color:#004fbe}.outline,.ghost{color:#0758ae;border-color:#bed6ef}.outline:hover,.ghost:hover{background:#e8f5ff;border-color:#54b7ef}.danger,button.small.danger{background:#fff0ee!important;color:#b52a23!important;border-color:#f4b4ae!important;box-shadow:none}.danger:hover{background:#ffe2dd!important}
.tabs{background:#dcecff}.tabs button{color:#3d6187}.tabs button.active{background:#0063e6;color:white;border-color:#0063e6;box-shadow:0 3px 9px #0063e62b}.panel{border-color:#cee2f4;box-shadow:0 8px 28px #06376309}.panel-head{background:linear-gradient(105deg,#fff,#effaff);border-bottom:1px solid #e2f1fb}.panel-head h2{color:#0b3e72}th{color:#275d8f;background:#eaf5ff}tr:hover td{background:#effaff}td strong{color:#103d68}
.badge{background:#e8eff8;color:#3c5b7d}.badge.good{background:#d8f7eb;color:#096443}.badge.warn{background:#fff0d4;color:#875000}.badge.bad{background:#ffe1df;color:#a32220}.badge.blue{background:#dbefff;color:#075aa6}.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 #cff4ff;border-color:#009ddd}input[type=checkbox],.field input[type=checkbox]{accent-color:#0063e6}button:focus-visible,a:focus-visible{outline:3px solid #00b5df;outline-offset:3px}.note,.route-card{background:#edf8ff;border-left-color:#00a8df;color:#17496e}.checks label,.module-grid .repeat-check{background:#f0f8ff;border-color:#c4dff3}.diagnosis-chip{background:#e1f3ff;color:#075aa6}.diagnosis-chip button{background:#0063e6}.repeat-check{background:#e6f6ff;color:#075aa6;border-color:#a6d8f4}
.capture-section{background:#f3faff;border-color:#c8e3f6}.capture-section-title>span{background:#0063e6;color:white}.capture-section-title h3{color:#124d7c}#patio-form .capture-gps-note{background:#e1f7ff;color:#23647e;border-left:3px solid #00b5df}#matrix-filters{background:#eff9ff;border-color:#bcdff3}.inventory-matrix thead th,.inventory-matrix th:first-child[rowspan]{background:#0063e6;color:white}.inventory-matrix thead tr:nth-child(2) th{background:#084b91}.inventory-matrix td.matrix-loaded{background:#dcf5ff}.inventory-matrix td.matrix-empty{background:#f5fbff}.matrix-link,.gps-link{color:#0063c7}#patio-message{color:#075aa6}
.detail-hero{border-left-color:#0063e6}.detail-asset-icon{background:#dff5ff;color:#0063e6}.timeline-dot{background:#0063e6;border-color:#d9eeff}.timeline-dot.rejected{background:#dc3c32}.detail-gallery a:hover{border-color:#00a8df}
.auth-screen{background:radial-gradient(ellipse at 8% 15%,#0086cb88,transparent 50%),radial-gradient(ellipse at 95% 85%,#00c4e83b,transparent 50%),linear-gradient(140deg,#061c3c,#073a6c);padding:24px}.auth-card{border:1px solid #c7e7ff;border-top:5px solid #00bfe5;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:#0063e6}.auth-card h1{color:#092e59}.auth-card .button{width:100%;min-height:46px}.auth-card .yms-name{color:#56718e}#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:#0063e6;border-color:#bddcf3}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
