.icems-chat{--icems-ink:#f6f0e3;--icems-dark:#111a2f;--icems-mid:#1c2c4a;--icems-accent:#ddbb78;--icems-border:#3c4a64;box-sizing:border-box;font-family:inherit;font-size:15px;color:var(--icems-ink)}
.icems-chat *{box-sizing:border-box}
.icems-chat [hidden]{display:none!important}
/* Inline shortcode and widget occupy the full width of their WordPress content column. */
.icems-chat--inline{display:block;width:100%;max-width:none;margin:24px 0;min-width:0}
.icems-chat--inline .icems-chat__panel{width:100%;max-width:none}
.icems-chat__panel{background:var(--icems-dark);border:1px solid var(--icems-border);border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.18);display:flex;flex-direction:column;min-height:460px;max-height:min(740px,85vh)}
.icems-chat__head{display:flex;align-items:center;gap:8px;background:linear-gradient(120deg,#182543,#24365a);border-bottom:1px solid var(--icems-border);padding:14px 16px}
.icems-chat__head>div{flex:1;min-width:0}.icems-chat__head strong{display:block;color:#f8dfad;font-size:1rem;line-height:1.4}.icems-chat__head span{display:block;color:#c6d0e5;font-size:.76rem;line-height:1.4}
.icems-chat__head button{font:inherit;font-size:23px;line-height:1;min-width:32px;min-height:32px;border:1px solid #5a6880;border-radius:6px;color:#f3e8d5;background:transparent;cursor:pointer}
.icems-chat__messages{flex:1;min-height:190px;overflow:auto;padding:18px 14px;scroll-behavior:smooth;background:radial-gradient(ellipse at top left,rgba(88,107,163,.15),transparent 60%),var(--icems-dark)}
.icems-chat__bubble{max-width:90%;width:fit-content;padding:11px 13px;border-radius:12px;margin:0 0 12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
.icems-chat__bubble--bot{background:#253452;border:1px solid #435472;color:#f9f3e8;border-top-left-radius:3px}
.icems-chat__bubble--user{margin-left:auto;background:#806033;color:#fff;border:1px solid #b59255;border-top-right-radius:3px}
.icems-chat__choices{padding:0 14px;display:flex;gap:7px;flex-wrap:wrap;max-height:130px;overflow:auto}
.icems-chat__choice{font:inherit;cursor:pointer;color:#f2d9a5;background:#182745;border:1px solid #917c56;border-radius:24px;padding:8px 12px;line-height:1.3}
.icems-chat__choice:hover,.icems-chat__choice:focus-visible{background:#374b6c}
.icems-chat__consent{padding:12px 14px 4px;background:#1a2944;color:#e1e5ec;font-size:.76rem;line-height:1.4}
.icems-chat__consent label{display:block;cursor:pointer}.icems-chat__consent input{vertical-align:middle;accent-color:#c9a76a}.icems-chat__consent p{margin:4px 0 5px;color:#c7d0de;font-size:.72rem}
.icems-chat__form{display:flex;gap:8px;padding:12px 14px;border-top:1px solid var(--icems-border)}
.icems-chat__input{min-width:0;flex:1;background:#fff!important;border:1px solid #8e9ab2!important;border-radius:7px!important;color:#121b2a!important;font:inherit!important;font-size:.92rem!important;min-height:43px!important;padding:10px!important;margin:0!important}
.icems-chat__input::placeholder{color:#696f79}
.icems-chat__send{background:var(--icems-accent)!important;color:#1c2030!important;border:0!important;border-radius:7px!important;padding:10px 15px!important;font:inherit!important;font-weight:700!important;min-height:43px;cursor:pointer}
.icems-chat__send:disabled{opacity:.6;cursor:progress}
.icems-chat__foot{margin:0;padding:0 14px 11px;color:#b9c3d2;font-size:.67rem;line-height:1.5}
.icems-chat__honeypot{position:absolute!important;left:-99999px!important;opacity:0!important;height:0!important;width:0!important;pointer-events:none}
.icems-chat__recommendations{margin:14px 0 20px;padding:12px;background:rgba(234,202,148,.07);border:1px solid #4a5670;border-radius:10px}
.icems-chat__card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-bottom:7px}.icems-chat__card-head strong{color:#f4ddae}.icems-chat__mode{font-size:.69rem;color:#d0d5df}
.icems-chat__symbolic,.icems-chat__notice{font-size:.78rem;line-height:1.55;color:#d2d8e5;margin:6px 0 9px}
.icems-chat__course{padding:13px;background:#1d2c47;border:1px solid #4d607b;border-radius:9px;margin:10px 0}
.icems-chat__course-top{display:flex;gap:12px;align-items:flex-start}.icems-chat__course-body{min-width:0;flex:1}.icems-chat__thumb{width:85px;height:85px;flex:none;border-radius:7px;object-fit:cover}
.icems-chat__level{font-size:.68rem;border:1px solid #92815b;border-radius:14px;color:#efd6a6;padding:3px 8px;display:inline-block}
.icems-chat__course h4{font-size:.95rem!important;color:#f3ead7;margin:7px 0!important;line-height:1.4!important}.icems-chat__course h4 a,.icems-chat__course-link{color:#ffdb91!important;text-decoration:underline;text-underline-offset:3px}
.icems-chat__excerpt{font-size:.79rem;line-height:1.55;color:#e5e7ea;margin:4px 0 7px}.icems-chat__match{font-size:.72rem;line-height:1.45;color:#bfcbe0;margin:3px 0}.icems-chat__course-link{display:inline-block;font-size:.77rem;font-weight:700;margin-top:8px}
.icems-chat--floating{position:fixed!important;bottom:22px;right:22px;z-index:99999;max-width:calc(100vw - 24px)}
.icems-chat__launcher{display:block;font:inherit;background:linear-gradient(120deg,#1a2c4c,#343452)!important;color:#ffe7b3!important;border:1px solid #c7a66c!important;box-shadow:0 5px 20px rgba(0,0,0,.3);border-radius:40px;padding:12px 18px;cursor:pointer}
.icems-chat--floating .icems-chat__panel{width:390px;max-width:calc(100vw - 24px);height:min(650px,80vh);min-height:350px;box-shadow:0 12px 45px rgba(0,0,0,.45)}
.icems-chat :is(button,input,a):focus-visible{outline:3px solid #fff6c8;outline-offset:2px}
@media(max-width:550px){.icems-chat--floating{right:12px;bottom:12px}.icems-chat--floating .icems-chat__panel{width:calc(100vw - 24px);height:min(650px,82vh)}.icems-chat__thumb{width:65px;height:65px}.icems-chat__bubble{max-width:95%}}
