@font-face{font-family:Onest;font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/onest-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/onest-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#1d2d45;--muted:#4b5f79;--bg:#f6f7f9;--surface:#fff;--surface-muted:#edf0f4;--line:#c9d1dc;--sidebar:#fff;--accent:#d14027;--accent-hover:#b92f1b;--accent-soft:#fff0ec;--danger:#b92f1b;--success:#247552;--radius:14px;--control-radius:9px;--shadow:0 2px 5px #1d2d4504;--focus:#d1402740;font-family:Onest,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-size:15px;line-height:1.5;accent-color:var(--accent)}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{width:100%;min-height:52px;border:1px solid var(--line);border-radius:var(--control-radius);padding:13px 15px;background:var(--surface);color:var(--ink);font-size:15px}textarea{resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:#687b93}input:disabled,select:disabled,textarea:disabled{background:var(--surface-muted);color:var(--muted);cursor:not-allowed}input[type=hidden]{display:none}input[type=checkbox]{appearance:none;position:relative;width:40px;height:24px;min-height:24px;border-radius:14px;padding:0;margin:2px 0 0;flex:none;background:#dce2e9;transition:background .15s}input[type=checkbox]:after{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #1d2d4520;transition:transform .15s}input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}input[type=checkbox]:checked:after{transform:translateX(16px)}input[type=color]{width:58px;height:48px;min-height:48px;padding:5px;cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}input[type=file]{padding:10px}input[type=file]::file-selector-button{font:inherit;border:0;border-radius:5px;background:var(--surface-muted);color:var(--ink);padding:5px 10px;margin-right:12px;cursor:pointer}input[type=range]{padding:0;min-height:30px;border:0;box-shadow:none;background:transparent}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;font-weight:650}h2{font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.35px}h3{font-size:16px;font-weight:650}p{line-height:1.65}small{font-size:13px}strong{font-weight:600}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:3px solid var(--focus);outline-offset:0;border-color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:12px;top:-80px;background:var(--ink);color:#fff;padding:12px 18px;border-radius:9px;z-index:100}.skip-link:focus{top:12px}.muted,.helper{color:var(--muted)}.helper{font-size:14px;line-height:1.7;margin:16px 0}.required{color:var(--accent)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:1.4px;font-weight:650;color:var(--muted);display:block;margin-bottom:16px}.app-icon{display:block;width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.button .app-icon{width:18px;height:18px}.section-title{display:flex;align-items:center;gap:12px}.section-title>.app-icon{width:22px;height:22px;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 19px;border:1px solid var(--accent);border-radius:var(--control-radius);background:var(--accent);color:#fff;font-size:14px;line-height:1.4;font-weight:600;text-align:center;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s}.button:hover{background:var(--accent-hover);border-color:var(--accent-hover);text-decoration:none}.button-secondary{background:#fff;color:var(--ink);border-color:var(--line)}.button-secondary:hover{background:var(--surface-muted);border-color:#a9b6c6}.button-small{min-height:44px;padding:10px 14px;font-size:14px}.button-danger{background:#fff;color:var(--danger);border-color:#e4b5ab}.button-danger:hover{background:var(--accent-soft);border-color:#d88e7f}.icon-button{border:1px solid var(--line);border-radius:var(--control-radius);background:#fff;padding:10px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon-button:hover{background:var(--surface-muted)}.text-link{font-weight:600;display:inline-flex;gap:8px;align-items:center;font-size:14px}
.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);color:var(--ink);padding:28px 16px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;overflow-y:auto}.brand{color:var(--ink);display:flex;align-items:center;gap:10px;font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-1px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:11px;letter-spacing:.2px;font-weight:450;margin-top:5px;color:var(--muted)}.brand-mark{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:11px;flex:none}.brand-mark .app-icon{width:24px;height:24px;stroke-width:2}.sidebar .brand{padding:0 12px 34px}.nav-caption{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1.1px;margin:0 12px 12px;font-weight:550}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 12px;border-radius:9px;color:var(--muted);font-weight:450;font-size:14px}.nav-item:hover{background:var(--surface-muted);color:var(--ink);text-decoration:none}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-icon{width:20px;display:inline-flex;justify-content:center;flex:none}.sidebar-account{border-top:1px solid var(--line);margin-top:auto;padding:20px 4px 0;display:flex;align-items:center;gap:10px;min-height:72px}.account-avatar{background:var(--surface-muted);color:var(--ink);border-radius:9px;width:36px;height:36px;display:grid;place-items:center;flex:none;font-size:14px;font-weight:600}.account-details{min-width:0;flex:1;font-size:12px}.account-details strong{display:block;font-size:13px;font-weight:550}.account-details span{color:var(--muted);font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.logout-button{border:0;background:none;color:var(--muted);padding:8px;display:flex;border-radius:7px}.logout-button:hover{background:var(--surface-muted);color:var(--ink)}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{min-height:72px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:14px;min-width:0;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>.app-icon{width:16px;height:16px;color:#8090a5}.topbar-link{color:var(--muted);font-size:14px;flex:none;display:flex;align-items:center;gap:7px}.topbar-link .app-icon{width:16px;height:16px}.mobile-menu{display:none}.main-content{width:100%;max-width:1440px;margin:0 auto;padding:36px 40px 48px;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.page-heading p{margin-top:9px;color:var(--muted);font-size:15px;max-width:720px}.workspace-footer{margin:0 40px;padding:18px 0 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:var(--muted);gap:16px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:26px;margin-bottom:24px;min-width:0}.panel-heading{margin-bottom:24px}.panel-heading p{margin-top:8px;font-size:14px;color:var(--muted);max-width:760px}.heading-inline{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-label .muted{font-size:14px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field label{font-size:14px;font-weight:550;color:var(--ink)}.field small{color:var(--muted);font-size:13px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.full-width{grid-column:1/-1}.stack{display:flex;flex-direction:column;gap:22px}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.check-row{display:flex;align-items:flex-start;gap:12px;font-size:14px;padding:14px 0}.check-row span{display:block}.check-row strong{font-weight:550}.check-row small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.notice{padding:14px 17px;border:1px solid #b2d4c3;border-radius:9px;font-size:14px;margin-bottom:20px;line-height:1.6;background:#eef8f2;color:#215a40}.notice-error{background:#fff1ed;color:#a22e1b;border-color:#e8b4a9}.notice-warning{background:#fff8e7;color:#7b5b19;border-color:#e4d3a7}.notice-info{background:var(--surface-muted);color:var(--muted);border-color:var(--line)}.notice p{margin-top:8px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:550;padding:5px 9px;border-radius:6px;white-space:nowrap;line-height:1.4}.badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%;flex:none}.badge-teal{background:#e8f5ed;color:#22613f}.badge-neutral{background:var(--surface-muted);color:var(--muted)}.badge-warning{background:#fff3d9;color:#865e12}.badge-danger{background:#ffede7;color:#a22e1b}.badge-blue{background:#eaf0ff;color:#345f9c}
.project-list{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:32px;overflow:visible}.project-row{padding:24px;display:flex;align-items:center;gap:18px}.project-row+.project-row{border-top:1px solid var(--line)}.project-avatar{width:48px;height:48px;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:550;color:var(--ink);background:var(--surface-muted);flex:none}.project-summary{flex:1;min-width:0}.project-summary h3 a{color:var(--ink);font-size:17px}.project-summary p{font-size:14px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.project-status{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-right:12px}.project-status small{color:var(--muted);font-size:12px}.row-menu{position:relative}.row-menu summary{list-style:none;color:var(--muted);width:36px;height:44px;display:grid;place-items:center;border-radius:7px}.row-menu summary:hover{background:var(--surface-muted)}.row-menu summary::-webkit-details-marker{display:none}.row-menu form{position:absolute;right:0;z-index:4;padding:10px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px #1d2d4514;border-radius:9px;white-space:nowrap}.create-project{max-width:100%;scroll-margin-top:24px}.onboarding{padding:28px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:28px}.onboarding h2{font-size:25px;margin-bottom:12px}.onboarding>p{font-size:15px;color:var(--muted);max-width:700px}.setup-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:30px 0 0}.setup-steps li{display:flex;gap:12px}.setup-steps li>span{width:32px;height:32px;border:1px solid var(--line);border-radius:9px;color:var(--accent);background:var(--accent-soft);display:grid;place-items:center;font-size:14px;font-weight:600;flex:none}.setup-steps p{font-size:13px;color:var(--muted);margin-top:5px}.setup-steps strong{font-size:14px}.project-switch,.period-filter{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:14px;color:var(--muted)}.project-switch>label,.period-filter>label{flex:none}.project-switch select,.project-switch .ui-select{width:320px;max-width:100%}.period-filter select,.period-filter .ui-select{width:220px;max-width:100%}.project-switch select,.period-filter select,.project-switch .ui-select-trigger,.period-filter .ui-select-trigger{min-height:44px;font-size:14px;padding:10px 13px}.project-tabs{display:flex;border-bottom:1px solid var(--line);gap:28px;margin:20px 0 28px}.project-tabs a{padding:11px 0 15px;color:var(--muted);font-size:14px;border-bottom:2px solid transparent;white-space:nowrap;margin-bottom:-1px}.project-tabs a[aria-current=page]{color:var(--accent);border-color:var(--accent);font-weight:600}.project-tabs a:hover{text-decoration:none;color:var(--accent)}.empty-state{padding:54px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px}.empty-state p{font-size:14px;color:var(--muted);max-width:420px;margin:10px 0 22px}.empty-symbol{background:var(--surface-muted);color:var(--muted);border:1px solid var(--line);border-radius:14px;width:64px;height:64px;display:grid;place-items:center;margin-bottom:20px}.empty-symbol .app-icon{width:28px;height:28px}.compact-empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}
.knowledge-overview,.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;background:#fff;padding:24px 0;margin-bottom:24px}.knowledge-overview>div,.metric-grid>div{padding:0 24px;min-width:0}.knowledge-overview>div+div,.metric-grid>div+div{border-left:1px solid var(--line)}.knowledge-overview strong{font-size:30px;display:block;color:var(--ink);font-weight:600;letter-spacing:-.7px}.knowledge-overview span{font-size:14px;color:var(--muted);display:block;margin-top:4px}.knowledge-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.knowledge-add-grid .panel{display:flex;flex-direction:column}.knowledge-add-grid form{flex:1}.knowledge-add-grid .form-actions{margin-top:auto;padding-top:2px}.knowledge-add-grid small{font-size:13px}.sources-panel{padding-bottom:4px}.table-scroll{overflow:auto;max-width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.data-table th{font-weight:550;color:var(--muted);font-size:12px;padding:13px 12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:20px 12px;vertical-align:top;border-bottom:1px solid #e3e7ed}.data-table tbody tr:last-child td{border-bottom:0}.data-table th:first-child,.data-table td:first-child{padding-left:0}.data-table th:last-child,.data-table td:last-child{padding-right:0}.table-subtext{font-size:13px;color:var(--muted);display:block;margin-top:5px;overflow-wrap:anywhere}.table-empty{text-align:center;padding:46px 18px!important;color:var(--muted);font-size:14px}.table-actions{min-width:160px;text-align:right}.source-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.source-title{font-weight:600;font-size:14px;display:block;max-width:390px}.source-error{display:block;color:var(--danger);max-width:380px;margin-top:7px;font-size:13px}.source-status{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.leads-table{min-width:860px}.message-cell{max-width:300px;min-width:180px}.status-form{display:flex;align-items:center;gap:8px}.status-form select,.status-form .ui-select{min-width:150px;width:150px}.status-form select,.status-form .ui-select-trigger{font-size:14px;min-height:44px;padding:10px 12px}.metric-grid strong{font-size:32px;line-height:1.25;font-weight:600;letter-spacing:-1px;display:block;margin-top:12px;color:var(--ink);overflow-wrap:anywhere}.metric-grid span{font-size:13px;color:var(--muted)}.panel .metric-grid{border:0;border-radius:0;padding:0;margin:24px 0}.panel .metric-grid>div:first-child{padding-left:0}.activity-panel{max-width:850px}.activity-list{display:flex;flex-direction:column;gap:16px}.activity-row{display:flex;align-items:center;gap:20px;font-size:14px;color:var(--muted)}.activity-row>span{width:90px;flex:none}.activity-row strong{width:40px;text-align:right;font-weight:550}.activity-track{height:9px;border-radius:6px;background:var(--surface-muted);flex:1;overflow:hidden}.activity-track span{height:100%;display:block;background:var(--accent);border-radius:6px}
.installation-grid,.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.installation-grid>.panel,.integration-grid>.panel,.integration-grid>.integration-column>.panel{margin-bottom:0}.installation-panel{max-width:100%}.installation-panel h2{margin-bottom:12px}.installation-panel>p{font-size:14px;color:var(--muted)}.installation-grid{margin-bottom:24px}.code-block{display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:var(--surface-muted);border:1px solid var(--line);border-radius:9px;padding:18px;margin-top:22px}.code-block pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;width:100%;color:var(--ink);line-height:1.8}.instruction-details{border-top:1px solid var(--line);padding-top:18px;margin-top:14px;font-size:14px}.instruction-details summary{color:var(--ink);font-weight:550}.instruction-details p{margin:14px 0 0;color:var(--muted)}.plain-steps{padding-left:21px;color:var(--muted);font-size:14px;line-height:1.75}.plain-steps li{margin:14px 0}.integration-panel{max-width:100%}.integration-panel .heading-inline{align-items:flex-start;flex-wrap:wrap;gap:12px}.integration-panel .helper{margin:0;font-size:13px}.integration-panel>#provider-source{padding:14px;background:var(--surface-muted);border-radius:9px;margin-bottom:22px}.integration-panel .notice{margin:0}.integration-panel .form-actions .button{flex:1;white-space:normal}.setup-guide{margin-top:24px;background:var(--surface-muted);border:1px solid var(--line);border-radius:14px;padding:22px}.setup-guide h2{font-size:17px}.setup-guide .plain-steps{margin-bottom:0}.reply-list{margin:-4px 0}.reply-item{border-top:1px solid var(--line);padding:20px 0}.reply-item:first-child{border-top:0}.reply-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px}.reply-item summary:after{content:'';width:8px;height:8px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);order:3;flex:none;margin-right:4px}.reply-item[open] summary:after{transform:rotate(225deg)}.reply-item summary::-webkit-details-marker{display:none}.reply-item summary>span:first-child{flex:1;min-width:0}.reply-item summary strong{display:block;font-size:15px}.reply-item summary small{color:var(--muted);font-size:13px;display:block;margin-top:6px;overflow-wrap:anywhere}.reply-item-body{padding:26px 0 0;max-width:800px}.reply-delete{margin-top:14px}.download-panel{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.download-panel .panel-heading{margin-bottom:0}.download-panel .helper{grid-column:1/-1;margin:0}.download-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.doc-panel h2{margin-bottom:12px}.doc-panel>p{color:var(--muted);font-size:14px;margin:10px 0}.api-example{background:var(--surface-muted);border:1px solid var(--line);border-radius:9px;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.inbox-shell{display:grid;grid-template-columns:320px minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:14px;min-height:660px;overflow:hidden}.conversation-list-panel{border-right:1px solid var(--line);min-width:0}.inbox-filters{padding:16px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.inbox-filters select,.inbox-filters .ui-select{width:100%;min-width:0}.inbox-filters select,.inbox-filters .ui-select-trigger{font-size:14px;min-height:44px;padding:10px 12px}.conversation-list{height:582px;overflow:auto}.conversation-item{display:block;width:100%;padding:20px;border:0;border-bottom:1px solid #e3e7ed;background:#fff;text-align:left;border-radius:0}.conversation-item:hover{background:var(--bg)}.conversation-item.selected{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.conversation-item-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.conversation-item-head strong{font-size:14px;font-weight:600}.conversation-item-head .badge{font-size:11px;padding:4px 7px}.conversation-item p{font-size:14px;color:var(--muted);margin:9px 0 13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-item time{font-size:11px;color:var(--muted)}.conversation-item-footer{display:flex;justify-content:space-between;gap:6px;align-items:center}.thread-panel{min-width:0;display:flex;flex-direction:column}.thread-panel>.empty-state{flex:1;min-height:550px}.thread-header{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.thread-header h2{font-size:17px;margin-bottom:7px}.thread-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.thread-controls .button{font-size:12px;padding:9px 11px;min-height:40px}.thread-back{display:none}.thread-messages{height:365px;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:20px;background:var(--bg);scrollbar-gutter:stable}.chat-message{max-width:86%;align-self:flex-start;font-size:15px;min-width:100px}.chat-message.role-assistant,.chat-message.role-operator{align-self:flex-end}.message-meta{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:12px;margin-bottom:7px}.message-bubble{border:1px solid var(--line);background:#fff;padding:13px 16px;border-radius:4px 14px 14px 14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:var(--ink)}.role-assistant .message-bubble{background:var(--surface-muted);border-color:#d5dce5;border-radius:14px 4px 14px 14px}.role-operator .message-bubble{background:var(--accent-soft);border-color:#e7bdb3;border-radius:14px 4px 14px 14px}.role-system{align-self:center;max-width:100%;font-size:13px}.role-system .message-bubble{border:0;background:transparent;color:var(--muted);padding:0;text-align:center}.message-sources{display:flex;flex-direction:column;gap:5px;font-size:13px;margin-top:9px}.reply-composer{padding:18px 20px 20px;border-top:1px solid var(--line);background:#fff}.reply-composer label{font-size:14px;font-weight:550;display:block;margin-bottom:9px}.reply-composer textarea{font-size:15px;min-height:88px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.composer-footer small{font-size:13px;color:var(--muted)}.composer-footer .button{min-height:44px}
.editor-grid,.widget-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}.editor-grid .panel{margin-bottom:24px}.preview-column,.editor-preview{position:sticky;top:24px;align-self:start;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-size:14px}.widget-preview{display:block;border:1px solid var(--line);border-radius:14px;width:100%;height:720px;background:var(--surface-muted)}.preview-column .helper{font-size:13px}.color-field{display:flex;align-items:center;gap:12px}.color-field span,.color-field output{font-family:ui-monospace,monospace;font-size:13px;color:var(--muted)}.swatch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sticky-actions{position:sticky;bottom:16px;z-index:3;background:#fff;padding:16px 18px;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 22px #1d2d4510;display:flex;align-items:center;justify-content:space-between;gap:16px}.sticky-actions .muted{font-size:13px}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preset-card{border:1px solid var(--line);border-radius:9px;padding:14px 12px;background:#fff;text-align:left;min-height:88px;color:var(--ink)}.preset-card:hover{border-color:var(--accent);background:var(--accent-soft)}.preset-card strong{display:block;font-size:14px;margin-bottom:5px}.preset-card small{font-size:12px;color:var(--muted);display:block;line-height:1.5}.preset-card[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-soft)}.preview-tabs,.preview-device-switch{display:flex;align-items:center;gap:4px;background:var(--surface-muted);border-radius:9px;padding:4px;margin-bottom:14px;flex-wrap:wrap}.preview-tab,.preview-device-switch button{border:0;background:transparent;border-radius:6px;padding:9px 11px;min-height:40px;color:var(--muted);font-size:13px;flex:1;white-space:nowrap}.preview-tab[aria-selected=true],.preview-tab[aria-pressed=true],.preview-tab.active,.preview-device-switch button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #1d2d4510;font-weight:550}.preview-frame{padding:12px;background:var(--surface-muted);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:0 auto}.preview-frame .widget-preview{border:0;height:780px;border-radius:12px}.preview-frame[data-device=mobile],.preview-frame.is-mobile{max-width:390px}.editor-preview>.helper{font-size:13px}.settings-group>.panel-heading{margin-bottom:22px}
/* Shared with the desktop renderer. The native select remains a successful form control. */
.ui-select{position:relative;width:100%;min-width:0}.ui-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none;inset:0;clip-path:inset(50%)}.ui-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;font-size:15px;text-align:left;cursor:pointer}.ui-select-trigger:hover{border-color:#9cabbc}.ui-select-trigger[aria-expanded=true]{border-color:var(--accent);outline:3px solid var(--focus);outline-offset:0}.ui-select-trigger[aria-invalid=true]{border-color:var(--danger)}.ui-select-trigger:disabled{background:var(--surface-muted);color:var(--muted)}.ui-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-arrow{color:var(--muted);width:20px;height:20px;flex:none;display:flex}.ui-select-trigger[aria-expanded=true] .ui-select-arrow{transform:rotate(180deg)}.ui-select-popup{position:fixed;z-index:1000;padding:6px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px #1d2d451c;overflow-y:auto;overscroll-behavior:contain;scroll-padding:6px;font-size:14px}.ui-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:6px;cursor:pointer;line-height:1.5}.ui-select-option>span:first-child{overflow-wrap:anywhere}.ui-select-option.is-active{background:var(--surface-muted)}.ui-select-option[aria-selected=true]{color:var(--accent);font-weight:550}.ui-select-option[aria-disabled=true]{color:#8290a3;cursor:not-allowed}.ui-select-check{width:18px;flex:none;font-size:16px;color:var(--accent)}.ui-select-group{font-size:12px;color:var(--muted);font-weight:600;padding:10px 12px 6px}.ui-select-error{display:block;color:var(--danger);font-size:13px;line-height:1.5;margin-top:7px}
.public-page{background:var(--bg)}.public-header{display:flex;justify-content:space-between;align-items:center;max-width:1240px;padding:30px 44px;margin:auto}.landing-main{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:70px;padding:65px 44px 90px;align-items:start}.landing-intro h1{font-size:46px;line-height:1.15;font-weight:650;letter-spacing:-1.7px;margin-bottom:26px;max-width:610px}.landing-lead{font-size:17px;color:var(--muted);max-width:550px}.landing-path{display:flex;flex-direction:column;gap:22px;margin:34px 0 30px;padding-top:28px;border-top:1px solid var(--line)}.landing-path>div{display:grid;grid-template-columns:44px 1fr;gap:0 14px;align-items:start}.landing-path .feature-icon{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:11px;color:var(--muted)}.landing-path h2{font-size:16px;margin:0 0 5px}.landing-path p{font-size:14px;color:var(--muted);max-width:440px}.landing-intro .text-link{font-size:15px}.auth-panel{align-self:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:var(--shadow);scroll-margin-top:20px}.auth-panel h2{font-size:22px;margin-bottom:10px}.auth-panel>p{font-size:14px;color:var(--muted)}.auth-tabs{display:flex;gap:4px;background:var(--surface-muted);border-radius:9px;padding:4px;margin:24px 0}.auth-tabs button{border:0;border-radius:6px;background:transparent;min-height:42px;padding:10px 14px;color:var(--muted);font-size:14px;flex:1}.auth-tabs button[aria-selected=true]{color:var(--ink);background:#fff;font-weight:600;box-shadow:0 1px 4px #1d2d4510}.auth-panel .stack{gap:22px}.auth-panel .button{width:100%;margin-top:4px}.auth-panel .notice{font-size:13px;padding:13px 14px}.auth-panel .field input{font-size:15px}.auth-panel .field small{font-size:13px}.public-footer{border-top:1px solid var(--line);max-width:1152px;margin:auto;padding:24px 0;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.setup-intro h1{margin-bottom:22px}.setup-intro>p{color:var(--muted);font-size:16px;max-width:520px}.setup-intro .empty-symbol{margin-bottom:24px}.nav-backdrop{display:none}
@media(min-width:1500px){.main-content{padding-top:42px}}
@media(max-width:1200px){.main-content{padding:30px}.topbar{padding:0 30px}.workspace-footer{margin:0 30px}.project-status{margin-right:0}.inbox-shell{grid-template-columns:280px minmax(0,1fr)}.thread-header{align-items:flex-start;flex-wrap:wrap}.thread-controls{justify-content:flex-start}.knowledge-add-grid{grid-template-columns:1fr}.knowledge-add-grid .panel{margin-bottom:0}.knowledge-add-grid{margin-bottom:24px}.installation-grid,.integration-grid{grid-template-columns:1fr}.installation-grid .panel,.integration-grid .panel{max-width:100%}.landing-main{gap:42px}.landing-intro h1{font-size:42px}.download-panel{grid-template-columns:1fr}.download-panel .helper{grid-column:auto}}
@media(max-width:1100px){.editor-grid,.widget-editor-grid{grid-template-columns:minmax(0,1fr)}.editor-preview,.preview-column{position:static;max-width:520px;width:100%;justify-self:center}.editor-settings{min-width:0}.editor-preview{margin-bottom:24px}.widget-preview{height:680px}}
@media(max-width:940px){.app-shell{grid-template-columns:212px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.sidebar .brand{padding-left:10px}.nav-item{font-size:13px;padding:10px}.main-content{padding:28px 24px}.topbar{padding:0 24px}.project-row{flex-wrap:wrap}.project-status{margin-left:66px;width:calc(100% - 170px);order:3}.project-row>.button{margin-left:auto}.row-menu{order:2}.project-summary{min-width:180px}.knowledge-overview>div,.metric-grid>div{padding:0 16px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.metric-grid>div:nth-child(3){border-left:0}.metric-grid strong{font-size:29px}.panel .metric-grid>div:nth-child(3){padding-left:0}.setup-steps{gap:20px}.landing-main{grid-template-columns:minmax(0,1fr) 340px;gap:30px;padding:45px 30px 70px}.public-header{padding:26px 30px}.landing-intro h1{font-size:36px}.public-footer{margin:0 30px}.inbox-shell{grid-template-columns:240px minmax(0,1fr)}.thread-controls .button{font-size:12px}.thread-messages{padding:18px}.thread-header{padding:16px}.composer-footer small{max-width:150px}.inbox-filters{padding:12px}.inbox-filters .ui-select-trigger{font-size:13px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;top:0;left:0;width:260px;z-index:30;height:100dvh;transform:translateX(-100%);transition:transform .18s ease;padding:28px 16px 20px}.sidebar nav{gap:4px}.nav-item{font-size:14px;padding:10px 12px}.nav-open .sidebar{transform:translateX(0)}.nav-backdrop{position:fixed;inset:0;z-index:25;border:0;background:#1d2d4555;width:100%;height:100%}.nav-open .nav-backdrop{display:block}.nav-open{overflow:hidden}.mobile-menu{display:inline-flex}.topbar{min-height:68px;padding:0 18px;gap:12px}.breadcrumb{flex:1;gap:8px;font-size:13px}.breadcrumb>span:first-child{display:none}.breadcrumb>.app-icon{display:none}.topbar-link{font-size:13px}.main-content{padding:28px 18px 36px}.page-heading{align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:28px}.page-heading p{font-size:14px;max-width:450px;margin-top:8px}.page-heading>.button{min-height:44px}.workspace-footer{margin:0 18px;font-size:12px}.workspace-footer span:last-child{display:none}.project-tabs{gap:24px;overflow-x:auto;margin-bottom:24px}.project-tabs a{font-size:14px}.panel{padding:22px;margin-bottom:22px}.panel-heading{margin-bottom:22px}.form-grid{grid-template-columns:1fr;gap:20px}.full-width{grid-column:auto}.project-switch{align-items:flex-start;flex-direction:column;gap:8px}.project-switch .ui-select,.project-switch select{width:100%;max-width:100%}.project-row{padding:20px;gap:12px}.project-avatar{width:44px;height:44px;font-size:18px}.project-summary{min-width:160px}.project-summary h3 a{font-size:16px}.project-summary p{font-size:13px}.project-status{margin-left:56px;width:auto;flex:1}.project-row>.button{margin-left:56px;order:4}.row-menu{margin-left:auto}.setup-steps{grid-template-columns:1fr;gap:22px;margin-top:26px}.onboarding{padding:24px}.onboarding h2{font-size:24px}.onboarding>p{font-size:14px}.knowledge-overview{grid-template-columns:1fr 1fr;row-gap:22px;padding:22px 0}.knowledge-overview>div:nth-child(3){border-left:0}.knowledge-overview strong{font-size:28px}.knowledge-overview span{font-size:13px}.knowledge-overview>div,.metric-grid>div{padding:0 18px}.metric-grid strong{font-size:28px}.table-scroll{margin:0 -2px}.data-table{min-width:620px}.data-table th,.data-table td{padding-left:14px;padding-right:14px}.source-title{max-width:270px}.source-error{max-width:270px}.sticky-actions{bottom:10px;padding:14px;flex-wrap:wrap}.sticky-actions .muted{font-size:13px;max-width:100%}.preview-column{max-width:100%}.widget-preview{height:650px}.installation-grid,.integration-grid{gap:22px}.heading-inline{align-items:flex-start;flex-wrap:wrap;gap:14px}.heading-inline h2{font-size:19px}.integration-panel .heading-inline{flex-wrap:wrap}.inbox-shell{display:block;min-height:450px}.conversation-list-panel{border-right:0}.conversation-list{height:500px}.inbox-filters{padding:16px}.inbox-filters .ui-select-trigger{font-size:14px}.thread-panel{display:none}.inbox-shell.thread-open .conversation-list-panel{display:none}.inbox-shell.thread-open .thread-panel{display:flex}.thread-back{display:inline-flex}.thread-header{padding:16px;justify-content:flex-start}.thread-header>div:first-of-type{flex:1}.thread-controls{width:100%;margin-left:0;gap:8px}.thread-controls .button{min-height:44px;padding:10px 12px;font-size:13px}.thread-messages{height:390px;padding:20px 16px}.chat-message{max-width:92%}.reply-composer{padding:18px 16px}.composer-footer small{font-size:12px;max-width:180px}.public-header{padding:24px 22px}.public-header .brand{font-size:26px}.landing-main{display:block;padding:30px 22px 54px}.landing-intro{max-width:600px}.landing-intro h1{font-size:38px;letter-spacing:-1.2px}.landing-lead{font-size:16px}.landing-path{margin:30px 0;gap:22px}.auth-panel{max-width:460px;margin-top:40px;padding:26px}.public-footer{margin:0 22px;gap:20px}.public-footer span:last-child{max-width:200px;text-align:right}.preset-grid{grid-template-columns:1fr}.preset-card{min-height:70px}.preset-card small{font-size:13px}.swatch-grid{grid-template-columns:1fr}.preview-frame{padding:8px}.preview-frame .widget-preview{height:700px}.settings-group .form-actions .button{white-space:normal}.download-links{flex-direction:column;align-items:stretch}.download-links .button{width:100%}.period-filter .ui-select{width:100%}.period-filter{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:390px){.topbar-link{display:none}.project-summary{min-width:145px}.project-status{margin-left:0;width:100%}.project-row>.button{margin-left:0}.landing-intro h1{font-size:34px}.auth-panel{padding:24px}.composer-footer{align-items:flex-start}.composer-footer small{max-width:140px}.preview-tab{padding:9px 7px;font-size:12px}.panel{padding:20px}.metric-grid>div{padding:0 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.thread-contacts{flex-shrink:0;max-height:140px;overflow:auto;padding:10px 20px;border-bottom:1px solid var(--line);background:var(--surface)}
.contact-caption{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.contact-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:13px;line-height:1.5}.contact-name{font-weight:600;color:var(--ink)}.contact-method{font-size:11px;color:var(--muted)}.contact-value{color:var(--ink);user-select:text;overflow-wrap:anywhere}.contact-history{margin-top:6px;font-size:11px;color:var(--muted)}.contact-history summary{cursor:pointer}.contact-history .contact-row{padding-top:7px}
