/* ========================================================================== 
   OW Onboarding Tool 0.100.1
   Kommentar-Inbox im Editor + responsiver Review-Chat
   ========================================================================== */

/* --------------------------------------------------------------------------
   Editor: kompakte Inbox statt langer Kommentar-Karten
   -------------------------------------------------------------------------- */
.cm-review-modal.is-comments-view {
  width: min(1180px, calc(100vw - 24px));
  height: min(820px, calc(100dvh - 24px));
  max-height: none;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(24, 25, 28, .22), 0 2px 12px rgba(24, 25, 28, .08);
}

.cm-review-modal.is-comments-view > header {
  min-height: 82px;
  padding: 15px 18px;
  align-items: center;
  background: rgba(255, 255, 255, .96);
}

.cm-review-modal.is-comments-view .cm-review-modal-title {
  min-width: 0;
  flex: 1 1 auto;
}

.cm-review-modal.is-comments-view .cm-review-modal-title > span:first-child {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  background: #171918;
  box-shadow: 0 6px 18px rgba(20, 22, 21, .16);
}

.cm-review-modal.is-comments-view .cm-review-modal-title > div {
  min-width: 0;
}

.cm-review-modal.is-comments-view .cm-review-modal-title > div > span {
  margin: 0 0 2px;
  color: #999b96;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .075em;
}

.cm-review-modal.is-comments-view .cm-review-modal-title h2 {
  font-size: 16px;
  line-height: 1.2;
}

.cm-review-modal.is-comments-view .cm-review-modal-title p {
  max-width: 500px;
  margin-top: 3px;
  font-size: 11px;
}

.cm-review-modal.is-comments-view .cm-review-tabs {
  flex: 0 0 auto;
  margin: 0 14px;
  padding: 4px;
  background: #f1f2ef;
}

.cm-review-modal.is-comments-view .cm-review-tabs button {
  min-height: 34px;
  padding: 7px 13px;
}

.cm-review-body.is-comments-view {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.cm-review-inbox {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 352px minmax(0, 1fr);
  background: #fff;
}

.cm-review-inbox-sidebar,
.cm-review-conversation-pane,
.cm-review-conversation,
.cm-review-conversation-scroll,
.cm-review-inbox-list {
  min-width: 0;
  min-height: 0;
}

.cm-review-inbox-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e7e8e4;
  background: #f6f7f4;
}

.cm-review-inbox-toolbar {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #e4e5e1;
  background: #fafbf9;
}

.cm-review-inbox-scope {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cm-review-inbox-scope > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6d706b;
  font-size: 10px;
  font-weight: 680;
}

.cm-review-inbox-scope > button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px 0;
  color: #4f6fcb;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.cm-review-inbox-search {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe1dc;
  border-radius: 11px;
  background: #fff;
  padding: 0 11px;
  box-shadow: 0 1px 1px rgba(20, 22, 21, .025);
}

.cm-review-inbox-search:focus-within {
  border-color: #8fa8eb;
  box-shadow: 0 0 0 3px rgba(95, 126, 214, .1);
}

.cm-review-inbox-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #92958f;
}

.cm-review-inbox-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #242624;
  font: inherit;
  font-size: 11px;
}

.cm-review-inbox-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.cm-review-inbox-filters button {
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  padding: 0 7px;
  color: #777a74;
  font: inherit;
  font-size: 10px;
  font-weight: 680;
  cursor: pointer;
}

.cm-review-inbox-filters button b {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e7e8e4;
  color: #6c6f69;
  font-size: 9px;
}

.cm-review-inbox-filters button.active {
  border-color: #d9dcd5;
  background: #fff;
  color: #222422;
  box-shadow: 0 2px 8px rgba(26, 28, 27, .055);
}

.cm-review-inbox-filters button.active b {
  background: #202320;
  color: #fff;
}

.cm-review-inbox-list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cfd1cc transparent;
}

.cm-review-inbox-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  padding: 11px 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cm-review-inbox-item + .cm-review-inbox-item {
  margin-top: 3px;
}

.cm-review-inbox-item:hover {
  border-color: #e0e2dc;
  background: rgba(255,255,255,.76);
}

.cm-review-inbox-item.active {
  border-color: #cbd6f5;
  background: #fff;
  box-shadow: 0 5px 18px rgba(37, 54, 98, .075);
}

.cm-review-inbox-item:focus-visible {
  outline: 2px solid #7995e6;
  outline-offset: 1px;
}

.cm-review-inbox-avatar,
.cm-review-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e8ebf4;
  color: #4e6098;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.cm-review-inbox-avatar {
  width: 34px;
  height: 34px;
}

.cm-review-inbox-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cm-review-inbox-top {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cm-review-inbox-top em,
.cm-review-conversation-heading em,
.owr-chat-thread-top em,
.owr-chat-conversation-heading em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border: 1px solid #d9deed;
  border-radius: 999px;
  background: #f4f6fc;
  padding: 2px 7px;
  color: #5f70a4;
  font-size: 8px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cm-review-inbox-top em.type-opportunity,
.cm-review-conversation-heading em.type-opportunity,
.owr-chat-thread-top em.type-opportunity,
.owr-chat-conversation-heading em.type-opportunity {
  border-color: #c9e0d2;
  background: #f0f8f3;
  color: #27704a;
}

.cm-review-inbox-top em.type-cluster,
.cm-review-conversation-heading em.type-cluster,
.owr-chat-thread-top em.type-cluster,
.owr-chat-conversation-heading em.type-cluster {
  border-color: #d6dcf1;
  background: #f5f6fc;
  color: #687bb5;
}

.cm-review-inbox-top time,
.owr-chat-thread-top time {
  flex: 0 0 auto;
  color: #9b9e98;
  font-size: 8px;
  white-space: nowrap;
}

.cm-review-inbox-copy > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #242624;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.3;
}

.cm-review-inbox-preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #6e716c;
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cm-review-inbox-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #91948e;
  font-size: 8px;
}

.cm-review-inbox-meta > b {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eceeeb;
  color: #666a64;
  font-size: 8px;
}

.cm-review-response-state,
.cm-review-conversation-state,
.owr-chat-response,
.owr-chat-conversation-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  font-weight: 720;
  white-space: nowrap;
}

.cm-review-response-state {
  min-height: 19px;
  padding: 2px 6px;
  font-size: 8px;
}

.cm-review-response-state svg,
.cm-review-conversation-state svg,
.owr-chat-response svg,
.owr-chat-conversation-state svg {
  width: 12px;
  height: 12px;
}

.cm-review-response-state.answered,
.cm-review-conversation-state.answered,
.owr-chat-response.answered,
.owr-chat-conversation-state.answered {
  background: #e8f7ef;
  color: #14764a;
}

.cm-review-response-state.pending,
.cm-review-conversation-state.pending,
.owr-chat-response.pending,
.owr-chat-conversation-state.pending {
  background: #f0f1ee;
  color: #7d817a;
}

.cm-review-inbox-decision {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  border-radius: 999px;
  background: #eef0f5;
  padding: 2px 6px;
  color: #6f7480;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.cm-review-inbox-empty {
  margin: 8px;
  border: 1px dashed #d8dad5;
  border-radius: 13px;
  background: rgba(255,255,255,.66);
  padding: 24px 16px;
  color: #858983;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.cm-review-conversation-pane {
  overflow: hidden;
  background: #fff;
}

.cm-review-conversation {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.cm-review-conversation-header {
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #e8e9e5;
  background: rgba(255,255,255,.96);
}

.cm-review-conversation-heading {
  min-width: 0;
  flex: 1 1 auto;
}

.cm-review-conversation-heading > span,
.owr-chat-conversation-heading > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.cm-review-conversation-heading em.kind-comment,
.cm-review-conversation-heading em.kind-improvement,
.cm-review-conversation-heading em.kind-question,
.cm-review-conversation-heading em.kind-important,
.cm-review-conversation-heading em.kind-wrong_link,
.cm-review-conversation-heading em.kind-good_idea,
.owr-chat-conversation-heading em.kind-comment,
.owr-chat-conversation-heading em.kind-improvement,
.owr-chat-conversation-heading em.kind-question,
.owr-chat-conversation-heading em.kind-important,
.owr-chat-conversation-heading em.kind-wrong_link,
.owr-chat-conversation-heading em.kind-good_idea {
  border-color: #e2e3df;
  background: #f4f5f2;
  color: #737770;
}

.cm-review-conversation-heading h3,
.owr-chat-conversation-heading h3 {
  margin: 5px 0 2px;
  color: #202220;
  font-size: 14px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.cm-review-conversation-heading p,
.owr-chat-conversation-heading p {
  margin: 0;
  color: #969993;
  font-size: 9px;
}

.cm-review-conversation-actions,
.owr-chat-conversation-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cm-review-conversation-state {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 9px;
}

.cm-review-conversation-actions > button,
.owr-chat-conversation-actions > button,
.cm-review-mobile-back,
.owr-chat-mobile-back {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe1dc;
  border-radius: 10px;
  background: #fff;
  color: #666a64;
  cursor: pointer;
}

.cm-review-conversation-actions > button:hover,
.owr-chat-conversation-actions > button:hover,
.cm-review-mobile-back:hover,
.owr-chat-mobile-back:hover {
  border-color: #c9ccc5;
  background: #f7f8f5;
  color: #252725;
}

.cm-review-conversation-actions > button.danger:hover {
  border-color: #e7c7c7;
  background: #fff5f5;
  color: #a54444;
}

.cm-review-conversation-actions svg,
.owr-chat-conversation-actions svg,
.cm-review-mobile-back svg,
.owr-chat-mobile-back svg {
  width: 15px;
  height: 15px;
}

.cm-review-mobile-back,
.owr-chat-mobile-back {
  display: none;
}

.cm-review-conversation-scroll {
  overflow: auto;
  background:
    radial-gradient(circle at 15% 10%, rgba(103, 132, 215, .055), transparent 32%),
    linear-gradient(#fafbf9, #f8f9f7);
  scrollbar-width: thin;
  scrollbar-color: #ced1ca transparent;
}

.cm-review-chat-stream {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 20px 22px 16px;
}

.cm-review-chat-message {
  max-width: min(78%, 650px);
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.cm-review-chat-message.role-team {
  align-self: flex-end;
  grid-template-columns: minmax(0, 1fr) 32px;
}

.cm-review-chat-message.role-team .cm-review-chat-avatar {
  grid-column: 2;
  grid-row: 1;
  background: #202320;
  color: #fff;
}

.cm-review-chat-message.role-team .cm-review-chat-message-body {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-end;
}

.cm-review-chat-avatar {
  width: 32px;
  height: 32px;
}

.cm-review-chat-message-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cm-review-chat-message-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px 5px;
}

.cm-review-chat-message-meta strong {
  color: #3d403c;
  font-size: 9px;
}

.cm-review-chat-message-meta span {
  color: #999c96;
  font-size: 8px;
}

.cm-review-chat-bubble {
  min-width: 80px;
  border: 1px solid #e0e2dd;
  border-radius: 7px 16px 16px 16px;
  background: #fff;
  padding: 11px 13px;
  box-shadow: 0 3px 12px rgba(25, 27, 26, .045);
}

.cm-review-chat-message.role-team .cm-review-chat-bubble {
  border-color: #202320;
  border-radius: 16px 7px 16px 16px;
  background: #202320;
  color: #fff;
  box-shadow: 0 6px 18px rgba(18, 21, 19, .14);
}

.cm-review-chat-bubble p {
  margin: 0;
  color: inherit;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cm-review-chat-message-body > footer {
  width: auto;
  min-height: 0;
  margin: 5px 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #9a9d97;
  font-size: 8px;
}

.cm-review-chat-message-body > footer span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #198057;
}

.cm-review-chat-message-body > footer svg {
  width: 11px;
  height: 11px;
}

.cm-review-workflow-card {
  margin: 2px 22px 20px;
  border: 1px solid #e1e3de;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 24, 23, .035);
}

.cm-review-workflow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 13px;
}

.cm-review-workflow-head > div {
  min-width: 0;
}

.cm-review-workflow-head > div > span {
  display: block;
  margin-bottom: 2px;
  color: #999c96;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.cm-review-workflow-head > div > strong {
  color: #333633;
  font-size: 10px;
}

.cm-review-workflow-head > label {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cm-review-workflow-head > label > span {
  color: #777b75;
  font-size: 9px;
  font-weight: 680;
  white-space: nowrap;
}

.cm-review-workflow-head select,
.cm-review-context-tools select {
  min-width: 0;
  height: 34px;
  border: 1px solid #dfe1dc;
  border-radius: 9px;
  background: #fff;
  padding: 0 9px;
  color: #303330;
  font: inherit;
  font-size: 10px;
}

.cm-review-workflow-head select {
  width: 100%;
}

.cm-review-context-tools {
  border-top: 1px solid #e7e8e4;
}

.cm-review-context-tools > summary {
  list-style: none;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: #4f534e;
  cursor: pointer;
}

.cm-review-context-tools > summary::-webkit-details-marker {
  display: none;
}

.cm-review-context-tools > summary > svg:first-child {
  width: 16px;
  height: 16px;
  color: #747871;
}

.cm-review-context-tools > summary > span {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 1px;
}

.cm-review-context-tools > summary strong {
  font-size: 10px;
}

.cm-review-context-tools > summary small {
  color: #989b95;
  font-size: 8px;
}

.cm-review-context-tools > summary > svg:last-child {
  width: 14px;
  height: 14px;
  transition: transform .16s ease;
}

.cm-review-context-tools[open] > summary > svg:last-child {
  transform: rotate(180deg);
}

.cm-review-context-tools .cm-review-change-tools {
  padding: 12px;
  border-top: 1px solid #ecece8;
  background: #fafbf9;
}

.cm-review-conversation-composer {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e5e7e2;
  background: #fff;
  padding: 13px 16px;
}

.cm-review-composer-copy {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cm-review-composer-copy > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #f0f2ed;
  color: #5f645d;
}

.cm-review-composer-copy svg {
  width: 16px;
  height: 16px;
}

.cm-review-composer-copy > div {
  display: grid;
  gap: 2px;
}

.cm-review-composer-copy strong {
  color: #333633;
  font-size: 10px;
}

.cm-review-composer-copy small {
  max-width: 180px;
  color: #959891;
  font-size: 8px;
  line-height: 1.35;
}

.cm-review-composer-input {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  border: 1px solid #daddd6;
  border-radius: 14px;
  background: #fafbf9;
  padding: 6px;
}

.cm-review-composer-input:focus-within {
  border-color: #88a1e4;
  box-shadow: 0 0 0 3px rgba(89, 120, 208, .1);
}

.cm-review-composer-input textarea {
  width: 100%;
  min-height: 42px;
  max-height: 130px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 7px 8px;
  color: #272a27;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.cm-review-composer-input button {
  min-width: 90px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 11px;
  background: #202320;
  padding: 0 13px;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
}

.cm-review-composer-input button:disabled {
  opacity: .58;
  cursor: wait;
}

.cm-review-composer-input button svg {
  width: 14px;
  height: 14px;
}

.cm-review-reply-error {
  grid-column: 2;
  margin: -7px 4px 0;
  color: #a44949;
  font-size: 9px;
}

.cm-review-conversation-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  color: #8c9089;
  text-align: center;
}

.cm-review-conversation-empty svg {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  color: #b0b3ad;
}

.cm-review-conversation-empty strong {
  color: #4e524d;
  font-size: 12px;
}

.cm-review-conversation-empty span {
  max-width: 300px;
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Öffentlicher Review: schwebender Chat-Button
   -------------------------------------------------------------------------- */
body.content-review-mode .owr-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 78px;
  z-index: 190;
  min-width: 214px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(20, 22, 21, .1);
  border-radius: 18px;
  background: rgba(29, 32, 30, .96);
  padding: 8px 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  box-shadow: 0 16px 42px rgba(20, 22, 21, .24), 0 2px 8px rgba(20, 22, 21, .12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.content-review-mode .owr-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(20, 22, 21, .29), 0 3px 9px rgba(20, 22, 21, .14);
}

body.content-review-mode .owr-chat-fab:focus-visible {
  outline: 3px solid rgba(111, 143, 232, .48);
  outline-offset: 3px;
}

body.content-review-mode .owr-chat-fab.has-answers {
  background: #173d2d;
}

body.content-review-mode .owr-chat-fab-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}

body.content-review-mode .owr-chat-fab-icon svg {
  width: 18px;
  height: 18px;
}

body.content-review-mode .owr-chat-fab-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body.content-review-mode .owr-chat-fab-copy strong {
  font-size: 11px;
  line-height: 1.2;
}

body.content-review-mode .owr-chat-fab-copy small {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.64);
  font-size: 8px;
}

body.content-review-mode .owr-chat-fab-copy small svg {
  width: 11px;
  height: 11px;
  color: #7ee1ad;
}

body.content-review-mode .owr-chat-fab > b {
  min-width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #212421;
  font-size: 9px;
  font-weight: 780;
}

/* --------------------------------------------------------------------------
   Öffentlicher Review: Chat-Popup
   -------------------------------------------------------------------------- */
body.owr-chat-open {
  overflow: hidden;
}

body.content-review-mode .owr-submitted-layer[hidden] {
  display: none !important;
}

body.content-review-mode .owr-submitted-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}

body.content-review-mode .owr-submitted-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(22, 24, 23, .42);
  backdrop-filter: blur(8px);
  cursor: default;
}

body.content-review-mode .owr-chat-dialog {
  position: relative;
  width: min(1040px, calc(100vw - 36px));
  height: min(760px, calc(100dvh - 36px));
  min-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 110px rgba(12, 14, 13, .29), 0 4px 18px rgba(12, 14, 13, .12);
  animation: owr-chat-enter .2s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes owr-chat-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.content-review-mode .owr-chat-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border-bottom: 1px solid #e7e8e4;
  background: rgba(255,255,255,.97);
}

body.content-review-mode .owr-chat-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

body.content-review-mode .owr-chat-title > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #1f2220;
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 28, 26, .14);
}

body.content-review-mode .owr-chat-title > span svg {
  width: 18px;
  height: 18px;
}

body.content-review-mode .owr-chat-title > div {
  min-width: 0;
}

body.content-review-mode .owr-chat-title small {
  display: block;
  margin-bottom: 1px;
  color: #999c96;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.content-review-mode .owr-chat-title h2 {
  margin: 0;
  color: #202320;
  font-size: 16px;
  line-height: 1.25;
}

body.content-review-mode .owr-chat-title p {
  margin: 3px 0 0;
  color: #888c86;
  font-size: 9px;
}

body.content-review-mode .owr-chat-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

body.content-review-mode .owr-chat-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #eef7f1;
  padding: 6px 9px;
  color: #2c7251;
  font-size: 8px;
  font-weight: 700;
}

body.content-review-mode .owr-chat-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31a568;
  box-shadow: 0 0 0 3px rgba(49, 165, 104, .12);
}

body.content-review-mode .owr-chat-header-actions > button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe1dc;
  border-radius: 11px;
  background: #fff;
  color: #666a64;
  cursor: pointer;
}

body.content-review-mode .owr-chat-header-actions > button:hover {
  background: #f6f7f4;
  color: #242724;
}

body.content-review-mode .owr-chat-header-actions svg {
  width: 15px;
  height: 15px;
}

body.content-review-mode .owr-chat-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-bottom: 1px solid #e6e7e3;
  background: #fafbf9;
}

body.content-review-mode .owr-chat-tabs button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  padding: 0 11px;
  color: #757972;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

body.content-review-mode .owr-chat-tabs button.active {
  border-color: #dfe1dc;
  background: #fff;
  color: #242724;
  box-shadow: 0 2px 8px rgba(24, 27, 25, .055);
}

body.content-review-mode .owr-chat-tabs button b {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8eae6;
  color: #6b6f68;
  font-size: 8px;
}

body.content-review-mode .owr-chat-tabs button.active b {
  background: #222522;
  color: #fff;
}

body.content-review-mode .owr-chat-tabs button em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 999px;
  background: #e7f7ee;
  padding: 3px 6px;
  color: #15764a;
  font-size: 8px;
  font-style: normal;
}

body.content-review-mode .owr-chat-tabs button em svg {
  width: 10px;
  height: 10px;
}

body.content-review-mode .owr-submitted-error {
  margin: 8px 14px 0;
  border: 1px solid #efcaca;
  border-radius: 10px;
  background: #fff4f4;
  padding: 8px 10px;
  color: #954747;
  font-size: 9px;
}

body.content-review-mode .owr-chat-layout {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
}

body.content-review-mode .owr-chat-thread-list,
body.content-review-mode .owr-chat-conversation-pane,
body.content-review-mode .owr-chat-conversation,
body.content-review-mode .owr-chat-list-scroll,
body.content-review-mode .owr-chat-stream {
  min-width: 0;
  min-height: 0;
}

body.content-review-mode .owr-chat-thread-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e6e8e3;
  background: #f6f7f4;
}

body.content-review-mode .owr-chat-list-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px;
  border-bottom: 1px solid #e5e7e2;
  color: #737770;
}

body.content-review-mode .owr-chat-list-head span {
  font-size: 9px;
  font-weight: 720;
}

body.content-review-mode .owr-chat-list-head small {
  color: #9a9d97;
  font-size: 8px;
}

body.content-review-mode .owr-chat-list-scroll {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cfd2cc transparent;
}

body.content-review-mode .owr-chat-thread-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  padding: 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.content-review-mode .owr-chat-thread-item + .owr-chat-thread-item {
  margin-top: 3px;
}

body.content-review-mode .owr-chat-thread-item:hover {
  border-color: #e0e2dc;
  background: rgba(255,255,255,.78);
}

body.content-review-mode .owr-chat-thread-item.active {
  border-color: #cad5f3;
  background: #fff;
  box-shadow: 0 5px 17px rgba(37, 55, 97, .07);
}

body.content-review-mode .owr-chat-thread-item:focus-visible {
  outline: 2px solid #819be4;
  outline-offset: 1px;
}

body.content-review-mode .owr-chat-thread-avatar,
body.content-review-mode .owr-chat-message-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e7ebf5;
  color: #53669d;
  font-size: 9px;
  font-weight: 780;
}

body.content-review-mode .owr-chat-thread-avatar {
  width: 34px;
  height: 34px;
}

body.content-review-mode .owr-chat-thread-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.content-review-mode .owr-chat-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

body.content-review-mode .owr-chat-thread-copy > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #272a27;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.3;
}

body.content-review-mode .owr-chat-thread-preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #70746e;
  font-size: 9px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.content-review-mode .owr-chat-thread-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

body.content-review-mode .owr-chat-response {
  min-height: 19px;
  padding: 2px 6px;
  font-size: 8px;
}

body.content-review-mode .owr-chat-thread-meta > b {
  color: #989b95;
  font-size: 8px;
  font-weight: 650;
}

body.content-review-mode .owr-chat-conversation-pane {
  overflow: hidden;
  background: #fff;
}

body.content-review-mode .owr-chat-conversation {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body.content-review-mode .owr-chat-conversation-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid #e7e9e4;
}

body.content-review-mode .owr-chat-conversation-heading {
  min-width: 0;
  flex: 1 1 auto;
}

body.content-review-mode .owr-chat-conversation-state {
  min-height: 26px;
  padding: 4px 8px;
  font-size: 8px;
}

body.content-review-mode .owr-chat-stream {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 16px;
  background:
    radial-gradient(circle at 86% 10%, rgba(101, 132, 217, .055), transparent 31%),
    linear-gradient(#fafbf9, #f7f8f6);
  scrollbar-width: thin;
  scrollbar-color: #cfd2cb transparent;
}

body.content-review-mode .owr-chat-message {
  max-width: min(79%, 610px);
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  align-self: flex-start;
}

body.content-review-mode .owr-chat-message.is-owned {
  align-self: flex-end;
  grid-template-columns: minmax(0, 1fr) 31px;
}

body.content-review-mode .owr-chat-message.is-owned .owr-chat-message-avatar {
  grid-column: 2;
  grid-row: 1;
  background: #202320;
  color: #fff;
}

body.content-review-mode .owr-chat-message.is-owned .owr-chat-message-body {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-end;
}

body.content-review-mode .owr-chat-message.role-team .owr-chat-message-avatar {
  background: #dff2e7;
  color: #236948;
}

body.content-review-mode .owr-chat-message-avatar {
  width: 31px;
  height: 31px;
}

body.content-review-mode .owr-chat-message-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.content-review-mode .owr-chat-message-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px 5px;
}

body.content-review-mode .owr-chat-message-meta strong {
  color: #3d413c;
  font-size: 9px;
}

body.content-review-mode .owr-chat-message-meta span {
  color: #999c96;
  font-size: 8px;
}

body.content-review-mode .owr-chat-bubble {
  min-width: 80px;
  border: 1px solid #dfe2dc;
  border-radius: 7px 16px 16px 16px;
  background: #fff;
  padding: 11px 13px;
  box-shadow: 0 3px 12px rgba(24, 27, 25, .045);
}

body.content-review-mode .owr-chat-message.is-owned .owr-chat-bubble {
  border-color: #232623;
  border-radius: 16px 7px 16px 16px;
  background: #232623;
  color: #fff;
  box-shadow: 0 7px 20px rgba(20, 23, 21, .14);
}

body.content-review-mode .owr-chat-message.is-owned .owr-chat-bubble p {
  color: #fff !important;
}

body.content-review-mode .owr-chat-message.role-team:not(.is-owned) .owr-chat-bubble {
  border-color: #cae4d5;
  background: #eff9f3;
}

body.content-review-mode .owr-chat-bubble p {
  margin: 0;
  color: inherit;
  font-size: 10px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body.content-review-mode .owr-chat-message-body > footer {
  width: auto;
  min-height: 0;
  margin: 5px 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #999c96;
  font-size: 8px;
}

body.content-review-mode .owr-chat-message-body > footer > span.answered {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #188052;
}

body.content-review-mode .owr-chat-message-body > footer > span.answered svg {
  width: 11px;
  height: 11px;
}

body.content-review-mode .owr-chat-message-body > footer > div {
  display: flex;
  gap: 4px;
}

body.content-review-mode .owr-chat-message-body > footer button {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe1dc;
  border-radius: 7px;
  background: #fff;
  color: #71756e;
  cursor: pointer;
}

body.content-review-mode .owr-chat-message-body > footer button.danger {
  color: #a14b4b;
}

body.content-review-mode .owr-chat-message-body > footer button svg {
  width: 12px;
  height: 12px;
}

body.content-review-mode .owr-chat-edit-card {
  width: min(480px, 100%);
  display: grid;
  gap: 9px;
  border: 1px solid #dfe2dc;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 5px 17px rgba(22, 24, 23, .06);
}

body.content-review-mode .owr-chat-edit-card > strong {
  color: #343734;
  font-size: 10px;
}

body.content-review-mode .owr-chat-edit-card label {
  display: grid;
  gap: 4px;
}

body.content-review-mode .owr-chat-edit-card label > span {
  color: #858982;
  font-size: 8px;
  font-weight: 680;
}

body.content-review-mode .owr-chat-edit-card select,
body.content-review-mode .owr-chat-edit-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #daddd6;
  border-radius: 9px;
  background: #fafbf9;
  padding: 8px 9px;
  color: #292c29;
  font: inherit;
  font-size: 10px;
}

body.content-review-mode .owr-chat-edit-card textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

body.content-review-mode .owr-chat-edit-card > div {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

body.content-review-mode .owr-chat-edit-card button {
  min-height: 32px;
  border: 1px solid #daddd6;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: #5e625c;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

body.content-review-mode .owr-chat-edit-card button.primary {
  border-color: #222522;
  background: #222522;
  color: #fff;
}

body.content-review-mode .owr-chat-composer {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e5e7e2;
  background: #fff;
  padding: 12px 14px;
}

body.content-review-mode .owr-chat-composer-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.content-review-mode .owr-chat-composer-head > span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff1ed;
  color: #62665f;
}

body.content-review-mode .owr-chat-composer-head svg {
  width: 15px;
  height: 15px;
}

body.content-review-mode .owr-chat-composer-head > div {
  display: grid;
  gap: 2px;
}

body.content-review-mode .owr-chat-composer-head strong {
  color: #343734;
  font-size: 9px;
}

body.content-review-mode .owr-chat-composer-head small {
  max-width: 155px;
  color: #969a93;
  font-size: 8px;
  line-height: 1.35;
}

body.content-review-mode .owr-chat-composer-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px;
  border: 1px solid #daddd6;
  border-radius: 14px;
  background: #fafbf9;
  padding: 6px;
}

body.content-review-mode .owr-chat-composer-fields:focus-within {
  border-color: #89a2e2;
  box-shadow: 0 0 0 3px rgba(92, 123, 208, .1);
}

body.content-review-mode .owr-chat-composer-fields input,
body.content-review-mode .owr-chat-composer-fields textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  background: transparent;
  color: #292c29;
  font: inherit;
  font-size: 10px;
}

body.content-review-mode .owr-chat-composer-fields input {
  height: 38px;
  border-right: 1px solid #e0e2dd;
  padding: 0 8px;
}

body.content-review-mode .owr-chat-composer-fields textarea {
  min-height: 42px;
  max-height: 120px;
  resize: vertical;
  padding: 7px 8px;
  line-height: 1.45;
}

body.content-review-mode .owr-chat-composer-fields > button {
  min-width: 84px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  background: #222522;
  padding: 0 11px;
  color: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 720;
  cursor: pointer;
}

body.content-review-mode .owr-chat-composer-fields > button:disabled {
  opacity: .58;
  cursor: wait;
}

body.content-review-mode .owr-chat-composer-fields > button svg {
  width: 13px;
  height: 13px;
}

body.content-review-mode .owr-chat-reply-error {
  grid-column: 2;
  margin: -5px 3px 0;
  color: #a24848;
  font-size: 8px;
}

body.content-review-mode .owr-chat-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: owr-chat-spin .7s linear infinite;
}

@keyframes owr-chat-spin { to { transform: rotate(360deg); } }

body.content-review-mode .owr-chat-empty,
body.content-review-mode .owr-chat-conversation-empty {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 22px;
  color: #898d86;
  text-align: center;
}

body.content-review-mode .owr-chat-empty svg,
body.content-review-mode .owr-chat-conversation-empty svg {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
  color: #b0b4ad;
}

body.content-review-mode .owr-chat-empty strong,
body.content-review-mode .owr-chat-conversation-empty strong {
  color: #4c504b;
  font-size: 11px;
}

body.content-review-mode .owr-chat-empty span,
body.content-review-mode .owr-chat-conversation-empty span {
  max-width: 290px;
  font-size: 9px;
  line-height: 1.5;
}

body.content-review-mode .owr-chat-empty button {
  min-height: 32px;
  margin-top: 4px;
  border: 1px solid #d9dcd5;
  border-radius: 9px;
  background: #fff;
  padding: 0 11px;
  color: #4e534d;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.cm-review-chat-message.team .cm-review-chat-bubble {
  border-color: #202320;
  background: #202320;
}

/* --------------------------------------------------------------------------
   Kontrastsicherheit für eigene Nachrichten
   --------------------------------------------------------------------------
   Das globale Design-System setzt Absatztexte mit !important auf Dunkelgrau.
   Eigene Nachrichten liegen jedoch auf einer dunklen Chat-Blase und brauchen
   deshalb eine explizite weiße Schriftfarbe mit derselben Priorität.
*/
.cm-review-chat-message.role-team .cm-review-chat-bubble,
.cm-review-chat-message.role-team .cm-review-chat-bubble p,
.cm-review-chat-message.team .cm-review-chat-bubble,
.cm-review-chat-message.team .cm-review-chat-bubble p,
body.content-review-mode .owr-chat-message.is-owned .owr-chat-bubble,
body.content-review-mode .owr-chat-message.is-owned .owr-chat-bubble p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .cm-review-inbox {
    grid-template-columns: 310px minmax(0, 1fr);
  }

  .cm-review-composer-copy,
  body.content-review-mode .owr-chat-composer-head {
    display: none;
  }

  .cm-review-conversation-composer,
  body.content-review-mode .owr-chat-composer {
    grid-template-columns: minmax(0, 1fr);
  }

  .cm-review-reply-error,
  body.content-review-mode .owr-chat-reply-error {
    grid-column: 1;
  }

  body.content-review-mode .owr-chat-layout {
    grid-template-columns: 305px minmax(0, 1fr);
  }

  body.content-review-mode .owr-chat-conversation-state,
  .cm-review-conversation-state {
    max-width: 140px;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 760px) {
  .cm-modal-backdrop:has(.cm-review-modal.is-comments-view) {
    padding: 8px;
  }

  .cm-review-modal.is-comments-view {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 16px;
  }

  .cm-review-modal.is-comments-view > header {
    min-height: 68px;
    padding: 10px 11px;
    flex-wrap: nowrap;
  }

  .cm-review-modal.is-comments-view .cm-review-modal-title > span:first-child {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .cm-review-modal.is-comments-view .cm-review-modal-title > div > span,
  .cm-review-modal.is-comments-view .cm-review-modal-title p {
    display: none;
  }

  .cm-review-modal.is-comments-view .cm-review-modal-title h2 {
    font-size: 13px;
  }

  .cm-review-modal.is-comments-view .cm-review-tabs {
    margin: 0 5px 0 auto;
  }

  .cm-review-modal.is-comments-view .cm-review-tabs button {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .cm-review-inbox {
    display: block;
    position: relative;
  }

  .cm-review-inbox-sidebar,
  .cm-review-conversation-pane {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .cm-review-inbox:not(.conversation-open) .cm-review-conversation-pane,
  .cm-review-inbox.conversation-open .cm-review-inbox-sidebar {
    display: none;
  }

  .cm-review-mobile-back,
  .owr-chat-mobile-back {
    display: inline-flex;
  }

  .cm-review-conversation-header,
  body.content-review-mode .owr-chat-conversation-header {
    min-height: 67px;
    padding: 9px 10px;
  }

  .cm-review-conversation-actions .cm-review-conversation-state,
  body.content-review-mode .owr-chat-conversation-actions .owr-chat-conversation-state {
    display: none;
  }

  .cm-review-chat-stream,
  body.content-review-mode .owr-chat-stream {
    padding: 15px 11px 12px;
  }

  .cm-review-chat-message,
  body.content-review-mode .owr-chat-message {
    max-width: 91%;
  }

  .cm-review-workflow-card {
    margin: 2px 11px 13px;
  }

  .cm-review-workflow-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .cm-review-workflow-head > label {
    width: 100%;
    flex-basis: auto;
  }

  .cm-review-conversation-composer,
  body.content-review-mode .owr-chat-composer {
    min-height: 84px;
    padding: 9px 10px;
  }

  .cm-review-composer-input {
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: stretch;
  }

  .cm-review-composer-input button {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .cm-review-composer-input button span {
    display: none;
  }

  body.content-review-mode .owr-chat-fab {
    right: 14px;
    bottom: 76px;
    min-width: 0;
    width: 58px;
    height: 58px;
    grid-template-columns: 1fr;
    place-items: center;
    border-radius: 18px;
    padding: 0;
  }

  body.content-review-mode .owr-chat-fab-icon {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  body.content-review-mode .owr-chat-fab-copy {
    display: none;
  }

  body.content-review-mode .owr-chat-fab > b {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    border: 2px solid #fff;
    font-size: 8px;
  }

  body.content-review-mode .owr-submitted-layer {
    align-items: end;
    padding: 0;
  }

  body.content-review-mode .owr-chat-dialog {
    width: 100vw;
    height: min(92dvh, 820px);
    min-height: 420px;
    border: 0;
    border-radius: 20px 20px 0 0;
    animation-name: owr-chat-enter-mobile;
  }

  @keyframes owr-chat-enter-mobile {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  body.content-review-mode .owr-chat-header {
    min-height: 64px;
    padding: 10px 11px;
  }

  body.content-review-mode .owr-chat-title > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  body.content-review-mode .owr-chat-title p,
  body.content-review-mode .owr-chat-title small,
  body.content-review-mode .owr-chat-live {
    display: none;
  }

  body.content-review-mode .owr-chat-title h2 {
    font-size: 13px;
  }

  body.content-review-mode .owr-chat-tabs {
    padding: 7px 9px;
  }

  body.content-review-mode .owr-chat-tabs button {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 0 7px;
  }

  body.content-review-mode .owr-chat-layout {
    display: block;
    position: relative;
  }

  body.content-review-mode .owr-chat-thread-list,
  body.content-review-mode .owr-chat-conversation-pane {
    width: 100%;
    height: 100%;
    border: 0;
  }

  body.content-review-mode .owr-chat-layout:not(.conversation-open) .owr-chat-conversation-pane,
  body.content-review-mode .owr-chat-layout.conversation-open .owr-chat-thread-list {
    display: none;
  }

  body.content-review-mode .owr-chat-composer-fields {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  body.content-review-mode .owr-chat-composer-fields input {
    grid-column: 1 / -1;
    height: 34px;
    border-right: 0;
    border-bottom: 1px solid #e0e2dd;
  }

  body.content-review-mode .owr-chat-composer-fields textarea {
    grid-column: 1;
  }

  body.content-review-mode .owr-chat-composer-fields > button {
    grid-column: 2;
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  body.content-review-mode .owr-chat-composer-fields > button span {
    display: none;
  }
}

@media (max-width: 430px) {
  .cm-review-modal.is-comments-view .cm-review-tabs button:first-child {
    display: none;
  }

  .cm-review-inbox-toolbar {
    padding: 11px 10px 9px;
  }

  .cm-review-inbox-list,
  body.content-review-mode .owr-chat-list-scroll {
    padding: 6px;
  }

  .cm-review-inbox-item,
  body.content-review-mode .owr-chat-thread-item {
    padding: 9px 8px;
  }

  .cm-review-conversation-heading h3,
  .owr-chat-conversation-heading h3 {
    font-size: 12px;
  }

  .cm-review-chat-avatar,
  body.content-review-mode .owr-chat-message-avatar {
    width: 28px;
    height: 28px;
  }

  .cm-review-chat-message,
  body.content-review-mode .owr-chat-message {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px;
  }

  .cm-review-chat-message.role-team,
  body.content-review-mode .owr-chat-message.is-owned {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .cm-review-chat-bubble,
  body.content-review-mode .owr-chat-bubble {
    padding: 10px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.content-review-mode .owr-chat-dialog,
  body.content-review-mode .owr-chat-fab,
  .cm-review-inbox-item,
  body.content-review-mode .owr-chat-thread-item {
    animation: none !important;
    transition: none !important;
  }
}
