/* SHAHIN r25 — slate-wing aviation branding: graphite, silver and falcon gold.
   Purely presentational: Radar, LLM, geofences and offline basemap retain their behavior. */
:root{
  --sh-bg:#09171e;--sh-panel:#102530;--sh-panel-2:#17313c;--sh-ink:#f0f5f5;
  --sh-muted:#a9bdc3;--sh-border:#35515d;--sh-gold:#d9ad6c;
  --sh-gold-light:#f2d39e;--sh-cyan:#63b5cc;--sh-success:#65d0a4;
  --panel:#102530;--panel2:#17313c;--line:#35515d;--text2:#a9bdc3;
  font-family:Tahoma,Arial,sans-serif;color:var(--sh-ink);background:var(--sh-bg);
}
html,body{background:var(--sh-bg)!important;color:var(--sh-ink)}
.appShell{background:var(--sh-bg)!important}
.appShell>.appHeader,body.adminBody>header{
  background:linear-gradient(110deg,#0b1d27 0%,#122d37 54%,#0a1c26 100%)!important;
  border-bottom:1px solid #8b724b!important;
  box-shadow:inset 0 -1px 0 #9f875328!important;
}
.brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:0;direction:rtl}
.brandMark{height:46px;width:46px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 0 7px #ddb8751e)}
.brandText{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:2px;direction:rtl}
.brand b{font-weight:800!important;font-size:23px!important;line-height:1.05;color:#f8e6c4!important;white-space:nowrap;letter-spacing:0}
.brand span,.brandText span{color:#a9c1c7!important;font-size:10.5px!important;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
.topStatus{color:#dbe5e8}
.appFooter{background:#071923!important;border-top:1px solid #4a5d60!important;color:#bacacf!important}
.appFooter span:first-child{color:var(--sh-gold-light);font-weight:700}
button:not(.ghost):not(.tiny):not(.resultCard):not(.deleteFence){background:linear-gradient(115deg,#deb97f,#b78b50);color:#17232a;border:1px solid #e3bf83}
button:hover{filter:brightness(1.1)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #ecc680!important;outline-offset:2px}
button.ghost,.topLink{background:#1a3440!important;border:1px solid #627477!important;color:#dce8e8!important}
button.tiny{background:#203b45;color:#e4d3b0;border:1px solid #63746e}
.rail{background:#102732!important;border-left-color:var(--sh-border)!important}
.rail button{background:#173542!important;border:1px solid #385968!important;color:#f1e6d2!important;font-size:18px}
.rail button:hover{background:#284d59!important;border-color:#cda365!important}
.chatPanel{background:#0d2029!important}
.contextBar,#chatForm{background:#112934!important;border-color:var(--sh-border)!important}
.contextBar #selectedFlight{color:var(--sh-gold-light)!important}
.messages{background:linear-gradient(155deg,#0a1e29,#0d222e 70%,#101f2a)}
.msg.ai{background:#1b3944!important;color:#e7f2f3!important;border:1px solid #426776!important}
.msg.user{background:#3b5e67!important;color:#fff!important;border:1px solid #b6a07845!important}
.msg.error{background:#47292b!important;border-color:#b57670!important}
#chatInput,input,select,textarea{background:#0e2631!important;color:#f1f4f2!important;border-color:#517080!important}
#chatInput::placeholder,input::placeholder{color:#8ca4ad}
.card,.queryResults .resultCard,.flightInfo,.metric,.kpi div{background:#142e3b!important;border-color:#3c5966!important;color:#eaf3f4}
.resultCard:hover,.flightRow:hover{border-color:var(--sh-gold)!important}
.resultHead b,.routeLine b,.metric b{color:#f1deb9!important}
.badge{background:#314b50!important;color:#ead2a5!important}
.muted,.resultCard small,.resultCard span{color:#bdd0d4!important}
.drawer,.drawerHead,.modalCard{background:#0f2732!important;border-color:var(--sh-border)!important}
.adminBody{background:#0b1e27!important}.adminMain{background:transparent!important}
.adminNav button{background:#183943!important;border:1px solid #456271!important;color:#f2e1c8!important}
.adminNav button.active{background:#ad8753!important;color:#121d25!important;outline:2px solid #e6c78f!important}
.loginBox{background:linear-gradient(155deg,#173541,#10232e)!important;border:1px solid #6c765d!important}
.loginBox h2{color:#f0d39d}
.diagOk{border-color:#509d85!important}.diagBad{border-color:#b87372!important}
.dot.ok{background:var(--sh-success)!important;box-shadow:0 0 0 3px #65d0a428}
/* Keep the low-resolution local Natural Earth backdrop readable without a tile service. */
#map{background:radial-gradient(circle at 45% 38%,#f0f5f3 0%,#e2eeef 65%,#d5e4e8 100%)!important}
.mapPanel{border-color:#48616a!important}
.mapTools button{background:linear-gradient(130deg,#d5aa6c,#b48a56)!important;color:#1d2c31!important}
.offlineLegend{background:#112a34f2!important;color:#e6eff1!important;border:1px solid #698081!important}
.offlineLegend .lg.airport{background:#f2c779!important;border-color:#71542b!important}
.leaflet-tooltip.mapHoverName{background:#152f39!important;color:#faebcd!important;border-color:#d2a867!important}
.leaflet-tooltip.mapHoverName:before{border-top-color:#152f39!important}
.leaflet-container .leaflet-control-zoom a{background:#12303a!important;color:#f2dbb5!important;border-color:#71858b!important}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#19323b!important;color:#f1f5f4!important}
.planeMarker svg{fill:#247b96!important;stroke:#f4e3c4!important;stroke-width:.85!important}
.planeMarker.stale svg{fill:#81999b!important;stroke:#dae0de!important}
@media(max-width:950px){
 .brandMark{width:39px;height:39px}.brand b{font-size:20px!important}
 .brandText span{font-size:9px!important}
 .appShell>.appHeader{padding:5px 10px!important}
}
@media(max-width:480px){
 .brandMark{width:34px;height:34px}.brand b{font-size:17px!important}
 .brandText span{max-width:110px;line-height:1.2;font-size:8.5px!important}
 .topStatus{font-size:10px}
}
