/* The live assistant belongs to the page, with room for a real conversation. */
html .aira-section { background: #272F34; border-block: 1px solid #3D4B55; scroll-margin-top: 18px; padding-block: 80px; }
.aira-section__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.aira-section__intro { min-width: 0; }
html .aira-section h2 { max-width: 18ch; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.14; margin-bottom: 23px; }
.aira-section__intro > p { color: #B0BDC6; font-size: 16px; line-height: 1.75; max-width: 410px; }
html .aira-section__questions { display: grid; gap: 0; margin: 34px 0 0; }
.aira-section__prompt { color: #9DADB8; font-size: 12px; margin-bottom: 14px; }
html .aira-section__questions .chip { display: grid; grid-template-columns: 22px 1fr 14px; align-items: center; gap: 12px; min-height: 60px; padding: 14px 0; border: 0; border-top: 1px solid #46545E; border-radius: 0; background: transparent; color: #CDD8E0; text-align: left; font: 14px/1.5 var(--font-sans); white-space: normal; }
html .aira-section__questions .chip:last-child { border-bottom: 1px solid #46545E; }
html .aira-section__questions .chip:hover { background: #303C45; color: #F0F6FA; transform: none; }
.aira-section__number { color: #95ABB9; font: 11px/1.4 Consolas, monospace; }
html .aira-chat { min-width: 0; width: 100%; min-height: 0; border: 1px solid #536672; background: #1E262C; box-shadow: none; }
html .aira-chat .demo-chat__head { display: flex; padding: 20px 24px; gap: 14px; background: #2E3A43; border-bottom: 1px solid #465762; }
.aira-chat__avatar { display: grid; place-items: center; width: 42px; height: 44px; flex-shrink: 0; border: 1px solid #8CA4B4; color: #DBE6EE; font: 300 25px/1 var(--font-sans); }
.aira-chat__identity { display: grid; gap: 3px; }
html .aira-chat__identity strong { font-size: 21px; font-weight: 400; line-height: 1.2; }
.aira-chat__identity > span { color: #A9BAC6; font-size: 12px; }
.aira-chat__live { margin-left: auto; align-self: flex-start; margin-top: 3px; padding-left: 12px; color: #BED0DC; font: 11px/1.5 Consolas, monospace; white-space: nowrap; }
.aira-chat__live::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: 2px; background: #AEC8D8; }
html .aira-chat .demo-chat__log { flex: 0 0 280px; height: 280px; min-height: 0; max-height: none; padding: 25px 24px; margin: 0; gap: 20px; overflow-y: auto; overflow-wrap: anywhere; overscroll-behavior-y: contain; scrollbar-gutter: stable; }
.aira-chat .demo-chat__log:focus-visible { outline: 1px solid #B8CDDA; outline-offset: -4px; }
html .aira-chat .msg { flex-shrink: 0; }
html .aira-chat .msg__bubble { max-width: 92%; padding: 14px 17px; font-size: 15px; line-height: 1.75; white-space: pre-wrap; }
html .aira-chat .msg--bot .msg__bubble { background: #29353D; border-left: 2px solid #728B9B; }
html .aira-chat .msg--user .msg__bubble { background: #3A4D59; color: #E4EDF3; }
html .aira-chat .msg--err .msg__bubble { background: #422F32; border-color: #B17B82; color: #EDBFC1; }
.aira-chat__composer { padding: 0 20px; }
html .aira-chat .demo-chat__form { display: flex; align-items: flex-end; gap: 12px; margin: 0; padding: 10px; border: 1px solid #596C79; background: #232E36; }
html .aira-chat .demo-chat__form textarea { width: 100%; min-width: 0; height: 56px; min-height: 56px; max-height: 140px; border: 0; border-radius: 0; padding: 4px 3px; resize: none; background: transparent; color: #D8E3EC; font: 15px/1.6 var(--font-sans); outline: none; box-shadow: none; }
html .aira-chat .demo-chat__form .btn { width: 44px; height: 44px; flex-shrink: 0; background: #B8CBD8; color: #1E262C; border: 0; }
html .aira-chat .demo-chat__form .btn:hover { background: #D3E2EC; }
html .aira-chat .demo-chat__form .btn:disabled { opacity: .45; cursor: wait; }
.aira-chat__input-hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 9px; font-size: 10px; color: #9AADB9; }
html .aira-chat__notice { margin: 19px 20px 20px; color: #9BAEBB; font-size: 11px; line-height: 1.5; }
@media (max-width: 1100px) {
    .aira-section__grid { gap: 32px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .aira-chat__live { display: none; }
}
@media (max-width: 800px) {
    html .aira-section { padding-block: 48px; scroll-margin-top: 0; }
    .aira-section__grid { grid-template-columns: 1fr; gap: 30px; }
    html .aira-section h2 { max-width: 20ch; }
    .aira-section__intro > p { max-width: 600px; }
    html .aira-section__questions { margin-top: 24px; }
    html .aira-section__questions .chip { min-height: 52px; }
    .aira-chat__live { display: block; }
}
@media (max-width: 480px) {
    html .aira-chat .demo-chat__head { padding: 17px 15px; gap: 11px; }
    .aira-chat__identity > span { font-size: 11px; }
    .aira-chat__live { display: none; }
    html .aira-chat .demo-chat__log { flex-basis: 290px; height: 290px; padding: 20px 14px; }
    html .aira-chat .msg__bubble { max-width: 96%; font-size: 14px; padding: 12px 13px; }
    .aira-chat__composer { padding-inline: 12px; }
    html .aira-chat .demo-chat__form { gap: 5px; padding: 7px; }
    html .aira-chat .demo-chat__form textarea { font-size: 16px; }
    .aira-chat__input-hint > span:first-child { display: none; }
    html .aira-chat__notice { margin-inline: 12px; }
}
