/* MILCOMPASS RC10.419 — Conversational Soldier Support */
#helpSoldierPage .leader-help-search-card{padding:22px;display:grid;gap:16px}.mc419-assistant-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.mc419-assistant-head h3{margin:5px 0 0;font-size:1.45rem}.mc419-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;border:1px solid rgba(149,180,157,.26);border-radius:15px;background:#07170f}.mc419-mode button{border:0;border-radius:11px;background:transparent;color:#9fb0a4;font-weight:800;padding:12px 10px}.mc419-mode button.active{background:#173522;color:#f5f7f4;box-shadow:inset 0 0 0 1px rgba(232,203,87,.38)}.mc419-chat{display:grid;gap:12px;max-height:480px;overflow:auto;padding:4px 2px;scrollbar-width:thin}.mc419-msg{max-width:92%;border-radius:17px;padding:14px 16px;border:1px solid rgba(149,180,157,.24);background:#0a2116}.mc419-msg.user{justify-self:end;background:#20341d;border-color:rgba(232,203,87,.38)}.mc419-msg.assistant{justify-self:start}.mc419-msg span{display:block;color:#e8cb57;font-size:.72rem;letter-spacing:.12em;font-weight:900;margin-bottom:6px}.mc419-msg p{margin:0;color:#eef4ef;line-height:1.55;font-size:1rem}.mc419-typing{opacity:.75}.mc419-compose{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.mc419-compose textarea{resize:none;min-height:62px;max-height:150px;border-radius:15px;border:1px solid rgba(149,180,157,.38);background:#0a2116;color:#fff;padding:13px 14px;font:inherit;line-height:1.35}.mc419-compose textarea:focus{outline:2px solid rgba(232,203,87,.55);outline-offset:1px}.mc419-compose button{min-height:62px;padding:0 20px}.mc419-safety{border:1px solid rgba(232,203,87,.7);background:#2a2110;border-radius:15px;padding:15px}.mc419-safety strong{color:#f3d86e}.mc419-safety p{margin:6px 0 0;color:#eef4ef;line-height:1.45}.mc419-sources{display:grid;gap:9px;padding-top:4px}.mc419-sources article{display:grid;gap:3px;padding:11px 12px;border-radius:12px;background:#07170f;border:1px solid rgba(149,180,157,.2)}.mc419-sources article b{color:#f2f5f2}.mc419-sources article small{color:#9fb0a4}.mc419-sources article a{color:#e8cb57;font-weight:800;text-decoration:none;margin-top:3px}.mc419-shortcuts-title{margin:24px 0 10px}.mc419-shortcuts-title p{margin:5px 0;color:#9fb0a4}.hidden{display:none!important}@media(max-width:560px){#helpSoldierPage .leader-help-search-card{padding:18px}.mc419-compose{grid-template-columns:1fr}.mc419-compose button{min-height:48px}.mc419-msg{max-width:96%}.mc419-mode button{font-size:.86rem}.mc419-assistant-head{align-items:center}.mc419-assistant-head h3{font-size:1.2rem}}

/* RC10.431 — Help My Soldier viewport-fit / no nested scroll */
#helpSoldierPage,
#helpSoldierPage .leader-help-search-card,
#helpSoldierPage .mc419-chat,
#helpSoldierPage .mc419-msg,
#helpSoldierPage .mc419-msg p,
#helpSoldierPage .mc419-compose,
#helpSoldierPage .mc419-sources,
#helpSoldierPage .mc419-sources article {
  min-width:0;
  max-width:100%;
}
#helpSoldierPage { overflow-x:hidden; }
#helpSoldierPage .leader-help-search-card { overflow-x:hidden; }
#helpSoldierPage .mc419-chat {
  max-height:none;
  overflow:visible;
  width:100%;
}
#helpSoldierPage .mc419-msg { width:auto; overflow:hidden; }
#helpSoldierPage .mc419-msg p,
#helpSoldierPage .mc419-msg a,
#helpSoldierPage .mc419-sources article,
#helpSoldierPage .mc419-sources article a {
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
#helpSoldierPage .mc419-compose textarea { min-width:0; max-width:100%; }
@media(max-width:560px){
  #helpSoldierPage .leader-help-search-card{padding-left:14px;padding-right:14px}
  #helpSoldierPage .mc419-msg{max-width:100%}
}

/* RC10.432 — land at the beginning of each new AI answer */
#helpSoldierPage .mc419-msg.assistant{scroll-margin-top:118px;}
