.career-focus{margin:8px 0;padding:8px;border:1px solid #8b885d;border-radius:8px;background:#353c3e}
.career-focus[hidden],.career-focus-status[hidden]{display:none}
.career-focus button{min-height:44px;width:100%;font-size:12px;font-weight:700;white-space:normal;color:#f6e4ac;border-color:#a79a67}
.career-focus button[aria-pressed=true]{background:#5c5939;border-color:#e8cd81}
.career-focus p{font-size:10px;line-height:1.5;margin:6px 0 0;color:#d4d7c7}
.career-focus-status{display:block;flex:0 0 100%;grid-column:1/-1;font-size:10px;line-height:1.4;color:#f2d89a;margin-top:3px;white-space:normal;overflow-wrap:anywhere}

/* Keep both automation controls on one row in the narrow landscape console.
   The focus line then stays inside the scrolling dock rather than below it. */
body[data-game=defense][data-field-dock=landscape] .landscape-field-dock .field-tools .fusion-switch{grid-column:1/-1}
body[data-game=defense][data-field-dock=landscape] .career-focus-status{font-size:9px;line-height:12px;margin-top:0}

.career-focus-status:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center}
.career-focus-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.career-focus-reason{white-space:nowrap;color:#c8e3cb}
