/* Existing Osiris typography/palette; selectors stay inside the new assistant. */
.aib-dialog{box-sizing:border-box;width:min(740px,calc(100% - 32px));height:min(800px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;margin:auto;border:1px solid var(--theme-line-strong,#b0bdb3);border-radius:18px;background:var(--theme-surface,#fff);color:var(--theme-text,#252a28);font-family:var(--ui-font,Montserrat,Arial,sans-serif);box-shadow:0 14px 50px #0003;overflow:hidden}
.aib-dialog[open],.aib-admin-shell{display:flex;flex-direction:column;min-width:0;min-height:0}.aib-dialog::backdrop{background:#10181275}.aib-admin-host{min-width:0;max-width:100%}.aib-admin-shell{height:max(500px,calc(100dvh - 110px));max-height:950px;border:1px solid var(--theme-line,#e1e6df);border-radius:14px;background:var(--theme-surface,#fff);color:var(--theme-text,#252a28);font-family:var(--ui-font,Montserrat,Arial,sans-serif);overflow:hidden}
:is(.aib-dialog,.aib-admin-shell) *{box-sizing:border-box}:is(.aib-dialog,.aib-admin-shell) button,:is(.aib-dialog,.aib-admin-shell) input,:is(.aib-dialog,.aib-admin-shell) textarea,:is(.aib-dialog,.aib-admin-shell) select{font:inherit}:is(.aib-dialog,.aib-admin-shell) button{touch-action:manipulation;cursor:pointer}:is(.aib-dialog,.aib-admin-shell) button:disabled{cursor:default;opacity:.55}:is(.aib-dialog,.aib-admin-shell) :is(button,input,textarea,select):focus-visible{outline:2px solid var(--theme-focus,#c44b00);outline-offset:2px}
.aib-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--theme-line,#e1e6df);flex:none}.aib-heading{min-width:0}.aib-heading h2{font-size:19px;line-height:1.3;font-weight:700;letter-spacing:-.02em;margin:0}.aib-caption{font-size:11px;line-height:1.5;color:var(--theme-text-muted,#56605a);margin:4px 0 0}.aib-header-tools{display:flex;align-items:center;gap:7px;flex:none}.aib-icon-button{display:inline-flex;justify-content:center;align-items:center;min-width:44px;width:44px;height:44px;padding:10px;border:1px solid var(--theme-line,#e1e6df);border-radius:50%;background:var(--theme-surface-subtle,#f5f7f3);color:var(--theme-accent-text,#963900);font-size:23px;line-height:1}.aib-icon-button svg,.booking-ai .booking-option-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.aib-privacy{flex:none;padding:9px 18px;margin:0;background:var(--theme-surface-subtle,#f5f7f3);font-size:11px;line-height:1.45;color:var(--theme-text-muted,#56605a)}.aib-body{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px}.aib-messages{display:flex;flex-direction:column;gap:10px}.aib-bubble{max-width:88%;margin:0;padding:10px 13px;border-radius:12px;background:var(--theme-surface-muted,#edf0eb);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.aib-user{align-self:flex-end;background:var(--theme-accent-soft,#fff4eb)}.aib-assistant{align-self:flex-start}.aib-components{display:grid;gap:14px;margin-top:16px}.aib-component{display:grid;gap:8px;min-width:0}.aib-component form{display:grid;gap:10px;min-width:0}.aib-component h3{margin:0;font-size:16px}.aib-component>p{font-size:12px;margin:0}.aib-component .aib-caption{font-size:11px}.aib-choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;text-align:left;border:1px solid var(--theme-line-strong,#b0bdb3);border-radius:10px;background:var(--theme-control-fill,#fff);color:var(--theme-text,#252a28);font-size:13px;line-height:1.4;min-width:0}.aib-choice strong,.aib-choice small{display:block}.aib-choice small{font-size:11px;color:var(--theme-text-muted,#56605a);margin-top:3px}.aib-choice img{flex:none;width:40px;height:40px;object-fit:contain;border-radius:8px}.aib-choice-copy{min-width:0;overflow-wrap:anywhere}.aib-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.aib-slots .aib-choice{justify-content:center;font-size:12px}.aib-field{display:grid;gap:5px;min-width:0}.aib-field>span{font-size:12px;color:var(--theme-text-muted,#56605a)}.aib-field input,.aib-field select{display:block;width:100%;max-width:100%;min-width:0;height:44px;padding:9px 10px;border:1px solid var(--theme-control-border,#89978f);border-radius:9px;background:var(--theme-control-fill,#fff);color:var(--theme-text,#252a28);font-size:13px}.aib-summary{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);gap:7px 12px;margin:0;font-size:12px;line-height:1.5}.aib-summary dt{color:var(--theme-text-muted,#56605a)}.aib-summary dd{margin:0;overflow-wrap:anywhere}.aib-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.5;color:var(--theme-text-muted,#56605a)}.aib-check input{margin:1px 0 0;width:17px;height:17px;flex:none}.aib-primary,.aib-small-primary{min-height:44px;padding:10px 14px;border:1px solid var(--brand-accent,#c44b00);border-radius:9px;background:var(--brand-accent,#c44b00);color:white;font-size:13px;font-weight:650}.aib-small-primary{width:fit-content;max-width:100%}.aib-link-button{min-height:38px;width:fit-content;max-width:100%;padding:8px 2px;border:0;background:none;color:var(--theme-accent-text,#963900);font-size:11px;line-height:1.4;text-align:left}.aib-current-draft{border-top:1px solid var(--theme-line,#e1e6df);margin:18px 0 0;padding-top:10px;font-size:12px}.aib-current-draft>summary{cursor:pointer;min-height:36px;display:list-item;color:var(--theme-text-muted,#56605a)}.aib-current-draft[open]>div{padding:8px 0}.aib-footer{flex:none;border-top:1px solid var(--theme-line,#e1e6df);padding:10px 18px 12px;background:var(--theme-surface,#fff)}.aib-mode-row{display:flex;align-items:center;gap:14px;margin:0 0 8px}.aib-mode{min-height:36px;padding:6px 0;background:none;border:0;border-bottom:2px solid transparent;color:var(--theme-text-muted,#56605a);font-size:12px}.aib-mode[aria-pressed=true]{border-bottom-color:var(--brand-accent,#c44b00);color:var(--theme-accent-text,#963900);font-weight:650}.aib-mode-row>.aib-link-button{margin-left:auto;font-size:10px}.aib-composer{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;gap:8px;align-items:end;min-width:0}.aib-composer textarea{display:block;width:100%;min-width:0;min-height:44px;max-height:110px;resize:vertical;padding:9px 10px;border:1px solid var(--theme-control-border,#89978f);border-radius:10px;background:var(--theme-control-fill,#fff);color:var(--theme-text,#252a28);font-size:13px;line-height:1.4}.aib-send{min-height:44px;border:1px solid var(--brand-accent,#c44b00);padding:9px 11px;border-radius:9px;background:var(--brand-accent,#c44b00);color:white;font-size:12px;font-weight:600}.aib-status{font-size:10px;color:var(--theme-text-muted,#56605a);margin:8px 0 0;line-height:1.4;min-height:14px}.aib-error{font-size:12px;line-height:1.5;color:var(--theme-negative-text,#9b3940);margin:8px 0 0}.aib-error[hidden]{display:none}.aib-session-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.aib-session-actions .aib-link-button{font-size:10px}.aib-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.aib-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.aib-table th,.aib-table td{padding:8px;border-bottom:1px solid var(--theme-line,#e1e6df);vertical-align:top;overflow-wrap:anywhere}.aib-table th{font-size:11px;font-weight:600;color:var(--theme-text-muted,#56605a)}.aib-audit{padding-left:20px;margin:0;font-size:11px;line-height:1.6}.booking-ai{font:inherit;color:inherit;cursor:pointer;text-align:left}.booking-ai .booking-option-icon{display:inline-flex;align-items:center;justify-content:center}.aib-transcript{padding:8px 0;font-size:11px;line-height:1.4;color:var(--theme-text-muted,#56605a)}
@media(max-width:690px){.aib-dialog{inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;border:0;border-radius:0;margin:0}.aib-header{padding:calc(9px + env(safe-area-inset-top,0px)) 14px 9px}.aib-heading h2{font-size:18px}.aib-privacy{padding:8px 14px}.aib-body{padding:14px}.aib-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))}.aib-admin-shell{height:calc(100dvh - 140px);min-height:480px}.aib-summary{grid-template-columns:85px minmax(0,1fr);gap:7px 10px}.aib-composer{gap:6px;grid-template-columns:minmax(0,1fr) 44px 78px}.aib-send{font-size:11px;padding:9px 6px}.aib-bubble{max-width:94%}.aib-mode-row{gap:12px}.aib-session-actions{gap:10px}.aib-small-primary{width:100%}}

.booking-ai{background:var(--theme-surface,#fff)}.booking-ai-form-switch{min-height:40px;padding:8px 2px;border:0;background:none;color:var(--theme-accent-text,#963900);font:inherit;font-size:12px;cursor:pointer}

/* Voice capture uses the existing control; the menu/dialog does not grow. */
.aib-icon-button.aib-recording{color:#fff;background:#963900;border-color:transparent}
.aib-icon-button.aib-recording svg{visibility:hidden}
.aib-icon-button.aib-recording::after{content:"";position:absolute;width:20px;height:20px;border-radius:3px;background:currentColor}
.aib-icon-button.aib-recording{position:relative;display:grid;place-items:center}
