:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body,html{width:100%;height:100%;overflow:hidden}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.telegram-crm{display:flex;flex-direction:column;height:100vh;width:100vw;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;position:fixed;top:0;left:0;right:0;bottom:0}.crm-header{background-color:#08c;color:#fff;padding:1rem;display:flex;justify-content:space-between;align-items:center;height:60px}.mode-toggle{display:flex;align-items:center}.mode-toggle label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.crm-content{display:flex;flex:1;overflow:hidden}.groups-sidebar{width:300px;background-color:#f5f5f5;border-right:1px solid #ddd;overflow-y:auto;padding:1rem}.groups-sidebar h2{margin-top:0;margin-bottom:1rem}.groups-sidebar ul{list-style:none;padding:0;margin:0}.groups-sidebar li{padding:.75rem;border-radius:4px;margin-bottom:.5rem;cursor:pointer;transition:background-color .2s}.groups-sidebar li:hover{background-color:#e0e0e0}.groups-sidebar li.selected{background-color:#0088cc20}.group-name{font-weight:700}.group-members{font-size:.8rem;color:#666}.selected-groups{margin-bottom:1rem;background-color:#f8f9fa;border-radius:8px;padding:1rem}.selected-groups-content{display:flex;flex-direction:column;gap:1rem}.group-notes{background-color:#fff;padding:1rem;border-radius:6px;border:1px solid #e0e0e0}.group-notes h3{margin-bottom:.5rem;color:#333}.notes-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.save-status{font-size:.8rem;padding:.25rem .5rem;border-radius:4px;animation:fadeIn .3s ease-in-out}.save-status.saving{background-color:#fff3cd;color:#856404}.save-status.saved{background-color:#d4edda;color:#155724}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.notes-textarea{width:100%;min-height:100px;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-family:inherit;resize:vertical;background-color:#fff;line-height:1.5}.notes-textarea:focus{outline:none;border-color:#08c;box-shadow:0 0 0 2px #08c3}.selected-groups-card{margin-bottom:16px;padding:12px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d}.selected-groups-card .ant-list{padding:8px 0}.selected-groups-card .ant-list-item{padding:8px!important;margin:4px;background:#f6f8fa;border-radius:6px;border:1px solid #e8eaed;transition:all .3s ease}.selected-groups-card .ant-list-item:hover{background:#f0f2f5;transform:translateY(-1px)}.selected-groups-card .ant-space{padding:8px}.selected-groups-card .ant-typography{margin:0}.selected-groups-card .ant-list-grid .ant-list-item{margin-bottom:8px}.selected-groups-card .ant-card-body{padding:12px}.selected-groups-card .ant-list-empty-text{padding:16px;text-align:center;color:#8c8c8c}.message-card{position:sticky;bottom:0;margin-top:auto;background-color:#fff;border-top:1px solid #e0e0e0;z-index:1}.message-container{display:flex;gap:16px;align-items:flex-start}.message-input-wrapper{flex:1;display:flex;flex-direction:column;gap:8px}.notes-wrapper{width:300px;border-left:1px solid #e0e0e0;padding-left:16px;position:relative}.notes-input-container{display:flex;align-items:flex-start;gap:8px}.notes-input-container .ant-input{flex:1}.notes-input-container .ant-btn{min-width:100px}.message-card .ant-input{border-radius:12px;resize:none;padding:12px 16px;font-size:14px;border:1px solid #e0e0e0;background-color:#f5f7fb;min-height:44px;max-height:44px;width:100%;line-height:20px}.notes-wrapper .ant-input{background-color:#fff;border-radius:8px;min-height:44px;height:60px;font-size:14px;resize:none}.notes-wrapper .ant-input:focus{border-color:#08c;box-shadow:none}.message-card .ant-btn-primary{align-self:flex-end;border-radius:8px;height:44px}.group-header{padding:12px 16px;background-color:#fff;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;gap:8px}.main-content{position:relative;height:calc(100vh - 60px);overflow:hidden;background-color:#fff;display:flex;flex-direction:column}.ant-menu-item{white-space:normal!important;height:auto!important}.ant-layout-sider{background:#fff!important}.ant-menu-item.ant-menu-item-selected{background-color:#e6f7ff!important}.ant-menu-item:hover{background-color:#f5f5f5!important}.ant-switch{background-color:#ffffff4d!important;gap:10px}.ant-switch.ant-switch-checked{background-color:#1890ff!important}.notes-display{margin-top:16px;max-height:300px;overflow-y:auto}.note-item{margin-bottom:8px;background-color:#f5f7fb;border-radius:8px}.note-item .ant-card-body{padding:12px}.note-timestamp{display:block;font-size:12px;margin-top:4px}.groups-sider{background:#fff;border-right:1px solid #f0f0f0;overflow-y:auto}.groups-list{padding:12px}.group-item{cursor:pointer;padding:8px 12px;border-radius:4px;transition:background-color .3s}.group-item:hover{background-color:#f5f5f5}.group-item.selected{background-color:#e6f7ff}
