:root{--bg: #0c0e14;--surface: #141824;--surface2: #1c2230;--border: #2a3142;--text: #e8ecf4;--muted: #8b95a8;--accent: #5b8cff;--accent2: #3dd6c3;--danger: #ff6b7a;--radius: 12px;--font: "Vazirmatn", system-ui, sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(1200px 600px at 10% -10%,#1a2440 0%,var(--bg) 55%);color:var(--text);font-family:var(--font)}#root{min-height:100vh}a{color:var(--accent)}.shell{max-width:1440px;margin:0 auto;padding:1rem 1.25rem 1.5rem}.shell.shell-app{max-width:none;width:100%;margin:0;padding:0;min-height:100vh;display:flex;flex-direction:column}.shell.shell-app:not(.shell-support){height:100vh;max-height:100vh;overflow:hidden}.shell.shell-app:not(.shell-support) .app-layout__body{overflow:hidden}.shell.shell-app:not(.shell-support) .app-rail{max-height:100%;overflow-y:auto}.shell.shell-app.shell-support{max-width:none;width:100%;margin:0 auto;padding:.35rem .45rem .4rem;min-height:100vh;max-height:100vh;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box}.app-layout{display:flex;flex:1;min-height:0;width:100%;align-items:stretch;animation:app-layout-in .38s ease}@keyframes app-layout-in{0%{opacity:.88;transform:translateY(8px)}to{opacity:1;transform:none}}.app-layout__body{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.app-rail{width:76px;flex-shrink:0;display:flex;flex-direction:column;align-items:stretch;gap:.18rem;padding:.5rem .35rem;background:linear-gradient(195deg,var(--surface2) 0%,var(--surface) 55%,#0f1218 100%);border-inline-end:1px solid var(--border)}.app-rail-brand{display:flex;align-items:center;justify-content:center;margin-bottom:.35rem}.app-rail-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:12px;font-weight:800;font-size:.95rem;color:#0a0c12;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 4px 14px #00000040}.app-rail-item{display:flex;flex-direction:column;align-items:center;gap:.12rem;padding:.42rem .15rem;border-radius:10px;border:none;background:transparent;color:var(--muted);cursor:pointer;font-family:inherit;font-size:.58rem;font-weight:600;line-height:1.15;width:100%;transition:background .18s ease,color .18s ease,transform .12s ease}.app-rail-item:hover{background:#ffffff0f;color:var(--text)}.app-rail-item.is-active{background:#5b8cff33;color:var(--text);box-shadow:inset 0 0 0 1px #5b8cff59}.app-rail-item:active{transform:scale(.97)}.app-rail-item--danger:hover{background:#ff6b7a1f;color:var(--danger)}.app-rail-ico{font-size:1.05rem;line-height:1}.app-rail-lbl{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-rail-spacer{flex:1;min-height:.5rem}.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.55rem .85rem;background:linear-gradient(120deg,var(--surface) 0%,var(--surface2) 100%);border-bottom:1px solid var(--border)}.app-topbar--support{padding-block:.4rem}.app-topbar-title{min-width:0}.app-topbar-heading{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:-.02em}.app-topbar-sub{margin:.12rem 0 0}.app-topbar-meta{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;justify-content:flex-end;flex:1;min-width:0}.app-topbar-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.22rem .5rem;border-radius:999px;font-size:.68rem;color:var(--muted);background:#ffffff0a;border:1px solid var(--border);max-width:100%}.app-topbar-chip--link{text-decoration:none;color:var(--accent)}.app-topbar-chip--link:hover{border-color:#5b8cff73}.app-topbar-chrome{flex:1 1 200px;min-width:120px}.app-content{flex:1;min-height:0;padding:.65rem .85rem .85rem;overflow:auto}.shell.shell-app.shell-support .app-content{display:flex;flex-direction:column;overflow:hidden;padding:.35rem .5rem .45rem}.shell.shell-app.shell-support .support-app-wrap{flex:1;min-height:0;display:flex;flex-direction:column}.dash-page{display:grid;gap:.75rem;animation:app-layout-in .32s ease}@media(min-width:960px){.dash-page{grid-template-columns:1fr 1fr;align-items:start}.dash-page.dash-page-single{grid-template-columns:1fr}.dash-kpi-card{grid-column:1 / -1}}.dash-page-dash .dash-chart-card{border-inline-start:3px solid rgba(56,189,248,.45);box-shadow:0 1px #ffffff0a}.dash-page-dash .dash-chart-card h2{color:var(--text);font-size:.95rem}.dash-page-dash .dash-chart-wrap{height:236px}.dash-page-dash .dash-chart-wrap--tall{height:300px}.dash-page-dash .dash-chart-wrap--scatter{height:292px}.dash-chart-card h2{font-size:.92rem;margin:0 0 .45rem;font-weight:600;color:var(--text)}.dash-chart-wrap{width:100%;height:220px;overflow:hidden;position:relative;direction:ltr}.dash-chart-wrap .recharts-cartesian-axis-tick-value{direction:rtl;unicode-bidi:plaintext}.dash-chart-wrap--tall{height:284px}.dash-chart-wrap--scatter{height:280px}.dash-chart-sub{margin:0 0 .35rem;line-height:1.35}.login-brand{display:flex;align-items:center;gap:.75rem}.login-brand-logo{border-radius:10px;object-fit:cover}.login-brand-title{display:block;font-weight:700;font-size:1.05rem}.users-page-wrap{display:flex;flex-direction:column;gap:.75rem}.users-admin-split{display:grid;gap:.75rem;align-items:start}@media(min-width:960px){.users-admin-split{grid-template-columns:1fr minmax(280px,38%)}}.users-admin-list-card,.users-admin-form-card{margin:0}.sort-th-btn{background:none;border:none;color:inherit;font:inherit;font-weight:600;cursor:pointer;padding:.15rem 0;border-bottom:2px solid transparent;text-align:inherit}.sort-th-btn:hover{color:var(--accent)}.sort-th-btn.is-active{border-bottom-color:var(--accent);color:var(--accent)}.login-captcha-img-wrap{display:flex;justify-content:center;align-items:center;padding:.5rem .65rem;border-radius:10px;background:var(--surface2);border:1px solid var(--border);margin-inline:auto;width:fit-content;max-width:100%;cursor:pointer}.login-captcha-img-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.login-captcha-img{display:block;border-radius:6px;max-width:100%;height:auto}.log-filters-compact{padding:.55rem .65rem!important}.log-filters-compact .field{margin:0!important}.log-filters-compact .field label{font-size:.72rem;margin-bottom:.12rem}.log-filters-compact input,.log-filters-compact select{padding:.28rem .4rem;font-size:.78rem}.log-filters-compact .log-filters-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:.35rem .45rem}.log-filters-compact .log-filters-span2{grid-column:span 2}@media(max-width:520px){.log-filters-compact .log-filters-span2{grid-column:span 1}}.users-segment-tabs{display:flex;flex-wrap:wrap;gap:.35rem}.users-segment-tab{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:10px;padding:.4rem .85rem;font-size:.85rem;cursor:pointer}.users-segment-tab.is-active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 18%,transparent)}.word-cloud-wrap{display:flex;flex-wrap:wrap;gap:.35rem .5rem;align-items:baseline;line-height:1.6}.word-cloud-item{display:inline-flex;align-items:baseline;gap:.15rem;padding:.1rem .35rem;border-radius:8px;background:color-mix(in srgb,var(--accent) 12%,transparent)}.word-cloud-btn{cursor:pointer;border:none;font:inherit;color:inherit;text-align:inherit}.word-cloud-btn:hover{background:color-mix(in srgb,var(--accent) 26%,transparent);outline:1px solid color-mix(in srgb,var(--accent) 40%,transparent)}.settings-hr{border:none;border-top:1px solid var(--border);margin:1rem 0}.settings-h3{font-size:.95rem;margin:0 0 .35rem}.qa-embed-hint{margin-bottom:.75rem}.dash-kpi-card h2{font-size:1rem}.theme-light .app-rail{background:linear-gradient(195deg,#f0f2f6,#e8ecf2)}.theme-light .app-rail-item:hover{background:#0000000d}.theme-light .app-topbar{background:linear-gradient(120deg,#fff,#f3f5f8)}.shell.shell-sticky-top .topbar,.shell.shell-sticky-top .app-topbar{position:sticky;top:0;z-index:200;box-shadow:0 8px 28px #00000047}.shell.shell-app.shell-support.shell-sticky-top .topbar,.shell.shell-app.shell-support.shell-sticky-top .app-topbar{margin-bottom:.42rem;flex-shrink:0}.topbar.topbar-compact{margin-bottom:.35rem;padding:.42rem .65rem;flex-shrink:0}.topbar.topbar-compact .brand{font-size:.95rem}.topbar.topbar-compact .brand-subline{display:none}.topbar-meta-compact{display:flex;flex-direction:column;gap:.12rem;align-items:flex-end;line-height:1.35}.topbar-meta-compact a{font-size:.68rem;word-break:break-all;max-width:220px;text-align:left;direction:ltr}.topbar-nav{display:flex;gap:.35rem;flex-wrap:wrap;align-items:center}.topbar-nav .btn{padding:.36rem .62rem;font-size:.8rem}.support-top-chrome-host{flex:1 1 140px;min-width:0;min-height:34px;display:flex;align-items:center}.support-portal-root{position:relative;width:100%;min-width:0}.support-portal-bar{display:flex;align-items:center;gap:.35rem;flex-wrap:nowrap;min-height:32px;max-height:48px;overflow-x:auto;overflow-y:hidden;padding:.08rem 0;scrollbar-width:thin}.support-portal-stat{display:inline-flex;align-items:center;gap:.28rem;flex-shrink:0;color:var(--muted);font-size:.72rem}.support-portal-stat strong{color:var(--text);font-size:.86rem}.support-portal-stat-hint{font-size:.6rem;opacity:.85}.support-portal-pill{flex-shrink:0;font-size:.6rem!important;padding:.06rem .28rem!important}.support-portal-users-trigger{flex-shrink:0;border:1px solid var(--border);border-radius:9px;background:#1c2230b8;padding:.22rem .5rem;font-size:.66rem;color:var(--text);cursor:pointer;display:inline-flex;align-items:center;gap:.28rem;max-width:min(220px,36vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-portal-users-trigger:hover{border-color:#5b8cff73}.support-recent-users-modal{max-width:440px;width:min(440px,94vw)}.support-recent-users-scroll{display:flex;flex-direction:column;gap:.35rem;max-height:min(58vh,440px);overflow-y:auto;overflow-x:hidden;padding-inline-end:4px;scrollbar-color:rgba(91,140,255,.45) transparent;scrollbar-width:thin}.support-recent-users-scroll::-webkit-scrollbar{width:7px}.support-recent-users-scroll::-webkit-scrollbar-thumb{background:#5b8cff59;border-radius:8px}.support-user-chip--row{max-width:none;width:100%;border-radius:10px;justify-content:flex-start;padding:.35rem .5rem}.support-user-chip--row .support-user-chip-text{max-width:none;flex:1;text-align:right}.support-portal-users-count{opacity:.75;font-size:.62rem}.support-user-chip{display:inline-flex;align-items:center;gap:.18rem;flex-shrink:0;border:1px solid var(--border);background:#1c2230e6;border-radius:999px;padding:.1rem .38rem .1rem .3rem;cursor:pointer;color:inherit;font:inherit;font-size:.64rem;max-width:118px}.support-user-chip:hover{border-color:#3dd6c373;background:#3dd6c314}.support-user-chip-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.support-user-chip-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70px}.support-user-chip-n{opacity:.7;font-size:.58rem}.btn.iconbtn{padding:.26rem .42rem;font-size:.8rem;line-height:1;flex-shrink:0;min-width:2rem}.support-settings-popover{position:absolute;top:calc(100% + 4px);inset-inline-end:0;z-index:200;background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:.45rem .55rem;box-shadow:0 14px 44px #0000007a;display:flex;flex-direction:column;gap:.32rem;font-size:.74rem;min-width:196px}.support-settings-popover label{display:flex;align-items:center;gap:.32rem;margin:0;cursor:pointer}.support-avatar.sm{width:1.72rem;height:1.72rem;border-radius:9px}.support-chat-header-slim{padding-bottom:.22rem;align-items:center}.support-chat-title{margin:0;display:flex;align-items:center;gap:.32rem;font-size:.92rem;font-weight:700}.support-chat-titleblock{display:flex;flex-direction:column;gap:.06rem;min-width:0}.support-header-actions-icons{gap:.18rem;flex-wrap:nowrap}.support-meta-details{flex-shrink:0;margin:0;padding:.12rem 0;border-bottom:1px solid var(--border);font-size:.76rem}.support-meta-details summary{cursor:pointer;color:var(--muted);-webkit-user-select:none;user-select:none;list-style:none}.support-meta-details summary::-webkit-details-marker{display:none}.support-meta-details[open] summary{color:var(--accent2);margin-bottom:.28rem}.support-meta-row-inner{border-bottom:none;padding-top:0}.support-load-older{text-align:center;padding:.12rem;flex-shrink:0}.support-load-older .btn{font-size:.7rem;padding:.2rem .48rem}.support-thread-hint{flex-shrink:0;padding:.08rem 0 .15rem;opacity:.72}.support-turn-head-main{display:flex;flex-wrap:wrap;gap:.28rem;align-items:center;flex:1;min-width:0}.support-turn-kebab{opacity:.55;padding:.1rem .32rem!important;min-width:auto!important;font-weight:700}.support-turn:hover .support-turn-kebab{opacity:1}.support-promote-details{flex-shrink:0;font-size:.76rem;margin:.1rem 0}.support-promote-details summary{cursor:pointer;color:var(--muted)}.support-side2-compact{display:flex;flex-direction:column;min-height:0}.support-side2-compact .support-fb-list{flex:1 1 auto;min-height:0;max-height:none}.support-side2-fb-title{margin:.32rem 0 .12rem!important;font-size:.72rem!important}.support-side2-details summary{cursor:pointer;font-size:.7rem;color:var(--muted)}.support-mini-table-side{max-height:min(20vh,160px);margin-top:.2rem}.support-ctx-panel{min-width:188px}.support-ctx-title{padding:.22rem .45rem .12rem;border-bottom:1px solid var(--border);margin-bottom:.12rem}@media(max-width:900px){.support-shell{grid-template-columns:1fr!important;min-height:auto!important}}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;background:linear-gradient(135deg,var(--surface) 0%,#12182a 100%);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1.25rem}.brand{font-weight:700;letter-spacing:-.02em}.brand small{display:block;font-weight:400;color:var(--muted);font-size:.8rem}.grid{display:grid;gap:1rem}@media(min-width:900px){.grid.cols-2{grid-template-columns:1fr 1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem}.card h2{margin:0 0 .75rem;font-size:1rem;font-weight:600;color:var(--muted)}.btn{font-family:inherit;border:1px solid var(--border);background:var(--surface2);color:var(--text);padding:.5rem .9rem;border-radius:10px;cursor:pointer;font-size:.9rem}.btn:hover{border-color:#3d4a63}.btn.primary{background:linear-gradient(135deg,#3d5eff,#5b8cff);border-color:transparent;font-weight:600}.btn.ghost{background:transparent}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.danger{background:linear-gradient(135deg,#8b2e3a,#ff6b7a);border-color:transparent;font-weight:600}input,textarea,select{font:inherit;width:100%;padding:.55rem .65rem;border-radius:10px;border:1px solid var(--border);background:#0f121a;color:var(--text)}textarea{min-height:100px;resize:vertical}label{display:block;font-size:.85rem;color:var(--muted);margin-bottom:.35rem}.field{margin-bottom:.75rem}.table-wrap{overflow:auto;border-radius:10px;border:1px solid var(--border)}table{width:100%;border-collapse:collapse;font-size:.88rem}th,td{padding:.55rem .65rem;border-bottom:1px solid var(--border);text-align:right;vertical-align:top}th{background:var(--surface2);color:var(--muted);font-weight:500}tr:last-child td{border-bottom:none}.pill{display:inline-block;padding:.15rem .45rem;border-radius:999px;font-size:.75rem;background:#222a3d;border:1px solid var(--border)}.pill.rule{color:var(--accent2)}.pill.exact,.pill.alias{color:var(--accent)}.pill.semantic{color:#c9a227}.pill.fallback{color:var(--danger)}.pill.accent{color:var(--accent2);border-color:#3dd6c359}.pill.muted{opacity:.85;font-size:.7rem}.pill.danger{color:#ffb4bc;border-color:#ff6b7a73}.muted{color:var(--muted)}.tiny{font-size:.68rem}.small{font-size:.8rem}.support-pro{display:flex;flex-direction:column;gap:.4rem;min-height:0;flex:1;--sg-l: 22vw;--sg-r: 22vw}.support-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.35rem 0}.support-toolbar-title{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--muted)}.support-badge-me{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:10px;background:linear-gradient(135deg,#5b8cff,#3dd6c3);color:#0a0c12;font-weight:800;font-size:.65rem}.support-settings{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;padding:.65rem .85rem;font-size:.82rem}.support-settings label{display:flex;align-items:center;gap:.4rem;margin:0}.support-grid{display:grid;grid-template-columns:minmax(200px,var(--sg-l, 22vw)) minmax(0,1fr) minmax(220px,var(--sg-r, 22vw));gap:.55rem;flex:1;min-height:0;align-items:stretch}.support-app-wrap .support-grid{grid-template-rows:1fr}.support-grid>.card{padding:.45rem .55rem}@media(max-width:1100px){.support-grid{grid-template-columns:1fr}.support-app-wrap .support-grid{grid-template-rows:auto}.support-side2{max-height:min(40vh,280px)}}.support-sidebar,.support-main,.support-side2{min-height:0;display:flex;flex-direction:column}.support-main.card{flex:1;min-width:0}.support-sidebar.card,.support-side2.card{overflow:hidden}.support-side2.card{overflow:auto}.support-side2>h4{margin:.4rem 0 .2rem;font-size:.78rem;font-weight:600;color:var(--muted)}.support-side2>h4:first-child{margin-top:0}.support-tabs{display:flex;flex-wrap:wrap;gap:.32rem;margin-bottom:.45rem}.support-tabs .btn{font-size:.72rem;padding:.35rem .5rem}.support-tab-pill{display:inline-flex;flex-direction:row;align-items:center;gap:.32rem;padding:.28rem .42rem!important;border-radius:10px!important;min-height:auto}.support-tab-ico{font-size:.95rem;line-height:1;opacity:.92}.support-tab-textwrap{display:flex;flex-direction:column;align-items:flex-start;gap:.04rem;min-width:0}.support-tab-main{font-size:.72rem;font-weight:700;line-height:1.15}.support-tab-sub{font-size:.58rem;font-weight:500;color:var(--muted);line-height:1.1;max-width:7.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-tab-pill.primary .support-tab-sub{color:#ffffffb8}.support-sidebar-unread-strip{display:flex;align-items:center;gap:.35rem;font-size:.62rem;color:var(--accent2);margin:0 0 .38rem;padding:.22rem .38rem;border-radius:8px;background:#3dd6c31a;border:1px solid rgba(61,214,195,.28);width:100%;cursor:pointer;font:inherit;text-align:right;box-sizing:border-box}.support-sidebar-unread-strip--on{background:#5b8cff29;border-color:#5b8cff6b;color:var(--accent)}.support-unread-strip-dot{width:8px;height:8px;border-radius:50%;background:var(--accent2);box-shadow:0 0 8px #3dd6c38c;flex-shrink:0}.support-conv-list{flex:1;overflow:auto;min-height:0}.support-conv-item{width:100%;display:flex;gap:.38rem;text-align:right;border:none;background:transparent;color:inherit;cursor:pointer;padding:.28rem .22rem;border-radius:8px;border-bottom:1px solid var(--border);font:inherit}.support-conv-item:hover{background:#5b8cff0f}.support-conv-item.active{background:#5b8cff24}.support-avatar{width:2rem;height:2rem;border-radius:10px;flex-shrink:0}.support-avatar.lg{width:2.4rem;height:2.4rem}.support-conv-meta{flex:1;min-width:0}.support-conv-top{display:flex;justify-content:space-between;align-items:center;gap:.35rem}.support-conv-name{font-weight:600;font-size:.82rem}.support-unread-dot{width:8px;height:8px;border-radius:50%;background:var(--accent2);box-shadow:0 0 8px #3dd6c3b3}.support-conv-sub{font-size:.68rem;color:var(--muted)}.support-conv-preview{font-size:.72rem;color:var(--text);opacity:.92;margin-top:.12rem;line-height:1.28}.support-conv-tags{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.25rem}.support-conv-time{font-size:.62rem;color:var(--muted);margin-top:.12rem}.support-chat-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.45rem;flex-wrap:wrap;padding-bottom:.35rem;border-bottom:1px solid var(--border);flex-shrink:0}.support-chat-header h3{font-size:1rem}.support-chat-address{margin-top:.35rem;width:100%;max-width:min(100%,520px)}.support-chat-address-row{display:flex;gap:.35rem;align-items:stretch;margin-top:.2rem}.support-chat-address-input{flex:1;min-width:0;font-size:.68rem;direction:ltr;text-align:left;font-family:ui-monospace,monospace;padding:.35rem .45rem;border-radius:8px;border:1px solid var(--border);background:var(--surface2);color:var(--text)}.support-chat-address .btn{flex-shrink:0;padding:.3rem .55rem;font-size:.75rem}.support-header-actions{display:flex;flex-wrap:wrap;gap:.35rem}.support-meta-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:flex-end;padding:.35rem 0;border-bottom:1px solid var(--border);flex-shrink:0}.support-meta-row .field.compact span{font-size:.68rem}.support-meta-row input{font-size:.8rem;padding:.32rem .45rem}.field.compact{margin:0;flex:1;min-width:140px}.field.flex1{flex:2}.support-thread{flex:1 1 auto;overflow:auto;padding:.4rem 0;min-height:0}.support-empty{padding:2rem;text-align:center;color:var(--muted)}.support-turn{margin-bottom:.42rem;padding:.18rem .14rem;border-radius:10px;cursor:pointer}.support-turn.picked{outline:1px solid var(--accent);background:#5b8cff0f}.support-turn-head{display:flex;flex-wrap:nowrap;gap:.28rem;align-items:center;justify-content:space-between;margin-bottom:.18rem}.support-bubble{border-radius:11px;padding:.3rem .45rem;margin-bottom:.2rem;max-width:96%}.support-bubble.user{margin-inline-start:auto;background:#5b8cff29;border:1px solid rgba(91,140,255,.28)}.support-bubble.bot{margin-inline-end:auto;background:#3dd6c31a;border:1px solid rgba(61,214,195,.22)}.support-bubble.op{margin-inline:auto;background:#c9a2271f;border:1px solid rgba(201,162,39,.35);max-width:100%}.bubble-label{font-size:.62rem;color:var(--muted);margin-bottom:.16rem}.bubble-source-hint{margin:0 0 .22rem;line-height:1.38;font-size:.62rem!important}.support-inbound-media{margin:0 0 .35rem;padding:.35rem;border-radius:10px;background:#0c0e1459;border:1px solid var(--border);display:flex;flex-direction:column;gap:.4rem}.support-media-cap{margin-bottom:.12rem}.support-media-img{max-width:min(100%,320px);max-height:240px;border-radius:8px;object-fit:contain;display:block}.support-media-meta{display:block;margin-bottom:.18rem}.support-media-audio-el{width:min(100%,360px);height:2.25rem}.support-media-video-el{max-width:min(100%,360px);max-height:240px;border-radius:8px}.support-media-pdf{width:100%;min-height:220px;max-height:360px;border:none;border-radius:8px;background:#fff}.support-media-doc .btn.tiny{font-size:.68rem;padding:.2rem .45rem;margin-top:.25rem}.support-media-fallback{padding:.2rem 0}.bubble-text{margin:0;white-space:pre-wrap;font-family:inherit;font-size:.78rem;line-height:1.42}.bubble-meta{margin:.35rem 0 0;white-space:pre-wrap}.support-promote.nested{margin:.35rem 0;padding:.4rem;flex-shrink:0}.support-select{max-width:220px;font-size:.8rem}.support-composer{border-top:1px solid var(--border);padding-top:.45rem;flex-shrink:0}.support-composer:not(.support-composer-bale) textarea{width:100%;min-height:4.25rem;margin-bottom:.3rem;font-size:.85rem;resize:vertical}.support-composer-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.support-composer-bale .support-composer-inputrow{display:flex;flex-wrap:wrap;align-items:stretch;gap:.35rem;background:var(--surface2);border:1px solid var(--border);border-radius:14px;padding:.26rem .38rem;margin-bottom:.32rem}.support-composer-field{flex:1;min-width:0;min-height:2.45rem!important;max-height:9rem;margin:0!important;resize:vertical;border:none;background:transparent;color:inherit;font:inherit;font-size:.84rem;line-height:1.45;outline:none}.support-composer-plus,.support-composer-emoji{display:flex;align-items:center;justify-content:center;width:2.05rem;flex-shrink:0;border-radius:10px;border:1px solid transparent;cursor:pointer;color:var(--accent2);font-size:1.15rem;background:transparent;padding:0}.support-composer-plus:hover,.support-composer-emoji:hover{background:#5b8cff1f}.support-composer-emojis{display:flex;flex-wrap:wrap;gap:.12rem;max-width:8.2rem;align-content:flex-start;justify-content:flex-end}.support-composer-emoji-chip{border:none;background:#1c22308c;border-radius:8px;cursor:pointer;font-size:1.05rem;line-height:1;padding:.14rem .18rem;color:inherit}.support-composer-emoji-chip:hover{background:#5b8cff2e}.support-composer-actions{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;justify-content:flex-end}.support-composer-send{min-width:4.8rem}.support-thread-search{display:flex;align-items:center;gap:.28rem;flex-shrink:0;margin:.12rem 0 .04rem;padding:.18rem .38rem;background:#1c22308c;border:1px solid var(--border);border-radius:10px}.support-thread-search input{flex:1;min-width:0;border:none;background:transparent;color:inherit;font:inherit;font-size:.76rem;outline:none}.support-thread-search-ico{opacity:.55;font-size:.82rem}.support-tab-btn{display:inline-flex;align-items:center;gap:.26rem}.support-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.2rem;padding:.04rem .26rem;border-radius:8px;font-size:.6rem;font-weight:800;background:#5b8cff38;color:var(--text)}.support-tab-btn.primary .support-tab-badge{background:#0c0e1466}.support-portal-urgent{animation:support-pulse 1.85s ease-in-out infinite}@keyframes support-pulse{0%,to{opacity:1}50%{opacity:.7}}.support-portal-qa-link{flex-shrink:0;font-size:.66rem;font-weight:600;color:var(--accent2);text-decoration:none;padding:.08rem .38rem;border:1px solid rgba(61,214,195,.38);border-radius:8px;white-space:nowrap}.support-portal-qa-link:hover{background:#3dd6c31a}.support-composer-attach-name{margin:0 0 .22rem}.support-mini-table{font-size:.7rem;max-height:min(42vh,320px);overflow:auto}.support-mini-table.tall{max-height:160px}.support-mini-row{display:grid;grid-template-columns:1fr 1fr 1fr 40px;gap:.25rem;padding:.25rem 0;border-bottom:1px solid var(--border)}.support-fb-list{max-height:min(28vh,220px);overflow:auto}.support-fb-item{width:100%;text-align:right;border:none;background:transparent;color:inherit;cursor:pointer;padding:.35rem;border-radius:8px;border-bottom:1px solid var(--border);font:inherit}.support-fb-item:hover{background:#ff6b7a14}.support-ctx{position:fixed;z-index:6000;background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:.25rem;box-shadow:0 12px 40px #0006}.support-ctx button{display:block;width:100%;text-align:right;border:none;background:transparent;color:var(--text);padding:.4rem .65rem;border-radius:8px;cursor:pointer;font:inherit;font-size:.82rem}.support-ctx button:hover{background:#5b8cff1f}.support-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#05080ebf;display:flex;align-items:center;justify-content:center;padding:1rem}.support-modal{max-width:420px;width:100%}.support-modal.wide{max-width:640px}.support-modal-opstats{max-width:min(960px,96vw);width:100%}.support-opstats-table{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface2)}.support-opstats-body{max-height:min(62vh,520px);overflow:auto}.support-opstats-empty{padding:.75rem .6rem}.support-opstats-row{display:grid;grid-template-columns:92px minmax(0,1fr) 44px;gap:.35rem;align-items:center;padding:.18rem .45rem;font-size:.68rem;border-bottom:1px solid var(--border)}.support-opstats-row:last-child{border-bottom:none}.support-opstats-row-head{font-weight:700;font-size:.62rem;color:var(--muted);background:#1c223073;text-transform:none}.support-opstats-cell-muted{color:var(--muted);font-variant-numeric:tabular-nums}.support-opstats-cell-op{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-modal-qa-wizard .support-wizard-pre{margin:.25rem 0 0;white-space:pre-wrap;font-family:inherit;font-size:.78rem;line-height:1.45;max-height:180px;overflow:auto}.support-wizard-steps{display:flex;flex-wrap:wrap;align-items:center;gap:.28rem;margin-bottom:.65rem}.support-wizard-steps span.active{color:var(--accent2);font-weight:800}.support-wizard-check{display:flex;align-items:flex-start;gap:.4rem;margin:.35rem 0;font-size:.78rem;line-height:1.45}.support-wizard-fieldset{border:1px solid var(--border);border-radius:10px;padding:.45rem .55rem;margin:.5rem 0}.support-wizard-radio{display:block;margin:.28rem 0;font-size:.78rem}.support-wizard-summary{margin:.5rem 0!important}.support-select-wide{width:100%;max-width:100%}.support-portal-presence{font-size:.62rem;padding:.12rem .42rem!important;gap:.2rem;align-items:center;display:inline-flex;flex-wrap:wrap}.support-presence-dot{width:7px;height:7px;border-radius:50%;background:#3dd6c3;box-shadow:0 0 10px #3dd6c3a6;flex-shrink:0}.support-portal-unread{font-size:.62rem!important}.support-portal-unread--on{background:#5b8cff24!important;border-color:#5b8cff73!important}.support-portal-dashish{flex-shrink:0}.support-stats-list{margin:0 0 1rem;padding-inline-start:1.1rem;line-height:1.8}.support-extra{margin-top:.5rem}.support-extra.support-extra-top{margin-top:0;margin-bottom:0;flex-shrink:0;padding:.4rem .55rem}.support-extra.support-extra-top summary{font-size:.82rem;padding:.2rem 0}.support-extra summary{cursor:pointer;font-weight:600;padding:.35rem 0}.support-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.5rem}.support-extra-top .support-extra-grid{gap:.65rem;margin-top:.35rem}.support-extra-top h4{margin:0 0 .25rem;font-size:.76rem;color:var(--muted)}.hint{font-size:.82rem;color:var(--accent2);margin:.35rem 0 0}.support-app-wrap{flex:1;min-height:0;display:flex;flex-direction:column}.shell.shell-support .support-app-wrap,.shell.shell-app.shell-support .support-app-wrap{height:auto;max-height:none}.grid.cols-2.qa-page-grid,.qa-page-single{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.qa-page-single{grid-template-columns:1fr}@media(max-width:900px){.grid.cols-2.qa-page-grid,.qa-page-single{grid-template-columns:1fr}}.qa-list-card .qa-table-wrap{max-height:calc(100vh - 260px)}.qa-edit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#05080eb8;display:flex;align-items:center;justify-content:center;padding:1rem}.qa-edit-modal{width:min(640px,100%);max-height:90vh;overflow:auto}.login{max-width:380px;margin:4rem auto}.stat{font-size:1.75rem;font-weight:700}.stat-label{color:var(--muted);font-size:.85rem}.row-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.click-row:hover{background:#1a2235}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#05080eb8;display:flex;align-items:center;justify-content:center;z-index:50;padding:1rem}.modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;box-shadow:0 24px 80px #00000073}.support-settings-ding{display:flex;align-items:center;gap:.35rem;font-size:.72rem;margin:.25rem 0}.support-settings-ding select{font-size:.72rem;padding:.18rem .35rem;border-radius:8px;background:var(--surface2);color:inherit;border:1px solid var(--border)}.support-turn-clock{font-size:.62rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent2);padding:.06rem .28rem;border-radius:6px;background:#3dd6c31a}.support-side2-rail{display:flex;flex-direction:column;gap:.45rem;min-width:0;min-height:0;overflow:hidden}.support-profile-rail{padding:.5rem .55rem!important;flex-shrink:0}.support-profile-rail-head{display:flex;align-items:center;gap:.45rem;margin-bottom:.35rem}.support-profile-rail-name{font-weight:700;font-size:.86rem}.support-profile-rail-id{margin-top:.08rem;word-break:break-all}.support-profile-rail-stats{margin:0 0 .45rem;padding-inline-start:1rem;line-height:1.55}.support-profile-field{margin-top:.35rem!important}.support-profile-field textarea,.support-profile-field input{font-size:.78rem!important}.btn.smallbtn{font-size:.7rem!important;padding:.22rem .5rem!important;margin-top:.18rem}.support-profile-rail-status{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.45rem}.support-profile-placeholder{padding:.5rem .35rem;line-height:1.45}.support-fb-block{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:.45rem .5rem!important;overflow:hidden}.support-fb-block .support-fb-list{flex:1;overflow:auto}.support-review-launch{margin-top:.5rem;padding:.5rem!important}.support-review-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;background:#05080e8c;display:flex;justify-content:flex-end;align-items:stretch;padding:.5rem;box-sizing:border-box}.support-review-panel{width:min(420px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;box-shadow:-12px 0 40px #00000059}.support-review-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--border, #2a3142);flex-shrink:0}.support-review-scroll{overflow:auto;flex:1;min-height:0;padding-top:.65rem}.support-review-section{margin-bottom:1rem}.support-review-section-title{margin:0 0 .35rem;font-size:.95rem}.support-review-list{list-style:none;margin:0;padding:0}.support-review-item{width:100%;text-align:start;display:flex;flex-direction:column;gap:.2rem;padding:.45rem .5rem;margin-bottom:.35rem;border-radius:8px;border:1px solid var(--border, #2a3142);background:var(--surface2, #121722);color:inherit;cursor:pointer;font:inherit}.support-review-item:hover{border-color:var(--accent, #5b8cff)}.support-modal-stats{max-width:min(720px,96vw);max-height:88vh;overflow:auto}.support-stat-chart-block{margin:.75rem 0}.support-stat-chart-title{margin:0 0 .35rem;font-size:.78rem;color:var(--muted)}.support-stat-bars{display:flex;flex-direction:column;gap:.22rem}.support-stat-bar-row{display:grid;grid-template-columns:5.5rem 1fr 1.8rem;gap:.35rem;align-items:center;font-size:.68rem}.support-stat-bar-label{color:var(--muted);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-stat-bar-track{height:8px;border-radius:6px;background:#1c2230d9;overflow:hidden}.support-stat-bar-fill{height:100%;border-radius:6px;background:linear-gradient(90deg,var(--accent),var(--accent2));min-width:2px}.support-stat-bar-n{text-align:end;font-variant-numeric:tabular-nums;font-weight:600}.support-hour-grid{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:2px;align-items:end;height:88px;margin-top:.25rem}.support-hour-cell{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:2px}.support-hour-fill{width:100%;max-width:10px;margin:0 auto;border-radius:4px 4px 0 0;background:linear-gradient(180deg,var(--accent2),var(--accent));min-height:2px}.support-hour-num{font-size:.52rem;color:var(--muted);font-variant-numeric:tabular-nums}.qa-row-draggable{cursor:grab}.qa-row-draggable:active{cursor:grabbing}.qa-drag-handle{cursor:grab;-webkit-user-select:none;user-select:none;color:var(--muted);text-align:center;font-size:.85rem;line-height:1.2}.qa-row-draggable[draggable=true]:hover{background:#5b8cff0f}:root.theme-light{--bg: #dfe4eb;--surface: #ffffff;--surface2: #eceff3;--border: #c8d0da;--text: #1a1f26;--muted: #5c6570;--accent: #248bda;--accent2: #0d9488;--danger: #c53030}html.theme-light body{background:#e8edf2;color:var(--text)}.theme-light .support-bubble.user{background:#dcf8c6;border-color:#b7e1a7}.theme-light .support-bubble.bot{background:#fff;border-color:#d1d7de}.theme-light .support-bubble.op{background:#fff9e6;border-color:#e6d089}.theme-light .support-composer-field{border:1px solid var(--border)!important;background:var(--surface)!important;color:var(--text)!important;border-radius:10px}.support-composer-plus.disabled{opacity:.45;pointer-events:none;cursor:not-allowed}.support-reply-chain{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .5rem;margin:.28rem 0 .35rem;padding:.32rem .45rem;border-radius:10px;font-size:.68rem;color:var(--muted);background:#5b8cff14;border:1px dashed rgba(91,140,255,.35);max-width:100%}.support-reply-chain__ic{font-size:.85rem;opacity:.85}.support-reply-chain__txt{flex:1;min-width:0}.support-reply-chain__id{font-size:.65rem;padding:.12rem .35rem;border-radius:6px;background:#0003;color:var(--accent2)}.theme-light .support-reply-chain{background:#248bda14;border-color:#248bda59}.theme-light .support-reply-chain__id{background:#0000000f;color:#0d9488}.support-reply-banner{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .65rem;padding:.4rem .55rem;margin-bottom:.35rem;border-radius:10px;background:#9333ea1f;border:1px solid rgba(147,51,234,.28);font-size:.82rem}.support-reply-banner-snippet{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-turn--reply-target{outline:2px solid rgba(147,51,234,.75);outline-offset:2px;border-radius:10px}.desk-page .desk-list{list-style:none;margin:.5rem 0 0;padding:0}.desk-page .desk-list-item{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.65rem;padding:.65rem 0;border-bottom:1px solid var(--border)}.desk-page .desk-list-item:last-child{border-bottom:none}.desk-page .desk-list-main{flex:1;min-width:0}.desk-page .desk-q{margin-top:.25rem;font-size:.88rem;line-height:1.45;word-break:break-word}.desk-page .desk-list-actions{display:flex;flex-wrap:wrap;gap:.35rem}.support-chat-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.45rem;width:100%}.support-chat-header-search{width:100%;display:flex;justify-content:center;margin-top:.28rem}.support-thread-search--header{max-width:min(100%,520px);width:100%;margin:0}.support-conv-sort-row{display:flex;flex-wrap:wrap;align-items:center;gap:.28rem;margin:.15rem 0 .35rem;font-size:.68rem}.support-conv-meta--compact{gap:.12rem}.support-conv-idline{font-size:.62rem;color:var(--muted);font-family:ui-monospace,monospace}.support-conv-compact-row{display:flex;align-items:center;justify-content:space-between;gap:.35rem;margin-top:.08rem}.support-conv-ico-row{display:inline-flex;gap:.2rem;font-size:.75rem}.support-conv-time-mini{font-size:.58rem;color:var(--muted);white-space:nowrap}.support-ico-need{filter:drop-shadow(0 0 4px rgba(255,120,120,.55))}.support-turn-metafoot{display:flex;align-items:center;justify-content:space-between;gap:.35rem;margin-bottom:.12rem}.support-turn-metafoot-txt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-msg-details{flex-shrink:0;font-size:.62rem}.support-msg-details-sum{cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;opacity:.75}.support-msg-details-sum::-webkit-details-marker{display:none}.support-msg-details-pre{margin:.2rem 0 0;font-size:.58rem;max-width:220px;white-space:pre-wrap;background:#0c0e1480;padding:.25rem .35rem;border-radius:6px;border:1px solid var(--border)}.support-bubble-lane{display:flex;gap:.28rem;align-items:flex-end;max-width:80%;margin-bottom:.22rem}.support-bubble-lane.user{margin-inline-start:auto;flex-direction:row-reverse}.support-bubble-lane.bot{margin-inline-end:auto}.support-bubble-lane.op{margin-inline:auto;max-width:92%}.support-bubble-ico{flex-shrink:0;width:1.55rem;height:1.55rem;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#1c2230a6;border:1px solid var(--border);font-size:.95rem;line-height:1}.support-bubble-lane .support-bubble{flex:1;min-width:0;max-width:100%}.support-composer-bale .support-composer-inputrow{flex-wrap:nowrap;align-items:stretch}.support-composer-send--inline{min-width:3.4rem!important;padding:.35rem .55rem!important;flex-shrink:0;align-self:stretch}.support-composer-emoji-anchor{position:relative;flex-shrink:0}.support-composer-emoji-toggle{min-height:2.45rem}.support-emoji-popover{position:absolute;bottom:100%;inset-inline-end:0;margin-bottom:.25rem;display:flex;flex-wrap:wrap;gap:.15rem;max-width:11rem;padding:.35rem;background:var(--surface2);border:1px solid var(--border);border-radius:10px;box-shadow:0 6px 22px #00000059;z-index:40}.support-analysis-modal{max-width:min(96vw,520px);max-height:min(88vh,640px);overflow:auto}.support-analysis-h{margin:.75rem 0 .25rem;font-size:.78rem;color:var(--muted)}.support-analysis-scroll{max-height:140px;overflow:auto;border:1px solid var(--border);border-radius:8px;padding:.35rem;background:#0c0e1459}.support-analysis-row{padding:.18rem 0;border-bottom:1px solid rgba(255,255,255,.06);line-height:1.35}.support-analysis-row:last-child{border-bottom:none}.support-bubble.user,.support-bubble.bot,.support-bubble.op{max-width:100%}.support-followup-dock{position:fixed;z-index:4500;bottom:14px;width:min(380px,calc(100vw - 28px));max-height:min(48vh,400px);background:var(--surface2);border:1px solid var(--border);border-radius:12px;box-shadow:0 20px 56px #0000008c;display:flex;flex-direction:column;overflow:hidden}.support-followup-dock--min{max-height:none;width:auto;min-width:10rem}.support-followup-dock--snap-L{left:14px;right:auto}.support-followup-dock--snap-R{right:14px;left:auto}.support-followup-dock--free{bottom:auto!important;left:auto;right:auto}.support-followup-dock-head-drag{cursor:grab;-webkit-user-select:none;user-select:none;flex:1;min-width:0}.support-followup-dock-head-drag:active{cursor:grabbing}.support-followup-dock-snaps{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center}.analysis-page-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);gap:1.15rem;align-items:start;width:100%}@media(max-width:900px){.analysis-page-grid{grid-template-columns:1fr}}.analysis-main-card{width:100%;max-width:none}.analysis-col-matches .analysis-matches-list{min-height:220px}.analysis-matches-list{max-height:70vh;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:.35rem;background:var(--surface2)}.analysis-matches-item{padding:.35rem .4rem;border-radius:8px;margin-bottom:.35rem;border:1px solid transparent}.analysis-matches-item:hover{border-color:var(--border);background:#ffffff0a}.support-followup-dock-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4rem .55rem;border-bottom:1px solid var(--border);flex-shrink:0}.support-followup-dock-title{font-size:.78rem;font-weight:700}.support-followup-dock-body{overflow-y:auto;padding:.45rem .55rem .55rem}.support-followup-dock-hint{margin:0 0 .45rem;line-height:1.45}.support-followup-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.support-followup-item{border:1px solid var(--border);border-radius:9px;padding:.35rem .42rem;background:#0c0e1466}.support-followup-item-top{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin-bottom:.25rem}.support-followup-snippet{margin:0 0 .35rem;font-size:.68rem;white-space:pre-wrap;word-break:break-word;max-height:5.2rem;overflow:auto}.support-followup-resolve{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}.support-followup-reason{flex:1;min-width:8rem;font-size:.68rem;padding:.2rem .35rem;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:inherit}
