:root{--accent:#3390ec;--accent-soft:#eaf3fc;--bg:#f4f5f7;--panel:#fff;--text:#182533;--muted:#8c98a5;--line:#edf0f3;--hover:#f4f7fa;--out:#e3ffc9;--chat:#e9eee7;--shadow:0 8px 36px #16304e12;--green:#41a578;--red:#d75b66;--sidebar:320px}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:var(--text);background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button{border:0;background:none;color:inherit}a{color:var(--accent)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #3390ec66;outline-offset:0}input,textarea,select{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:11px 13px}textarea{resize:vertical;line-height:1.55}input::placeholder,textarea::placeholder{color:var(--muted)}.loading{display:grid;place-items:center;height:100vh;color:var(--muted)}.shell{display:grid;grid-template-columns:76px var(--sidebar) 1fr;height:100dvh;min-height:500px;overflow:hidden}.rail{background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:20px 9px 12px;gap:8px;z-index:3}.brand{width:42px;height:42px;background:var(--accent);color:white;border-radius:14px;display:grid;place-items:center;margin-bottom:30px;box-shadow:0 4px 12px #3390ec25}.brand svg{width:25px;height:25px}.nav-btn{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:58px;min-height:62px;border-radius:12px;color:#8b98a7;font-size:9px;font-weight:500}.nav-btn svg{width:23px;height:23px}.nav-btn.active{color:var(--accent);background:var(--accent-soft)}.nav-btn:hover{background:var(--hover)}.nav-count{position:absolute;right:7px;top:5px;background:var(--accent);border:2px solid var(--panel);color:#fff;border-radius:20px;padding:1px 4px;font-size:9px}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:7px}.user-avatar{background:#e4edf8;color:#5886b5;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:12px;font-weight:600}.chat-sidebar{background:var(--panel);display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line);z-index:2}.sidebar-heading{padding:24px 20px 14px;display:flex;align-items:center;justify-content:space-between}.sidebar-heading h1{font-size:23px;letter-spacing:-.6px;margin:0;font-weight:650}.icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border-radius:50%;flex-shrink:0}.icon-btn:hover{background:var(--hover);color:var(--accent)}.workspace-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;padding:0 21px 17px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;flex-shrink:0}.search-box{margin:0 15px 15px;position:relative}.search-box svg{position:absolute;left:13px;top:11px;width:18px;height:18px;color:var(--muted)}.search-box input{width:100%;background:var(--bg);padding:11px 12px 11px 40px;border:0;border-radius:22px;font-size:13px}.tabs{display:flex;padding:0 14px;gap:18px;border-bottom:1px solid var(--line);overflow-x:auto;flex-shrink:0;scrollbar-width:none}.tab{position:relative;white-space:nowrap;padding:10px 0 14px;color:var(--muted);font-size:12px;font-weight:550}.tab.active{color:var(--accent)}.tab.active:after{content:"";height:3px;background:var(--accent);border-radius:3px 3px 0 0;position:absolute;bottom:0;left:0;right:0}.tab-count{font-size:10px;border-radius:9px;background:var(--bg);padding:1px 5px;margin-left:4px}.account-filter{display:flex;gap:5px;padding:10px 15px 7px}.account-filter select{width:100%;padding:6px 8px;border:0;background:var(--bg);font-size:11px;color:#7d8c9d}.chat-list{overflow-y:auto;flex:1;padding:5px 8px}.chat-row{display:flex;gap:12px;width:100%;text-align:left;padding:13px 10px;border-radius:11px;align-items:center;margin:1px 0;min-height:80px}.chat-row:hover{background:var(--hover)}.chat-row.selected{background:var(--accent);color:white}.avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#fff;font-weight:500;font-size:17px;flex-shrink:0;letter-spacing:-.5px;background:var(--avatar-color,#849ac2)}.avatar.small{width:36px;height:36px;font-size:12px}.avatar.large{width:76px;height:76px;font-size:26px}.chat-row-body{min-width:0;flex:1}.row-title,.row-preview{display:flex;justify-content:space-between;align-items:center;gap:6px}.row-title strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-time{font-size:10px;color:var(--muted);white-space:nowrap}.row-preview{margin-top:7px}.preview{font-size:12px;color:#8994a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.selected .preview,.selected .row-time,.selected .account-name{color:#e3efff}.badge{background:var(--accent);color:#fff;min-width:19px;height:19px;border-radius:20px;display:inline-grid;place-items:center;font-size:10px;padding:0 5px;flex-shrink:0}.selected .badge{background:#fff;color:var(--accent)}.account-name{font-size:9px;color:#a1aab4;margin-top:5px;display:flex;gap:4px;align-items:center}.account-name .status-dot{width:4px;height:4px}.sidebar-footer{padding:13px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.main{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.topbar{height:76px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:12px;flex-shrink:0}.topbar .avatar{width:42px;height:42px;font-size:14px}.contact-heading{min-width:0;flex:1;text-align:left}.contact-heading strong{font-size:15px;font-weight:600;display:block}.contact-heading span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.header-tools{display:flex;align-items:center;gap:10px}.window-chip{display:flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:18px;font-size:11px;color:#7f9183;white-space:nowrap}.window-chip svg{width:14px;height:14px}.window-chip.warning{color:#c78a38;background:#fffbf1;border-color:#f8eedb}.window-chip.closed{color:var(--red);background:#fff2f2;border-color:#fce6e7}.chat-layout{display:flex;min-height:0;flex:1}.conversation{display:flex;flex-direction:column;min-width:0;flex:1;background:var(--chat);position:relative;background-image:radial-gradient(ellipse at 85% 15%,#d4e4ce66,transparent 50%),radial-gradient(ellipse at 10% 80%,#f0e6cc55,transparent 55%)}.conversation:before{content:"";position:absolute;inset:0;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg stroke='%237f927b' fill='none' stroke-width='1'%3E%3Cpath d='m18 18 8-5 8 5-3 9H21zM65 61l7-8 9 6-3 10zM68 16q14 5 0 15q-14-10 0-15M12 70q8-8 16 0q-8 12-16 0'/%3E%3Cpath d='m45 45 3-4 3 4-3 4zM88 88h5m-2-2v5'/%3E%3C/g%3E%3C/svg%3E");pointer-events:none}.context-strip{position:relative;display:flex;align-items:center;gap:8px;background:#ffffffa6;padding:9px 28px;border-bottom:1px solid #dfe6db;color:#83917d;font-size:10px;flex-shrink:0;backdrop-filter:blur(8px)}.context-strip svg{width:13px;height:13px}.context-strip button{margin-left:auto;color:var(--accent);font-size:10px}.messages{overflow-y:auto;flex:1;padding:25px max(28px,calc((100% - 740px)/2));position:relative;scroll-behavior:smooth}.date-pill{margin:0 auto 22px;padding:5px 12px;border-radius:20px;background:#7f937a55;color:#fff;font-size:10px;width:max-content}.message-wrap{display:flex;margin-bottom:13px;flex-direction:column;align-items:flex-start}.message-wrap.out{align-items:flex-end}.bubble{position:relative;background:var(--panel);padding:12px 14px 8px;border-radius:13px 13px 13px 4px;max-width:85%;min-width:140px;line-height:1.6;font-size:13px;box-shadow:0 1px 2px #20331d12;white-space:pre-wrap;overflow-wrap:anywhere}.out .bubble{background:var(--out);border-radius:13px 13px 4px 13px}.message-meta{font-size:9px;color:#93a18a;display:flex;gap:4px;justify-content:flex-end;margin-top:4px;line-height:1.4}.message-meta svg{width:14px;height:14px;color:#70a556}.message-kind{color:#7b9372;font-size:9px;margin-bottom:4px}.compose-area{padding:10px max(24px,calc((100% - 780px)/2)) 16px;position:relative}.suggestions{display:flex;gap:6px;align-items:center;margin-bottom:9px;flex-wrap:wrap}.suggestion{background:#ffffffbd;backdrop-filter:blur(8px);border:1px solid #fff9;border-radius:16px;padding:7px 10px;font-size:10px;display:flex;align-items:center;gap:5px;color:#6f7c6b}.suggestion.ai{color:var(--accent);background:#fff}.suggestion svg{width:13px;height:13px}.composer{display:flex;align-items:flex-end;gap:7px}.input-wrap{background:var(--panel);display:flex;align-items:flex-end;flex:1;border-radius:14px;padding:6px;box-shadow:0 2px 4px #20331d0d;min-width:0}.input-wrap textarea{border:0;background:transparent;min-height:42px;max-height:160px;resize:none;flex:1;padding:11px 7px;line-height:1.5;font-size:13px;min-width:0}.input-wrap textarea:focus{outline:0}.send-btn{border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;width:50px;height:50px;flex-shrink:0;box-shadow:0 3px 8px #3390ec22}.send-btn svg{width:24px;height:24px}.compose-hint{display:flex;justify-content:space-between;gap:10px;color:#8b9785;font-size:9px;margin:8px 4px 0}.draft-label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--accent);margin-bottom:8px;background:var(--panel);padding:9px 12px;border-radius:10px}.draft-label svg{width:14px;height:14px}.draft-label button{margin-left:auto;font-size:10px}.detail-panel{background:var(--panel);width:280px;border-left:1px solid var(--line);overflow-y:auto;flex-shrink:0}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600}.profile{text-align:center;padding:27px 18px 22px}.profile .avatar{margin:auto auto 12px}.profile h2{font-size:17px;margin:0 0 5px}.profile p{font-size:11px;color:var(--muted);margin:0}.detail-section{border-top:1px solid var(--line);padding:18px}.eyebrow{text-transform:uppercase;font-size:9px;letter-spacing:1.1px;color:var(--muted);font-weight:650;margin-bottom:12px}.field-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:14px;line-height:1.4}.field-row span:first-child{color:var(--muted)}.detail-section select{width:100%;font-size:11px;margin-bottom:12px}.detail-section p{font-size:11px;line-height:1.7;color:#71808f;margin:0 0 10px}.tags{display:flex;flex-wrap:wrap;gap:5px}.tag{padding:5px 8px;border-radius:6px;background:var(--accent-soft);color:#648ab1;font-size:10px}.detail-section textarea{width:100%;font-size:11px;min-height:80px}.text-btn{color:var(--accent);font-size:11px;display:inline-flex;align-items:center;gap:5px;padding:6px 0}.text-btn svg{width:14px;height:14px}.demo-label{position:absolute;bottom:20px;right:20px;background:#ffffffd9;border:1px solid #fff;border-radius:30px;padding:6px 10px;font-size:9px;color:#94a08d;pointer-events:none}.section-sidebar{padding:25px 20px}.section-sidebar h1{font-size:23px;margin:0 0 8px;letter-spacing:-.5px}.section-sidebar>p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:28px}.side-link{width:100%;display:flex;gap:10px;align-items:center;padding:12px;border-radius:10px;font-size:12px;margin-bottom:5px;color:#7f8b98;text-align:left}.side-link.active{background:var(--accent-soft);color:var(--accent)}.side-link svg{width:18px;height:18px}.side-note{border:1px solid var(--line);padding:15px;border-radius:12px;font-size:11px;line-height:1.7;color:var(--muted);margin-top:28px}.side-note strong{display:block;color:var(--text);margin-bottom:5px}.page{overflow-y:auto;flex:1;padding:35px 38px 60px}.page-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:30px}.page-header h1{font-size:25px;font-weight:650;letter-spacing:-.7px;margin:0 0 9px}.page-header p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:var(--panel);font-size:12px;font-weight:550;white-space:nowrap}.btn svg{width:16px;height:16px}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.danger{color:var(--red)}.btn:hover{filter:brightness(.98)}.btn.small{font-size:11px;padding:7px 11px}.button-row{display:flex;gap:8px;flex-wrap:wrap}.pill{border-radius:20px;padding:5px 9px;background:var(--accent-soft);color:var(--accent);font-size:10px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.pill.green{background:#eaf6ef;color:var(--green)}.pill.amber{background:#fff5e5;color:#c28b3b}.pill.gray{background:var(--bg);color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.stat-label svg{width:17px;height:17px;color:#a8bad0}.stat-value{font-size:30px;font-weight:650;letter-spacing:-1px;margin:13px 0 8px}.stat-foot{font-size:10px;color:var(--muted)}.stat-foot b{color:var(--green);font-weight:500}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:20px}.card-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.card-heading h2{font-size:14px;margin:0;font-weight:600}.card-body{padding:22px}.two-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.muted{color:var(--muted)}.small-text{font-size:11px;line-height:1.7}.chart{height:180px;display:flex;align-items:flex-end;gap:16px;padding:24px 12px 0}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end;gap:9px}.chart-bar{width:100%;max-width:35px;background:#a9cef5;border-radius:5px 5px 0 0;min-height:4px;position:relative}.chart-bar.active{background:var(--accent)}.chart-bar span{position:absolute;top:-18px;width:100%;text-align:center;font-size:9px;color:var(--muted)}.chart-col>span{font-size:9px;color:var(--muted)}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-weight:500;color:var(--muted);font-size:10px;background:#fbfcfd}td,th{padding:16px 22px;border-bottom:1px solid var(--line);white-space:nowrap}tr:last-child td{border-bottom:0}.person-cell{display:flex;gap:10px;align-items:center}.person-cell strong{font-weight:550;font-size:12px;display:block}.person-cell span{font-size:10px;color:var(--muted);display:block;margin-top:4px}.table-wrap{overflow-x:auto}.progress-line{height:5px;background:var(--bg);border-radius:5px;overflow:hidden;margin-top:8px}.progress-line span{display:block;height:100%;background:var(--accent);border-radius:5px}.list-item{display:flex;align-items:center;gap:13px;padding:17px 22px;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.list-item>div:nth-child(2){flex:1}.list-item h3{font-size:12px;font-weight:550;margin:0 0 5px}.list-item p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}.square-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:11px;flex-shrink:0}.square-icon svg{width:20px;height:20px}.empty{text-align:center;padding:50px 20px;color:var(--muted);font-size:12px;line-height:1.8}.empty svg{width:40px;height:40px;margin-bottom:12px;color:#b9c8d9}.toggle{position:relative;width:36px;height:21px;border-radius:20px;background:#c8d2dc;display:inline-block;flex-shrink:0}.toggle.on{background:var(--accent)}.toggle:after{content:"";position:absolute;width:17px;height:17px;left:2px;top:2px;background:white;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .15s}.toggle.on:after{transform:translateX(15px)}.rule-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:18px}.rule-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.rule-head>div:nth-child(2){flex:1}.rule-head h2{font-size:14px;margin:0 0 6px}.rule-head p{font-size:11px;margin:0;color:var(--muted)}.step-line{display:flex;gap:13px;margin-left:18px;padding:0 0 18px 24px;border-left:1px dashed #d7e3ef;position:relative}.step-line:last-child{border-color:transparent;padding-bottom:0}.step-num{position:absolute;left:-12px;top:0;width:23px;height:23px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border:3px solid var(--panel);border-radius:50%;font-size:9px}.step-content{flex:1;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:13px 15px}.step-content small{font-size:9px;color:var(--accent)}.step-content p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#687b8b}.rule-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.notice{background:var(--accent-soft);border:1px solid #dbeaf8;border-radius:11px;padding:14px 17px;color:#6585a8;display:flex;gap:10px;font-size:11px;line-height:1.7;margin-bottom:23px}.notice svg{width:18px;height:18px;margin-top:1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.form-field label{font-size:11px;font-weight:550}.form-field small{font-size:10px;line-height:1.6;color:var(--muted)}.form-field textarea{min-height:110px;font-size:12px}.form-field input,.form-field select{font-size:12px}.integration-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.integration{padding:23px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.integration-logo{height:43px;display:flex;align-items:center;font-size:25px;font-weight:700;letter-spacing:-1px;margin-bottom:16px}.integration h2{font-size:14px;margin:0 0 9px}.integration p{font-size:11px;line-height:1.8;color:var(--muted);min-height:40px}.integration .button-row{justify-content:space-between;align-items:center;margin-top:20px}.account-card{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.account-card h3{font-size:14px;margin:15px 0 5px}.account-card p{font-size:11px;color:var(--muted)}.account-card .field-row{margin-top:18px;margin-bottom:0}.inbox-card{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:14px;margin-bottom:15px}.inbox-question{font-size:11px;color:var(--muted);border-left:2px solid var(--accent);padding:9px 12px;background:var(--bg);margin:16px 0;border-radius:0 6px 6px 0;line-height:1.6}.inbox-answer{font-size:13px;line-height:1.8;margin-bottom:18px;white-space:pre-wrap}.modal-overlay{position:fixed;inset:0;background:#16263866;backdrop-filter:blur(5px);display:grid;place-items:center;z-index:20;padding:20px}.modal{background:var(--panel);border:1px solid var(--line);border-radius:18px;width:min(540px,100%);max-height:88vh;overflow-y:auto;box-shadow:0 24px 100px #14223433}.modal.wide{width:min(760px,100%)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:17px;margin:0}.modal-body{padding:24px}.modal-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);background:#253649;color:white;border-radius:12px;box-shadow:var(--shadow);padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:40;max-width:90vw;line-height:1.6}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.topbar-title{font-size:13px;font-weight:550;flex:1}.demo-banner{display:flex;align-items:center;gap:6px;font-size:10px;color:#9aa5b0}.demo-banner .status-dot{background:#d9ad58}.back-mobile{display:none}.full-page{grid-column:2/4}.report-summary{font-size:13px;line-height:2}.report-summary strong{color:var(--accent)}.keyboard{font-size:9px;padding:2px 4px;border:1px solid #dce2e8;border-radius:4px;color:var(--muted)}.spacer{flex:1}.error-text{color:var(--red);font-size:12px;line-height:1.6}.live-dot{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--green)}.live-dot:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green)}
body.dark{--bg:#17212b;--panel:#202b36;--text:#e1e8ee;--muted:#8495a5;--line:#2a3643;--hover:#293745;--accent-soft:#233d55;--out:#2c5140;--chat:#15221e}body.dark .conversation{background-image:radial-gradient(ellipse at 85% 15%,#233c2b55,transparent 50%)}body.dark .context-strip,body.dark .suggestion{background:#202b36cc;border-color:var(--line)}body.dark .suggestion.ai,body.dark .draft-label{background:var(--panel)}body.dark .notice{border-color:#33495d}body.dark th{background:#23303b}body.dark .pill.green{background:#253e34}body.dark .pill.amber{background:#3c3426}body.dark .window-chip.closed{background:#402b30;border-color:#55323a}body.dark .window-chip.warning{background:#3a3428;border-color:#4c422e}body.dark .step-content p,body.dark .detail-section p{color:#a2afbb}body.dark .user-avatar{background:#30475e;color:#91b8dd}body.dark .demo-label{background:#202b36cc;border-color:var(--line)}
@media(min-width:1650px){:root{--sidebar:360px}.detail-panel{width:315px}.bubble{font-size:14px}.messages{padding-top:36px}.chat-row{min-height:86px}}
@media(max-width:1200px){:root{--sidebar:290px}.detail-panel{width:250px}.topbar{padding:0 18px}.messages{padding:23px}.compose-area{padding:10px 20px 16px}.page{padding:28px 24px}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-columns{grid-template-columns:1fr}.header-tools{gap:3px}.window-chip{padding:6px 8px;font-size:10px}}
@media(max-width:1000px){.detail-panel{position:absolute;right:0;top:76px;bottom:0;z-index:5;width:300px;box-shadow:-10px 0 30px #0001}.integration-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.demo-banner{display:none}.bubble{max-width:94%}.section-sidebar{padding:25px 14px}.page-header{flex-wrap:wrap}.page-header h1{font-size:23px}}
@media(max-width:720px){.shell{grid-template-columns:60px 1fr}.rail{padding:16px 3px 8px}.brand{width:37px;height:37px;margin-bottom:22px}.nav-btn{width:50px;font-size:8px;min-height:56px}.chat-sidebar{grid-column:2}.main{display:none;grid-column:2;grid-row:1}.shell.mobile-chat .chat-sidebar{display:none}.shell.mobile-chat .main,.shell.section-view .main{display:flex}.shell.section-view .chat-sidebar{display:none}.back-mobile{display:inline-flex}.topbar{height:68px;padding:0 12px;gap:8px}.header-tools .icon-btn.optional{display:none}.window-chip{border:0;padding:0;font-size:9px}.window-chip svg{display:none}.contact-heading strong{font-size:13px}.contact-heading span{font-size:9px}.topbar .avatar{width:34px;height:34px;font-size:11px}.messages{padding:20px 13px}.bubble{font-size:12px;padding:10px 12px}.compose-area{padding:9px 10px 13px}.compose-hint{font-size:8px}.context-strip{padding:8px 14px;font-size:9px}.detail-panel{top:68px;left:0;right:0;width:auto}.page{padding:25px 17px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-value{font-size:26px}.page-header h1{font-size:21px}.card-body{padding:17px}.card-heading{padding:17px}.rule-card{padding:17px}.rule-head p{font-size:10px}.rule-footer{gap:10px;flex-wrap:wrap}.full-page{grid-column:2}.form-grid{gap:0}.modal-body{padding:19px}.modal-header{padding:16px 19px}.modal-footer{padding:14px 19px}.suggestion{font-size:9px;padding:6px 8px}.send-btn{height:47px;width:47px}.input-wrap textarea{font-size:12px}.chart{gap:8px}.account-filter select{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Keep the message composer visible even on short laptop screens. */
.shell{grid-template-rows:minmax(0,1fr)}.rail{overflow-y:auto;scrollbar-width:none;min-height:0}.rail>*{flex-shrink:0}
@media(max-height:800px){.rail{padding-top:14px;gap:3px}.brand{margin-bottom:14px}.nav-btn{min-height:48px;gap:4px}.nav-btn svg{width:20px;height:20px}.rail-bottom{gap:3px}.rail-bottom .nav-btn{min-height:35px}.rail-bottom .icon-btn{height:30px}.rail-bottom .user-avatar{width:30px;height:30px;font-size:10px}}
@media(max-width:720px){.contact-heading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-heading span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-wrap .icon-btn:last-child{display:none}.input-wrap .icon-btn:first-child{width:28px}.input-wrap textarea{padding-left:4px;padding-right:4px}.compose-hint span:last-child{display:none}.bubble{max-width:95%}.topbar .window-chip{font-size:8px}.topbar{gap:6px}.header-tools{gap:0}}
.auth-screen{min-height:100dvh;background:radial-gradient(ellipse at 20% 20%,#dcebf9aa,transparent 50%),radial-gradient(ellipse at 90% 90%,#deebdf99,transparent 50%),var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px 20px}.auth-card{width:min(410px,100%);padding:34px 38px;background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 80px #294a6e0a}.auth-card .brand{margin:0 0 27px;width:47px;height:47px}.auth-eyebrow{font-size:8px;color:var(--muted);letter-spacing:1.4px;font-weight:650}.auth-card h1{font-size:25px;letter-spacing:-.7px;margin:11px 0}.auth-card>p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 25px}.auth-card input{width:100%;font-size:13px}.auth-card form>.btn{width:100%;margin-top:5px;justify-content:space-between;padding:12px 15px}.auth-bottom{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-top:22px}.auth-bottom svg{width:14px;height:14px}.auth-caption{font-size:10px;color:var(--muted);margin-top:22px}.setup-extra{font-size:10px;color:var(--muted);margin:0 0 16px}.setup-extra summary{cursor:pointer;margin-bottom:12px}.auth-card .error-text{margin:10px 0}.dark .auth-screen{background:var(--bg)}@media(max-width:450px){.auth-card{padding:28px 24px}.auth-screen{padding:20px 15px}.auth-card h1{font-size:23px}}
/* Product surfaces follow Telegram's restrained white/blue visual language. */
.product-site{background:#fff;color:#17212b;line-height:1.5}.product-site a{text-decoration:none}.site-nav{height:84px;max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.site-logo{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:650;color:#17212b!important;letter-spacing:-.5px}.site-logo>svg{color:#3390ec;width:31px;height:31px}.site-logo>span{border-left:1px solid #e5eaf0;padding-left:14px;margin-left:7px;font-weight:400;font-size:12px;color:#95a1ad;letter-spacing:0}.site-nav nav{display:flex;align-items:center;gap:27px;font-size:13px}.site-nav nav>a:not(.site-button){color:#6b7c8d}.site-button{display:inline-flex;gap:15px;align-items:center;justify-content:center;background:#3390ec;color:#fff!important;padding:15px 23px;border-radius:10px;font-size:14px;font-weight:550;transition:background .15s}.site-button:hover{background:#2382df}.site-button.small{padding:10px 17px;font-size:12px}.site-secondary{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#3390ec}.site-secondary svg{width:16px;height:16px}.site-hero{padding:68px 28px 0;text-align:center;overflow:hidden}.site-kicker{font-size:10px;letter-spacing:1.9px;color:#8a9bae;font-weight:550}.site-hero h1{font-size:76px;line-height:1.08;letter-spacing:-3.5px;font-weight:650;margin:23px 0}.site-hero h1 span{color:#3390ec}.site-hero>p{font-size:17px;line-height:1.8;color:#81909f;margin:0 auto;max-width:570px}.hero-actions{display:flex;gap:25px;justify-content:center;align-items:center;margin:29px 0 14px}.site-footnote{display:block;color:#9aa8b5;font-size:11px}.product-preview{max-width:1010px;margin:53px auto 0;border:1px solid #e5ebf1;border-radius:15px 15px 0 0;box-shadow:0 18px 65px #274e7d12;text-align:left;overflow:hidden}.preview-bar{height:37px;background:#fafbfc;display:flex;align-items:center;gap:6px;padding:0 15px;border-bottom:1px solid #edf0f3}.preview-bar i{width:7px;height:7px;background:#dfe5eb;border-radius:50%}.preview-bar>span{font-size:9px;color:#a4afba;margin-left:auto;margin-right:auto}.preview-workspace{display:grid;grid-template-columns:310px 1fr;height:410px}.preview-workspace aside{background:#fff;border-right:1px solid #edf0f3;padding:16px 9px}.preview-workspace h3{font-size:18px;display:flex;justify-content:space-between;align-items:center;padding:0 11px;margin:2px 0 15px}.preview-workspace h3 svg{width:18px;color:#99a7b6}.preview-search{border-radius:22px;background:#f4f5f7;color:#9aa6b2;font-size:11px;padding:9px 16px;margin:0 6px 13px}.preview-folders{display:flex;gap:22px;font-size:10px;color:#3390ec;padding:0 16px 12px}.preview-folders span{color:#8d9ba8}.preview-person{display:flex;align-items:center;gap:10px;padding:12px 9px;border-radius:10px}.preview-person.chosen{background:#3390ec;color:white}.preview-avatar{width:39px;height:39px;border-radius:50%;background:#8ba7cf;display:grid;place-items:center;color:white;font-size:13px;font-weight:500;flex-shrink:0}.p1{background:#b596c4}.p2{background:#85aca3}.p3{background:#ceac8a}.preview-person>div{min-width:0;flex:1}.preview-person strong{font-size:11px;display:block;font-weight:550}.preview-person p{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:5px 0 0;color:#9aa5b0}.preview-person.chosen p{color:#e1edfa}.preview-person>small{font-size:8px;align-self:flex-start;margin-top:3px}.preview-contact{height:65px;display:flex;gap:10px;align-items:center;padding:0 22px;background:#fff}.preview-contact>div{flex:1}.preview-contact strong{display:block;font-size:12px}.preview-contact small{font-size:9px;color:#9aa8b5;display:block;margin-top:3px}.preview-contact>svg{color:#9ba8b6}.preview-history{height:345px;background:#e8efe5;padding:15px 35px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.preview-day{align-self:center;background:#bbc9b6;color:white;font-size:9px;border-radius:20px;padding:3px 10px}.preview-bubble{background:#fff;border-radius:12px 12px 12px 3px;font-size:11px;padding:9px 12px;max-width:82%;line-height:1.5}.preview-bubble small{display:block;text-align:right;font-size:8px;color:#92a18b;margin-top:3px}.preview-bubble.outgoing{background:#e2ffc7;align-self:flex-end;border-radius:12px 12px 3px 12px}.preview-assistant{font-size:10px;color:#5394d1;display:flex;align-items:center;gap:6px;background:#ffffffd9;border-radius:20px;padding:7px 12px;margin-top:auto}.preview-assistant svg{width:13px;height:13px}.preview-compose{background:#fff;border-radius:11px;padding:12px 14px;font-size:10px;color:#8999a8;width:100%;display:flex;align-items:center;justify-content:space-between}.preview-compose svg{color:#3390ec;width:18px;height:18px}.site-section{padding:100px 28px;max-width:1100px;margin:auto;text-align:center}.product-site h2{font-size:38px;letter-spacing:-1.2px;line-height:1.25;font-weight:600;margin:18px 0 25px}.feature-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;margin-top:54px;text-align:left}.feature-icon{color:#3390ec;margin-bottom:20px}.feature-icon svg{width:31px;height:31px;stroke-width:1.4}.feature-columns h3{font-size:18px;font-weight:550;margin:0 0 12px;letter-spacing:-.3px}.feature-columns p,.workflow-section p{font-size:14px;line-height:1.85;color:#8796a4;margin:0}.workflow-section{background:#f5f9fd;border-top:1px solid #ebf1f7;border-bottom:1px solid #ebf1f7;padding:70px max(28px,calc((100% - 1000px)/2));display:grid;grid-template-columns:1fr 1fr;gap:70px}.workflow-section .site-secondary{margin-top:23px}.workflow-section ol{padding:0;margin:14px 0 0;list-style:none}.workflow-section li{display:flex;gap:20px;margin-bottom:31px;align-items:flex-start}.workflow-section li>span{width:35px;height:35px;border-radius:50%;color:#3390ec;background:#e4f0fc;display:grid;place-items:center;font-size:13px;flex-shrink:0}.workflow-section h3{font-size:16px;font-weight:550;margin:3px 0 8px}.workflow-section li p{font-size:13px}.site-final{text-align:center;padding:85px 25px}.final-symbol{width:76px;height:76px;background:#3390ec;color:white;border-radius:50%;display:grid;place-items:center;margin:auto auto 25px}.final-symbol svg{width:37px;height:37px}.site-final h2{font-size:34px;margin-bottom:13px}.site-final p{color:#8c9baa;font-size:14px;margin-bottom:25px}.site-final>span{display:block;color:#9aa5af;font-size:12px;margin-top:19px}.site-footer{border-top:1px solid #edf0f3;padding:25px 28px;max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#98a6b3}.site-footer .site-logo{font-size:18px}.site-footer .site-logo svg{width:24px;height:24px}
.auth-screen{background:var(--panel);padding:65px 24px 40px;justify-content:flex-start}.auth-card{border:0;box-shadow:none;border-radius:0;padding:15px 12px;width:min(370px,100%)}.auth-card .brand{border-radius:50%;width:100px;height:100px;margin:0 auto 29px;box-shadow:none}.auth-card .brand svg{width:48px;height:48px;stroke-width:1.35}.auth-eyebrow{display:none}.auth-card h1{text-align:center;font-size:29px;line-height:1.25;margin:0 0 14px;letter-spacing:-.5px;font-weight:550}.auth-card>p{text-align:center;font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:31px}.auth-card .form-field{position:relative;gap:0;margin-bottom:22px}.auth-card .form-field label{position:absolute;left:12px;top:-7px;background:var(--panel);padding:0 5px;font-size:11px;color:var(--muted);z-index:1}.auth-card input{border-color:#d7dfe6;min-height:54px;border-radius:11px;font-size:15px;padding:16px}.auth-card input:focus{outline:0;border:2px solid var(--accent);padding:15px}.auth-card .form-field:focus-within label{color:var(--accent)}.auth-card form>.btn{min-height:53px;text-transform:uppercase;letter-spacing:.5px;justify-content:center;border-radius:10px;font-size:13px;font-weight:550}.auth-card form>.btn svg{display:none}.auth-bottom{justify-content:center;font-size:10px;margin-top:20px}.auth-switch{display:block;text-align:center;margin-top:22px;font-size:13px}.auth-home{position:absolute;left:30px;top:25px;font-size:12px;color:var(--muted);text-decoration:none}.auth-caption{font-size:10px;margin-top:28px}.setup-extra .form-field{margin-top:20px}.shell{--accent:#3390ec}.brand{box-shadow:none;border-radius:50%}.chat-row{border-radius:9px}.sidebar-heading h1{font-weight:600}.nav-btn{border-radius:10px}.dark .auth-card input{border-color:var(--line)}
@media(max-width:720px){.site-nav{height:70px;padding:0 20px}.site-logo{font-size:21px}.site-logo>span,.site-nav nav>a[href^="#"]{display:none}.site-nav nav{gap:14px}.site-hero{padding:40px 20px 0}.site-hero h1{font-size:54px;letter-spacing:-2px}.site-hero>p{font-size:15px}.hero-actions{flex-direction:column;gap:18px}.product-preview{margin-top:35px;width:650px;max-width:none;transform:translateX(calc((100vw - 690px)/2));pointer-events:none}.preview-workspace{grid-template-columns:235px 1fr;height:380px}.preview-person{gap:7px;padding:12px 5px}.preview-history{padding:15px 20px}.site-section{padding:65px 25px}.product-site h2{font-size:29px;letter-spacing:-.8px}.feature-columns{grid-template-columns:1fr;gap:33px;margin-top:35px}.feature-columns article{display:grid;grid-template-columns:40px 1fr;column-gap:17px}.feature-icon{grid-row:1/3;margin:0}.feature-columns h3{font-size:17px}.feature-columns p{font-size:13px}.workflow-section{grid-template-columns:1fr;gap:35px;padding:55px 25px}.site-final{padding:60px 20px}.site-footer{flex-wrap:wrap;padding:24px}.site-footer>span{order:3;width:100%}.auth-screen{padding-top:65px}.auth-home{left:20px;top:20px}.auth-card .brand{width:87px;height:87px;margin-bottom:25px}.auth-card h1{font-size:26px}.auth-card>p{font-size:13px}}
.actual-preview{margin-bottom:0;border-radius:15px;background:white;line-height:0}.actual-preview img{width:100%;height:auto;display:block}.actual-preview figcaption{font-size:10px;color:#93a1ae;line-height:1.6;padding:12px;text-align:center}.onboarding{margin:auto;max-width:520px}.onboarding>svg{width:60px;height:60px;color:var(--accent)}.onboarding h1{font-size:23px;color:var(--text);line-height:1.4;letter-spacing:-.5px}.onboarding .button-row{justify-content:center;margin-top:24px}.auth-screen:has(#company-name){padding-top:35px}.auth-screen:has(#company-name) .brand{width:70px;height:70px;margin-bottom:22px}.auth-screen:has(#company-name) .brand svg{width:37px;height:37px}.auth-screen:has(#company-name) .auth-card>p{margin-bottom:25px}.auth-screen:has(#company-name) .form-field{margin-bottom:19px}@media(max-width:720px){.actual-preview{width:100%;max-width:100%;transform:none}.actual-preview img{min-width:0}.actual-preview figcaption{font-size:9px}.auth-screen:has(#company-name){padding-top:65px}}
.screen-details{margin:40px auto 0;max-width:810px;text-align:left;border-top:1px solid #edf0f3;padding-top:22px}.screen-details summary{cursor:pointer;color:#3390ec;font-size:14px;list-style-position:inside}.screen-details figure{margin:20px 0 0;border:1px solid #edf0f3;overflow:hidden;border-radius:12px}.screen-details img{width:100%;height:auto;display:block}.screen-details figcaption{font-size:10px;line-height:1.6;text-align:center;padding:12px;color:#93a1ae}

.section-title{font-size:18px;margin:26px 0 16px}.connection-steps{padding-left:24px;line-height:1.5}.connection-steps li{padding:6px 0 6px 8px}.connection-steps p{margin:5px 0;color:var(--text-secondary,#8795a5);font-size:13px}

.message-photo{display:block;margin:0 0 8px;border-radius:12px;overflow:hidden}.message-photo img{display:block;max-width:100%;max-height:360px;object-fit:contain}.message-voice{display:flex;flex-direction:column;gap:8px;margin:4px 0 10px;font-size:12px}.message-voice audio{max-width:100%;width:280px;height:36px}.message-document{display:flex;align-items:center;gap:12px;padding:10px 0;color:inherit;text-decoration:none}.message-document>span{flex:1;overflow-wrap:anywhere}.message-document small{display:block;opacity:.65;margin-top:3px}
.message-photo{width:360px;max-width:100%;aspect-ratio:16/9}.message-photo img{width:100%;height:100%;max-height:none;object-fit:contain}

/* Public subscription offer; checkout is handled by the manager. */
.pricing-section{scroll-margin-top:28px}.pricing-intro{color:#8796a4;font-size:15px;line-height:1.7}.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:900px;margin:38px auto 0;text-align:left}.pricing-card{border:1px solid #e4edf5;border-radius:24px;padding:32px;background:#fff;display:flex;flex-direction:column;min-width:0}.pricing-card-year{border-color:#3390ec;background:#f5faff}.pricing-label{font-size:12px;color:#6c8296}.pricing-card h3{font-size:22px;margin:14px 0 24px;font-weight:600;letter-spacing:-.5px}.pricing-amount{font-size:42px;line-height:1.1;font-weight:650;letter-spacing:-1.5px;white-space:nowrap}.pricing-amount>span{display:block;margin-top:12px;color:#7c8c9b;font-size:13px;font-weight:400;letter-spacing:0;white-space:normal}.pricing-card ul{list-style:none;padding:0;margin:28px 0;flex:1}.pricing-card li{padding:8px 0;font-size:14px;line-height:1.5;color:#52677a}.pricing-card li:before{content:'✓';color:#3390ec;margin-right:10px}.pricing-card .site-button{justify-content:center;text-align:center;line-height:1.4}.pricing-note{font-size:12px;line-height:1.6;color:#8796a4;margin:15px 0 0}.pricing-disclaimer{font-size:12px;line-height:1.8;color:#8796a4;margin:23px auto 0;max-width:700px}.pricing-disclaimer a{color:#3390ec}@media(max-width:720px){.pricing-grid{grid-template-columns:1fr;gap:18px}.pricing-card{padding:26px}.pricing-amount{font-size:38px}.pricing-card h3{font-size:21px}}

.subscription-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;background:#edf6ff;color:#477392;font-size:12px;flex-shrink:0;border-bottom:1px solid #dcebf7}.subscription-expired{background:#fff3e5;color:#9c6e34}.subscription-banner .text-btn{white-space:nowrap}.monthly-pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:35px auto 0;text-align:left;max-width:900px}.monthly-pricing article{border:1px solid #e4edf5;border-radius:20px;padding:26px 23px}.monthly-pricing h3{font-size:19px;margin:0 0 22px}.monthly-pricing strong{font-size:28px;font-weight:600;white-space:nowrap}.monthly-pricing strong span{font-size:13px;font-weight:400;color:#8796a4}.monthly-pricing p{color:#7c8c9b;font-size:13px;margin:12px 0 23px}.monthly-pricing .site-secondary{font-size:12px;line-height:1.7}.monthly-pricing .site-secondary svg{width:15px}@media(max-width:720px){.monthly-pricing{grid-template-columns:1fr;gap:15px}.subscription-banner{padding:9px 12px;font-size:10px;align-items:flex-start}.subscription-banner .text-btn{font-size:10px}}
