
            @media screen and (max-width: 1400px){                
                .chatbot .dialog {
                    overflow-x: hidden;
                    padding-left: 15%!important;
                    padding-right: 15%!important;
                }
            }
            @media screen and (max-width: 1000px){                  
                .chatbot.active {
                    height: 100dvh!important;
                }
                .chatbot .dialog {
                    padding-left: 10%!important;
                    padding-right: 10%!important;
                }
                .chatbot .response .rcontent {
                    width: 95%!important;
                }
            }
            @media screen and (max-width: 650px){                   
                .chatbot .dialog {
                    padding-left: 5% !important;
                    padding-right: 5% !important;
                }
                .chatbot .suggestion div {
                    width: 60%!important;
                }
                .chatbot .textrow input[type="text"] {
                    height: 75px!important;
                }
            }
            
            .chatbot .title .betaspan {
                display: none;
                font-size: 12px;
            }
			.chatbot svg:hover {
				cursor: pointer;
			}
            
            .chatbot .mode-switch {
                position: relative;
                display: grid;
                grid-template-columns: 1fr 1fr;
                width: max-content;
                max-width: 100%;
                background: rgba(255, 255, 255, 0.08);
                border-radius: 999px;
                padding: 4px;
                font-size: 13px;
                font-weight: 500;
                color: #cfcfcf;
                user-select: none;
                padding-left: 10px;
                padding-right: 10px;
                overflow: hidden;
            }
            .chatbot .mode-switch input {
                display: none;
            }
            .chatbot .mode-switch label {
                min-width: 0;
                text-align: center;
                padding: 6px 14px;
                cursor: pointer;
                transition: color 0.2s ease;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            #mode-assistant:checked + label, #mode-agents:checked + label {
                color: #fff;
            }            
            .chatbot .mode-switch .slider {
                position: absolute;
                top: 4px;
                left: 4px;
                height: calc(100% - 8px);
                width: 50%;
                background-color: rgba(255, 255, 255, 0.1);
                border-radius: 999px;
                transition: all .3s ease;
                box-shadow: 0 10px 12px rgba(255, 140, 0, 1);
            }
            #mode-agents:checked ~ .slider {
                transform: translateX(calc(100% - 8px));
            }
            .beta {
                font-size: 10px;
                margin-left: 4px;
                padding: 2px 6px;
                border-radius: 6px;
                background: rgba(255, 255, 255, 0.15);
            }
            .chatbot.agents .title {
                background: linear-gradient(135deg, #0b3254 0%, #144972 100%);
                transition: all .3s ease;
            }
            .chatbot.agents .slider {
                box-shadow: 0 10px 18px rgba(11, 50, 84, 0.28);
                transition: all .3s ease;
            }
			#minmaxSvg {
				transition: transform .3s ease;
			}
			.max {
				transform: rotate3d(1, 0, 0, 180deg);
			}				
            .chatbot {
				position: fixed;
				z-index: 4;
				bottom: 0;
                width: 100%;
				height: 60px;
				border-radius: .3em;
                display: flex;
                flex-direction: column;
				box-shadow: 0 0 3px grey;
				background-color: white;
				transition: max-height .3s ease;
            }
            .chatbot.active {
				height: 100dvh;
			}
            .chatbot .title {
				display: flex;
                align-items: center;
				justify-content: space-between;
				padding: 10px;
				padding-left: 15px;
				padding-right: 20px;
                padding-bottom: calc(env(safe-area-inset-bottom) + 10px);
				border-top-left-radius: .3em;
				border-top-right-radius: .3em;
				background-color: #f97316;
				color: white;
                font-size: 20px;                
                transition: all .3s ease;
            }
            .chatbot .title-left {
                display: flex;
                align-items: center;
                gap: 10px;
                min-width: 0;
            }
            .chatbot.active .title {
                padding-top: calc(env(safe-area-inset-top) + 10px);
                padding-bottom: 10px;
            }
            .chatbot .mode-bridge {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 18px;
                padding: 18px 20px;
                margin: 0 0 18px 0;
                border-radius: 22px;
                border: 1px solid rgba(255, 255, 255, 0.08);
                background:
                    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 32%),
                    linear-gradient(180deg, rgba(15, 38, 61, 0.96) 0%, rgba(7, 26, 45, 0.98) 100%);
                box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
                color: white;
            }
            .chatbot .mode-bridge-copy {
                min-width: 0;
            }
            .chatbot .mode-bridge-eyebrow {
                display: inline-block;
                margin-bottom: 8px;
                color: rgba(255, 255, 255, 0.7);
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.14em;
                text-transform: uppercase;
            }
            .chatbot .mode-bridge-headline {
                color: #fff;
                font-size: 22px;
                font-weight: 700;
                line-height: 1.2;
            }
            .chatbot .mode-bridge-body {
                margin-top: 8px;
                color: rgba(255, 255, 255, 0.82);
                font-size: 15px;
                line-height: 1.5;
            }
            .chatbot .mode-bridge-capabilities {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 14px;
            }
            .chatbot .mode-bridge-capability {
                display: inline-flex;
                align-items: center;
                min-height: 30px;
                padding: 0 12px;
                border-radius: 999px;
                border: 1px solid rgba(255, 255, 255, 0.1);
                background: rgba(255, 255, 255, 0.05);
                color: rgba(255, 255, 255, 0.8);
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.02em;
            }
            .chatbot .mode-bridge-actions {
                display: flex;
                gap: 10px;
                flex-wrap: wrap;
                justify-content: flex-end;
            }
            .chatbot .mode-bridge-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                min-height: 44px;
                padding: 0 16px;
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.08);
                color: white;
                font-size: 14px;
                font-family: inherit;
                text-decoration: none;
                cursor: pointer;
                transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
            }
            .chatbot .mode-bridge-btn:hover {
                transform: translateY(-1px);
                background: rgba(255, 255, 255, 0.12);
                border-color: rgba(255, 255, 255, 0.22);
                box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
            }
            .chatbot .mode-bridge-btn.primary {
                border-color: rgba(249, 115, 22, 0.44);
                background: linear-gradient(135deg, rgba(249, 115, 22, 0.96) 0%, rgba(255, 143, 62, 0.96) 100%);
                box-shadow: 0 18px 34px rgba(249, 115, 22, 0.18);
            }
            .chatbot .pos {
                display: inline-flex;
                align-items: center;
                justify-content: space-between;
                gap: 5px;
                position: relative;
                top: 4px;
                background-color: rgba(0, 0, 0, 0.05);
                text-decoration: none;
                padding-right: 5px;
                border-radius: .3em;
                color: darkslategrey;
                text-decoration: none;
                font-size: 12px;
            }
            .chatbot .pos:hover {
                text-decoration: underline;
            }
            .chatbot img {
                border-radius: .3em;
            }
            .chatbotRatingChange thead th {
                font-size: 16px;
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .chatbotRatingChange tbody {
                font-size: 13px;
            }
            .chatbotRatingChange tbody tr {
                cursor: pointer;
            }
            .chatbotRatingChange table {
                table-layout: fixed;
                box-shadow: 0 0 5px grey;
                border-radius: .3em;
            }
            .chatbotRatingChange thead tr {
                color: #f97316;
                background-color: #031529;
            }            
            .chatbot table .sale {
                background-color: rgba(255, 0, 0, 0.05);
            }
            .chatbot table .sale:hover {
                background-color: rgba(255, 0, 0, 0.12);
            }
            .chatbot table .buy {
                background-color: rgba(0, 255, 0, 0.05);
            }
            .chatbot table .buy:hover {
                background-color: rgba(0, 255, 0, 0.12);
            }
            .chatbot table .sale {
                background-color: rgba(255, 0, 0, 0.05);
            }
            .chatbot table .sale:hover {
                background-color: rgba(255, 0, 0, 0.12);
            }
            .chatbot table .buy {
                background-color: rgba(0, 255, 0, 0.05);
            }
            .chatbot table .buy:hover {
                background-color: rgba(0, 255, 0, 0.12);
            }
			.chatbot .textrow {
				display: flex;
                flex-shrink: 0;
                width: 100%;
				align-items: center;
				padding-right: 5px;
                padding-bottom: calc(env(safe-area-inset-bottom) + 5px);
				border-top: 1px solid grey;
                background-color: #031529;
			}
			.chatbot .textrow input[type="text"]{
				border: none;
				outline: none;
                width: 100%;
                height: 90px;
                font-size: 20px;
                text-align: center;
                color: white;
                background-color: #031529;
            }
            #chat_msg {
                flex: 1;
                min-height: 75px;
                max-height: 200px;
                resize: none;
                overflow-y: auto;
                box-sizing: border-box;
                font-size: 18px;
                text-align: center;
                line-height: 1.4;
                white-space: pre-wrap;
                word-wrap: break-word;
                font-family: "Titillium Web", sans-serif;
                border: none;
                outline: none;
                padding-top: 20px;
                color: white;
                background-color: #031529;
            }
			.chatbot .dialog {
                position: relative;
                flex: 1 1 auto;
				padding-top: 20px;
				padding-bottom: 20px;
                padding-left: 22%;
                padding-right: 22%;
                background-color: #031529;
                scrollbar-width: none;
				overflow-y: scroll;
                -webkit-overflow-scrolling: touch;
			}
            .chatbot .suggestions-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
                margin-bottom: 18px;
            }
            .chatbot.agents .suggestions-grid {
                display: none;
            }
			.chatbot .suggestion {
				display: block;
				color: slategrey;
			}
			.chatbot .suggestion-card {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
				width: 100%;
				padding: 16px 18px;
                margin-bottom: 0;
				border-radius: 18px;
                border: 1px solid rgba(255, 255, 255, 0.08);
                background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
				box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
				transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
			}
			.chatbot .suggestion-card:hover {
				cursor: pointer;
                transform: translateY(-1px);
				box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
                border-color: rgba(249, 115, 22, 0.26);
                background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
			}
            .chatbot .suggestion-badge {
                display: inline-flex;
                align-items: center;
                min-height: 24px;
                padding: 0 10px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.08);
                color: rgba(255, 255, 255, 0.74);
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
            }
            .chatbot .suggestion-badge.is-agent {
                background: rgba(249, 115, 22, 0.16);
                color: #ffc79d;
            }
            .chatbot .suggestion-title {
                color: #fff;
                font-size: 18px;
                line-height: 1.2;
            }
            .chatbot .suggestion-copy {
                color: rgba(255, 255, 255, 0.74);
                font-size: 14px;
                line-height: 1.45;
            }
			.chatbot .request {
				display: flex;
				justify-content: right;
				padding: 5px;
			}
			.chatbot .request div {
    			border-top-left-radius: .3em;
    			border-top-right-radius: .3em;
				border-bottom-left-radius: .3em;
    			padding: 5px;
				width: 65%;
				background-color: #f97316;
				color: white;
			}
			.chatbot .response {
				padding: 12px;
                padding-bottom: 34px;
			}
			.chatbot .response .rcontent {
    			border-top-right-radius: 20px;
				border-bottom-left-radius: 12px;
				border-bottom-right-radius: 20px;
    			padding: 18px 20px;
				width: 70%;
				background: linear-gradient(180deg, #fcfdff 0%, #f5f8fc 100%);
				color: #5c6f86;
                border: 1px solid rgba(189, 203, 221, 0.8);
                box-shadow: 0 18px 42px rgba(4, 17, 31, 0.08);
			}
            .chatbot .response .comment {
                padding-top: 18px;
                padding-bottom: 8px;
                padding-left: 10px;
                padding-right: 10px;
                font-size: 16px;
                line-height: 1.7;
                color: #687b90;
            }
            .chatbot .response .comment > :first-child {
                margin-top: 0;
            }
            .chatbot .response .comment > :last-child {
                margin-bottom: 0;
            }
            .chatbot .response .comment p,
            .chatbot .response .comment ul,
            .chatbot .response .comment ol,
            .chatbot .response .comment blockquote {
                margin-top: 0;
                margin-bottom: 0.95em;
            }
            .chatbot .response .comment a {
                color: #ea6f18;
            }
            .chatbot .response .list {
                max-height: 400px;
                overflow-y: scroll;
                background-color: white;
                padding: 10px;
                border-radius: .3em;
            }
            .chatbot .response .rcontent .chatbot-table-shell {
                margin: 18px 8px 22px;
                border: 1px solid #d7e1ec;
                border-radius: 16px;
                background: #ffffff;
                box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
                overflow: hidden;
            }
            .chatbot .response .rcontent .chatbot-table-scroll {
                overflow-x: auto;
                overflow-y: auto;
                max-width: 100%;
                max-height: 420px;
                scrollbar-width: thin;
                scrollbar-color: #c6d5e6 transparent;
            }
            .chatbot .response .rcontent table:not(.chatbotRatingChange table) {
                width: 100% !important;
                min-width: max-content;
                table-layout: auto;
                border-collapse: separate;
                border-spacing: 0;
                margin: 0 !important;
                box-shadow: none;
                border-radius: 0;
                background: #ffffff;
            }
            .chatbot .response .rcontent thead:not(.chatbotRatingChange thead) {
                display: table-header-group;
                width: auto;
            }
            .chatbot .response .rcontent tbody:not(.chatbotRatingChange tbody) {
                display: table-row-group;
                width: auto;
            }
            .chatbot .response .rcontent thead tr:not(.chatbotRatingChange thead tr),
            .chatbot .response .rcontent tbody tr:not(.chatbotRatingChange tbody tr) {
                display: table-row;
            }
            .chatbot .response .rcontent th:not(.chatbotRatingChange th) {
                position: sticky;
                top: 0;
                z-index: 2;
                padding: 14px 18px;
                background: #f6f9fc;
                text-align: left;
                color: #16324b;
                line-height: 1.2;
                font-size: 14px;
                font-weight: 700;
                letter-spacing: 0.01em;
                border-bottom: 1px solid #dbe6f1;
                white-space: nowrap;
            }
            .chatbot .response .rcontent tbody:not(.chatbotRatingChange tbody) {
                background: transparent;
                max-height: none;
                overflow: visible;
            }
            .chatbot .response .rcontent tbody td:not(.chatbotRatingChange tbody td) {
                line-height: 1.45;
                font-size: 14px;
                color: #4e6479;
                padding: 13px 18px;
                border-top: 1px solid #edf2f7;
                background: #ffffff;
                white-space: nowrap;
                font-variant-numeric: tabular-nums;
                text-align: left;
            }
            .chatbot .response .rcontent tbody tr:nth-child(even) td:not(.chatbotRatingChange tbody td) {
                background: #fbfdff;
            }
            .chatbot .response .rcontent tbody tr:nth-child(even):hover td:first-child:not(.chatbotRatingChange tbody td) {
                background: #fbfdff;
            }
            .chatbot .response .rcontent th.is-numeric,
            .chatbot .response .rcontent td.is-numeric {
                text-align: right;
            }
            .chatbot .response .rcontent .chatbot-chart-shell {
                margin: 20px 8px 24px;
                padding: 18px 20px 14px;
                border-radius: 18px;
                border: 1px solid #d9e4f0;
                background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
                box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
                min-height: 360px;
            }
            .chatbot .response .rcontent .chatbot-chart-shell canvas {
                display: block;
                width: 100% !important;
                max-width: 100%;
                height: 100% !important;
                min-height: 320px;
            }
            .chatbot .report {
                
            }
            .chatbot .progress {
                display: inline;
                color: grey;
                background-color: lightgrey;
                border-radius: .3em;
                padding-left: 5px;
                padding-right: 5px;
                font-size: 16px;
            }
            .chatbot .websource, .chatbot .docsource {
                color: #ffffff;
                background-color: #f1f1f1;
                border-radius: .3em;
                margin-left: 3px;
                padding-left: 5px;
                padding-right: 5px;
                font-size: 14px;
                /* text-decoration: none;*/
                transition: color .3s ease-in, background-color .3s ease-in;
            }
            .chatbot .websource svg {
                width: 14px;
                height: 14px;
                display: inline-block;
                vertical-align: middle;
                position: relative;
                top: -1px;
                fill: #ffffff;
                color: #ffffff;
                transition: fill .3s ease-in, color .3s ease-in;
            }
            .chatbot .websource .websource-web-icon {
                width: 16px;
                height: 16px;
            }
            .chatbot .websource:hover, .chatbot .docsource:hover {
                color: #f97316;
                background-color: #000000;
                transition: color .3s ease-in, background-color .3s ease-in;
            }
            .chatbot .websource:hover svg {
                fill: #f97316;
                color: #f97316;
            }
            .chatbot .attachments {
                background-color: #031529;
                padding-left: 20%;
                padding-right: 20%;
                padding-bottom: 20px;
            }
            .chatbot .attachments .attached-file {
                position: relative;
                display: inline-block;
                height: 45px;
                width: 45px;
                margin-right: 15px;
            }
            .chatbot .attached-file-name {
                width: 45px;
                font-size: 10px;
                color: white;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .chatbot .attached-file-remove {
                position: absolute;
                top: -15px;
                right: -15px;
            }
            .chatbot .request .attached-file {
                border: 1px solid white;
                border-radius: .3em;
                max-width: 65px;
                background: white;
            }
            .chatbot .request .attached-file div {
                color: darkslategray;
                background-color: white;
            }
            .chatbot .linkcontainer {
                position: relative;
                display: inline-block;
            }
            .chatbot .linkcontainer:hover .linkthumbnail {
                display: block;
            }
            .chatbot .linkthumbnail {
                display: none;
                position: absolute;
                bottom: 100%;
                left: 50%;
                transform: translateX(-50%);
                margin-bottom: 10px;
                background: #333;
                left: 50%;
                padding: 8px 12px;
                border-radius: 4px;
                white-space: nowrap;
                width: 300px;
                height: 165px;
                background-size: cover;
                background-position: center;
                z-index: 6;
            }
            .chatbot .linkthumbnail::before {
                content: "";
                position: absolute;
                inset: 0;
                background: rgba(0, 0, 0, 0.4);
                border-radius: 6px;
                z-index: -1;
            }
            .chatbot .linkthumbnail::after {
                content: "";
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border-width: 6px;
                border-style: solid;
                border-color: #333 transparent transparent transparent;
            }
            .chatbot .iconfeatures {
                display: flex;
                justify-content: right;
                align-items: center;
                padding-top: 6px;
                gap: 5px;
            }
            .chatbot .thumbsupsvg, .chatbot .thumbsdownsvg {
                stroke: #fff;
                color: #fff;
            }
            .chatbot .thumbsupsvg:hover, .chatbot .thumbsdownsvg:hover {                
                stroke: #f97316;
                transition: stroke .2s ease;
            }
            .chatbot .pdfsvg path {
                fill: #fff;
                transition: fill .2s ease;
            }
            .chatbot .pdfsvg:hover path {
                fill: #f97316;
                transition: fill .2s ease;
            }
            .chatbot .ttssvg path {
                stroke: #fff;
                transition: stroke .2s ease;
            }
            .chatbot .ttssvg:hover path {
                stroke: #f97316;
                transition: stroke .2s ease;
            }
            .chatbot .audiocontroller {
                display: none;
                align-items: center;
                gap: 8px;
                background-color: #f97316;
                color: white;
                border-radius: .3em;
                padding-left: 5px;
                padding-right: 5px;
                padding-top: 2px;
                padding-bottom: 2px;
                transition: opacity .2s ease-out;
            }
            .chatbot .audiocontroller:hover {
                opacity: 1!important;
                transition: opacity .2s ease-in;
            }
            .chatbot .audiocontroller svg path {
                stroke-width: 1.5;
                transition: stroke-width .2s ease-out;
            }
            .chatbot .audiocontroller svg:hover path {
                stroke-width: 3;
                transition: stroke-width .2s ease-in;
            }
            .chatbot .audiocontroller .pausesvg {
                display: none;
            }
            .chatbot .audiocontroller .audiospeed {
                border-radius: .3em;
                background-color: white;
                color: grey;
                padding-left: 5px;
                padding-right: 5px;
            }
            .chatbot .audiocontroller .audioduration {
                min-width: 35px!important;
            }
            .chatbot .calendardownload {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 5px;
                cursor: pointer;
                transition: all .1s ease-in;
            }
            .chatbot .calendardownload svg {
                position: relative;
                top: -1px;
                transition: all .1s ease-in;
            }
            .chatbot .calendardownload:hover {
                color: #f97316;
                text-decoration: underline;
                transition: all .1s ease-in;
            }
            .chatbot .calendardownload:hover > svg path {
                fill: #f97316;
                transition: all .1s ease-in;
            }
            .chatbot .settings, .chatbot .savedprompts {
                position: fixed;
                top: 51;
                left: 0;
                width: 100%;
                height: 100%;
                display: none;
                justify-content: center;
                align-items: center;
                background-color: rgba(9, 17, 28, 0.28);
                backdrop-filter: blur(14px);
            }
            .savedprompts .container, .settings .container {
                width: min(560px, calc(100vw - 40px));
                min-height: 280px;
                max-height: min(720px, calc(100vh - 56px));
                border-radius: 30px;
                box-shadow: 0 24px 60px rgba(12, 23, 38, 0.14);
                background: rgba(255, 255, 255, 0.94);
                border: 1px solid rgba(9, 32, 58, 0.08);
                overflow: hidden;
            }
            .savedprompts .container .title, .settings .container .title {
                font-size: 20px;
                color: white;
                background-color: #031529;
                padding: 10px;
            }
            .savedprompts .container {
                display: flex;
                flex-direction: column;
            }
            .savedprompts .container .title {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                padding: 26px 28px 10px;
                background: transparent;
            }
            .savedprompts .title-copy {
                display: flex;
                flex-direction: column;
                gap: 6px;
            }
            .savedprompts .title-label {
                font-size: 34px;
                line-height: 1;
                font-weight: 500;
                letter-spacing: -0.03em;
                color: #10233b;
            }
            .savedprompts .title-subtitle {
                font-size: 14px;
                line-height: 1.5;
                color: #708298;
                max-width: 360px;
            }
            .savedprompts .close {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 42px;
                height: 42px;
                border-radius: 999px;
                border: 1px solid rgba(16, 35, 59, 0.08);
                background: rgba(245, 247, 250, 0.92);
                color: #5f7288;
                cursor: pointer;
                transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
            }
            .savedprompts .close:hover {
                background: #eef3f8;
                border-color: rgba(16, 35, 59, 0.12);
                transform: translateY(-1px);
            }
            .savedprompts .close svg {
                width: 16px;
                height: 16px;
            }
            .savedprompts .prompts {
                display: flex;
                flex-direction: column;
                gap: 10px;
                flex: 1 1 auto;
                min-height: 0;
                padding: 12px 20px 22px;
                overflow-y: auto;
            }
            .savedprompts .prompt-card {
                display: flex;
                align-items: center;
                gap: 18px;
                padding: 16px 8px 16px 4px;
                border-radius: 0;
                background: transparent;
                border: 0;
                border-bottom: 1px solid rgba(16, 35, 59, 0.08);
                box-shadow: none;
                transition: background-color .18s ease;
            }
            .savedprompts .prompt-card:hover {
                background: rgba(247, 250, 252, 0.95);
            }
            .savedprompts .prompt-body {
                flex: 1 1 auto;
                min-width: 0;
            }
            .savedprompts .prompt-text {
                font-size: 19px;
                line-height: 1.45;
                font-style: italic;
                letter-spacing: -0.02em;
                color: #0f223a;
                word-break: break-word;
            }
            .savedprompts .prompt-actions {
                display: flex;
                align-items: center;
                gap: 8px;
                flex: 0 0 auto;
            }
            .savedprompts .prompt-use {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 54px;
                height: 34px;
                padding: 0 12px;
                border-radius: 999px;
                border: 1px solid rgba(16, 35, 59, 0.1);
                background: #f5f7fa;
                color: #10233b;
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.04em;
                cursor: pointer;
                transition: background-color .18s ease, transform .18s ease;
            }
            .savedprompts .prompt-use:hover {
                background: #edf2f7;
                transform: translateY(-1px);
            }
            .savedprompts .prompt-remove {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                border-radius: 999px;
                border: 1px solid rgba(16, 35, 59, 0.08);
                background: transparent;
                color: #6b7f96;
                cursor: pointer;
                transition: background-color .18s ease, color .18s ease, transform .18s ease;
            }
            .savedprompts .prompt-remove:hover {
                background: #f7f1f1;
                color: #b45151;
                transform: translateY(-1px);
            }
            .savedprompts .prompt-remove svg {
                width: 17px;
                height: 17px;
            }
            .savedprompts .empty-state {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                gap: 10px;
                min-height: 220px;
                padding: 28px;
                border-radius: 24px;
                background: #f8fafc;
                border: 1px dashed rgba(16, 35, 59, 0.12);
                color: #37506f;
            }
            .savedprompts .empty-state-label {
                font-size: 12px;
                letter-spacing: 0.12em;
                text-transform: uppercase;
                color: #7d8da2;
            }
            .savedprompts .empty-state-text {
                max-width: 360px;
                font-size: 18px;
                line-height: 1.4;
                letter-spacing: -0.02em;
                color: #09203a;
            }
            .features { 
                position: fixed;
                bottom: 115px;
                left: 10px;
                display: none;
                flex-direction: column;
            }
            .features svg {
                opacity: 0.7;
                transition: opacity .3s ease-out;
            }
            .features svg:hover {
                opacity: 1;
                transition: opacity .3s ease-in;
            }
            @media screen and (max-width: 650px){
                .chatbot .title {
                    padding-left: 12px;
                    padding-right: 12px;
                }
                .chatbot .title-left {
                    gap: 8px;
                }
                .features {
                    gap: 10px;
                    padding: 10px !important;
                }
                .chatbot .sidebar-card {
                    min-width: 0;
                    padding: 14px;
                    border-radius: 18px;
                }
                .chatbot .sidebar-headline {
                    font-size: 20px;
                }
                .chatbot .sidebar-toggle {
                    top: 12px;
                    left: calc(100% - 50px);
                }
                .chatbot.sidebar-collapsed .sidebar-toggle {
                    left: 10px;
                }
                .chatbot .dialog {
                    padding-top: 68px !important;
                    padding-left: 12px !important;
                    padding-right: 12px !important;
                }
                .chatbot .request div,
                .chatbot .response .rcontent {
                    width: 90% !important;
                }
                .chatbot .textrow {
                    gap: 2px;
                    padding-left: 4px;
                    padding-right: 4px;
                }
                #chat_msg {
                    min-height: 62px;
                    font-size: 16px;
                    padding-top: 14px;
                }
                .savedprompts .container {
                    width: calc(100vw - 18px);
                    min-height: 0;
                    max-height: calc(100vh - 18px);
                    border-radius: 24px;
                }
                .savedprompts .container .title {
                    padding: 22px 20px 8px;
                }
                .savedprompts .title-label {
                    font-size: 28px;
                }
                .savedprompts .prompts {
                    padding: 10px 16px 18px;
                }
                .savedprompts .prompt-card {
                    align-items: flex-start;
                    gap: 14px;
                    padding: 14px 2px;
                }
                .savedprompts .prompt-text {
                    font-size: 18px;
                }
                .savedprompts .prompt-actions {
                    padding-top: 2px;
                }
                .savedprompts .empty-state {
                    min-height: 180px;
                    padding: 22px;
                }
                .savedprompts .empty-state-text {
                    font-size: 18px;
                }
            }
            .chatbot {
                --chatbot-sidebar-width: 310px;
                overflow: hidden;
            }
            .chatbot .chatbot-shell {
                position: relative;
                display: flex;
                flex: 1 1 auto;
                min-height: 0;
                background: #031529;
                overflow: hidden;
            }
            .chatbot .chatbot-pane {
                display: flex;
                flex: 1 1 auto;
                min-width: 0;
                min-height: 0;
                flex-direction: column;
                background: #031529;
            }
            .chatbot .dialog {
                padding-left: clamp(20px, 5vw, 72px);
                padding-right: clamp(20px, 5vw, 72px);
            }
            .chatbot .textrow {
                gap: 8px;
                padding-left: 8px;
                padding-right: 8px;
                border-top: 1px solid rgba(255, 255, 255, 0.12);
            }
            #chat_msg {
                text-align: center;
                padding-left: 8px;
                padding-right: 8px;
            }
            .chatbot .request,
            .chatbot .response {
                max-width: 980px;
                margin-left: auto;
                margin-right: auto;
            }
            .features {
                position: relative;
                left: auto;
                bottom: auto;
                display: none;
                flex-shrink: 0;
                width: var(--chatbot-sidebar-width);
                padding: 16px 14px 18px;
                gap: 14px;
                box-sizing: border-box;
                border-right: 1px solid rgba(255, 255, 255, 0.08);
                background:
                    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 28%),
                    linear-gradient(180deg, rgba(7, 26, 45, 0.98) 0%, rgba(4, 20, 35, 1) 100%);
                max-height: 1000px;
                overflow-y: auto;
                overflow-x: hidden;
                scrollbar-width: none;
                -ms-overflow-style: none;
                transition:
                    width .28s ease,
                    max-height .28s ease,
                    padding .28s ease,
                    opacity .24s ease,
                    transform .28s ease,
                    border-color .28s ease;
            }
            .features::-webkit-scrollbar {
                display: none;
            }
            .chatbot.sidebar-collapsed .features {
                width: 0;
                padding-left: 0;
                padding-right: 0;
                border-right-color: transparent;
                opacity: 0;
                transform: translateX(-20px);
                pointer-events: none;
            }
            .features svg {
                opacity: 1;
            }
            .chatbot .sidebar-toggle {
                position: absolute;
                top: 18px;
                left: calc(var(--chatbot-sidebar-width) - 18px);
                z-index: 3;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 999px;
                background: rgba(12, 31, 49, 0.96);
                color: white;
                box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
                cursor: pointer;
                transition: left .28s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
            }
            .chatbot .sidebar-toggle:hover {
                transform: translateY(-1px);
                background: rgba(18, 41, 64, 0.98);
                border-color: rgba(255, 255, 255, 0.18);
            }
            .chatbot .sidebar-toggle svg {
                transition: transform .28s ease;
            }
            .chatbot.sidebar-collapsed .sidebar-toggle {
                left: 10px;
            }
            .chatbot.sidebar-collapsed .sidebar-toggle svg {
                transform: rotate(180deg);
            }
            .chatbot .sidebar-card {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                padding: 16px;
                box-sizing: border-box;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 20px;
                background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
                box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
                color: white;
            }
            .chatbot .sidebar-label {
                display: inline-block;
                margin-bottom: 8px;
                color: rgba(255, 255, 255, 0.56);
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.12em;
                text-transform: uppercase;
            }
            .chatbot .sidebar-headline {
                color: #fff;
                font-size: 22px;
                line-height: 1.15;
            }
            .chatbot .sidebar-copy {
                margin-top: 10px;
                color: rgba(255, 255, 255, 0.7);
                font-size: 14px;
                line-height: 1.5;
            }
            .chatbot .sidebar-primary,
            .chatbot .sidebar-link,
            .chatbot .sidebar-setting,
            .chatbot .sidebar-history-item,
            .chatbot .sidebar-danger {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                border: none;
                box-sizing: border-box;
                font-family: inherit;
                text-align: left;
                cursor: pointer;
            }
            .chatbot .sidebar-primary {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 46px;
                border-radius: 16px;
                background: rgba(255, 255, 255, 0.06);
                color: rgba(255, 255, 255, 0.9);
                font-size: 15px;
                font-weight: 600;
                border: 1px solid rgba(255, 255, 255, 0.1);
                box-shadow: none;
                transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
            }
            .chatbot .sidebar-primary:hover {
                transform: translateY(-1px);
                background: rgba(255, 255, 255, 0.1);
                border-color: rgba(255, 255, 255, 0.16);
            }
            .chatbot .sidebar-section-title,
            .chatbot .sidebar-history-topline {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 10px;
                color: rgba(255, 255, 255, 0.78);
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.1em;
                text-transform: uppercase;
            }
            .chatbot .sidebar-links,
            .chatbot .sidebar-settings-list,
            .chatbot .sidebar-history-list {
                display: flex;
                flex-direction: column;
                gap: 10px;
                min-width: 0;
            }
            .chatbot .sidebar-link,
            .chatbot .sidebar-setting,
            .chatbot .sidebar-danger {
                display: flex;
                align-items: center;
                justify-content: space-between;
                min-height: 46px;
                padding: 0 14px;
                border-radius: 16px;
                background: rgba(255, 255, 255, 0.05);
                color: #fff;
                transition: background-color .18s ease, transform .18s ease;
            }
            .chatbot .sidebar-link:hover,
            .chatbot .sidebar-setting:hover,
            .chatbot .sidebar-danger:hover,
            .chatbot .sidebar-history-item:hover {
                transform: translateY(-1px);
                background: rgba(255, 255, 255, 0.09);
            }
            .chatbot .sidebar-link span:last-child,
            .chatbot .sidebar-setting span:last-child {
                color: rgba(255, 255, 255, 0.54);
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
            }
            .chatbot .sidebar-setting.is-active {
                background: rgba(249, 115, 22, 0.14);
                color: #fff3e8;
            }
            .chatbot .sidebar-setting.is-active span:last-child {
                color: #ffc79d;
            }
            .chatbot .sidebar-danger {
                background: rgba(255, 255, 255, 0.03);
                color: rgba(255, 255, 255, 0.76);
            }
            .chatbot .sidebar-history-item {
                padding: 14px;
                border-radius: 18px;
                background: rgba(255, 255, 255, 0.04);
                color: white;
                transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
                border: 1px solid transparent;
            }
            .chatbot .sidebar-history-item.is-active {
                border-color: rgba(249, 115, 22, 0.36);
                background: rgba(249, 115, 22, 0.12);
            }
            .chatbot .sidebar-history-title-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                min-width: 0;
            }
            .chatbot .sidebar-history-title {
                flex: 1 1 auto;
                min-width: 0;
                color: #fff;
                font-size: 15px;
                font-weight: 700;
                line-height: 1.3;
            }
            .chatbot .sidebar-history-editing {
                display: flex;
                align-items: center;
                flex: 1 1 auto;
                min-width: 0;
            }
            .chatbot .sidebar-history-input {
                width: 100%;
                min-width: 0;
                min-height: 36px;
                padding: 0 12px;
                box-sizing: border-box;
                border: 1px solid rgba(249, 115, 22, 0.35);
                border-radius: 12px;
                background: rgba(255, 255, 255, 0.06)!important;
                color: #fff;
                font: inherit;
                font-size: 15px;
                font-weight: 700;
                outline: none;
            }
            .chatbot .sidebar-history-input:focus {
                border-color: rgba(249, 115, 22, 0.7);
                box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
            }
            .chatbot .sidebar-history-actions {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                flex: 0 0 auto;
            }
            .chatbot .sidebar-history-rename,
            .chatbot .sidebar-history-confirm,
            .chatbot .sidebar-history-cancel {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                flex: 0 0 auto;
                width: 32px;
                height: 32px;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.04);
                color: rgba(255, 255, 255, 0.74);
                cursor: pointer;
                transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
            }
            .chatbot .sidebar-history-rename:hover,
            .chatbot .sidebar-history-confirm:hover,
            .chatbot .sidebar-history-cancel:hover {
                background: rgba(255, 255, 255, 0.09);
                border-color: rgba(255, 255, 255, 0.16);
                color: #fff;
                transform: translateY(-1px);
            }
            .chatbot .sidebar-history-confirm {
                color: #b7f7c0;
                border-color: rgba(103, 232, 123, 0.2);
            }
            .chatbot .sidebar-history-cancel {
                color: rgba(255, 255, 255, 0.66);
            }
            .chatbot .sidebar-history-rename svg,
            .chatbot .sidebar-history-confirm svg,
            .chatbot .sidebar-history-cancel svg {
                width: 14px;
                height: 14px;
            }
            .chatbot .sidebar-history-meta {
                margin-top: 6px;
                color: rgba(255, 255, 255, 0.54);
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
            }
            .chatbot .sidebar-history-preview {
                margin-top: 8px;
                color: rgba(255, 255, 255, 0.72);
                font-size: 13px;
                line-height: 1.45;
            }
            .chatbot .sidebar-empty {
                padding: 16px;
                border-radius: 18px;
                background: rgba(255, 255, 255, 0.04);
                color: rgba(255, 255, 255, 0.6);
                font-size: 13px;
                line-height: 1.5;
            }
            .chatbot .sidebar-mini {
                color: rgba(255, 255, 255, 0.48);
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
            }
            .recordcontainer {
                display: none;
                justify-content: center;
                align-items: center;
                position: fixed;
                z-index: 4;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(4px);
                top: 50px;
            }
            .recordcontainer .window {
                position: relative;
                top: -60px;
                padding: 100px;
                border-radius: 30%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                background-color: white;
                box-shadow: 0 0 60px rgba(243, 149, 41, 0.6);
                transition: box-shadow .3s ease-out;
            }
            .recordcontainer .window:hover {
                box-shadow: 0 0 10px black;
                transition: box-shadow .3s ease-in;
            }
            .recordcontainer .window .recordinganim {
                width: 7px;
                height: 7px;
                background-color: red;
                border-radius: 100%;
                animation: flash 2s ease-in-out infinite;
            }
            @keyframes flash {
                0%, 70%, 100% {
                    opacity: 1;
                }
                50% {
                    opacity: 0;
                }
            }
            .recordcontainer .window h2 {
                margin-bottom: 0px;
            }
            .loader {
                display: none;
                position: relative;
                width: 21px;
                height: 21px;
                border-radius: 50%;
                background: conic-gradient(from 0deg, #ff8a00, #ff6a00, #ff3d00, #ff6a00, #ff8a00);
                -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), black calc(100% - 2px));
                mask: radial-gradient(farthest-side, transparent calc(100% - 5px), black calc(100% - 2px));
                animation: spin 1s linear infinite;
            }
            @keyframes spin {
                to { transform: rotate(1turn); }
            }
			#typingAnimation {
				display: none;
				padding-left: 20px;
				padding-top: 20px;
			}	
			#typingAnimation .srtyping {
				border: 2px solid #f97316;
				background: #6600ff03;
				box-shadow: 0 0 0 4px #6600ff30;
				padding: 10px 18px;
				border-radius: 50px;
  				text-align: left;
  				width: 100%;
				max-width: 250px;
  				display: block;
  				min-height: 22px;
			}
			#typingAnimation .srfriendzone {
  				margin: 0 5px 0 0px;
			}
			#typingAnimation .srsend {
  				float: right;
  				cursor: pointer;
			}
			#typingAnimation .dot {
  				display: inline-block;
  				width: 5px;
  				height: 5px;
  				border-radius: 50%;
  				margin-right: 0.5px;
  				background: #f97316;
  				animation: wave 1s linear infinite;
  				animation-delay: -0.9s;
			}
			#typingAnimation .dot.two {
  				animation-delay: -0.7s;
			}
			#typingAnimation .dot:nth-child(3) {
  				animation-delay: -0.6s;
			}
			@keyframes wave {
				0%,
				60%,
				100% {
    				transform: initial;
  				}
  				30% {
					transform: translateY(-15px);
				}
			}
			@keyframes rotate {
				0% {
					transform: rotate(0);
				}
				80% {
					transform: rotate(360deg);
				}
				100% {
					transform: rotate(360deg);
				}
			}
			.rotate {
				animation-duration: .8s;
				animation-iteration-count: infinite;
				animation-name: rotate;
			}
            @media screen and (max-width: 900px){
                .chatbot .chatbot-shell {
                    flex-direction: row;
                }
                .chatbot .sidebar-toggle {
                    top: 14px;
                    left: calc(100% - 54px);
                    right: auto;
                }
                .chatbot.sidebar-collapsed .sidebar-toggle {
                    left: 12px;
                    right: auto;
                }
                .features {
                    position: absolute;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    z-index: 2;
                    width: 100% !important;
                    max-width: 100%;
                    min-width: 0;
                    max-height: none;
                    padding: 64px 12px 12px !important;
                    border-right: none !important;
                    border-bottom: none;
                    overflow-x: hidden;
                    overflow-y: auto;
                    box-shadow: none;
                    opacity: 1;
                    transform: translateX(0);
                    pointer-events: auto;
                }
                .chatbot.sidebar-collapsed .features {
                    width: 100% !important;
                    max-width: 100%;
                    max-height: none;
                    padding: 64px 12px 12px !important;
                    border-right-color: transparent !important;
                    opacity: 0;
                    transform: translateX(calc(-100% - 20px));
                    overflow: hidden;
                    pointer-events: none;
                }
                .chatbot .sidebar-card {
                    min-width: 0;
                    width: 100%;
                }
                .chatbot .dialog {
                    padding-top: 72px !important;
                    padding-left: 16px !important;
                    padding-right: 16px !important;
                }
                .chatbot .mode-bridge {
                    flex-direction: column;
                    align-items: flex-start;
                }
                .chatbot .mode-bridge-actions {
                    width: 100%;
                    justify-content: flex-start;
                }
                .chatbot .request div,
                .chatbot .response .rcontent,
                .chatbot .iconfeatures {
                    width: 90% !important;
                }
            }   
