/* ============================================================================
   OW Onboarding Tool 0.102.0
   Review-Zuordnung und kompakte Feedback-Aktionen
   ============================================================================ */

/* --------------------------------------------------------------------------
   Feedbackformular: feste, saubere Button- und Icon-Geometrie
   -------------------------------------------------------------------------- */
body.content-review-mode .owr-feedback-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 8px;
}

body.content-review-mode .owr-feedback-submit-row > button {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

body.content-review-mode .owr-feedback-submit-row .owr-feedback-attach {
  width: 100%;
  border: 1px solid #d9dcd5;
  background: #fff;
  color: #62675f;
}

body.content-review-mode .owr-feedback-submit-row .owr-feedback-save {
  border: 1px solid #202320;
  background: #202320;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

body.content-review-mode .owr-feedback-submit-row .owr-feedback-save:hover:not(:disabled) {
  border-color: #111311;
  background: #111311;
}

body.content-review-mode .owr-feedback-submit-row .owr-feedback-save:disabled {
  opacity: .55;
  cursor: wait;
}

body.content-review-mode .owr-feedback-submit-row > button svg,
body.content-review-mode .owr-feedback-submit-row .owr-feedback-save svg,
body.content-review-mode .owr-feedback-submit-row .owr-feedback-attach svg {
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  flex: 0 0 15px !important;
  margin: 0 !important;
  transform: none !important;
  stroke-width: 1.8;
}

body.content-review-mode .owr-feedback-submit-row > button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Erstellungsdialog: Zielcluster und optionale übergeordnete Seite
   -------------------------------------------------------------------------- */
body.content-review-mode .owr-create-assignment {
  margin-top: 13px;
  border: 1px solid #dce2f1;
  border-radius: 15px;
  background: #f5f7fc;
  padding: 13px;
}

body.content-review-mode .owr-create-assignment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.content-review-mode .owr-create-assignment-head > div {
  min-width: 0;
}

body.content-review-mode .owr-create-assignment-head span,
body.content-review-mode .owr-create-assignment-head strong,
body.content-review-mode .owr-create-assignment-head small {
  display: block;
}

body.content-review-mode .owr-create-assignment-head span {
  color: #3157d5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.content-review-mode .owr-create-assignment-head strong {
  margin-top: 3px;
  color: #30332f;
  font-size: 12px;
  line-height: 1.35;
}

body.content-review-mode .owr-create-assignment-head > small {
  max-width: 220px;
  color: #858983;
  font-size: 9px;
  line-height: 1.4;
  text-align: right;
}

body.content-review-mode .owr-create-assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

body.content-review-mode .owr-create-assignment-grid label {
  min-width: 0;
}

body.content-review-mode .owr-create-assignment-grid label > span {
  display: block;
  margin-bottom: 6px;
  color: #646963;
  font-size: 10px;
  font-weight: 700;
}

body.content-review-mode .owr-create-assignment-grid label > span em {
  color: #989c96;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

body.content-review-mode .owr-create-assignment-grid select,
body.content-review-mode .owr-create-body select {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  box-sizing: border-box;
  border: 1px solid #d5d9d2;
  border-radius: 11px;
  background: #fff;
  padding: 0 34px 0 11px;
  color: #292d29;
  font: inherit;
  font-size: 11px;
  line-height: 1.35;
  outline: none;
}

body.content-review-mode .owr-create-assignment-grid select:focus,
body.content-review-mode .owr-create-body select:focus {
  border-color: #8ea3da;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, .09);
}

body.content-review-mode .owr-create-assignment-grid select:disabled {
  background: #eff1ed;
  color: #9a9d98;
  cursor: not-allowed;
}

body.content-review-mode .owr-create-assignment-grid label > small {
  display: block;
  margin-top: 6px;
  color: #888d86;
  font-size: 8px;
  line-height: 1.4;
}

body.content-review-mode .owr-create-assignment .owr-create-connection {
  margin-top: 11px;
  border-color: rgba(49, 87, 213, .13);
  background: #fff;
}

/* --------------------------------------------------------------------------
   Nachträgliche Zuordnung für im Review angelegte Inhalte
   -------------------------------------------------------------------------- */
body.content-review-mode .owr-review-assignment-card {
  margin-top: 13px;
  border: 1px solid #dce4d9;
  border-radius: 15px;
  background: #f5faf6;
  padding: 14px;
}

body.content-review-mode .owr-review-assignment-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body.content-review-mode .owr-review-assignment-card > header > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

body.content-review-mode .owr-review-assignment-card > header > div > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e4f2e8;
  color: #28744c;
}

body.content-review-mode .owr-review-assignment-card > header svg {
  width: 15px;
  height: 15px;
}

body.content-review-mode .owr-review-assignment-card > header small,
body.content-review-mode .owr-review-assignment-card > header strong,
body.content-review-mode .owr-review-assignment-card > header p {
  display: block;
  min-width: 0;
}

body.content-review-mode .owr-review-assignment-card > header small {
  color: #38815a;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .045em;
  text-transform: uppercase;
}

body.content-review-mode .owr-review-assignment-card > header strong {
  margin-top: 2px;
  color: #292d29;
  font-size: 12px;
  line-height: 1.35;
}

body.content-review-mode .owr-review-assignment-card > header p {
  margin: 4px 0 0;
  color: #747a73;
  font-size: 9px;
  line-height: 1.45;
}

body.content-review-mode .owr-review-assignment-card > header > b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #e1f3e7;
  padding: 5px 8px;
  color: #24734a;
  font-size: 8px;
  font-weight: 760;
  white-space: nowrap;
}

body.content-review-mode .owr-review-assignment-card > header > b svg {
  width: 11px;
  height: 11px;
}

body.content-review-mode .owr-review-assignment-grid {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

body.content-review-mode .owr-review-assignment-grid label > span {
  display: block;
  margin-bottom: 5px;
  color: #666c65;
  font-size: 9px;
  font-weight: 700;
}

body.content-review-mode .owr-review-assignment-grid label > span em {
  color: #999d98;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

body.content-review-mode .owr-review-assignment-grid select {
  width: 100%;
  min-width: 0;
  min-height: 39px;
  box-sizing: border-box;
  border: 1px solid #d8ddd6;
  border-radius: 10px;
  background: #fff;
  padding: 0 32px 0 10px;
  color: #292d29;
  font: inherit;
  font-size: 10px;
  outline: none;
}

body.content-review-mode .owr-review-assignment-grid select:focus {
  border-color: #82b294;
  box-shadow: 0 0 0 3px rgba(54, 148, 94, .09);
}

body.content-review-mode .owr-review-assignment-grid select:disabled {
  background: #edf1ed;
  color: #969b95;
  cursor: not-allowed;
}

body.content-review-mode .owr-review-assignment-grid label > small {
  display: block;
  margin-top: 5px;
  color: #8a8f88;
  font-size: 8px;
  line-height: 1.4;
}

body.content-review-mode .owr-review-assignment-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  border: 1px solid #dfe7dc;
  border-radius: 11px;
  background: #fff;
  padding: 9px 10px;
}

body.content-review-mode .owr-review-assignment-preview > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf6ef;
  color: #2f7d52;
}

body.content-review-mode .owr-review-assignment-preview svg {
  width: 14px;
  height: 14px;
}

body.content-review-mode .owr-review-assignment-preview small,
body.content-review-mode .owr-review-assignment-preview strong,
body.content-review-mode .owr-review-assignment-preview em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.content-review-mode .owr-review-assignment-preview small {
  color: #858b84;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.content-review-mode .owr-review-assignment-preview strong {
  margin-top: 2px;
  color: #30342f;
  font-size: 10px;
  line-height: 1.35;
}

body.content-review-mode .owr-review-assignment-preview em {
  margin-top: 2px;
  color: #7f857e;
  font-size: 8px;
  font-style: normal;
}

body.content-review-mode .owr-review-assignment-message {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  border-radius: 10px;
  padding: 8px 9px;
  font-size: 9px;
  line-height: 1.4;
}

body.content-review-mode .owr-review-assignment-message svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

body.content-review-mode .owr-review-assignment-message.error {
  background: #fff0f0;
  color: #973f3f;
}

body.content-review-mode .owr-review-assignment-message.success {
  background: #e4f4e9;
  color: #277049;
}

body.content-review-mode .owr-review-assignment-card > footer {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 7px;
  margin-top: 11px;
}

body.content-review-mode .owr-review-assignment-card > footer button {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d6dcd4;
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
  color: #5d645d;
  font: inherit;
  font-size: 9px;
  font-weight: 720;
  cursor: pointer;
}

body.content-review-mode .owr-review-assignment-card > footer button.primary {
  border-color: #2e7650;
  background: #2e7650;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

body.content-review-mode .owr-review-assignment-card > footer button:disabled {
  opacity: .48;
  cursor: default;
}

body.content-review-mode .owr-review-assignment-card > footer button svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 680px) {
  body.content-review-mode .owr-create-assignment-head {
    display: block;
  }

  body.content-review-mode .owr-create-assignment-head > small {
    max-width: none;
    margin-top: 5px;
    text-align: left;
  }

  body.content-review-mode .owr-create-assignment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  body.content-review-mode .owr-feedback-submit-row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.content-review-mode .owr-review-assignment-card > header {
    display: block;
  }

  body.content-review-mode .owr-review-assignment-card > header > b {
    margin: 9px 0 0 44px;
  }

  body.content-review-mode .owr-review-assignment-card > footer {
    grid-template-columns: minmax(0, 1fr);
  }
}
