html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{color:#192126;background:radial-gradient(circle at top left,rgba(15,143,127,.18),transparent 32%),radial-gradient(circle at top right,rgba(217,119,6,.16),transparent 28%),linear-gradient(180deg,#f4f7f3,#eef2ea);font-family:Aptos,Segoe UI,sans-serif;line-height:1.5;font-weight:400}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100vh}a{color:inherit}code{padding:.15rem .45rem;border-radius:999px;background:#0f8f7f1a}.shell-layout{min-height:100vh;background:transparent}.shell-sider.ant-layout-sider{margin:20px 0 20px 20px;border:1px solid rgba(25,33,38,.08);border-radius:28px;background:#ffffffc7;box-shadow:0 24px 80px #232e2914}.brand-block{padding:28px 24px 20px}.brand-kicker{display:inline-block;margin-bottom:8px;color:#0f8f7f;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.brand-title.ant-typography{margin-bottom:8px;color:#192126}.brand-description.ant-typography{margin-bottom:0;color:#5d6b65}.shell-menu{padding:12px;background:transparent;border-inline-end:0!important}.shell-menu .ant-menu-item{height:52px;margin-bottom:8px;border-radius:16px;font-weight:600}.shell-main{background:transparent}.shell-content{padding:28px}.page-head{margin-bottom:24px}.page-title.ant-typography{margin-bottom:8px;color:#192126}.page-subtitle.ant-typography{max-width:760px;margin-bottom:0;color:#5d6b65}.page-stack{display:flex;flex-direction:column;gap:20px}.section-lead.ant-typography{max-width:760px;margin-bottom:0;color:#47545a}.metric-card.ant-card,.table-card.ant-card,.auth-intro-card.ant-card,.auth-widget-card.ant-card{border:1px solid rgba(25,33,38,.08);border-radius:26px;background:#ffffffd1;box-shadow:0 18px 60px #232e2914}.metric-card .ant-statistic{padding:4px 6px}.metric-card .ant-statistic-content{color:#1d2b27;font-size:42px;font-weight:700}.metric-card .ant-statistic-content-prefix{margin-inline-end:14px;color:#0f8f7f}.metric-card-accent{background:linear-gradient(135deg,#0f8f7f1f,#ffffffd1)}.table-head{margin-bottom:18px}.table-head .ant-typography{margin-bottom:4px}.user-cell{display:flex;flex-direction:column;gap:4px}.status-tag{min-width:114px;padding:6px 10px;border-radius:999px;text-align:center;font-weight:700}.auth-shell{min-height:100vh;padding:28px}.auth-back{margin-bottom:18px}.auth-back-link{display:inline-flex;align-items:center;gap:8px;color:#234941;font-weight:600;text-decoration:none}.auth-grid{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(320px,.95fr);gap:20px}.auth-tag{width:fit-content;padding:6px 12px;border-radius:999px;font-weight:700}.auth-title.ant-typography{margin-bottom:0}.auth-description.ant-typography{margin-bottom:0;color:#4d5c55}.auth-widget-stack{width:100%}.telegram-widget-box{display:flex;align-items:center;gap:16px;min-height:56px}.analytics-stack{width:100%}.analytics-filter{min-width:180px}.analytics-filter-users{min-width:320px}.chart-card{width:100%;min-height:360px}.chart-loading,.drawer-loading{display:flex;align-items:center;justify-content:center;min-height:180px}.app-auth-loading{display:flex;align-items:center;justify-content:center;min-height:100vh}.session-select{width:100%}.event-card.ant-card{width:100%;border-radius:18px;background:#f8faf8e0}.event-stack{width:100%}.event-text.ant-typography{margin-bottom:0;white-space:pre-wrap;word-break:break-word}.history-user-card.ant-card{height:100%;border-radius:22px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.history-user-card.ant-card:hover{transform:translateY(-2px)}.history-user-card-active.ant-card{border-color:#0f8f7f66;box-shadow:0 20px 60px #0f8f7f24}.history-user-stack{width:100%}.history-day-link.ant-btn{padding-inline:0}.history-timeline-card.ant-card{width:100%;border-radius:18px;background:#f8faf8e0;border-left:4px solid rgba(25,33,38,.12)}.history-timeline-card.history-event-user.ant-card{border-left-color:#2563eb}.history-timeline-card.history-event-bot.ant-card{border-left-color:#0f8f7f}.history-timeline-card.history-event-integration.ant-card{border-left-color:#d97706}.history-filters{width:100%}.history-search-input{min-width:320px}.history-stage-filter{min-width:280px}.history-timeline-scroll{max-height:720px;overflow:auto;padding-right:10px}.history-timeline.ant-timeline{margin:0;padding-inline-start:0}.history-timeline.ant-timeline .ant-timeline-item{padding-bottom:20px}.history-timeline.ant-timeline .ant-timeline-item-head{inset-inline-start:0}.history-timeline.ant-timeline .ant-timeline-item-tail{inset-inline-start:4px}.history-timeline.ant-timeline .ant-timeline-item-content{inset-inline-start:28px;width:calc(100% - 28px);margin:0}.generation-settings-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.generation-settings-main{min-width:0}.generation-settings-scroll{max-height:calc(100vh - 240px);overflow:auto;padding-right:10px}.generation-settings-stack{display:flex;flex-direction:column;gap:20px}.generation-setting-anchor{min-width:0}.generation-setting-card .ant-card-body{padding-top:22px}.generation-setting-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.generation-settings-outline{position:sticky;top:28px}.generation-settings-outline-card.ant-card .ant-card-body{display:flex;flex-direction:column;gap:12px}.generation-settings-outline-scroll{display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 320px);overflow:auto}.generation-outline-button{display:flex;flex-direction:column;gap:4px;width:100%;padding:12px 14px;border:1px solid rgba(25,33,38,.08);border-radius:16px;background:#f8faf8d6;color:#192126;text-align:left;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.generation-outline-button:hover{transform:translateY(-1px);border-color:#0f8f7f3d}.generation-outline-button-active{border-color:#0f8f7f75;background:#0f8f7f1a}.generation-outline-title{font-weight:700}.generation-outline-code{color:#5d6b65;font-size:12px}.settings-field-label{display:inline-flex;align-items:center;gap:8px}.settings-field-help{color:#7a8781;font-size:14px;cursor:help}.settings-panel,.settings-panel .ant-space-item,.settings-number-input.ant-input-number{width:100%}.settings-json-input textarea{font-family:Cascadia Code,Consolas,monospace;font-size:13px;line-height:1.6}.settings-prompt-meta{display:flex;flex-direction:column;gap:4px;margin-top:10px}.generation-placeholder-section{border:1px solid rgba(25,33,38,.08);border-radius:20px;padding:18px 20px;background:#f8faf8db}.generation-placeholder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.generation-placeholder-item{display:flex;flex-direction:column;gap:6px;min-height:96px;padding:14px;border:1px solid rgba(25,33,38,.08);border-radius:16px;background:#ffffffe6}@media(max-width:1024px){.shell-sider.ant-layout-sider{width:100%!important;max-width:none!important;flex:0 0 auto!important;margin:20px 20px 0}.shell-layout{flex-direction:column}.auth-grid{grid-template-columns:1fr}.generation-setting-head{flex-direction:column}.generation-settings-shell{grid-template-columns:1fr}.generation-settings-scroll{max-height:none;overflow:visible;padding-right:0}.generation-settings-outline{position:static}.generation-settings-outline-scroll{max-height:none}}@media(max-width:768px){.shell-content{padding:20px}.metric-card .ant-statistic-content{font-size:34px}.auth-shell{padding:20px}.generation-placeholder-grid{grid-template-columns:1fr}}
