/* New Khar playable archer uses the EXISTING battlefield commands, not a second menu. */
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 column-gap:5px!important;row-gap:3px!important;padding:3px!important;min-height:0!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions >button{
 display:flex!important;grid-column:auto!important;width:100%!important;min-width:0!important;
 height:74px!important;min-height:74px!important;max-height:74px!important;
 border-width:6px!important;border-image-width:6px!important;
 background-position:center 3px!important;background-size:36px 36px!important;
 padding:39px 3px 3px!important;line-height:1.15!important;font:700 10px/1.15 Georgia,serif!important;
 text-align:center!important;align-items:center!important;justify-content:flex-end!important;
 overflow:hidden!important;overflow-wrap:anywhere!important;white-space:normal!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 #deployArcher190{
 background-image:url('../assets/ui/kd149/parts/action_attack.png')!important;
 background-repeat:no-repeat!important;
 color:#f3daa3!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 #deployArcher190:disabled{opacity:.53!important}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 #deployArcher190:not(:disabled){opacity:1!important}
@media(max-width:800px){body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button{
 height:60px!important;min-height:60px!important;max-height:60px!important;background-size:27px 27px!important;
 padding:29px 2px 2px!important;font-size:9px!important;border-width:4px!important;
}}
/* KD199: Five distinct production units, no hidden third row or scroll.
   Readable carved command labels replace dark illustration-over-text. */
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:6px!important;align-items:stretch!important;padding:3px!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button{
 grid-column:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
 height:67px!important;min-height:67px!important;max-height:67px!important;
 font:700 12px/1.23 Georgia,serif!important;letter-spacing:0!important;
 padding:5px 6px!important;
 background-image:none!important;background-color:#18251e!important;
 border:1px solid #9b774b!important;border-image:none!important;border-radius:3px!important;
 text-align:center!important;text-shadow:0 1px 2px #000!important;
 color:#f1d7a5!important;white-space:normal!important;overflow-wrap:normal!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button:disabled{
 opacity:.57!important;color:#d0b992!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button:not(:disabled):hover{
 background-color:#34412b!important;border-color:#e4bd78!important;
}
body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button[hidden]{display:none!important}
@media(max-width:780px){
 body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;
 }
 body.kd-khar190-ready #kd-reference-sidebar #kd-action-zone123 .kd-hire-actions>button{
   min-height:52px!important;max-height:52px!important;height:52px!important;
   font-size:10px!important;padding:3px!important;
 }
}
/* KD200 — highest-specificity canonical HUD override. 5 readable buttons / 2 rows. */
body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions,
body.kd-khar190-ready #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:6px!important;align-items:stretch!important;margin:0!important;padding:3px!important;
 overflow:visible!important;
}
body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions >button,
body.kd-khar190-ready #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions >button{
 display:flex!important;grid-column:auto!important;min-width:0!important;width:100%!important;
 min-height:67px!important;height:67px!important;max-height:67px!important;
 border:1px solid #ac8552!important;border-image:none!important;border-radius:2px!important;
 padding:5px 5px!important;line-height:1.25!important;white-space:normal!important;
 background-image:none!important;background:#18251e!important;
 text-align:center!important;align-items:center!important;justify-content:center!important;
 font:700 12px/1.23 Georgia,serif!important;color:#f1d6a6!important;
 letter-spacing:0!important;overflow-wrap:anywhere!important;text-shadow:0 1px 1px #000!important;
}
body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions >button:disabled{
 opacity:.60!important;filter:none!important;
}
body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions >button[hidden]{display:none!important}
@media(max-width:780px){
 body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;
 }
 body.kd-khar190-ready.kd-ui-compact154 #kd-reference-sidebar[data-kd149-mode=none] #kd-one-context #kd-action-zone123 .kd-hire-actions>button{
  min-height:53px!important;height:53px!important;max-height:53px!important;font-size:10px!important;
 }
}
