:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#edf1f5;--panel:#fff;--line:#d9e0e8;--text:#17212b;--muted:#677482;--bot:#f5f7fa;--user:#1f6feb;--user-text:#fff;--accent:#1456b8;--blue:var(--accent)}*{box-sizing:border-box}html,body{min-height:100%;margin:0;overflow:hidden}body{color:var(--text);background:var(--bg);font-family:Arial,Noto Sans KR,sans-serif}button,textarea,select{font:inherit}.webchat-shell{background:var(--panel);grid-template-columns:52px 280px minmax(0,1fr);gap:0;width:100vw;height:100dvh;min-height:100svh;display:grid}.webchat-shell.is-widget{grid-template-columns:minmax(0,1fr);min-height:100svh}.webchat-shell.is-widget .chat-room{height:100svh}.webchat-shell.is-widget .chat-room__header{min-height:62px;padding:12px 14px}.webchat-shell.is-widget .chat-room__avatar{width:34px;height:34px}.webchat-shell.is-widget .chat-room__header small{display:none}.webchat-shell.is-widget .chat-room__messages{padding:14px}.webchat-shell.is-widget .chat-message-bubble{max-width:88%}.webchat-shell.is-widget .connection-panel{padding:14px}.webchat-shell.is-widget .connection-card{align-self:start;width:100%}.webchat-rail{z-index:3;color:#f4f8ff;background:#172234;border-right:1px solid #2d3a4d;flex-direction:column;grid-area:1/1;align-items:center;gap:10px;min-height:100svh;padding:14px 7px;display:flex;position:relative;box-shadow:inset -1px 0 #ffffff0a}.webchat-rail__menu,.webchat-rail__item{color:#f4f8ff;cursor:pointer;background:#1f2c40;border:1px solid #ffffff29;border-radius:10px;width:38px;min-height:38px;font-weight:800;box-shadow:inset 0 1px #ffffff0a}.webchat-rail__menu{margin-bottom:8px;font-size:18px}.webchat-rail__item{letter-spacing:0;font-size:15px}.webchat-rail__item:disabled{opacity:.42;cursor:not-allowed}.webchat-rail__menu:hover,.webchat-rail__item:hover,.webchat-rail__item.is-active{background:#254062;border-color:#86abe8bf}.room-list{color:#eef4ff;background:#1c2635;border-right:1px solid #2f3b4d;flex-direction:column;grid-area:1/2;min-width:0;min-height:100svh;transition:opacity .14s,transform .16s;display:flex;overflow:hidden}.room-list.is-collapsed{opacity:0;pointer-events:none;min-width:0;overflow:hidden}.room-list__header{border-bottom:1px solid #2f3b4d;justify-content:space-between;align-items:center;gap:12px;padding:16px 14px;display:flex}.room-list__header div,.chat-room__header div{gap:4px;min-width:0;display:grid}.room-list__header strong,.chat-room__header strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.room-list__header small,.chat-room__header small,.room-list__items small,.bot-picker-list>span{color:#aeb8c6;font-size:12px}.room-list__header button{border:1px solid var(--line);background:var(--panel);width:36px;height:36px;color:var(--accent);cursor:pointer;border-radius:8px;font-size:24px;line-height:1}.room-list__header button:disabled{color:#a9b4bf;cursor:not-allowed}.room-actions{border-bottom:1px solid #2f3b4d;padding:12px 14px}.room-actions button{color:#fff;cursor:pointer;background:#2464ce;border:1px solid #3f70d6;border-radius:8px;width:100%;min-height:42px;font-weight:700}.room-actions button:disabled{opacity:.55;cursor:not-allowed}.connection-status,.room-empty{color:#aeb8c6;margin:0;padding:10px 14px;font-size:13px}.settings-button{color:#f6f9ff;cursor:pointer;background:#233149;border:1px solid #3b4b62;border-radius:8px;flex:none;width:36px;height:36px}.bot-list p{color:var(--muted);font-size:13px}.room-list__items{align-content:start;gap:8px;min-height:0;padding:10px;display:grid;overflow:auto}.room-item{color:#eef4ff;min-width:0;box-shadow:none;background:#202d3f;border:1px solid #334157;border-radius:8px;grid-template-columns:minmax(0,1fr) 34px;align-items:stretch;margin:8px 8px 0;display:grid}.room-item.is-active{background:#263d61;border-color:#80a9ef}.room-item__open,.room-item__delete{color:inherit;cursor:pointer;background:0 0;border:0}.room-item__open{text-align:left;gap:6px;min-width:0;padding:12px;display:grid}.room-item__delete{opacity:.72;font-size:18px}.room-item__delete:hover{opacity:1}.room-item strong,.room-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-room{background:var(--panel);grid-area:1/3;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100svh;display:grid}.chat-room__header{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-width:0;padding:16px 20px;display:flex}.chat-room__header-actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.chat-room__header-actions button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--accent);cursor:pointer;border-radius:7px;padding:0 10px;font-weight:700}.chat-room__header-actions button:disabled{opacity:.45;cursor:not-allowed}.chat-room__avatar{background:linear-gradient(135deg,#1f6feb,#2fb8a6);border-radius:50%;flex:none;width:40px;height:40px}.chat-room__messages{background:#f7f9fb;flex-direction:column;gap:12px;min-height:0;padding:20px;display:flex;overflow:auto}.chat-message-row{display:flex}.chat-message-row--user{justify-content:flex-end}.chat-message-row--system{justify-content:center}.chat-message-bubble{background:var(--bot);border:1px solid #e3e8ef;border-radius:8px;gap:5px;min-width:0;max-width:min(74%,720px);padding:10px 12px;display:grid}.chat-message-row--user .chat-message-bubble{background:var(--user);color:var(--user-text);border-color:var(--user)}.chat-message-row--system .chat-message-bubble{color:#5f4b00;background:#fff7d6;border-color:#eadb9b;max-width:92%}.chat-message-bubble b,.chat-message-bubble p,.chat-message-bubble time{overflow-wrap:anywhere;min-width:0;margin:0}.chat-message-bubble b,.chat-message-bubble time{font-size:11px}.chat-message-bubble time{color:inherit;opacity:.72;justify-self:end}.chat-room__composer{border-top:1px solid var(--line);background:var(--panel);grid-template-columns:minmax(0,1fr) 84px;gap:10px;padding:12px 14px;display:grid}.chat-room__composer textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:46px;max-height:120px;color:var(--text);border-radius:8px;padding:12px}.chat-room__composer button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;min-height:46px}.chat-room__composer button:disabled,.chat-room__composer textarea:disabled{opacity:.55;cursor:not-allowed}.analysis-panel{z-index:40;color:#e5edf8;background:#0f172a;border:0;border-top:1px solid #334155;border-left:1px solid #334155;border-radius:10px 0 0;grid-template-rows:auto minmax(0,1fr);width:min(620px,100vw);height:min(54svh,520px);display:grid;position:fixed;bottom:0;right:0;box-shadow:-18px -18px 48px #0f172a3d}.analysis-panel header{border-bottom:1px solid #334155;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.analysis-panel header span{gap:2px;display:grid}.analysis-panel header small,.analysis-panel__summary span,.analysis-entry time{color:#94a3b8;font-size:11px}.analysis-panel header button{color:#f8fafc;cursor:pointer;background:#1f2937;border:1px solid #475569;border-radius:7px;width:30px;height:30px}.analysis-panel__body{align-content:start;gap:8px;min-height:0;padding:10px;display:grid;overflow:auto}.analysis-panel__summary,.analysis-entry{background:#111827;border:1px solid #334155;border-radius:8px;gap:5px;padding:9px;display:grid}.analysis-entry div{justify-content:space-between;gap:10px;display:flex}.analysis-entry pre{color:#dbeafe;background:#020617;border-radius:6px;max-height:180px;margin:0;padding:8px;font-size:11px;line-height:1.45;overflow:auto}.analysis-panel__empty{color:#94a3b8;margin:0}@media (max-width:820px){.webchat-shell,.webchat-shell.is-nav-collapsed{grid-template-rows:minmax(0,1fr);grid-template-columns:48px minmax(0,1fr);width:100vw;height:100dvh;overflow:hidden}.webchat-rail{min-height:100svh}.room-list{left:58px;right:auto;top:calc(12px + env(safe-area-inset-top));z-index:30;border:1px solid #2f3b4d;border-radius:12px;grid-area:1/2;width:min(248px,100vw - 116px);height:auto;min-height:0;max-height:min(72dvh,560px);transition:transform .16s,opacity .14s;position:fixed;bottom:auto;transform:translate(0);box-shadow:0 18px 44px #0f172a57}.room-list.is-collapsed{transform:translate(-100%)}.room-list__items{padding:8px;display:grid;overflow:auto}.room-item{min-width:0}.chat-room{grid-area:1/2;width:auto;height:100dvh;min-height:0;position:fixed;inset:0 0 0 48px}.chat-message-bubble{max-width:86%}}@media (max-width:520px){.room-list__header,.chat-room__header,.bot-picker-list{padding-left:14px;padding-right:14px}.chat-room__messages{padding:14px}.chat-room__composer{padding:10px 12px calc(10px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 68px}}.modal-backdrop{z-index:50;background:#121b266b;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.modal-backdrop--settings{background:#0206175c;place-items:stretch end;padding:0}.modal-dialog{background:var(--panel);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,460px);max-height:min(680px,100svh - 36px);display:grid;overflow:hidden;box-shadow:0 24px 70px #10182447}.modal-dialog__header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.modal-dialog__header div,.modal-dialog__header span{gap:4px;min-width:0;display:grid}.modal-dialog__header small{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:12px;overflow:hidden}.modal-dialog__header button{border:1px solid var(--line);background:var(--panel);width:32px;height:32px;color:var(--muted);cursor:pointer;border-radius:8px}.settings-field{gap:8px;padding:14px;display:grid}.settings-field span{color:var(--muted);font-size:12px}.settings-field input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--text);border-radius:8px;padding:0 12px}.modal-dialog__footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 14px;display:flex}.primary-action,.secondary-action{cursor:pointer;border-radius:8px;min-height:38px;padding:0 14px}.primary-action{background:var(--accent);color:#fff;border:0}.secondary-action{border:1px solid var(--line);background:var(--panel);color:var(--text)}.bot-picker-list{align-content:start;gap:10px;min-height:0;padding:14px;display:grid;overflow:auto}.bot-picker-list button{text-align:left;border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:8px;gap:5px;min-width:0;padding:12px;display:grid}.bot-picker-list button:hover{border-color:#9fb3ca}.bot-picker-list button.is-opened{background:#eef4fb;border-color:#b8c7d9}.bot-picker-list button.is-opened small{color:var(--accent)}.bot-picker-list strong,.bot-picker-list small,.bot-picker-list p{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.bot-picker-list small,.bot-picker-list p{color:var(--muted);font-size:13px}.connection-panel{background:#f7f9fb;place-items:center;min-height:0;padding:24px;display:grid}.connection-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:12px;width:min(100%,420px);padding:14px;display:grid}.connection-card span{color:var(--muted);font-size:13px}.connection-card input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--text);border-radius:8px;padding:0 12px}.connection-card button,.message-options button{border:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--accent);cursor:pointer;border-radius:8px;padding:0 12px}.connection-card button{background:var(--accent);color:#fff;border:0}.message-options{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.message-table{max-width:min(620px,72vw);margin-top:6px;overflow-x:auto}.message-table table{border-collapse:collapse;min-width:360px;font-size:13px}.message-table th,.message-table td{border:1px solid var(--line);text-align:left;white-space:nowrap;padding:7px 9px}.message-table th{background:#f3f7fb;font-weight:700}.message-adaptive-card{border:1px solid var(--line);background:#fff;border-radius:6px;gap:6px;min-width:240px;max-width:min(520px,72vw);padding:10px;display:grid}.message-adaptive-card p{margin:0}.chat-message-bubble p,.message-rich-form p,.message-rich-form figcaption,.message-rich-form__unsupported,.message-adaptive-card{white-space:pre-wrap}.message-rich-form{border:1px solid var(--line);min-width:240px;max-width:min(640px,74vw);color:var(--text);background:#fff;border-radius:8px;gap:10px;padding:12px;display:grid}.message-rich-form__title{gap:8px;display:grid}.message-rich-form__title a,.message-rich-form__title strong,.message-rich-form__section-title,.message-rich-form__text strong,.message-rich-form__choice strong,.message-rich-form__cards strong{color:var(--text);font-weight:700}.message-rich-form__divider{border:0;border-top:1px solid var(--line);width:100%;margin:0}.message-rich-form__text,.message-rich-form__field,.message-rich-form__choice,.message-rich-form__cards,.message-rich-form__map{gap:6px;display:grid}.message-rich-form__field span{font-size:12px;font-weight:700}.message-rich-form__field label{gap:6px;display:grid}.message-rich-form__field--horizontal label{grid-template-columns:minmax(68px,max-content) minmax(0,1fr);align-items:center;column-gap:12px}.message-rich-form__field--horizontal span{min-width:68px}.message-rich-form__field input,.message-rich-form__field textarea{border:1px solid var(--line);width:100%;min-height:34px;color:var(--text);background:#fff;border-radius:6px;padding:7px 9px}.message-rich-form__field textarea{resize:vertical;min-height:72px}.message-rich-form__field--horizontal textarea{min-height:88px}@media (max-width:520px){.message-rich-form__field--horizontal label{grid-template-columns:1fr}.message-rich-form__field--horizontal span{min-width:0}}.message-rich-form__choice>div,.message-rich-form__actions{flex-wrap:wrap;gap:6px;display:flex}.message-rich-form__choice button,.message-rich-form__actions button,.message-rich-form__button{border:1px solid var(--line);min-height:32px;color:var(--accent);cursor:pointer;background:#fff;border-radius:7px;padding:0 11px}.message-rich-form__media{gap:6px;margin:0;display:grid}.message-rich-form__media img,.message-rich-form__media video{border:1px solid var(--line);border-radius:6px;max-width:100%}.message-rich-form__cards>div{gap:8px;display:flex;overflow-x:auto}.message-rich-form__cards article,.message-rich-form__map,.message-rich-form__unsupported{border:1px solid var(--line);background:#f8fafc;border-radius:6px;min-width:160px;padding:8px}.message-rich-form__actions--vertical{flex-direction:column;align-items:flex-start;width:100%}.message-rich-form__actions--vertical button{width:auto;min-height:42px;font-weight:700}.message-rich-form__actions--vertical button.is-wide{width:100%}.message-rich-form__field select{border:1px solid var(--line);background:#fff;border-radius:6px;width:100%;min-height:34px;padding:6px 8px;font-size:13px}.message-rich-form__choice--vertical>div{flex-direction:column;align-items:stretch;width:100%}.message-rich-form__choice--vertical button{width:100%;min-height:42px;font-weight:700}.message-rich-form__field--submit{align-items:end;gap:8px;display:flex}.message-rich-form__field--submit label{flex:auto;gap:4px;display:grid}.message-rich-form__field--submit button,.message-rich-form__star button,.message-rich-form__map button,.message-rich-form__toggle{border:1px solid var(--line);color:var(--blue);cursor:pointer;background:#fff;border-radius:7px;padding:7px 12px}.message-rich-form__fields{gap:7px;display:grid}.message-rich-form__fields dl{grid-template-columns:minmax(72px,auto) 1fr;gap:5px 10px;margin:0;display:grid}.message-rich-form__fields dt{color:#315b8c;font-weight:700}.message-rich-form__fields dd{margin:0}.message-rich-form__tabs{gap:8px;display:grid}.message-rich-form__tabs details{border:1px solid var(--line);background:#fff;border-radius:7px;padding:8px}.message-rich-form__tabs summary{cursor:pointer;color:var(--blue);font-weight:700}.message-rich-form__cards article button{width:100%;color:inherit;text-align:left;background:0 0;border:0;gap:6px;padding:0;display:grid}.message-rich-form__cards img,.message-rich-form__table img{border:1px solid var(--line);border-radius:6px;max-width:100%}.message-rich-form__star{gap:7px;display:grid}.message-rich-form__star>div{flex-wrap:wrap;gap:8px;display:flex}.message-rich-form__map-box{min-height:96px;color:var(--muted);background:#f4f8fb;border:1px dashed #9fb4cc;border-radius:7px;place-items:center;display:grid}.message-rich-form__inline-form{justify-items:center;gap:6px;display:grid}.message-rich-form__muted{color:var(--muted)}.message-rich-form__action-button{border:1px solid var(--line);min-height:36px;color:var(--blue);background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:8px 15px;font-weight:600;display:inline-flex}.message-rich-form__action-button.is-primary,.message-rich-form__button.is-primary{background:var(--blue);border-color:var(--blue);color:#fff}.message-rich-form__action-button.is-wide,.message-rich-form__button.is-wide{width:100%;min-height:46px}.message-rich-form__popup-icon{color:#149bd7;width:12px;height:12px;font-size:11px;line-height:1;display:inline-block}.message-rich-form__option{min-height:30px;color:var(--text);cursor:pointer;align-items:center;gap:7px;display:inline-flex}.message-rich-form__option input{accent-color:#12a9df;width:18px;height:18px}.message-rich-form__option.is-selected{color:#0b5ea8;background:#eefaff;border-color:#21afd9;font-weight:700}.message-rich-form__choice--vertical .message-rich-form__option{width:100%}.message-rich-form__toggle{justify-content:space-between;align-items:center;gap:12px;width:fit-content;min-width:170px;display:inline-flex}.message-rich-form__toggle input{opacity:0;pointer-events:none;position:absolute}.message-rich-form__toggle i{background:#c7d3df;border-radius:999px;width:46px;height:24px;position:relative}.message-rich-form__toggle i:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000002e}.message-rich-form__toggle input:checked+i,.message-rich-form__toggle.is-on i{background:#21afd9}.message-rich-form__toggle input:checked+i:after,.message-rich-form__toggle.is-on i:after{transform:translate(22px)}.message-rich-form__address,.message-rich-form__picker{border:1px solid var(--line);background:#fff;gap:8px;padding:10px;display:grid}.message-rich-form__address-row>div,.message-rich-form__picker label>div{align-items:center;gap:6px;display:flex}.message-rich-form__address-row input,.message-rich-form__picker input{flex:auto}.message-rich-form__address-row button,.message-rich-form__picker label button{border:1px solid var(--line);color:#315b8c;background:#fff;border-radius:6px;min-width:34px;min-height:32px}.message-rich-form__image-frame{color:#315b8c;place-items:center;gap:4px;min-height:48px;display:grid}.message-rich-form__image-frame.is-linked{cursor:pointer}.message-rich-form__image-frame.is-linked:focus-visible{outline-offset:2px;outline:2px solid #3174c7}.message-rich-form__image-frame img{object-fit:cover;width:100%;max-height:160px;display:block}.rich-form-image-fallback{color:#0056c7;text-align:center;background:#fff;border:1px solid #bfd3ea;border-radius:6px;width:100%;padding:8px 10px;text-decoration:none;display:none}.rich-form-image-fallback.is-visible{display:block}.message-rich-form__table{overflow-x:auto}.message-rich-form__table table{border-collapse:collapse;background:#fff;width:max-content;min-width:100%}.message-rich-form__table th{color:#fff;background:#263544;font-weight:700}.message-rich-form__table th,.message-rich-form__table td{border:1px solid var(--line);vertical-align:top;padding:8px 10px}.message-rich-form__table img{object-fit:cover;background:#f6f8fb;width:68px;height:86px}.message-rich-form__cards--image-list>div{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));display:grid;overflow-x:visible}.message-rich-form__cards--image-list article{text-align:center;min-width:0}.message-rich-form__cards--image-list article button{text-align:center}.message-rich-form__cards--image-list .message-rich-form__image-frame img{aspect-ratio:4/3;max-height:none}.message-rich-form__star>div{gap:2px}.message-rich-form__star button{color:#b8c4d1;background:0 0;border:0;min-width:25px;padding:0 2px;font-size:25px}.message-rich-form__star button.is-selected{color:#f4bf18}.message-rich-form__map-box{background:linear-gradient(35deg,#0000 46%,#d4c7a5 47% 53%,#0000 54%),linear-gradient(100deg,#0000 46%,#d4c7a5 47% 53%,#0000 54%),#eef1e8;grid-template-columns:auto auto 1fr;place-items:start;gap:0;min-height:150px;padding:8px}.message-rich-form__map-box span{color:#315b8c;background:#fff;border:1px solid #b9c4cf;place-items:center;height:24px;padding:0 8px;font-size:12px;display:inline-grid}.message-rich-form__map-box i{background:#fff;border:1px solid #c6d0dc;border-radius:14px;justify-self:end;width:28px;height:96px}.message-rich-form__input-popup{border:1px solid var(--line);background:#fff;gap:8px;padding:10px;display:grid}.message-rich-form__input-popup summary{cursor:pointer;gap:6px;list-style:none;display:grid}.message-rich-form__input-popup summary::-webkit-details-marker{display:none}.message-rich-form__input-popup summary>span:first-child{font-size:12px;font-weight:700}.message-rich-form__input-popup summary>span:last-child{align-items:center;gap:6px;display:flex}.message-rich-form__input-popup input{border:1px solid var(--line);background:#fff;border-radius:999px;flex:auto;min-height:34px;padding:6px 12px}.message-rich-form__input-popup b{border:1px solid var(--line);color:#315b8c;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:inline-grid}.message-rich-form__popup-panel{border:1px solid var(--line);background:#f3f6fa;gap:10px;margin-top:8px;padding:14px;display:grid}.message-rich-form__popup-panel>strong{text-align:center;color:#172033}.message-rich-form__table--popup tbody tr{cursor:pointer}.message-rich-form__table--popup tbody tr:hover{background:#eef6ff}.message-rich-form__table tbody tr.is-selectable{cursor:pointer}.message-rich-form__table tbody tr.is-selectable:hover{background:#eef6ff}.message-rich-form__cards article.is-selectable button:not(:disabled),.message-rich-form__map button.is-selectable:not(:disabled){cursor:pointer}.message-rich-form__cards article button:disabled,.message-rich-form__map button:disabled{cursor:default;opacity:1}.message-rich-form__card-form{gap:6px;display:grid}.message-rich-form__pager{justify-content:center;gap:4px;margin-top:8px;display:flex}.message-rich-form__pager button{color:#2b4c73;background:#fff;border:1px solid #b8c8d8;min-width:22px;min-height:22px}.message-rich-form__pager button:disabled{color:#fff;background:#263544}.message-rich-form__back-button{color:#2b4c73;background:#fff;border:1px solid #b8c8d8;border-radius:6px;justify-self:start;min-height:28px;padding:0 10px;font-size:12px}.message-rich-form__table--popup tbody tr.is-selected{background:#dff0ff}.message-rich-form__popup-submit{color:#0f5cc0;background:#fff;border:1px solid #b8c8d8;border-radius:6px;min-height:34px;font-weight:700}.message-rich-form__popup-submit:disabled{color:#9aa7b4;background:#f6f8fb}.message-rich-form__tab-list{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;padding-bottom:6px;display:flex}.message-rich-form__tab-button{border:1px solid var(--line);min-height:32px;color:var(--muted);background:#f7fafc;border-radius:7px 7px 0 0;padding:6px 12px;font-weight:700}.message-rich-form__tab-button.is-active{color:#0b5ea8;background:#fff;border-color:#21afd9}.message-rich-form__tab-panel{border:1px solid var(--line);background:#fff;border-top:0;gap:10px;padding:10px;display:grid}.message-rich-form__choice select{border:1px solid var(--line);width:100%;min-height:36px;color:var(--text);background:#fff;border-radius:7px;padding:0 10px}.message-rich-form__button-popup{gap:8px;width:100%;display:grid}.message-rich-form__button-popup>.message-rich-form__action-button,.message-rich-form__popup-panel--button{width:100%}.message-rich-form__validation-error{color:#b42318;background:#fff4f4;border:1px solid #f3b4b4;border-radius:6px;margin:10px 0 0;padding:8px 10px;font-size:13px;line-height:1.45}.message-rich-form__picker input[type=date],.message-rich-form__picker input[type=time]{cursor:pointer;min-height:38px}.message-rich-form__picker label button{cursor:pointer}.message-rich-form__fields{gap:14px}.message-rich-form__fields dl{grid-template-columns:minmax(92px,max-content) minmax(0,1fr);align-items:start;gap:8px 16px;padding:0}.message-rich-form__fields dl+dl{border-top:1px solid var(--line);padding-top:14px}.message-rich-form__fields dt{color:#315b8c;white-space:nowrap;min-width:0}.message-rich-form__fields dt p,.message-rich-form__fields dd p{margin:0}.message-rich-form__fields dd{overflow-wrap:anywhere;min-width:0}.message-rich-form__fields .message-rich-form__image-frame{justify-items:center;width:min(300px,100%)}.message-rich-form__fields .message-rich-form__image-frame img{object-fit:contain;background:#fff;width:100%;max-height:220px}.message-rich-form__button-popup{gap:10px;display:grid}.message-rich-form__modal{z-index:50;background:#0f172a52;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.message-rich-form__modal-panel{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(520px,100vw - 48px);max-height:min(620px,100vh - 48px);padding:18px;position:relative;overflow:auto;box-shadow:0 18px 45px #0f172a38}.message-rich-form__modal-close{border:1px solid var(--line);width:30px;height:30px;color:var(--text);cursor:pointer;background:#fff;border-radius:50%;position:absolute;top:10px;right:10px}.message-rich-form__popup-panel--button{border:1px solid var(--line);background:#f7f9fc;padding:14px;box-shadow:0 8px 20px #1b2d4414}.message-rich-form__picker{position:relative}.message-rich-form__picker-panel{border:1px solid var(--line);z-index:3;background:#fff;width:min(320px,100%);margin-top:2px;padding:10px;box-shadow:0 12px 28px #15233424}.message-rich-form__calendar-head{grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:6px;margin-bottom:8px;display:grid}.message-rich-form__calendar-head strong{text-align:center}.message-rich-form__calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.message-rich-form__calendar-grid span,.message-rich-form__calendar-grid button{background:0 0;border:1px solid #0000;place-items:center;min-height:28px;font-size:12px;display:grid}.message-rich-form__calendar-grid span{color:#6b7785;font-weight:700}.message-rich-form__calendar-grid button:not(:disabled){cursor:pointer}.message-rich-form__calendar-grid button:not(:disabled):hover,.message-rich-form__calendar-grid button.is-selected{border-color:var(--blue);background:var(--blue);color:#fff}.message-rich-form__time-panel{gap:10px;display:grid}.message-rich-form__time-panel>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.message-rich-form__time-panel select{border:1px solid var(--line);background:#fff;min-height:34px;padding:0 8px}.message-rich-form__media--video iframe,.message-rich-form__media--video video{aspect-ratio:16/9;border:1px solid var(--line);background:#111827;width:min(520px,100%)}.message-rich-form__actions--horizontal .message-rich-form__action-button.is-wide{flex:1 1 0}.message-rich-form__actions--horizontal .message-rich-form__action-button.is-primary.is-wide{min-height:46px}.message-rich-form__actions--horizontal .message-rich-form__action-button:not(.is-wide){flex:1 1 0}.message-rich-form__actions--horizontal.message-rich-form__actions--has-wide .message-rich-form__action-button.is-wide{flex:1 0 100%}.message-rich-form__actions--horizontal.message-rich-form__actions--has-wide .message-rich-form__action-button:not(.is-wide){flex:none}.message-rich-form__action-button.is-reject{font-weight:700}.webchat-shell{grid-template-columns:52px 196px minmax(0,1fr)}.webchat-shell.is-nav-collapsed{grid-template-columns:52px 0 minmax(0,1fr)}.room-list__header{padding:14px 10px}.room-list__header strong{font-size:16px}.room-list__header small{font-size:12px}.room-actions{padding:10px}.room-actions button{border-radius:7px;min-height:38px;font-size:15px}.room-item{margin:8px 6px 0}.room-item__open{padding:12px 10px}.room-item__open strong{font-size:15px}.room-item__open small{font-size:12px}@media (max-width:820px){.room-list{width:min(248px,100vw - 116px)}}.webchat-shell.accent-blue{--accent:#2f6fed;--user:#2f6fed}.webchat-shell.accent-violet{--accent:#8657e8;--user:#8657e8}.webchat-shell.accent-teal{--accent:#19b8aa;--user:#19b8aa}.webchat-shell.accent-orange{--accent:#f47b20;--user:#f47b20}.webchat-shell.theme-light{--bg:#f5f7fb;--panel:#fff;--line:#d7e0ec;--text:#162131;--muted:#66758a;--bot:#f7f9fc}.webchat-shell.theme-light .webchat-rail,.webchat-shell.theme-light .room-list{color:#17212b;background:#f8fafc;border-color:#d7e0ec}.message-template-card,.message-template-carousel,.message-template-links{gap:10px;width:min(420px,100%);display:grid}.message-template-card{border:1px solid var(--line);background:#fff;overflow:hidden}.message-template-card__heading{color:#315b8c;padding:10px 12px 0}.message-template-card>img{object-fit:contain;background:#f5f7fa;width:100%;max-height:260px}.message-template-card__body{gap:4px;padding:12px;display:grid}.message-template-card__body p,.message-template-links p{white-space:pre-wrap;margin:0}.message-template-carousel__actions,.message-template-links{flex-wrap:wrap;gap:8px;display:flex}.message-template-carousel__actions button,.message-template-links a{border:1px solid var(--line);min-height:34px;color:var(--blue);background:#fff;border-radius:6px;padding:7px 12px;font-weight:700;text-decoration:none}.message-table--template tbody tr.is-selectable{cursor:pointer}.message-table--template tbody tr.is-selectable:hover,.message-table--template tbody tr.is-selected{background:#e8f1ff}.message-template-html{border:1px solid var(--line);background:#fff;width:min(640px,100%);height:240px}.webchat-shell.theme-light .webchat-rail__menu,.webchat-shell.theme-light .webchat-rail__item,.webchat-shell.theme-light .room-item{color:#17212b;background:#fff;border-color:#d7e0ec}.webchat-shell.theme-light .webchat-rail__menu:hover,.webchat-shell.theme-light .webchat-rail__item:hover,.webchat-shell.theme-light .webchat-rail__item.is-active,.webchat-shell.theme-light .room-item.is-active{border-color:var(--accent);background:#eaf2ff}.webchat-shell.theme-dark{--bg:#0f172a;--panel:#111827;--line:#334155;--text:#f8fafc;--muted:#b6c3d1;--bot:#1f2937;background:#0f172a}.webchat-shell.theme-dark .webchat-rail,.webchat-shell.theme-dark .room-list,.webchat-shell.theme-dark .chat-room,.webchat-shell.theme-dark .chat-room__messages,.webchat-shell.theme-dark .modal-dialog{color:#f8fafc;background:#111827;border-color:#334155}.webchat-shell.theme-dark .webchat-rail__menu,.webchat-shell.theme-dark .webchat-rail__item,.webchat-shell.theme-dark .room-item,.webchat-shell.theme-dark .chat-room__composer textarea,.webchat-shell.theme-dark .bot-picker-list button,.webchat-shell.theme-dark .connection-card,.webchat-shell.theme-dark .modal-dialog__header button{color:#f8fafc;background:#1f2937;border-color:#334155}.webchat-shell.theme-dark .chat-room__header,.webchat-shell.theme-dark .chat-room__composer,.webchat-shell.theme-dark .modal-dialog__header,.webchat-shell.theme-dark .modal-dialog__footer{color:#f8fafc;background:#111827;border-color:#334155}.webchat-shell.theme-dark .chat-message-bubble{color:#f8fafc;background:#1f2937}.webchat-shell.theme-dark .chat-message-row--user .chat-message-bubble{background:var(--user);color:var(--user-text);border-color:var(--user)}.webchat-shell.theme-dark .chat-message-row--system .chat-message-bubble{color:#fde68a;background:#2a2514;border-color:#55491b}.webchat-shell.theme-dark .bot-picker-list button strong,.webchat-shell.theme-dark .room-item strong,.webchat-shell.theme-dark .chat-room__header strong,.webchat-shell.theme-dark .modal-dialog__header strong{color:#f8fafc}.webchat-shell.theme-dark .bot-picker-list small,.webchat-shell.theme-dark .room-list__header small,.webchat-shell.theme-dark .chat-room__header small,.webchat-shell.theme-dark .room-empty,.webchat-shell.theme-dark .connection-status{color:#b6c3d1}.webchat-shell.theme-dark .chat-message-bubble{border-color:#334155}@media (prefers-color-scheme:light){.webchat-shell.theme-system{--bg:#f5f7fb;--panel:#fff;--line:#d7e0ec;--text:#162131;--muted:#66758a;--bot:#f7f9fc}}.webchat-shell.text-small .chat-message-bubble,.webchat-shell.text-small .chat-room__composer textarea{font-size:13px}.webchat-shell.text-large .chat-message-bubble,.webchat-shell.text-large .chat-room__composer textarea{font-size:16px}.webchat-shell.density-compact .chat-message-bubble{line-height:1.35}.webchat-shell.density-relaxed .chat-message-bubble{line-height:1.75}.webchat-shell.is-wide-composer .chat-room__composer textarea{min-height:72px}.webchat-rail__icon,.webchat-rail__initial{justify-content:center;align-items:center;width:100%;height:100%;display:inline-flex}.webchat-rail__icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.webchat-rail__initial{font-size:17px;font-weight:800;line-height:1}.modal-dialog--settings{color:#f8fafc;background:#111827;border-left:1px solid #334155;border-radius:0;width:min(100%,580px);height:100svh;max-height:none;box-shadow:-24px 0 70px #0206176b}.modal-dialog--settings .modal-dialog__header,.modal-dialog--settings .modal-dialog__footer{border-color:#334155}.modal-dialog--settings .modal-dialog__header strong{font-size:20px;line-height:1.15}.modal-dialog--settings .modal-dialog__header button{color:#f8fafc;background:#1f2937;border-color:#475569}.settings-panel{gap:7px;min-height:0;padding:8px;display:grid;overflow:auto}.settings-section{background:#1f2937;border:1px solid #334155;border-radius:7px;overflow:hidden}.settings-section__title,.settings-row{border-bottom:1px solid #334155;grid-template-columns:minmax(0,1fr) minmax(144px,190px);align-items:center;gap:10px;padding:9px 12px;display:grid}.settings-section__title{grid-template-columns:minmax(0,1fr);gap:3px;padding:12px 14px}.settings-section__title strong{font-size:18px;line-height:1.25}.settings-section__title span,.settings-row small{color:#b6c3d1;font-size:10px;line-height:1.35}.settings-row:last-child{border-bottom:0}.settings-row>span{gap:3px;display:grid}.settings-row>span strong{color:#fff;font-size:13px;line-height:1.3}.settings-row input[type=text],.settings-row input:not([type]),.settings-row select{color:#f8fafc;background:#111827;border:1px solid #3b4b63;border-radius:7px;width:100%;min-height:30px;padding:0 9px;font-size:12px}.settings-row select{font-weight:700}.settings-swatches{justify-content:flex-end;align-items:center;gap:8px;display:flex}.settings-swatch{cursor:pointer;border:2px solid #0000;border-radius:999px;width:24px;height:24px}.settings-swatch.is-selected{border-color:#93c5fd;outline:2px solid #fff}.settings-swatch--blue{background:#2f6fed}.settings-swatch--violet{background:#8657e8}.settings-swatch--teal{background:#19b8aa}.settings-swatch--orange{background:#f47b20}.settings-toggle{width:20px;height:20px;accent-color:var(--accent)}.settings-switch{justify-self:end;width:40px;height:22px;display:inline-flex;position:relative}.settings-switch input{opacity:0;position:absolute;inset:0}.settings-switch span{background:#475569;border-radius:999px;width:100%;height:100%;transition:background .14s}.settings-switch span:after{content:"";background:#fff;border-radius:999px;width:16px;height:16px;transition:transform .14s;position:absolute;top:3px;left:3px}.settings-switch input:checked+span{background:var(--accent)}.settings-switch input:checked+span:after{transform:translate(18px)}.shortcut-grid{color:var(--muted);grid-template-columns:minmax(100px,1fr) minmax(150px,190px);align-items:center;gap:6px 10px;padding:8px 12px 10px;font-size:11px;display:grid}.shortcut-grid kbd{border:1px solid var(--line);min-width:48px;color:var(--text);font:inherit;text-align:center;background:#ffffff14;border-radius:6px;padding:2px 6px;font-weight:800}.message-template-dtmf{gap:8px;width:min(320px,100%);display:grid}.message-template-dtmf p,.message-template-dtmf__error{margin:0}.message-template-dtmf output{border:1px solid var(--line);color:#172033;letter-spacing:2px;background:#fff;min-height:40px;padding:9px 12px;font-weight:700}.message-template-dtmf small{color:#64748b}.message-template-dtmf__keypad{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.message-template-dtmf__keypad button{border:1px solid var(--line);color:#1d4ed8;background:#fff;border-radius:6px;min-height:38px;font-weight:700}.message-template-dtmf__keypad button.is-submit{color:#fff;background:#2563eb;border-color:#2563eb}.message-template-dtmf__keypad button:disabled{color:#94a3b8;background:#f8fafc}.message-template-dtmf__error{color:#b42318;font-size:12px}
