.job-composer-shell {
  width: min(100%, 48rem);
  padding-inline: clamp(.75rem, 3vw, 2rem);
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
}

.job-composer-shell *,
.job-prompt-composer * {
  box-sizing: border-box;
}

.job-prompt-composer {
  width: 100%;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 1.75rem !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  overflow: visible;
}

.job-voice-button.is-listening {
  color: #0078d7 !important;
  background: rgba(0, 175, 240, .12) !important;
  box-shadow: 0 0 0 3px rgba(0, 175, 240, .12);
}

.erivan-voice-dialog {
  width: min(31rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: min(90dvh, 46rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 1.75rem;
  color: #111827;
  background: #fff;
  box-shadow: 0 28px 90px rgba(24, 31, 68, .24);
}

.erivan-voice-dialog::backdrop {
  background: rgba(19, 25, 48, .48);
  backdrop-filter: blur(10px);
}

.erivan-voice-window {
  position: relative;
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1.5rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(244, 230, 255, .48), transparent 38%),
    linear-gradient(180deg, #fff 0%, #fcfbff 100%);
}

.erivan-voice-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #5b6474;
  background: rgba(15, 23, 42, .055);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.erivan-voice-close:hover,
.erivan-voice-close:focus-visible {
  background: rgba(0, 120, 215, .12);
  outline: 2px solid rgba(0, 120, 215, .34);
  outline-offset: 2px;
  transform: rotate(5deg);
}

.erivan-voice-brand {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  margin: 0;
  color: #475569;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.erivan-voice-stage {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.erivan-voice-orb-frame {
  position: relative;
  display: grid;
  width: clamp(12rem, 38vw, 16rem);
  aspect-ratio: 1;
  margin: .75rem 0 1.4rem;
  place-items: center;
  isolation: isolate;
}

.erivan-voice-orb-frame::before,
.erivan-voice-orb-frame::after {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(0, 120, 215, .14);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(.76);
}

.erivan-voice-stage[data-state="listening"] .erivan-voice-orb-frame::before,
.erivan-voice-stage[data-state="connecting"] .erivan-voice-orb-frame::before {
  animation: erivan-voice-ring 2.1s ease-out infinite;
}

.erivan-voice-stage[data-state="listening"] .erivan-voice-orb-frame::after,
.erivan-voice-stage[data-state="connecting"] .erivan-voice-orb-frame::after {
  animation: erivan-voice-ring 2.1s ease-out .7s infinite;
}

.erivan-ai-orb {
  position: relative;
  display: block;
  width: 76%;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 27% 22%, rgba(255, 255, 255, .96) 0 3%, rgba(255, 255, 255, .28) 13%, transparent 31%),
    radial-gradient(ellipse at 72% 33%, rgba(237, 124, 224, .9) 0 2%, rgba(222, 135, 232, .68) 17%, transparent 42%),
    radial-gradient(ellipse at 33% 77%, rgba(0, 175, 240, .96) 0 8%, rgba(0, 120, 215, .9) 28%, rgba(87, 122, 240, .68) 43%, transparent 62%),
    radial-gradient(ellipse at 72% 75%, rgba(191, 169, 255, .85), transparent 47%),
    linear-gradient(145deg, #f5eaff 3%, #e8dcff 43%, #dcecff 100%);
  box-shadow:
    inset -14px -18px 30px rgba(68, 92, 222, .18),
    inset 12px 12px 28px rgba(255, 255, 255, .82),
    0 22px 62px rgba(104, 98, 216, .25);
  filter: saturate(1.06);
  animation: erivan-orb-float 3.4s ease-in-out infinite;
}

.erivan-ai-orb::before,
.erivan-ai-orb::after {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  content: "";
  filter: blur(13px);
  pointer-events: none;
}

.erivan-ai-orb::before {
  right: -18%;
  bottom: -11%;
  width: 88%;
  height: 57%;
  background: linear-gradient(145deg, #00aff0 3%, #0078d7 56%, #9b85ff 100%);
  transform: rotate(-23deg);
  animation: erivan-orb-blue-flow 5s ease-in-out infinite alternate;
}

.erivan-ai-orb::after {
  top: 10%;
  left: 16%;
  width: 76%;
  height: 48%;
  background: linear-gradient(125deg, rgba(255, 255, 255, .88), #e179df 62%, #b78aff);
  transform: rotate(-20deg);
  animation: erivan-orb-pink-flow 4.2s ease-in-out infinite alternate;
}

.erivan-ai-orb--skype {
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255, 255, 255, .98) 0 4%, rgba(255, 255, 255, .5) 14%, transparent 34%),
    radial-gradient(ellipse at 70% 35%, rgba(116, 222, 255, .9) 0 5%, rgba(0, 175, 240, .55) 23%, transparent 48%),
    radial-gradient(ellipse at 34% 76%, rgba(0, 175, 240, .98) 0 10%, rgba(0, 120, 215, .95) 37%, rgba(0, 105, 180, .72) 58%, transparent 76%),
    linear-gradient(145deg, #75dcff 0%, #00aff0 46%, #0078d7 78%, #0069b4 100%);
  box-shadow:
    inset -14px -18px 30px rgba(0, 75, 160, .26),
    inset 12px 12px 28px rgba(255, 255, 255, .76),
    0 22px 62px rgba(0, 120, 215, .28);
}

.erivan-ai-orb--skype::before {
  background: linear-gradient(145deg, #49d2ff 3%, #00aff0 48%, #0078d7 78%, #0069b4 100%);
}

.erivan-ai-orb--skype::after {
  background: linear-gradient(125deg, rgba(255, 255, 255, .9), #a4eaff 56%, #00aff0 100%);
}

.erivan-ai-orb.is-listening {
  animation-duration: 1.55s;
}

.erivan-ai-orb.is-thinking {
  animation-duration: 3.1s;
}

.erivan-ai-orb--small {
  width: 2.65rem;
  flex: 0 0 2.65rem;
  border-width: 1px;
  box-shadow:
    inset -4px -5px 9px rgba(68, 92, 222, .2),
    inset 4px 4px 9px rgba(255, 255, 255, .78),
    0 5px 15px rgba(104, 98, 216, .2);
}

.erivan-ai-orb--skype.erivan-ai-orb--small {
  box-shadow:
    inset -4px -5px 9px rgba(0, 75, 160, .25),
    inset 4px 4px 9px rgba(255, 255, 255, .78),
    0 5px 15px rgba(0, 120, 215, .3);
}

.erivan-ai-orb--small::before,
.erivan-ai-orb--small::after {
  filter: blur(4px);
}

.erivan-ai-orb--small::before {
  animation-duration: 3.3s;
}

.erivan-ai-orb--small::after {
  animation-duration: 3s;
}

.erivan-voice-stage h2 {
  margin: 0;
  color: #131525;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -.035em;
}

.erivan-voice-description {
  max-width: 24rem;
  min-height: 1.5rem;
  margin: .55rem 0 0;
  color: #687184;
  font-size: .95rem;
  line-height: 1.55;
}

.erivan-voice-stage[data-state="error"] h2 {
  color: #b42336;
}

.erivan-voice-transcript:not([hidden]) {
  width: min(100%, 25rem);
  max-height: 7rem;
  margin: .9rem 0 0;
  overflow: auto;
  color: #4b5563;
  font-size: .875rem;
  line-height: 1.5;
}

.erivan-voice-meter {
  display: flex;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  margin: .3rem 0 .5rem;
}

.erivan-voice-meter[hidden],
.erivan-voice-transcript[hidden] {
  display: none !important;
}

.erivan-voice-meter i {
  display: block;
  width: .2rem;
  height: .35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #bc72e7, #168ee3);
  animation: erivan-voice-meter 820ms ease-in-out infinite alternate;
}

.erivan-voice-meter i:nth-child(2n) { animation-delay: 140ms; }
.erivan-voice-meter i:nth-child(3n) { animation-delay: 280ms; }
.erivan-voice-meter i:nth-child(4n) { animation-delay: 410ms; }

.erivan-voice-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: .35rem;
}

.erivan-voice-actions button {
  min-height: 2.75rem;
  padding: .65rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.erivan-voice-stop {
  color: #fff;
  background: linear-gradient(135deg, #00aff0 0%, #0078d7 100%);
  box-shadow: 0 8px 20px rgba(0, 120, 215, .22);
}

.erivan-voice-dismiss {
  color: #465064;
  background: #f1f3f8;
}

.erivan-voice-actions button:hover,
.erivan-voice-actions button:focus-visible {
  outline: 2px solid rgba(0, 120, 215, .38);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.erivan-voice-actions button:disabled {
  cursor: wait;
  opacity: .7;
}

.dos-progress-heading {
  align-items: center !important;
}

.dos-progress-orb {
  display: flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  align-items: center;
  justify-content: center;
}

@keyframes erivan-voice-ring {
  0% { opacity: 0; transform: scale(.76); }
  20% { opacity: .58; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes erivan-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.025); }
}

@keyframes erivan-orb-blue-flow {
  from { transform: translate(-2%, 1%) rotate(-25deg) scale(.96); }
  to { transform: translate(2%, -3%) rotate(-14deg) scale(1.08); }
}

@keyframes erivan-orb-pink-flow {
  from { transform: translate(-2%, 1%) rotate(-24deg) scale(.94); }
  to { transform: translate(3%, 3%) rotate(-14deg) scale(1.08); }
}

@keyframes erivan-voice-meter {
  from { height: .3rem; opacity: .55; }
  to { height: 1.45rem; opacity: 1; }
}

.dark .erivan-voice-dialog {
  color: #f8fafc;
  background: #171923;
}

.dark .erivan-voice-window {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(107, 79, 168, .25), transparent 40%),
    linear-gradient(180deg, #1c2030 0%, #151722 100%);
}

.dark .erivan-voice-brand,
.dark .erivan-voice-stage h2 { color: #f8fafc; }
.dark .erivan-voice-description,
.dark .erivan-voice-transcript:not([hidden]) { color: #c1c8d7; }
.dark .erivan-voice-close { color: #d5dced; background: rgba(255, 255, 255, .1); }
.dark .erivan-voice-dismiss { color: #e4e8f0; background: #303548; }

@media (max-width: 480px) {
  .erivan-voice-dialog {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    border-radius: 1.4rem;
  }

  .erivan-voice-window {
    min-height: min(34rem, calc(100dvh - 2rem));
    padding: 3.5rem 1.25rem 1.25rem;
  }

  .erivan-voice-orb-frame {
    width: min(62vw, 14rem);
    margin-top: .2rem;
  }

  .erivan-voice-actions {
    gap: .5rem;
  }

  .erivan-voice-actions button {
    padding-inline: 1rem;
    font-size: .84rem;
  }
}

@media (max-height: 650px) {
  .erivan-voice-window {
    min-height: 0;
    padding-top: 3.2rem;
  }

  .erivan-voice-orb-frame {
    width: min(38vh, 12rem);
    margin: .1rem 0 .7rem;
  }

  .erivan-voice-description {
    margin-top: .3rem;
  }

  .erivan-voice-actions {
    margin-top: .15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .erivan-ai-orb,
  .erivan-ai-orb::before,
  .erivan-ai-orb::after,
  .erivan-voice-orb-frame::before,
  .erivan-voice-orb-frame::after,
  .erivan-voice-meter i {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.dark .job-prompt-composer {
  background: #171717 !important;
  border-color: #404040 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
}

.job-prompt-inner {
  display: flex;
  min-height: 10.5rem;
  flex-direction: column;
  padding: .5rem !important;
}

.job-prompt-textarea {
  min-height: 6.25rem !important;
  max-height: clamp(8rem, 28vh, 14rem) !important;
  margin: 0 !important;
  padding: 1rem .875rem .625rem !important;
  color: #111827 !important;
  font-size: 1rem;
  line-height: 1.5;
}

.job-prompt-composer .job-prompt-inner {
  position: relative;
}

.job-prompt-composer .job-prompt-placeholder-icon {
  position: absolute;
  z-index: 1;
  top: 1.875rem;
  left: 1.875rem;
  display: block;
  width: 12px;
  height: 12px;
  opacity: 1;
  pointer-events: none;
}

.job-prompt-composer .job-prompt-textarea {
  padding-left: 2.5rem !important;
}

[data-word-predictions] {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow-y: auto;
  max-height: 18rem;
}

[data-word-predictions].hidden,
[data-word-predictions]:empty {
  display: none;
}

.ai-autocorrect-review {
  order: 1;
  margin: .35rem .5rem .65rem;
  padding: .75rem .85rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  color: #1e3a5f;
  background: #eff6ff;
}

.ai-autocorrect-review[hidden] {
  display: none;
}

.ai-autocorrect-review-message,
.ai-autocorrect-review-changes {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.45;
}

.ai-autocorrect-review-changes {
  margin-top: .35rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.ai-autocorrect-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .65rem;
}

.ai-autocorrect-review-actions button {
  min-height: 2.25rem;
  padding: .4rem .75rem;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: .75rem;
  font-weight: 650;
  cursor: pointer;
}

.ai-autocorrect-review-actions button:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

.ai-autocorrect-review-actions .ai-autocorrect-primary {
  border-color: #0369a1;
  color: #fff;
  background: #0369a1;
}

.dark .ai-autocorrect-review {
  border-color: #1e4f75;
  color: #dbeafe;
  background: #10263a;
}

.dark .ai-autocorrect-review-actions button {
  border-color: #475569;
  color: #e2e8f0;
  background: #1e293b;
}

.dark .ai-autocorrect-review-actions .ai-autocorrect-primary {
  border-color: #0284c7;
  color: #fff;
  background: #0369a1;
}

.ai-word-prediction {
  appearance: none;
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  gap: .8rem;
  padding: .45rem .75rem;
  border: 0 !important;
  border-radius: 0;
  color: #16181c;
  background: transparent !important;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none !important;
  transform: none;
  transition: color 120ms ease;
}

.ai-word-prediction-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  color: #73777d;
}

.ai-word-prediction-prefix {
  color: #747980;
}

.ai-word-prediction-suffix {
  min-width: 0;
  color: #16181c;
  overflow-wrap: anywhere;
}

/* Suggestions extend the composer below its toolbar, like an inline autocomplete menu. */
.job-composer-toolbar {
  order: 1;
}

[data-word-predictions] {
  order: 2;
}

.job-prompt-composer:has([data-word-predictions]:not(.hidden):not(:empty)) {
  background: #fff !important;
}

.job-prompt-inner:has(> [data-word-predictions]:not(.hidden):not(:empty)) > .job-prompt-textarea {
  min-height: 4.25rem !important;
}

.ai-word-prediction-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .375rem;
  overflow-x: auto;
  padding: .05rem 0 .2rem;
  scrollbar-width: thin;
}

.ai-word-prediction-heading {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.ai-word-prediction:hover,
.ai-word-prediction:focus-visible {
  color: #0078d7;
  border: 0 !important;
  background: transparent !important;
  outline: none;
  box-shadow: none !important;
  transform: none;
}

.ai-word-prediction:hover .ai-word-prediction-icon,
.ai-word-prediction:focus-visible .ai-word-prediction-icon {
  color: #4b5563;
}

.dark .job-prompt-textarea {
  color: #f5f5f5 !important;
}

.dark .ai-word-prediction {
  color: #d7f4ff;
  background: transparent;
}

.dark [data-word-predictions] {
  border-color: transparent;
}

.dark .ai-word-prediction:hover,
.dark .ai-word-prediction:focus-visible {
  background: transparent;
}

.dark .ai-word-prediction-prefix,
.dark .ai-word-prediction-icon {
  color: #a3a3a3;
}

.dark .ai-word-prediction-suffix {
  color: #f5f5f5;
}

.job-composer-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding: .5rem .375rem .125rem;
}

.dark .job-composer-toolbar {
  border-top-color: rgba(64, 64, 64, .9);
}

.job-composer-left,
.job-composer-right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .375rem;
}

.job-composer-left {
  flex-wrap: wrap;
}

.job-composer-right {
  justify-content: flex-end;
}

.job-composer-left [data-file-upload-button],
.job-category-current-button,
.job-voice-button {
  width: 2.25rem !important;
  height: 2.25rem !important;
  flex: 0 0 auto;
}

.job-tool-dropdown {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 18rem;
}

.job-category-dropdown {
  flex: 0 0 auto;
}

.job-category-current-button {
  border: 1px solid rgba(107, 114, 128, .24);
  background: rgba(249, 250, 251, .88);
  color: #374151 !important;
}

.job-tool-current-button {
  width: 100% !important;
  height: 2.25rem !important;
  justify-content: flex-start !important;
  min-width: 0;
  border: 1px solid rgba(107, 114, 128, .28);
  background: rgba(249, 250, 251, .88);
  color: #374151 !important;
  font-weight: 600;
}

.job-prompt-composer .job-tool-current-button {
  border: 0 !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  box-shadow: none !important;
}

.job-prompt-composer .job-tool-current-button:hover,
.job-prompt-composer .job-tool-current-button:focus-visible {
  background: #F5F5F5 !important;
}

.job-prompt-composer .hs-dropdown-menu,
.job-prompt-composer .ai-tool-option,
.job-prompt-composer .job-category-option,
.job-prompt-composer [data-file-upload-button],
.job-prompt-composer .job-voice-button,
.job-prompt-composer .job-category-current-button {
  border-radius: 8px !important;
}

.job-current-icon,
.job-option-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.job-current-icon svg,
.job-option-icon svg {
  width: 1rem;
  height: 1rem;
}

.job-tool-current-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-tool-mode-chevron {
  display: inline-flex;
  width: .9rem;
  height: .9rem;
  flex: 0 0 .9rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: #6b7280;
}

.job-tool-mode-chevron svg {
  display: block;
  width: .85rem;
  height: .85rem;
}

.job-tool-selected-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: #6b7280;
  opacity: 0;
}

.ai-tool-option[aria-pressed="true"] .job-tool-selected-dot {
  opacity: 1;
}

.job-category-selected-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: #6b7280;
  opacity: 0;
}

.job-category-option[aria-pressed="true"] .job-category-selected-dot,
.job-category-option.is-active .job-category-selected-dot {
  opacity: 1;
}

.ai-tool-option[aria-pressed="true"],
.job-prompt-composer [data-tool-option][aria-pressed="true"],
.ai-tool-option.is-active,
.job-category-option[aria-pressed="true"],
.job-category-option.is-active {
  background: #f3f4f6 !important;
  color: #374151 !important;
  font-weight: 600;
}

.dark .job-tool-current-button {
  border-color: rgba(115, 115, 115, .6);
  background: rgba(38, 38, 38, .92);
  color: #e5e5e5 !important;
}

.dark .job-category-current-button {
  border-color: rgba(115, 115, 115, .6);
  background: rgba(38, 38, 38, .92);
  color: #e5e5e5 !important;
}

.dark .ai-tool-option[aria-pressed="true"],
.dark .job-prompt-composer [data-tool-option][aria-pressed="true"],
.dark .ai-tool-option.is-active,
.dark .job-category-option[aria-pressed="true"],
.dark .job-category-option.is-active {
  background: rgba(64, 64, 64, .9) !important;
  color: #f5f5f5 !important;
}

.job-model-select {
  width: 100%;
  min-width: 0;
  height: 2.15rem;
  padding: 0 1.6rem 0 1.7rem;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: .76rem;
  font-weight: 650;
  cursor: pointer;
}

.job-model-picker {
  position: relative;
  display: inline-flex;
  width: 9.25rem;
  max-width: 12rem;
  height: 2.25rem;
  flex: 0 1 9.25rem;
  align-items: center;
  gap: .35rem;
  padding: 0 .45rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.job-model-picker::after {
  position: absolute;
  top: 50%;
  right: .55rem;
  color: #64748b;
  content: "⌄";
  font-size: .9rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-58%);
}

.job-model-picker:focus-within {
  border-color: rgba(0, 120, 215, .55);
  box-shadow: 0 0 0 3px rgba(0, 175, 240, .1);
}

.job-model-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: .55rem;
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

/* Preline-enhanced model selector shared by extension chat composers. */
.extension-composer-model-row {
  gap: .45rem;
}

.extension-model-picker {
  width: 8.75rem;
  max-width: 9.25rem;
  flex: 0 1 8.75rem;
  overflow: visible;
  border-color: rgba(148, 163, 184, .32);
  box-shadow: none;
  transition: none;
}

.extension-model-picker::after {
  content: none;
}

.extension-model-picker:hover {
  border-color: rgba(148, 163, 184, .32);
  background: #F5F5F5;
  box-shadow: none;
}

.extension-model-picker:focus-within {
  border-color: rgba(148, 163, 184, .32);
  box-shadow: none;
  outline: none;
}

.extension-model-preline {
  width: 100%;
  min-width: 0;
}

.extension-model-toggle {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 2rem;
  align-items: center;
  gap: .38rem;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 .45rem;
  color: #334155;
  font: inherit;
  font-size: .72rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: none;
}

.extension-model-toggle-mark {
  display: inline-flex;
  width: .95rem;
  height: .95rem;
  flex: 0 0 .95rem;
  align-items: center;
  justify-content: center;
}

.extension-model-toggle-logo {
  display: block;
  width: .74rem;
  height: .74rem;
  object-fit: contain;
  transition: none;
}

.extension-model-toggle-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: none;
}

.extension-model-chevron {
  display: grid;
  width: .78rem;
  height: .78rem;
  flex: 0 0 .78rem;
  place-items: center;
  color: #64748b;
}

.extension-model-chevron svg {
  display: block;
  width: .72rem;
  height: .72rem;
  transition: none;
}

.extension-model-toggle:focus-visible {
  border-radius: inherit;
  box-shadow: none;
}

.extension-model-dropdown {
  position: absolute;
  z-index: 80;
  top: auto;
  bottom: calc(100% + .45rem);
  left: 0;
  width: 16rem;
  max-width: min(16rem, calc(100vw - 2rem));
  max-height: min(16rem, 50vh);
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  background: #fff;
  padding: .4rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .11);
}

.extension-model-option {
  border-radius: .8rem;
  padding: .72rem .8rem;
  color: #202124;
  font-size: .9rem;
  transition: none;
}

.extension-model-option:hover,
.extension-model-option.selected {
  background: #F5F5F5;
  color: #202124;
}

.extension-model-option-content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.extension-model-option-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
}

.extension-model-option-logo {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  object-fit: contain;
  border-radius: 50%;
  transition: none;
}

.extension-model-check {
  visibility: hidden;
  color: #0284c7;
  font-weight: 800;
}

.extension-model-option.selected .extension-model-check {
  visibility: visible;
}

.extension-model-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dark .extension-model-toggle {
  color: #e2e8f0;
}

.dark .extension-model-picker:hover {
  border-color: rgba(82, 82, 82, .85);
  background: #F5F5F5;
}

.dark .extension-model-picker:focus-within {
  border-color: rgba(82, 82, 82, .85);
  box-shadow: none;
  outline: none;
}

.dark .extension-model-dropdown {
  border-color: #404040;
  background: #171717;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.dark .extension-model-option {
  color: #e5e7eb;
}

.dark .extension-model-option:hover,
.dark .extension-model-option.selected {
  background: #262626;
  color: #bae6fd;
}

.dark .job-prompt-composer .job-tool-current-button {
  background: #262626 !important;
}

.dark .job-prompt-composer .job-tool-current-button:hover,
.dark .job-prompt-composer .job-tool-current-button:focus-visible {
  background: #343434 !important;
}

@media (prefers-reduced-motion: reduce) {
  .extension-model-picker,
  .extension-model-toggle,
  .extension-model-toggle-mark,
  .extension-model-toggle-logo,
  .extension-model-toggle-label,
  .extension-model-chevron svg,
  .extension-model-dropdown,
  .extension-model-option,
  .extension-model-option-logo {
    transition: none !important;
  }
}

.dark .job-model-select {
  color: #e2e8f0;
}

.dark .job-model-picker {
  border-color: rgba(82, 82, 82, .85);
  background: rgba(23, 23, 23, .72);
}

.dark .job-model-picker::after {
  color: #cbd5e1;
}

.skype-button-exact {
  display: inline-flex;
  flex: 0 0 2.75rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.75rem !important;
  height: 2.75rem !important;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 999px !important;
  color: white;
  background: linear-gradient(135deg, #00AFF0 0%, #0078D7 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 175, 240, .3);
  transition: all .3s ease;
}

.skype-button-exact:hover {
  background: linear-gradient(135deg, #009CD6 0%, #0069B4 100%);
  box-shadow: 0 12px 28px rgba(0, 175, 240, .4);
  transform: translateY(-2px);
}

.skype-button-exact:active {
  transform: translateY(0) scale(.95);
}

.skype-button-exact:focus {
  outline: 2px solid rgba(0, 175, 240, .4);
  outline-offset: 3px;
}

.health-wide-button {
  width: 100% !important;
  height: 2.5rem !important;
  border-radius: 8px !important;
}

.call-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}

[data-tool-menu-for],
[data-category-menu-for] {
  max-width: calc(100vw - 1.5rem);
}

.chat-container {
  width: min(100%, 48rem);
}

@media (max-width: 540px) {
  .job-composer-shell {
    padding-inline: .75rem;
  }

  .job-prompt-inner {
    min-height: 9.5rem;
  }

  .job-prompt-textarea {
    min-height: 5.75rem !important;
    font-size: .95rem;
  }

  .job-prompt-inner:has(> [data-word-predictions]:not(.hidden):not(:empty)) > .job-prompt-textarea {
    min-height: 3.75rem !important;
  }

  .job-composer-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }

  .job-composer-left {
    width: 100%;
    justify-content: flex-start;
  }

  .job-tool-dropdown {
    flex: 1 1 calc(100% - 5.375rem);
    max-width: none;
  }

  .job-tool-current-button {
    gap: .375rem !important;
  }

  .job-tool-current-button > span:first-child + span {
    display: none;
  }

  .job-composer-right {
    display: grid !important;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 2.25rem 2.75rem;
    justify-content: initial;
  }

  .job-model-picker {
    width: 100%;
    max-width: none !important;
    flex: 1 1 auto;
  }

  .chat-container {
    padding-inline: .75rem !important;
  }

  .chat-message,
  .chat-edit-form {
    max-width: 92% !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 767px) {
  [data-word-predictions] {
    display: none !important;
  }

  .job-prompt-inner:has(> [data-word-predictions]:not(.hidden):not(:empty)) > .job-prompt-textarea {
    min-height: 5.75rem !important;
  }
}

@media (min-width: 640px) {
  .skype-button-exact {
    width: 3rem !important;
    height: 3rem !important;
    flex-basis: 3rem;
  }
}

/* Shared light composer used by Erivan's domain extensions. */
.extension-composer-dock {
  position: sticky;
  bottom: 0;
  z-index: 20;
  border-top: 1px solid #e5e7eb;
  background: rgba(249, 250, 251, .96);
  padding: .85rem 1rem calc(1rem + env(safe-area-inset-bottom));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.extension-composer-shell {
  width: min(100%, 72rem);
  padding: 0;
}

.extension-composer-surface,
.dark .extension-composer-surface {
  overflow: hidden;
  border: 1px solid #e2e5e9 !important;
  border-radius: 2rem !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055) !important;
}

.extension-filter-disclosure {
  margin: .55rem .75rem .15rem;
}

.extension-filter-trigger {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: .45rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  padding: 0 .72rem;
  color: #59636f;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.extension-filter-trigger::-webkit-details-marker { display: none; }
.extension-filter-trigger::marker { content: ""; }
.extension-filter-trigger:hover { background: #f5f5f5; border-color: #dfe3e8; color: #303944; }
.extension-filter-disclosure[open] > .extension-filter-trigger { background: #f8fafc; border-color: #d9e0e7; color: #303944; }
.extension-filter-icon,
.extension-filter-icon svg { display: block; width: .95rem; height: .95rem; flex: 0 0 .95rem; }

.extension-filter-panel {
  max-width: 100%;
  max-height: min(42vh, 24rem);
  overflow: auto;
  padding: .65rem .1rem .2rem;
}

.extension-filter-panel .extension-composer-options { padding: 0; }
.extension-filter-panel .extension-composer-inner { min-height: 0; padding: .45rem 0 !important; }
.extension-filter-config { min-height: 0; padding: 0 !important; }
.extension-filter-panel .bible-filter-grid { margin-top: 0; }
.extension-filter-panel .bible-composer-options { padding: .45rem 0 0; }

.dark .extension-filter-trigger { border-color: #3b4046; background: #25282d; color: #c5cbd2; }
.dark .extension-filter-trigger:hover,
.dark .extension-filter-disclosure[open] > .extension-filter-trigger { border-color: #4a5058; background: #2b2f34; color: #f3f4f6; }

.extension-composer-inner {
  min-height: 13.5rem;
  padding: .65rem !important;
}

.extension-composer-textarea,
.dark .extension-composer-textarea {
  min-height: 8rem !important;
  max-height: 14rem !important;
  padding: 1.1rem .95rem .7rem !important;
  color: #374151 !important;
  font-size: 1.05rem;
  line-height: 1.55;
}

.extension-composer-textarea::placeholder {
  color: #737b87 !important;
  opacity: 1;
}

.extension-composer-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .75rem .75rem .1rem;
}

.extension-composer-options > label:not(.extension-composer-select) {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: .55rem;
  margin: 0;
  border: 1px solid #e2e5e9;
  border-radius: 1rem;
  background: #fff;
  padding: 0 .9rem;
  color: #374151;
  font-size: .9rem;
  font-weight: 700;
}

.extension-composer-options input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #1677ff;
}

.extension-composer-options .extension-composer-select {
  position: relative;
  display: grid;
  min-width: min(100%, 10rem);
  flex: 1 1 10rem;
  align-content: start;
  gap: .4rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #667085;
  font-size: .73rem;
  font-weight: 650;
  box-shadow: none;
  transition: color 150ms ease;
}

.extension-composer-options .extension-composer-select > span {
  padding-inline: .1rem;
  color: #697586;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
}

.extension-filter-panel select {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 2.55rem !important;
  margin: 0 !important;
  border: 1px solid #e6eaf0 !important;
  border-radius: .8rem !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5.5 7.5 4.5 4.5 4.5-4.5' stroke='%23717d8c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: right .8rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1rem 1rem !important;
  padding: 0 2.25rem 0 .8rem !important;
  color: #344054 !important;
  font-size: .84rem !important;
  font-weight: 550 !important;
  line-height: 1.2 !important;
  text-align: left;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease !important;
}

.extension-filter-panel input[type="text"] {
  width: 100%;
  min-width: 0;
  height: 2.55rem !important;
  margin: 0 !important;
  border: 1px solid #e6eaf0 !important;
  border-radius: .8rem !important;
  background: #fff !important;
  padding: 0 .8rem !important;
  color: #344054 !important;
  font-size: .84rem !important;
  font-weight: 550 !important;
  box-shadow: none !important;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease !important;
}

.extension-filter-panel input[type="text"]::placeholder { color: #98a2b3; font-weight: 450; }
.extension-filter-panel input[type="text"]:hover { border-color: #d8e0e8 !important; background-color: #fcfdff !important; }
.extension-filter-panel input[type="text"]:focus,
.extension-filter-panel input[type="text"]:focus-visible,
.extension-composer-options .extension-composer-select:focus-within input[type="text"] {
  border-color: #b7d8e9 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .09) !important;
  outline: none !important;
}

.extension-filter-panel select:hover {
  border-color: #d8e0e8 !important;
  background-color: #fcfdff !important;
}

.extension-filter-panel select:focus,
.extension-filter-panel select:focus-visible,
.extension-composer-options .extension-composer-select:focus-within select {
  border-color: #b7d8e9 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .09) !important;
  outline: none !important;
}

.extension-composer-select select {
  background-image: none !important;
}

.ai-chat-surface .extension-composer-select select,
.ai-feature-page .extension-composer-select select {
  padding-right: 2.25rem !important;
}

.extension-composer-options .extension-composer-select:not(.extension-composer-select-text)::after {
  position: absolute;
  right: .95rem;
  bottom: 1.03rem;
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid #8591a0;
  border-bottom: 1.5px solid #8591a0;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
  transition: border-color 150ms ease;
}

.extension-composer-options .extension-composer-select:not(.extension-composer-select-text):focus-within::after {
  border-color: #1683b6;
}

.extension-filter-panel select option {
  background: #fff;
  color: #344054;
}

.dark .extension-composer-options .extension-composer-select > span {
  color: #a8b0ba;
}

.dark .extension-filter-panel select {
  border-color: #3a414a !important;
  background-color: #25282d !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5.5 7.5 4.5 4.5 4.5-4.5' stroke='%23a8b0ba' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  color: #e7ebef !important;
}

.dark .extension-filter-panel select:hover {
  border-color: #4a525d !important;
  background-color: #2a2e34 !important;
}

.dark .extension-filter-panel select:focus,
.dark .extension-filter-panel select:focus-visible,
.dark .extension-composer-options .extension-composer-select:focus-within select {
  border-color: #527b91 !important;
  background-color: #25282d !important;
  box-shadow: 0 0 0 3px rgba(0, 160, 220, .11) !important;
}

.dark .extension-filter-panel select option {
  background: #25282d;
  color: #e7ebef;
}

.dark .extension-composer-options .extension-composer-select::after {
  border-color: #a8b0ba;
}

.extension-composer-toolbar {
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 4rem;
  margin-top: .25rem;
  padding: .65rem .5rem .15rem;
  border-top: 1px solid #e7e9ec !important;
}

.extension-composer-source {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid #e2e5e9;
  border-radius: 999px;
  background: #fafbfc;
  padding: 0 .9rem;
  color: #475569;
  font-size: .9rem;
  font-weight: 700;
}

.extension-composer-source > span {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00aff0, #0078d7);
  box-shadow: 0 0 0 3px rgba(0, 120, 215, .09);
}

.extension-composer-submit,
.extension-composer-submit:hover,
.extension-composer-submit:focus-visible {
  display: grid !important;
  box-sizing: border-box;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00aff0 0%, #0078d7 100%) !important;
  box-shadow: 0 8px 22px rgba(0, 120, 215, .24) !important;
  color: #fff !important;
  transition: transform .16s ease, box-shadow .16s ease;
}

.extension-composer-submit:hover,
.extension-composer-submit:focus-visible {
  box-shadow: 0 10px 26px rgba(0, 120, 215, .32) !important;
  outline: 2px solid rgba(0, 120, 215, .22);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.extension-composer-submit:active {
  transform: scale(.97);
}

.extension-composer-submit svg {
  width: 1.4rem;
  height: 1.4rem;
}

.extension-composer-status {
  min-height: 1.25rem;
  margin: .55rem auto 0;
  color: #6b7280;
  text-align: center;
  font-size: .82rem;
}

.extension-chat-workspace {
  min-height: calc(100vh - 13rem);
  padding-bottom: 1.25rem;
}

.extension-chat-stream {
  min-height: 18rem;
  padding-top: 1rem;
}

@media (max-width: 640px) {
  .extension-composer-dock {
    padding: .65rem .75rem calc(.75rem + env(safe-area-inset-bottom));
  }

  .extension-composer-shell {
    padding: 0;
  }

  .extension-composer-surface {
    border-radius: 1.5rem !important;
  }

  .extension-composer-inner {
    min-height: 11.5rem;
  }

  .extension-composer-textarea {
    min-height: 6.3rem !important;
    font-size: .98rem;
  }

  .extension-composer-options {
    gap: .4rem;
    padding: .6rem .6rem .05rem;
  }

  .extension-composer-options .extension-composer-select {
    flex: 1 1 9rem;
  }

  .extension-composer-toolbar {
    min-height: 3.55rem;
  }

  .extension-composer-source {
    min-height: 2.2rem;
    padding-inline: .7rem;
    font-size: .8rem;
  }

  .extension-composer-submit,
  .extension-composer-submit:hover,
  .extension-composer-submit:focus-visible {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex-basis: 42px !important;
  }
}

/* Light shared composer and model selector treatment. */
.job-prompt-composer {
  border-color:#eceef1!important;
  box-shadow:0 4px 18px rgba(15,23,42,.035);
  transition:border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease;
}
.job-prompt-composer:focus-within {
  border-color:#cbd9e4!important;
  box-shadow:0 0 0 2px rgba(0,120,215,.075),0 4px 18px rgba(15,23,42,.035);
}
.extension-model-dropdown {
  border-color:#eceef1;
  box-shadow:0 7px 22px rgba(15,23,42,.075);
  transition:none!important;
  animation:none!important;
}
.extension-composer-surface,
.dark .extension-composer-surface {
  border-color:#eceef1!important;
  box-shadow:0 4px 18px rgba(15,23,42,.035)!important;
}
.extension-composer-submit,
.extension-composer-submit:hover,
.extension-composer-submit:focus-visible {
  box-shadow:0 4px 14px rgba(0,120,215,.17)!important;
  transition:background-color 180ms ease,box-shadow 180ms ease,opacity 180ms ease;
}
.extension-composer-submit:hover,
.extension-composer-submit:focus-visible { box-shadow:0 5px 16px rgba(0,120,215,.21)!important; transform:none; }
.extension-composer-submit:active { transform:scale(.985); }

/* Keep textarea focus from outlining the whole composer in blue. */
.job-prompt-composer:has(textarea:focus),
.extension-composer-surface:has(textarea:focus) {
  border-color:#eceef1!important;
  box-shadow:0 4px 18px rgba(15,23,42,.035)!important;
  outline:none!important;
}
.job-prompt-composer textarea:focus,
.extension-composer-surface textarea:focus {
  border-color:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
.chat-send-square { display:inline-block; width:12px; height:12px; flex:0 0 12px; border-radius:1px; background:#fff; box-shadow:0 0 0 1px rgba(255,255,255,.2); }
.chat-send-square.hidden { display:none; }

.extension-composer-submit[aria-busy="true"] svg { display:none !important; }
.extension-composer-submit .chat-send-square { position:absolute; inset:0; width:10px; height:10px; margin:auto; flex:0 0 10px; }
.extension-composer-submit[aria-busy="true"] .chat-send-square:not(.hidden) { display:block !important; }


/* Main chat send control: fixed circle and mutually exclusive arrow/sending states. */
.chat-send-button,
.chat-send-button:hover,
.chat-send-button:focus-visible,
.chat-send-button:active {
  position: relative;
  box-sizing: border-box;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden;
  line-height: 1;
  transform: none;
}
.chat-send-button .chat-send-arrow {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: #fff;
}
.chat-send-button[aria-busy="true"] .chat-send-arrow { display: none !important; }
.chat-send-button .chat-send-square {
  position: absolute;
  inset: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border-radius: 1px;
}
.chat-send-button[aria-busy="true"] .chat-send-square:not(.hidden) { display: block !important; }
.chat-send-button:hover { filter: brightness(.96); }
.chat-send-button:active { filter: brightness(.92); }
.chat-send-button:disabled { cursor: wait; opacity: .9; }

/* Keep the camera control consistent with the adjacent upload button. */
.job-prompt-composer button.chat-camera-trigger:not(.skype-button-exact):not(.extension-model-toggle) {
  display: grid !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  flex: 0 0 2.5rem !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #596579 !important;
  box-shadow: none !important;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.job-prompt-composer button.chat-camera-trigger:not(.skype-button-exact):not(.extension-model-toggle):hover {
  border-color: #d1d5db !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  filter: none !important;
}
.job-prompt-composer button.chat-camera-trigger svg { display: block; width: 1.2rem; height: 1.2rem; }
.job-prompt-composer button.chat-camera-trigger:focus-visible { outline: 2px solid rgba(0, 120, 215, .28); outline-offset: 2px; }
.dark .job-prompt-composer button.chat-camera-trigger:not(.skype-button-exact):not(.extension-model-toggle) {
  border-color: #404040 !important;
  background: #1b1b1b !important;
  color: #cbd5e1 !important;
}
.dark .job-prompt-composer button.chat-camera-trigger:not(.skype-button-exact):not(.extension-model-toggle):hover {
  background: #262626 !important;
}

/* Attachment preview inside the chat composer. */
.chat-attachment-preview { display:flex; flex:0 0 auto; padding:8px 8px 2px; }
.chat-attachment-preview[hidden],
.chat-attachment-status[hidden] { display:none!important; }
.chat-attachment-card { display:flex; width:min(100%,430px); min-width:0; min-height:60px; align-items:center; gap:11px; padding:8px 10px; border:1px solid #e2e2e2; border-radius:16px; background:#fff; color:#171717; }
.chat-attachment-file-icon { display:block; width:34px; height:40px; flex:0 0 34px; }
.chat-attachment-file-icon svg { display:block; width:100%; height:100%; overflow:visible; }
.chat-attachment-file-icon .file-page { fill:#727b88; }
.chat-attachment-file-icon .file-fold { fill:rgba(255,255,255,.68); }
.chat-attachment-file-icon .file-mark { fill:#fff; }
.chat-attachment-file-icon .file-letter { font:800 17px/1 Arial,sans-serif; }
.chat-attachment-file-icon .file-grid,
.chat-attachment-file-icon .file-lines { fill:none; stroke:#fff; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.chat-attachment-file-icon.is-pdf .file-page { fill:#ef4f40; }
.chat-attachment-file-icon.is-word .file-page { fill:#2b579a; }
.chat-attachment-file-icon.is-spreadsheet .file-page { fill:#16834b; }
.chat-attachment-file-icon.is-presentation .file-page { fill:#d24726; }
.chat-attachment-file-icon.is-text .file-page { fill:#687385; }
.chat-attachment-details { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.chat-attachment-name { overflow:hidden; color:#171717; font-size:14px; font-weight:500; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.chat-attachment-meta { color:#80858e; font-size:11px; line-height:1.3; }
.chat-attachment-remove { display:flex; width:24px; height:24px; flex:0 0 24px; align-items:center; justify-content:center; border:0; border-radius:50%; background:transparent; color:#737780; font-size:19px; line-height:1; }
.chat-attachment-remove:hover,.chat-attachment-remove:focus-visible { background:#f1f2f4; outline:none; }
.chat-attachment-status { margin:2px 8px 0; color:#b42318; font-size:12px; line-height:1.4; }
.dark .chat-attachment-card { border-color:#404040; background:#1b1b1b; color:#f5f5f5; }
.dark .chat-attachment-name { color:#f5f5f5; }
.dark .chat-attachment-meta { color:#a3a3a3; }
.dark .chat-attachment-remove { color:#c4c4c4; }
.dark .chat-attachment-remove:hover,.dark .chat-attachment-remove:focus-visible { background:#303030; }

/* iOS Safari zooms focused text fields below 16px; keep the composer stable on phones. */
@media (max-width: 767px) {
  .job-prompt-composer textarea,
  .extension-composer-dock textarea,
  .extension-composer-inner textarea {
    font-size: 16px !important;
  }
}
