/* v0.1.0.57.30 — Amy's compact horizontal conversation identity header.
   Only this header and the message-copy success indicator are affected. */
.hov-workspace-heading.hov30-workspace-heading {
  padding:0!important;
  background:#fbfdff!important;
  border-bottom:1px solid #e0e9f4!important;
}
.hov30-workspace-heading .hov30-identity {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:13px!important;
  width:calc(100% - 18px)!important;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  margin:8px 9px!important;
  padding:8px 12px!important;
  border:1px solid #dfe9fb!important;
  border-radius:19px!important;
  background:linear-gradient(115deg,#e9f2ff 0%,#f3f7ff 100%)!important;
  box-shadow:0 3px 10px rgba(42,79,144,.045)!important;
  box-sizing:border-box!important;
  text-align:left!important;
}
.hov30-identity-icon {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:50%;
  flex:0 0 43px;
  color:#fff;
  background:#dbeaff;
}
.hov30-identity-icon svg {
  width:23px;height:23px;
  padding:4px;
  background:#2379ed;
  border-radius:11px;
  box-sizing:border-box;
  overflow:visible;
}
.hov30-workspace-heading .hov30-identity .hov-panel-title-body.hov30-context {
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 185px!important;
  max-width:185px!important;
  min-width:0!important;
  padding:0 12px 0 0!important;
  gap:5px!important;
  border-right:1px solid #cbdcf5!important;
}
.hov30-identity .hov29-section-label {
  font-size:11px!important;
  line-height:1.1!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  color:#5b789d!important;
  font-weight:760!important;
}
.hov30-identity .hov29-conversation-context {
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  font-size:10px!important;
  line-height:1.15!important;
  color:#647f9d!important;
  white-space:nowrap!important;
  letter-spacing:0!important;
}
.hov30-identity .hov29-conversation-context:before {
  content:'';display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;
  background:#16b77a;box-shadow:0 0 0 2px #d8f8eb;
}
.hov30-workspace-heading .hov30-title-field {
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  min-width:90px!important;
  width:auto!important;
  margin:0!important;
}
.hov30-workspace-heading .hov30-title-field #hovConversationTitle {
  display:block!important;
  width:100%!important;
  height:35px!important;
  line-height:35px!important;
  font-size:13px!important;
  font-weight:750!important;
  color:#153760!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  margin:0!important;
  background:transparent!important;
  padding:0 2px!important;
  border:0!important;
  outline:none!important;
  box-sizing:border-box!important;
}
.hov30-workspace-heading .hov30-title-field #hovConversationTitle:focus-visible {
  outline:2px solid #97bcf1!important;outline-offset:2px!important;border-radius:3px!important;
}
.hov30-workspace-heading .hov-panel-conversation-actions {
  display:grid!important;
  grid-template-columns:repeat(5,28px)!important;
  gap:1px!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:4px 5px!important;
  background:#edf4ff!important;
  border:1px solid #d4e3f9!important;
  border-radius:13px!important;
}
.hov30-workspace-heading .hov-panel-conversation-actions>button {
  width:28px!important;max-width:28px!important;min-height:30px!important;height:30px!important;
  border-radius:9px!important;color:#6c8db5!important;padding:5px!important;
}
.hov30-workspace-heading .hov-panel-conversation-actions>button svg{width:18px!important;height:18px!important;}
/* Keep all existing IDs and actions; order matches Amy's exact reference: +, attach, download, edit, delete. */
.hov30-workspace-heading #hovPanelEditTitle {order:4!important;}
.hov30-workspace-heading #hovPanelDeleteConversation {order:5!important;}
.hov30-workspace-heading #hov24ConversationNew {order:1!important;}
.hov30-workspace-heading #hov24ConversationAttach,.hov30-workspace-heading #studioAttach {order:2!important;}
.hov30-workspace-heading #hov24ConversationDownload,.hov30-workspace-heading #studioDownloadConversation {order:3!important;}
@media(max-width:1170px){
  .hov30-workspace-heading .hov30-identity{gap:10px!important;padding:8px 10px!important;}
  .hov30-workspace-heading .hov30-identity .hov-panel-title-body.hov30-context{flex-basis:158px!important;max-width:158px!important;padding-right:8px!important;}
  .hov30-identity-icon{width:39px;height:39px;flex-basis:39px;}
  .hov30-workspace-heading .hov-panel-conversation-actions{grid-template-columns:repeat(5,26px)!important;padding:3px!important;gap:0!important;}
  .hov30-workspace-heading .hov-panel-conversation-actions>button{width:26px!important;max-width:26px!important;min-height:29px!important;height:29px!important;}
}
@media(max-width:770px){
  .hov30-workspace-heading .hov30-identity{gap:7px!important;margin:6px!important;width:calc(100% - 12px)!important;padding:6px!important;}
  .hov30-workspace-heading .hov30-identity .hov-panel-title-body.hov30-context{flex-basis:120px!important;max-width:120px!important;padding-right:6px!important;}
  .hov30-identity-icon{width:30px;height:30px;flex-basis:30px;}
  .hov30-identity-icon svg{width:19px;height:19px;padding:3px;}
  .hov30-identity .hov29-section-label{font-size:9px!important;}
  .hov30-identity .hov29-conversation-context{font-size:9px!important;white-space:normal!important;}
  .hov30-workspace-heading .hov-panel-conversation-actions{grid-template-columns:repeat(5,23px)!important;}
  .hov30-workspace-heading .hov-panel-conversation-actions>button{width:23px!important;height:26px!important;min-height:26px!important;padding:4px!important;}
  .hov30-workspace-heading .hov30-title-field #hovConversationTitle{font-size:11px!important;}
}
@media(max-width:525px){
  .hov30-workspace-heading .hov30-identity {height:auto!important;max-height:none!important;min-height:68px!important;flex-wrap:wrap!important;align-content:center!important;}
  .hov30-workspace-heading .hov30-identity .hov-panel-title-body.hov30-context{flex:1 1 calc(100% - 55px)!important;max-width:none!important;border-right:0!important;}
  .hov30-workspace-heading .hov30-title-field{flex:1 1 calc(100% - 155px)!important;}
  .hov30-workspace-heading .hov-panel-conversation-actions{flex:0 0 auto!important;}
}
/* Copy confirmation is attached to the actual message, not the unrelated status line. */
.hov-chat-message{position:relative;}
.hov30-copy-toast {
  position:absolute;top:0;right:56px;z-index:12;transform:translateY(-25%);
  display:flex;align-items:center;gap:8px;padding:9px 12px;
  border-radius:10px;background:#202d3c;color:#fff;
  box-shadow:0 8px 22px rgba(14,30,52,.18);
  font-size:12px;font-weight:650;line-height:1.25;
  pointer-events:none;white-space:nowrap;max-width:calc(100% - 20px);
}
.hov30-copy-toast .hov30-copy-check{display:grid;place-items:center;background:#12b76a;border-radius:50%;color:#fff;width:18px;height:18px;font-size:12px;flex:0 0 18px;}
.hov-message-action.hov30-copy-success{color:#10a76e!important;background:#dcfce7!important;border-radius:8px;}
@media(max-width:525px){.hov30-copy-toast{right:5px;top:30px;white-space:normal;font-size:11px;}}
/* Explicit precedence over the older action-order selectors. */
#hovWorkspaceHeading #hovPanelConversationActions #studioNewChat {order:1!important;}
#hovWorkspaceHeading #hovPanelConversationActions #studioAttach {order:2!important;}
#hovWorkspaceHeading #hovPanelConversationActions #studioDownloadConversation {order:3!important;}
#hovWorkspaceHeading #hovPanelConversationActions #hovPanelEditTitle {order:4!important;}
#hovWorkspaceHeading #hovPanelConversationActions #hovPanelDeleteConversation {order:5!important;}
