/* Canonical dictation UI. Generated copies are not editable sources. */
.bx-dictation.bx-dictation { --bx-dictation-color: #596467; --bx-dictation-surface: #fbfaf1; position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; max-width: 100%; color: var(--bx-dictation-color); font: inherit; }
.bx-dictation.bx-dictation [hidden] { display: none !important; }
.bx-dictation.bx-dictation button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.bx-dictation.bx-dictation button:hover { background: #e9eee6; }
.bx-dictation.bx-dictation button:focus-visible, .bx-dictation a:focus-visible { outline: 2px solid #0e756b; outline-offset: 2px; }
.bx-dictation.bx-dictation svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bx-dictation.bx-dictation .bx-dictation__recorder { display: flex; flex: 1 1 100%; align-items: center; gap: 5px; width: 100%; min-width: 0; min-height: 56px; padding: 4px 6px 4px 12px; border: 1px solid #d9dccb; border-radius: 999px; background: var(--bx-dictation-surface); }
.bx-dictation.bx-dictation .bx-dictation__bars { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 2px; min-width: 12px; height: 44px; overflow: hidden; color: #8c9274; }
.bx-dictation__bars i { display: block; flex: 1 1 2px; max-width: 4px; min-width: 1px; height: var(--bar, 24px); border-radius: 4px; background: currentColor; transform: scaleY(.25); animation: bx-dictation-wave 1s ease-in-out var(--delay, 0s) infinite alternate; }
.bx-dictation__timer { flex: 0 0 auto; min-width: 32px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bx-dictation__spinner { width: 22px; height: 22px; margin: 11px; flex: 0 0 auto; border: 2px solid #59646744; border-top-color: #596467; border-radius: 50%; animation: bx-dictation-spin .8s linear infinite; }
.bx-dictation.bx-dictation .bx-dictation__status { display: block; position: static; flex: 1 1 100%; width: auto; height: auto; clip: auto; clip-path: none; overflow: visible; white-space: normal; margin: 0; padding: 0 4px; background: transparent; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.bx-dictation__status:empty { display: none !important; }
.bx-dictation__status { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.family-chat-form [data-dictation-status] { margin: 6px 4px 0; }
.bx-dictation.bx-dictation .bx-dictation__recovery { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.bx-dictation__recovery audio { width: 100%; max-width: 100%; height: 40px; }
.bx-dictation.bx-dictation .bx-dictation__recovery button { width: auto; padding: 8px 12px; border-radius: 6px; background: #edf1e9; font-size: 14px; }
.bx-dictation__recovery a { display: inline-flex; align-items: center; min-height: 44px; color: #0e756b; font-size: 13px; }
.bx-dictation__recovery textarea { width: 100%; min-height: 70px; font: inherit; padding: 8px; border: 1px solid #d7dfda; background: #fff; }
.bx-dictation.bx-dictation.bx-dictation--active { display: flex; width: 100%; }
.bombyx-assistant__dictation-host { display: contents; }
/* One message surface and action row for website, hosted/property and Training chats.
   Repeated classes deliberately outrank the older app and host-theme layout rules. */
.bombyx-assistant__form .bx-composer.bx-composer.bx-composer {
    display: grid; grid-template-columns: 44px 44px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto; align-items: end; gap: 0 4px;
    min-width: 0; min-height: 112px; padding: 8px;
    border: 1px solid #cbd5e1; border-radius: 8px; background: #fff;
    box-sizing: border-box;
}
.bombyx-assistant__form .bx-composer.bx-composer.bx-composer:focus-within { border-color: #0e756b; box-shadow: 0 0 0 2px #0e756b22; }
.bombyx-assistant__form .bx-composer.bx-composer.bx-composer > textarea {
    grid-column: 1 / -1; grid-row: 1; align-self: start; width: 100%;
    min-height: 46px; max-height: 180px; margin: 0; padding: 6px 8px;
    border: 0; border-radius: 0; background: transparent; resize: none;
    box-sizing: border-box;
}
.bombyx-assistant__form .bx-composer.bx-composer.bx-composer > textarea:focus { outline: 0; box-shadow: none; }
.bombyx-assistant__form .bx-composer.bx-composer > .bombyx-assistant__attach-button,
.bombyx-assistant__form .bx-composer.bx-composer > .bombyx-assistant__send-button {
    grid-row: 2; position: relative; align-self: end; justify-self: start;
    width: 44px; min-width: 44px; height: 44px; min-height: 44px;
    margin: 0; padding: 0; border-radius: 50%; z-index: 1;
}
.bombyx-assistant__form .bx-composer.bx-composer > .bombyx-assistant__attach-button { grid-column: 1; }
.bombyx-assistant__form .bx-composer.bx-composer > .bombyx-assistant__send-button { grid-column: 4; justify-self: end; }
.bombyx-assistant__form .bx-composer.bx-composer .bx-dictation.bx-dictation {
    grid-column: 2; grid-row: 2; position: relative; inset: auto;
    align-self: end; justify-self: start; display: inline-flex;
    width: auto; min-width: 0; height: auto; margin: 0; transform: none;
    z-index: 1;
}
.bombyx-assistant__form .bx-composer.bx-composer .bx-dictation.bx-dictation.bx-dictation--active {
    grid-column: 1 / -1; grid-row: 2; display: flex; width: 100%;
    height: auto; transform: none;
}
.bombyx-assistant__form .bx-composer.bx-composer:has(.bx-dictation--active) > .bombyx-assistant__attach-button,
.bombyx-assistant__form .bx-composer.bx-composer:has(.bx-dictation--active) > .bombyx-assistant__send-button { visibility: hidden; }
.bombyx-assistant__form .bx-composer.bx-composer [hidden] { display: none !important; }
.bombyx-assistant__form .bx-composer.bx-composer > button:focus-visible { outline: 2px solid #0e756b; outline-offset: -2px; }
.bombyx-assistant__dictation-status { color: #596467; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.family-chat-input .bx-dictation.bx-dictation { position: absolute; left: 52px; right: auto; bottom: 4px; }
.family-chat-input .bx-dictation.bx-dictation--active { position: relative; inset: auto; margin-top: 4px; width: 100%; }
.family-chat-input:has(.bx-dictation--active) { padding-bottom: 50px; }
.family-chat-form.bx-dictation-active #family-note { display: none; }
.gcall [data-recording] { min-width: 0; width: 100%; }
.gcall [data-recording] > .bx-dictation { margin-top: 4px; }
.iv-dictation-host { min-width: 0; max-width: 100%; }
@keyframes bx-dictation-wave { to { transform: scaleY(.85); } }
@keyframes bx-dictation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bx-dictation__bars i { animation: none; transform: scaleY(.5); } .bx-dictation__spinner { animation-duration: 2s; } }
