/* Cielocarta Chat UI 2.0 — scoped to the chat only. Functional controls map to real backend features. */
.cc-chat-page{
  --cc-ink:#18233b;
  --cc-muted:#6f7585;
  --cc-paper:#fffefa;
  --cc-paper-2:#fbf8f3;
  --cc-line:#e8e2da;
  --cc-violet:#6653c8;
  --cc-violet-dark:#4f3fb4;
  --cc-violet-soft:#eeeafd;
  --cc-violet-softer:#f6f3ff;
  --cc-gold:#b9873e;
  --cc-green:#3ca56d;
  --cc-shadow:0 18px 55px rgba(34,28,55,.08);
}
.cc-chat-page .page-head{margin-bottom:18px}
.cc-chat-page .page-head p{font-size:15px!important;line-height:1.55!important}
.cc-chat{display:grid;grid-template-columns:300px minmax(0,1fr);width:100%;min-width:0;height:calc(100dvh - 270px);min-height:720px;border:1px solid var(--cc-line);border-radius:28px;overflow:hidden;background:var(--cc-paper);box-shadow:var(--cc-shadow)}
.cc-chat *{box-sizing:border-box}
.cc-chat [hidden]{display:none!important}
.cc-chat button,.cc-chat select,.cc-chat input,.cc-chat textarea{font-family:inherit!important;letter-spacing:normal;line-height:1.4;text-transform:none;color:var(--cc-ink);font-size:14px}
.cc-chat button{cursor:pointer}
.cc-chat button:focus-visible,.cc-chat select:focus-visible,.cc-chat input:focus-visible,.cc-chat textarea:focus-visible{outline:3px solid rgba(102,83,200,.28)!important;outline-offset:2px!important}
.cc-chat button:disabled{opacity:.5;cursor:not-allowed}

/* Inbox/sidebar */
.cc-chat-sidebar{padding:22px 16px 16px;background:linear-gradient(180deg,#fbf8ff 0,#faf7f2 58%,#f7f3ec 100%);border-right:1px solid var(--cc-line);display:flex;flex-direction:column;min-width:0;overflow:hidden}
.cc-chat-sidebar-brand{display:flex;align-items:center;gap:11px;padding:3px 6px 17px}
.cc-chat-brand-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:15px;background:linear-gradient(145deg,#5e4bbb,#806ce0);color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:21px;box-shadow:0 8px 22px rgba(102,83,200,.24)}
.cc-chat-sidebar-brand b{display:block;font-family:Georgia,'Times New Roman',serif;font-size:20px;font-weight:500;color:var(--cc-ink)}
.cc-chat-sidebar-brand small{display:block;margin-top:2px;font-size:11px;color:var(--cc-muted)}
.cc-chat-project-search{height:42px;display:flex;align-items:center;gap:8px;margin:0 4px 15px;padding:0 13px;border:1px solid #e4dff0;background:rgba(255,255,255,.8);border-radius:16px;color:#736aa0}
.cc-chat-project-search input{border:0!important;outline:0!important;background:transparent!important;width:100%;min-width:0;padding:0!important;box-shadow:none!important;font-size:12px!important}
.cc-chat-project-search input::placeholder{color:#8b8798;opacity:1}
.cc-chat-projects{display:flex;flex-direction:column;gap:4px;overflow:auto;padding:0 2px 8px;scrollbar-width:thin}
.cc-chat-project{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;text-align:left;gap:10px;padding:10px 9px;border:1px solid transparent;border-radius:17px;background:transparent!important;min-width:0;transition:.15s ease}
.cc-chat-project:hover{background:rgba(255,255,255,.64)!important}
.cc-chat-project.is-selected{background:#fff!important;border-color:#e4dff0;box-shadow:0 8px 24px rgba(63,50,107,.07)}
.cc-chat-project-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#eee9ff,#dfd6ff);color:var(--cc-violet-dark);font-weight:800;font-size:12px;border:1px solid #d9cffb}
.cc-chat-project.is-selected .cc-chat-project-avatar{background:linear-gradient(145deg,#6754c9,#7f6ce0);color:#fff;border-color:transparent}
.cc-chat-project-copy{min-width:0}
.cc-chat-project b{display:block;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-chat-project small{display:block;margin-top:4px;font-size:10px;color:var(--cc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-chat-project em,.cc-chat-tabs em{font-style:normal;font-size:10px;min-width:22px;height:22px;display:grid;place-items:center;background:var(--cc-violet);color:#fff;border-radius:999px;padding:0 6px;margin-left:auto}
.cc-chat-sidebar-note{margin-top:auto;padding:15px 8px 3px;color:var(--cc-muted);font-size:10px;line-height:1.55;border-top:1px solid rgba(219,211,199,.75)}
.cc-chat-sidebar-note b{color:#4e5363}

/* Conversation header */
.cc-chat-main{min-width:0;position:relative;display:flex;flex-direction:column;background:linear-gradient(180deg,#fffefb 0,#fbfaf7 100%);height:100%;overflow:hidden}
.cc-chat-heading{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--cc-line);background:rgba(255,255,255,.92);backdrop-filter:blur(12px);flex-shrink:0}
.cc-chat-heading-project{display:flex;align-items:center;gap:12px;min-width:0}
.cc-chat-heading-avatar{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:16px;background:linear-gradient(145deg,#ede8ff,#d8cdfa);color:var(--cc-violet-dark);font-weight:800;border:1px solid #d9cff5}
.cc-chat-heading-project>div{min-width:0}
.cc-chat-overline{display:block;font-size:9px;font-weight:800;color:#9a93ad;letter-spacing:.14em;margin-bottom:2px}
.cc-chat-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:23px!important;line-height:1.2!important;font-weight:500!important;margin:0!important;color:var(--cc-ink)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw}
.cc-chat-heading p{font-size:10px!important;color:var(--cc-muted)!important;margin:4px 0 0!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-chat-sync-dot{padding:0 5px;color:#bbb4c6}
.cc-chat-refresh{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:1px solid #e5dfef;border-radius:14px;background:#fff!important;color:var(--cc-violet)!important;font-size:18px!important;padding:0!important;transition:.15s ease}
.cc-chat-refresh:hover:not(:disabled){background:var(--cc-violet-softer)!important;transform:rotate(12deg)}
.cc-chat-mobile-project{display:none}

/* Channels + participants */
.cc-chat-tabs{display:flex;gap:7px;padding:12px 18px 4px;flex-wrap:wrap;flex-shrink:0;background:#fffefb}
.cc-chat-tabs button{min-height:38px;padding:8px 13px;border:1px solid #e6e1ea;border-radius:999px;background:#fff!important;font-size:11px!important;font-weight:700;display:flex;align-items:center;gap:7px;color:#5d6170!important}
.cc-chat-tabs button.is-selected{background:linear-gradient(135deg,#6653c8,#7a66db)!important;color:#fff!important;border-color:transparent;box-shadow:0 8px 18px rgba(102,83,200,.2)}
.cc-chat-tabs button.is-selected em{background:#fff;color:var(--cc-violet)}
.cc-chat-scope{margin:7px 18px 0;padding:10px 12px 11px;border:1px solid #ece7ef;border-radius:15px;background:#fbf9ff;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0}
.cc-chat-scope>div:first-child{min-width:0}
.cc-chat-scope>div:first-child>b{font-size:10px;color:#6d63a5;letter-spacing:.04em}
.cc-chat-scope>div:first-child>p{font-size:10px!important;color:#6b6f7c!important;margin:2px 0 0!important;line-height:1.35!important;max-width:430px}
.cc-chat-private{background:#fff9f1;border-color:#efe2cf}
.cc-chat-private>div:first-child>b{color:#8b6231}
.cc-chat-people{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:max-content}
.cc-chat-person{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--cc-ink);padding:3px 8px 3px 3px;background:#fff;border:1px solid #e9e4eb;border-radius:999px;max-width:180px}
.cc-chat-person>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-chat-person small{display:none}
.cc-chat-person-initials{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:50%;font-size:8px;font-weight:800;background:#eee9ff;color:#5848b2}
.cc-chat-person.is-client .cc-chat-person-initials{background:#fff0df;color:#9a6325}
.cc-chat-person.is-cielocarta .cc-chat-person-initials{background:#ece7ff;color:#4f3fb4}
.cc-chat-person.is-collaborator .cc-chat-person-initials{background:#e8f2ef;color:#2f7560}

/* Search */
.cc-chat-search-row{padding:9px 18px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.cc-chat-search-row label{height:36px;flex:1;min-width:0;max-width:380px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #e8e2ea;background:#fff;border-radius:13px;color:#837b96}
.cc-chat-search-row input{width:100%;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;font-size:11px!important;outline:0!important}
.cc-chat-search-row input::placeholder{color:#92909a;opacity:1}
.cc-chat-older{border:0;background:transparent!important;color:#6255a6!important;font-size:10px!important;text-decoration:none;padding:6px 0!important}

/* Message thread */
.cc-chat-log{flex:1;height:auto;min-height:150px;overflow:auto;overscroll-behavior:contain;padding:12px 18px 22px;background:linear-gradient(180deg,#faf8f5 0,#f7f4f0 100%);display:flex;flex-direction:column;gap:13px;scrollbar-gutter:stable;scrollbar-width:thin}
.cc-chat-date{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0;color:#9b98a0;font-size:9px}
.cc-chat-date:before,.cc-chat-date:after{content:'';height:1px;background:#e3ddd7;flex:1;max-width:75px}
.cc-thread-row{display:flex;align-items:flex-end;gap:8px;max-width:82%;align-self:flex-start;min-width:0;flex-shrink:0}
.cc-thread-row.is-mine{align-self:flex-end;flex-direction:row-reverse}
.cc-chat-avatar{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:50%;font-size:9px;font-weight:800;background:#e8f2ef;color:#2c6b5a;border:1px solid rgba(35,90,75,.08)}
.cc-thread-row.is-client .cc-chat-avatar{background:#fff0df;color:#9a6325}
.cc-thread-row.is-cielocarta .cc-chat-avatar{background:linear-gradient(145deg,#5949ae,#7562d1);color:#fff;border:0}
.cc-thread-row.is-mine .cc-chat-avatar{background:linear-gradient(145deg,#6653c8,#816de0);color:#fff;border:0}
.cc-chat-bubble-wrap{min-width:0;max-width:100%}
.cc-chat-message-meta{display:flex;align-items:flex-end;justify-content:flex-start;gap:8px;margin:0 0 4px;color:#626775!important;line-height:1.2;padding:0 3px}
.cc-thread-row.is-mine .cc-chat-message-meta{justify-content:flex-end}
.cc-chat-message-meta b{font-size:10px;font-weight:800;color:#5b4fb0!important}
.cc-thread-row.is-client .cc-chat-message-meta b{color:#9b6225!important}
.cc-thread-row.is-cielocarta .cc-chat-message-meta b{color:#5041a7!important}
.cc-chat-message-meta small{display:inline!important;font-size:9px!important;color:#8b8794!important;margin-left:4px}
.cc-chat-message-meta time{font-size:9px;color:#aaa6ae!important;white-space:nowrap;margin-left:auto}
.cc-thread-row.is-mine .cc-chat-message-meta time{margin-left:0;order:-1}
.cc-chat-message{border:1px solid #ece7e2;background:#fff!important;color:var(--cc-ink)!important;max-width:100%;padding:10px 12px;border-radius:18px 18px 18px 5px;box-shadow:0 5px 16px rgba(54,44,72,.035)}
.cc-thread-row.is-mine .cc-chat-message{background:linear-gradient(135deg,#e9e3ff,#f0ecff)!important;border-color:#ded5ff;border-radius:18px 18px 5px 18px}
.cc-thread-row.is-cielocarta:not(.is-mine) .cc-chat-message{background:#fff!important;border-color:#e7e1ec}
.cc-chat .cc-chat-body{font-family:inherit!important;font-size:13px!important;line-height:1.52!important;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;color:#253044!important;margin:0!important}
.cc-chat-sent{display:block;font-size:8px;color:#79758a;text-align:right;margin:3px 6px 0}
.cc-chat-file{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:8px;margin-top:9px;border:1px solid #e4def2!important;background:rgba(255,255,255,.72)!important;padding:8px 9px;border-radius:13px!important;text-align:left;font-size:10px!important;box-shadow:none!important}
.cc-chat-file-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eee9ff;color:#5b49b9;font-size:16px}
.cc-chat-file>span:nth-child(2){min-width:0}
.cc-chat-file b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#28324a}
.cc-chat-file small{display:block;margin-top:2px;color:#898593;font-size:8px;text-transform:capitalize}
.cc-chat-file-open{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#f4f0ff;color:#604dc2;font-size:14px}
.cc-chat-file-unavailable{display:block;font-size:9px;margin-top:8px;color:#8a6240}
.cc-chat-message-tools{display:flex;gap:10px;margin:4px 5px 0;opacity:.65}
.cc-chat-message-tools button{border:0;background:transparent!important;font-size:8px!important;color:#8a8690!important;padding:1px 0!important;text-decoration:none}
.cc-chat-message-tools button:hover{text-decoration:underline}
.cc-chat-empty{margin:auto;max-width:340px;padding:34px 14px;text-align:center;color:#7c7985}
.cc-chat-empty>span{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 12px;border-radius:18px;background:#eee9ff;color:#6755c4;font-size:24px}
.cc-chat-empty h3{font-family:Georgia,'Times New Roman',serif;font-size:20px!important;color:#2f3547!important;font-weight:500;line-height:1.3;margin:0 0 7px}
.cc-chat-empty p{font-size:11px;line-height:1.55;margin:0}
.cc-chat-jump{position:absolute;right:24px;bottom:118px;background:#fff!important;color:#5d4dbc!important;box-shadow:0 8px 22px rgba(52,43,83,.14);border:1px solid #e0daf2;border-radius:999px;padding:7px 12px;font-size:9px!important;z-index:3}
.cc-chat-load-error{margin:0;padding:0 18px;font-size:10px;color:#8f4d32;line-height:1.45;flex-shrink:0}.cc-chat-load-error:not(:empty){padding-top:7px;padding-bottom:7px;background:#fff4eb}

/* Composer — every control is functional */
.cc-chat-compose{padding:10px 14px 11px;border-top:1px solid var(--cc-line);margin:0;background:rgba(255,255,255,.96);flex-shrink:0}
.cc-chat-compose-label{display:block;font-size:9px;font-weight:800;color:#716c7d;margin:0 0 5px 4px}
.cc-chat-compose-bar{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) 43px;align-items:end;gap:7px;border:1px solid #e3deea;background:#fff;border-radius:18px;padding:5px 5px 5px 7px;box-shadow:0 5px 18px rgba(51,42,72,.045)}
.cc-chat #cc-chat-text{font-size:13px!important;line-height:1.45!important;border:0!important;background:transparent!important;color:#243044!important;min-height:38px;height:38px;width:100%;padding:10px 4px 7px!important;border-radius:0!important;resize:none;max-height:120px;margin:0;box-shadow:none!important;outline:0!important}
.cc-chat #cc-chat-text::placeholder{color:#aaa6b0;opacity:1}
.cc-chat-attachments{position:relative;align-self:end}
.cc-chat-attachments>summary{list-style:none;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:#5f54a4;font-size:20px;cursor:pointer;user-select:none}
.cc-chat-attachments>summary::-webkit-details-marker{display:none}
.cc-chat-attachments[open]>summary{background:#f0ecff;color:#5b49b8}
.cc-chat-attachment-popover{position:absolute;left:0;bottom:47px;width:min(360px,72vw);padding:12px;background:#fff;border:1px solid #e6e0ed;border-radius:16px;box-shadow:0 16px 44px rgba(47,39,70,.16);z-index:10}
.cc-chat-attachment-popover:after{content:'';position:absolute;left:18px;bottom:-6px;width:11px;height:11px;background:#fff;border-right:1px solid #e6e0ed;border-bottom:1px solid #e6e0ed;transform:rotate(45deg)}
.cc-chat-attachment-row{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:end}
.cc-chat-attachment-row label{grid-column:1/-1;font-size:9px;font-weight:750;color:#666172}
.cc-chat-attachment-row select{min-width:0;width:100%;border:1px solid #e1dce5!important;padding:8px 9px!important;background:#fff!important;font-size:10px!important;border-radius:10px!important}
.cc-chat-manage-files{border:0!important;background:#f4f0ff!important;border-radius:10px!important;font-size:9px!important;text-decoration:none!important;padding:9px 10px!important;color:#5b49b8!important;white-space:nowrap}
.cc-chat-attachment-popover>p{font-size:8px!important;color:#8b8791!important;line-height:1.4!important;margin:8px 0 0!important}
.cc-chat-send{width:43px;height:43px!important;min-height:43px;display:grid!important;place-items:center;padding:0!important;border:0!important;border-radius:50%!important;background:linear-gradient(135deg,#6653c8,#806be0)!important;color:#fff!important;font-size:16px!important;box-shadow:0 7px 17px rgba(102,83,200,.27);transition:.15s ease}
.cc-chat-send:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 21px rgba(102,83,200,.32)}
.cc-chat-send-loading{font-size:18px;letter-spacing:2px}
.cc-chat-compose-meta{display:flex;justify-content:space-between;gap:10px;padding:5px 5px 0;font-size:8px;color:#a09ba6;line-height:1.35}
.cc-chat-compose-meta small{font-size:8px;color:#aaa6ae}
.cc-chat-mobile-hint{display:none}
.cc-chat-send-status{font-size:9px;color:#426c50;line-height:1.4;margin:4px 5px 0;min-height:0}.cc-chat-send-status:empty{display:none}
.cc-chat-team-entry{margin:20px 0}
.cc-chat-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:1100px){
 .cc-chat{grid-template-columns:245px minmax(0,1fr)}
 .cc-chat-sidebar{padding-left:12px;padding-right:12px}
 .cc-chat-scope{align-items:flex-start;flex-direction:column}
 .cc-chat-people{justify-content:flex-start;max-width:100%;overflow-x:auto}
 .cc-thread-row{max-width:90%}
}

@media(max-width:700px){
 .cc-chat-page .page-head{display:none!important}
 .cc-chat{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 172px);min-height:560px;border-radius:0;border-left:0;border-right:0;box-shadow:none}
 .cc-chat-sidebar{display:none}
 .cc-chat-main{height:100%;overflow:hidden}
 .cc-chat-heading{padding:9px 11px;gap:8px}
 .cc-chat-heading-avatar{width:40px;height:40px;flex-basis:40px;border-radius:13px;font-size:11px}
 .cc-chat-overline,.cc-chat-heading h2{display:none}
 .cc-chat-heading-project{flex:1}
 .cc-chat-heading-project>div{flex:1}
 .cc-chat-mobile-project{display:block;margin:0}
 .cc-chat-mobile-project>span{display:none}
 .cc-chat-mobile-project select{width:100%;max-width:100%;border:0!important;background:transparent!important;padding:0!important;font-size:14px!important;font-weight:800;color:#202a40!important;box-shadow:none!important}
 .cc-chat-heading p{font-size:9px!important;margin-top:3px!important;max-width:240px}
 .cc-chat-refresh{width:36px;height:36px;flex-basis:36px;border-radius:12px;font-size:16px!important}
 .cc-chat-tabs{padding:8px 10px 2px;gap:5px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 .cc-chat-tabs::-webkit-scrollbar{display:none}
 .cc-chat-tabs button{flex:0 0 auto;min-height:34px;padding:6px 10px;font-size:9px!important}
 .cc-chat-scope{margin:5px 10px 0;padding:7px 9px;display:block}
 .cc-chat-scope>div:first-child>b{font-size:9px}
 .cc-chat-scope>div:first-child>p{font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 .cc-chat-people{margin-top:6px;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:4px;scrollbar-width:none}
 .cc-chat-people::-webkit-scrollbar{display:none}
 .cc-chat-person{flex:0 0 auto;font-size:8px;padding-right:7px;max-width:145px}
 .cc-chat-person-initials{width:23px;height:23px;flex-basis:23px;font-size:7px}
 .cc-chat-search-row{padding:7px 10px;gap:6px}
 .cc-chat-search-row label{height:31px;max-width:none}
 .cc-chat-search-row input{font-size:10px!important}
 .cc-chat-older{font-size:8px!important;white-space:nowrap}
 .cc-chat-log{padding:8px 9px 13px;gap:10px;min-height:110px}
 .cc-thread-row{max-width:96%;gap:6px}
 .cc-chat-avatar{width:27px;height:27px;flex-basis:27px;font-size:7px}
 .cc-chat-message-meta{margin-bottom:3px;gap:5px}.cc-chat-message-meta b{font-size:9px}.cc-chat-message-meta small{font-size:8px!important}.cc-chat-message-meta time{font-size:8px}
 .cc-chat-message{padding:9px 10px;border-radius:16px 16px 16px 4px}.cc-thread-row.is-mine .cc-chat-message{border-radius:16px 16px 4px 16px}
 .cc-chat .cc-chat-body{font-size:12px!important;line-height:1.45!important}
 .cc-chat-file{grid-template-columns:30px minmax(0,1fr) 26px;padding:6px 7px}.cc-chat-file-icon{width:30px;height:30px}.cc-chat-file-open{width:26px;height:26px}
 .cc-chat-message-tools{display:none}
 .cc-chat-compose{padding:7px 9px 9px}
 .cc-chat-compose-label{font-size:8px;margin-bottom:4px}
 .cc-chat-compose-bar{grid-template-columns:auto minmax(0,1fr) 39px;border-radius:17px;padding:4px 4px 4px 6px}
 .cc-chat-attachments>summary{width:32px;height:32px;font-size:18px}
 .cc-chat #cc-chat-text{font-size:16px!important;min-height:34px;height:34px;padding:7px 3px 5px!important}
 .cc-chat-send{width:39px;height:39px!important;min-height:39px;font-size:15px!important}
 .cc-chat-attachment-popover{left:-2px;bottom:43px;width:min(330px,90vw)}
 .cc-chat-compose-meta{font-size:7px;padding-top:3px}.cc-chat-compose-meta small{font-size:7px}
 .cc-chat-keyboard-hint{display:none}.cc-chat-mobile-hint{display:inline}
 .cc-chat-jump{right:13px;bottom:96px;font-size:8px!important;padding:6px 9px}
 .cc-chat-load-error{padding-left:10px;padding-right:10px;font-size:9px}
}

@media(max-width:700px) and (max-height:740px){
 .cc-chat{height:auto;min-height:0}
 .cc-chat-main{height:auto;overflow:visible}
 .cc-chat-log{height:260px;flex:none}
}
@media(prefers-reduced-motion:reduce){.cc-chat-page,.cc-chat *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
