.chat-modal{font-family:Segoe UI,sans-serif;width:360px;border-radius:12px;box-shadow:0 5px 25px #00000026;overflow:hidden}div.modal-header>p:nth-child(1){font-size:14px!important;margin:0!important}div.modal-header>p:nth-child(2){font-size:20px!important;font-weight:700!important;margin:4px 0 0!important}.chat-close-btn{display:none}.chat-modal .modal-header{background:linear-gradient(-135deg,#007bffb8,#0056d2);color:#fff;padding:16px;display:flex;flex-direction:column;align-items:flex-start;font-size:16px;font-weight:500}.chat-modal .modal-dialog{width:100%}.chat-modal .modal-header p:first-child{font-size:14px;margin:0}.chat-modal .modal-header p:last-child{font-size:20px;font-weight:700;margin:4px 0 0}.chat-modal #chat-box{overflow-y:auto;padding-right:8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;border:0;border-radius:0;background:none}.chat-modal .chat-message{display:flex;flex-direction:column}.chat-modal .chat-bubble{display:inline-block;max-width:80%;padding:10px 14px;border-radius:20px;font-size:14px;line-height:1.4;word-wrap:break-word;background-color:#f1f0f0}.chat-modal .chat-message[style*=right] .chat-bubble{background:linear-gradient(135deg,#007bffb8,#0056d2);color:#fff;align-self:flex-end}.chat-modal .chat-message[style*=left] .chat-bubble{background-color:#eaeaea;color:#333;align-self:flex-start}.chat-modal #chat-input-container{display:flex;border-top:1px solid #eee;margin-top:0;background:none;border-radius:0;padding:10px 10px 10px 0;outline:none!important}.chat-modal #user-message{flex:1;padding:10px 14px;border:0;border-radius:0;outline:none!important;font-size:14px}.chat-modal #send-btn{background-color:#007bff;color:#fff;border:none;margin-left:10px;border-radius:50%;font-size:16px;cursor:pointer;transition:background-color .2s ease}.chat-modal #send-btn:hover{background-color:#0056d2}.chat-modal .chat-bubble a{color:#007bff;text-decoration:none}.chat-modal .chat-bubble a:hover{text-decoration:underline}.chat-close-btn{border:0;background:#fff;color:#333;cursor:pointer}.esri-expand__icon--expanded:before{content:"×"!important;font-family:inherit!important;font-size:1.5em;color:#333;font-weight:400;background:none!important;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.esri-collapse__icon{margin-top:5px}.esri-expand__toggle{display:flex!important;align-items:center!important;justify-content:center!important}.esri-view-height-xsmall .esri-ui-corner .esri-component .esri-expand__content,.esri-view-height-small .esri-ui-corner .esri-component .esri-expand__content{border-radius:15px;max-height:unset;margin-left:12px}.esri-view-height-xsmall .esri-ui-corner .esri-component .esri-expand__content #chat{min-height:200px}@media screen and (max-width: 560px){html,body{height:100%;margin:0;padding:0;overflow:hidden!important}.esri-view,.esri-view-root,.esri-view-surface,.esri-ui,.esri-ui-inner-container{height:100%!important}.esri-ui-bottom-right.esri-ui-corner{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;display:block!important;pointer-events:none!important}.esri-ui-bottom-right.esri-ui-corner>*{pointer-events:auto!important}.esri-expand{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important}.esri-expand__container{position:fixed!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;left:0!important;top:0!important;transform:none!important}arcgis-expand.esri-chat{contain:none!important;overflow:visible!important;transform:none!important;perspective:none!important;filter:none!important}.esri-expand__panel,arcgis-expand::part(panel){position:fixed!important;right:0!important;bottom:0!important;left:0!important;float:none!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;transform:none!important;top:0!important;border-top:0!important}.esri-chat calcite-panel,.esri-chat calcite-sheet,calcite-sheet,calcite-panel{position:fixed!important;right:0!important;bottom:0!important;height:100dvh!important;max-height:100dvh!important;height:100%!important;max-height:100%!important;width:100vw!important;max-width:100vw!important;transform:none!important;contain:none!important;will-change:auto!important;top:0!important;left:0!important;margin:0!important;padding:0!important;z-index:999998!important;--calcite-panel-height: 100dvh !important;--calcite-sheet-height: 100dvh !important;--calcite-sheet-max-height: 100dvh !important;--calcite-sheet-min-height: 100dvh !important;--calcite-sheet-margin: 0 !important}calcite-sheet::part(container),calcite-sheet::part(panel),calcite-panel::part(container){transform:none!important;contain:none!important;will-change:auto!important;top:0!important;margin:0!important;padding:0!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.esri-expand__container .esri-expand__content{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;border-radius:0!important;z-index:99998!important;transform:none!important;border-top:0!important}.esri-chat,.esri-chat .esri-expand__container,.esri-chat .esri-expand__panel,.esri-chat .esri-expand__content{top:0!important;margin-top:0!important;padding-top:0!important}.chat-modal.is-fullscreen{position:fixed!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;top:0!important;left:0!important;z-index:9999999!important;background-color:#fff!important}.chat-modal .modal-dialog,.chat-modal .modal-content,#chat{position:relative!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}.chat-modal .modal-header{position:relative!important;flex:0 0 auto!important;width:100%!important;border-radius:0!important;padding:14px 16px!important;min-height:60px!important;justify-content:center!important}.chat-modal .modal-header p:first-child{font-size:14px!important;margin:0 0 2px!important}.chat-modal .modal-header p:last-child{font-size:16px!important;font-weight:700!important;margin:0!important}.chat-modal .modal-content,.chat-modal .tab-pane,.chat-modal #chat-pane{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}#chat{flex:1 1 auto!important;min-height:0!important;min-height:unset!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;overflow:hidden!important}.chat-modal #chat-box{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:8px 8px 0!important}.chat-modal #chat-input-container{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;padding:10px!important;background:#fff!important;border-top:1px solid #eee!important;margin-top:0!important;position:relative!important;z-index:2!important}.chat-modal #user-message{flex:1 1 auto!important;min-width:0!important;width:auto!important;padding:12px 14px!important;font-size:14px!important;border:0!important;outline:none!important;background:#fff!important}.chat-modal #send-btn{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px!important;margin-left:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}#chat-close-btn.chat-close-btn{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;width:28px!important;height:28px!important;border:0!important;border-radius:6px!important;background:#fff!important;color:#333!important;font-size:18px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:100001!important;cursor:pointer!important;box-shadow:none!important}.esri-expand__toggle{display:none!important}div.modal-header>p:nth-child(1){font-size:14px;margin:0}div.modal-header>p:nth-child(2){font-size:20px;font-weight:700;margin:4px 0 0}arcgis-expand::part(header),arcgis-expand::part(close-button),.esri-chat>.esri-expand__container>.esri-expand__panel>.esri-expand__header,.esri-chat .esri-expand__header,.esri-chat .esri-expand__container .esri-widget--button,.esri-chat .esri-expand__toggle{display:none!important}.esri-chat,.esri-chat .esri-expand__container,.esri-chat .esri-expand__panel,.esri-chat .esri-expand__content,.chat-modal,.chat-modal .modal-dialog,.chat-modal .modal-content,#chat{top:0!important;inset-block-start:0!important;margin-top:0!important;padding-top:0!important;transform:none!important}.chat-modal .modal-header{position:relative!important;z-index:100001!important;padding:10px 16px!important;min-height:52px!important}.chat-modal .modal-header p:first-child{margin:0 0 1px!important;font-size:13px!important}.chat-modal .modal-header p:last-child{margin:0!important;font-size:15px!important;line-height:1.2!important}}
