#itcreed-iba {--iba-accent:#164d59;--iba-offset:20px;--iba-bottom:20px;position:fixed;z-index:99990;bottom:calc(var(--iba-bottom) + env(safe-area-inset-bottom,0px));right:var(--iba-offset);font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172936;isolation:isolate;text-align:left;letter-spacing:normal;}
#itcreed-iba.iba-side-left{right:auto;left:var(--iba-offset)}
#itcreed-iba *,#itcreed-iba *::before,#itcreed-iba *::after{box-sizing:border-box}
#itcreed-iba [hidden]{display:none!important}
#itcreed-iba button,#itcreed-iba input,#itcreed-iba a{font-family:inherit;font-size:inherit;line-height:1.4;letter-spacing:normal;text-transform:none;box-shadow:none;margin:0;min-height:0;min-width:0;}
#itcreed-iba button{cursor:pointer;border:0;background:none;border-radius:0;color:inherit;padding:0;}
#itcreed-iba button:disabled{opacity:.55;cursor:wait}
#itcreed-iba :focus-visible{outline:3px solid #e0a837;outline-offset:2px}
#itcreed-iba .iba-launch{display:flex;align-items:center;gap:9px;border-radius:32px;background:var(--iba-accent);color:#fff;padding:11px 17px;box-shadow:0 6px 24px #142c4140;font-weight:650;min-height:50px;}
#itcreed-iba .iba-launch svg{width:29px;height:29px;flex:none}
#itcreed-iba .iba-panel{display:flex;flex-direction:column;width:360px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - var(--iba-bottom) - 28px);max-height:calc(100dvh - var(--iba-bottom) - env(safe-area-inset-bottom,0px) - 20px);background:#fff;border:1px solid #dfe6e8;border-radius:19px;overflow:hidden;box-shadow:0 12px 50px #10273833;}
#itcreed-iba .iba-header{display:flex;align-items:center;gap:10px;padding:13px 14px;background:var(--iba-accent);color:#fff;flex:none;}
#itcreed-iba .iba-avatar{height:40px;width:40px;border-radius:13px;background:#ffffff25;display:grid;place-items:center;flex:none;overflow:hidden;}
#itcreed-iba .iba-avatar svg{width:29px;height:29px;color:white}#itcreed-iba .iba-avatar img{width:100%;height:100%;object-fit:contain;background:white;}
#itcreed-iba .iba-heading{display:flex;flex-direction:column;flex:1;min-width:0;}#itcreed-iba .iba-heading strong{font-size:15px;line-height:1.3;color:#fff;overflow-wrap:anywhere}#itcreed-iba .iba-heading small{font-size:11px;line-height:1.4;color:#fff;opacity:.85;overflow-wrap:anywhere;}
#itcreed-iba .iba-close{font-size:25px;color:#fff;width:36px;height:36px;border-radius:9px;background:#ffffff18;flex:none;}
#itcreed-iba .iba-toolbar{display:flex;justify-content:space-between;align-items:center;padding:7px 13px;border-bottom:1px solid #edf0f1;font-size:11px;color:#526574;flex:none;gap:5px;}
#itcreed-iba .iba-reset{font-size:11px;font-weight:700;color:#315768;padding:5px;}
#itcreed-iba .iba-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:13px 12px;background:#f5f7f8;display:flex;flex-direction:column;align-items:stretch;gap:9px;scrollbar-width:thin;}
#itcreed-iba .iba-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:13px;padding:10px 12px;max-width:94%;font-size:13px;line-height:1.55;flex:none;}
#itcreed-iba .iba-bot,#itcreed-iba .iba-pending{background:#fff;border:1px solid #e4e9ec;align-self:flex-start;border-bottom-left-radius:4px;color:#172936;}
#itcreed-iba .iba-user{background:var(--iba-accent);color:white;align-self:flex-end;border-bottom-right-radius:4px;}
#itcreed-iba .iba-pending{color:#62717a;font-style:normal;}
#itcreed-iba .iba-quick{display:flex;flex-wrap:wrap;gap:6px;flex:none;}
#itcreed-iba .iba-chip{border:1px solid #bfcfd3;border-radius:12px;padding:8px 9px;background:#fff;color:#294653;font-size:12px;font-weight:600;text-align:left;max-width:100%;overflow-wrap:anywhere;}
#itcreed-iba .iba-service,#itcreed-iba .iba-handover{padding:12px;border:1px solid #dbe4e7;border-radius:12px;background:#fff;flex:none;overflow-wrap:anywhere;}
#itcreed-iba .iba-service strong,#itcreed-iba .iba-handover strong{display:block;font-size:14px;color:#172936;margin-bottom:5px;}
#itcreed-iba .iba-service p,#itcreed-iba .iba-handover p{margin:4px 0 8px;font-size:12px;line-height:1.5;color:#364955;white-space:pre-wrap;}
#itcreed-iba .iba-service small{display:block;font-size:11px;font-weight:700;color:#385969;margin:9px 0 2px;}
#itcreed-iba .iba-link{display:inline-block;text-decoration:none!important;border:1px solid #cbdadd;background:#f7fafb;color:#234d5a!important;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:650;overflow-wrap:anywhere;}
#itcreed-iba .iba-channels{display:grid;gap:6px;margin-top:8px;}#itcreed-iba .iba-channels .iba-link{text-align:center;}
#itcreed-iba .iba-source{flex:none;}#itcreed-iba .iba-consent{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#405661;margin:8px 0;}#itcreed-iba .iba-consent input{width:15px;height:15px;flex:none;margin-top:2px;appearance:auto;}
#itcreed-iba .iba-summary{font-size:11px;color:#405661;}#itcreed-iba .iba-summary summary{cursor:pointer;}#itcreed-iba .iba-summary pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto;background:#f1f5f6;padding:8px;font:inherit;}
#itcreed-iba .iba-copy{font-size:11px;color:#315768;text-decoration:underline;margin-top:7px;padding:4px;}
#itcreed-iba .iba-actions{padding:6px 12px 0;flex:none;}#itcreed-iba .iba-human{width:100%;background:#eaf2f3;color:#234d5a;font-size:12px;padding:7px;border-radius:8px;font-weight:700;}
#itcreed-iba .iba-form{display:flex;gap:6px;align-items:center;margin:0;padding:8px 12px 6px;flex:none;background:#fff;}
#itcreed-iba .iba-form input{flex:1;min-width:0;width:100%;height:40px;border:1px solid #d4dfe2;background:#fff;color:#172936;border-radius:10px;padding:8px 10px;font-size:16px;}
#itcreed-iba .iba-form input::placeholder{font-size:12px;color:#677984;}
#itcreed-iba .iba-send{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--iba-accent);color:#fff;flex:none;}#itcreed-iba .iba-send svg{width:19px;height:19px;}
#itcreed-iba .iba-footer{display:flex;flex-direction:column;align-items:center;gap:1px;padding:0 8px 8px;font-size:10px;color:#61717a;flex:none;text-align:center;}#itcreed-iba .iba-footer a{color:#254f5a!important;font-weight:700;text-decoration:none!important;font-size:inherit;}
#itcreed-iba .iba-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:480px){#itcreed-iba{right:10px;bottom:calc(min(var(--iba-bottom),90px) + env(safe-area-inset-bottom,0px));}#itcreed-iba.iba-side-left{left:10px;right:auto;}#itcreed-iba .iba-panel{width:340px;max-width:calc(100vw - 20px);height:510px;max-height:calc(100vh - 105px);max-height:calc(100dvh - min(var(--iba-bottom),90px) - env(safe-area-inset-bottom,0px) - 12px);border-radius:15px;}#itcreed-iba .iba-launch{width:52px;height:52px;padding:0;justify-content:center;}#itcreed-iba .iba-launch span{display:none;}}
@media(max-height:420px){#itcreed-iba .iba-panel{max-height:calc(100vh - 22px);max-height:calc(100dvh - 22px);}#itcreed-iba{bottom:10px!important;}#itcreed-iba .iba-header{padding:6px 10px;}#itcreed-iba .iba-avatar{width:30px;height:30px;}#itcreed-iba .iba-footer{padding-bottom:3px;}#itcreed-iba .iba-toolbar{padding:2px 10px;}}

/* Keep controls clickable even when themes disable pointer events on footer overlays. */
#itcreed-iba,#itcreed-iba .iba-launch,#itcreed-iba .iba-panel{pointer-events:auto;}
/* Compact advisory sections; the first answer is visible, other details expand on demand. */
#itcreed-iba .iba-guidance{background:#fff;border:1px solid #cbdde0;border-radius:12px;padding:12px;flex:none;overflow-wrap:anywhere;}
#itcreed-iba .iba-guide-kicker{font-size:10px;font-weight:750;letter-spacing:.065em;color:#47737b;margin-bottom:5px;}
#itcreed-iba .iba-guidance>strong{display:block;font-size:14px;color:#172936;margin-bottom:8px;}
#itcreed-iba .iba-guide-section{border-top:1px solid #e0e8ea;padding:8px 0;color:#304957;font-size:12px;line-height:1.55;}
#itcreed-iba .iba-guide-section summary{cursor:pointer;font-weight:700;color:#234d5a;padding:2px 0;}
#itcreed-iba .iba-guide-section p{margin:7px 0 0;white-space:pre-wrap;}
#itcreed-iba .iba-guide-section ol{margin:7px 0 0;padding-left:20px;list-style:decimal;}
#itcreed-iba .iba-guide-section li{margin:0 0 5px;padding:0;}
#itcreed-iba .iba-service .iba-chip{display:block;margin-top:7px;}
