/* ORBITA 1.6.6.15 - ChatGPT-inspired compact composer, without API changes. */
/* Preserve attachment previews / media recorder above the pill. */
.orb-chatgpt-composer .orb-modern-line {
  display:flex;align-items:center;gap:5px;min-height:58px;
  width:100%;border-radius:999px;border:1px solid #e1e4ea;
  background:#fff;box-shadow:0 3px 16px rgba(25,37,60,.055);
  padding:7px 8px 7px 9px;direction:ltr;
}
.orb-chatgpt-composer .orb-modern-line:focus-within {
  border-color:#b7c9e9;box-shadow:0 3px 17px rgba(42,89,173,.12);
}
.orb-chatgpt-composer .orb-modern-line textarea {
  flex:1 1 auto;min-width:0;width:auto;min-height:42px;height:42px;max-height:144px;
  margin:0!important;padding:10px 5px 9px!important;
  resize:none!important;border:0!important;border-radius:0!important;
  font:14px/1.5 Inter,'Segoe UI',Arial,sans-serif;
  color:#1d2533;background:transparent!important;outline:none!important;
  box-shadow:none!important;overflow-y:hidden;
}
.orb-chatgpt-composer .orb-modern-line textarea::placeholder {color:#858995;opacity:1}
.orb-chatgpt-composer .orb-modern-line .orb-plus-toggle,
.jarvis-panel .orb-plus-host.orb-chatgpt-composer .jarvis-compose-actions .orb-plus-toggle {
  flex:0 0 37px!important;width:37px!important;min-width:37px!important;
  height:37px!important;min-height:37px!important;border:0!important;
  border-radius:50%!important;background:transparent!important;color:#1c2028!important;
  box-shadow:none!important;font-size:29px!important;font-weight:300!important;
  line-height:1!important;margin:0!important;padding:0!important;
}
.orb-chatgpt-composer .orb-modern-line .orb-plus-toggle:hover {background:#f0f2f5!important}
/* The agent controls remain their original, functional buttons. */
.orb-chatgpt-composer.orb-composer {padding:0!important;margin:0;border:0!important;background:transparent!important;box-shadow:none!important}
.orb-chatgpt-composer.orb-composer .orb-modern-line .orb-tools {
  display:flex;flex:0 0 auto;align-items:center;gap:3px;
}
.orb-chatgpt-composer.orb-composer .orb-modern-line .orb-tools > label.orb-icon-btn {
  display:none!important; /* Kept in DOM for existing file/camera handler. */
}
.orb-chatgpt-composer .orb-modern-line .orb-icon-btn,
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button:not(.jarvis-attach-strong) {
  display:inline-flex;flex:0 0 37px;align-items:center;justify-content:center;
  width:37px!important;min-width:37px!important;height:37px!important;min-height:37px!important;
  margin:0!important;padding:8px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#24262a!important;box-shadow:none!important;
}
.orb-chatgpt-composer .orb-modern-line .orb-icon-btn:hover,
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button:not(.jarvis-attach-strong):hover {background:#f0f2f5!important}
.orb-chatgpt-composer .orb-modern-line .orb-icon-btn svg {width:21px;height:21px;stroke-width:1.8}
/* Existing Jarvis voice code changes button text to a stop-square; pseudo icon follows state. */
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button:not(.jarvis-attach-strong){font-size:0!important;position:relative}
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button:not(.jarvis-attach-strong)::before {
  content:'';display:block;width:21px;height:21px;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324262a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='13' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4m-4 0h8'/%3E%3C/svg%3E");
}
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button.jarvis-recording:not(.jarvis-attach-strong) {
  background:#fff0f1!important;color:#b42338!important;
}
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-icon-button.jarvis-recording:not(.jarvis-attach-strong)::before {
  content:'■';display:flex;align-items:center;justify-content:center;background:none;color:#b42338;font-size:21px;
}
.orb-chatgpt-composer .orb-modern-line .orb-send,
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send {
  display:inline-flex;flex:0 0 39px;align-items:center;justify-content:center;
  width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:#92b8f4!important;color:#fff!important;box-shadow:none!important;
}
.orb-chatgpt-composer .orb-modern-line .orb-send:hover,
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send:hover {background:#487fd1!important}
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send {font-size:0!important}
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send::before {
  content:'↑';font:500 28px/1 Inter,'Segoe UI',Arial,sans-serif;margin-top:-3px;
}
.orb-chatgpt-composer .orb-modern-line .orb-send:disabled,
.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send:disabled {opacity:.52!important;cursor:wait}
.jarvis-panel .jarvis-compose.orb-chatgpt-composer {padding:10px 12px 4px;border-top:1px solid #e7ebf1}
.jarvis-panel .jarvis-compose.orb-chatgpt-composer .jarvis-compose-actions.orb-modern-line {margin:0;justify-content:initial;gap:5px}
.jarvis-panel .jarvis-compose.orb-chatgpt-composer .jarvis-hint {display:none!important}
.jarvis-panel .jarvis-compose.orb-chatgpt-composer .jarvis-compose-actions .jarvis-attach-strong {display:none!important}
.orb-chatgpt-composer .orb-plus-menu {text-align:left;direction:ltr}
@media(max-width:500px){
  .orb-chatgpt-composer .orb-modern-line{gap:2px;min-height:54px;padding:6px 6px 6px 5px}
  .orb-chatgpt-composer .orb-modern-line .orb-plus-toggle {flex-basis:33px!important;width:33px!important;min-width:33px!important}
  .orb-chatgpt-composer .orb-modern-line textarea {font-size:13px;padding-left:2px!important;padding-right:2px!important}
}
