/* Content surface only. Does not restyle the existing Header or Navigation. */

html.is-content-v2 [data-legacy-content] {
  display: none !important;
}

html.is-content-v2:has(#contentV2[data-content-view="opportunities"]:not(.is-details)) [data-legacy-content] {
  display: flex !important;
  flex-direction: column;
}

html.is-content-v2 .content-v2 {
  display: block;
}

.content-v2[hidden] {
  display: none !important;
}

.shell-voice {
  margin-top: 11px;
  padding: 12px;
}

.shell-voice #addOpportunityVoicePanel.voice-intake-panel {
  margin: 0;
}

html.is-content-v2 .shell-voice {
  margin-top: 8px;
  padding: 6px 8px;
}

html.is-content-v2 #addOpportunityVoicePanel.voice-intake-panel,
html.is-content-v2 #addOpportunityVoicePanel .voice-intake-panel {
  margin: 0;
}

html.is-content-v2 #addOpportunityVoicePanel .voice-intake-start,
html.is-content-v2 #addOpportunityVoicePanel .voice-intake-recording.is-active {
  min-height: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 13px;
  padding: 0 12px;
}

html.is-content-v2 .main-tabs {
  margin-top: 8px;
  gap: 6px;
}

html.is-content-v2 .main-tab {
  min-height: 32px;
  border-radius: 10px;
  font-size: 12px;
}

html.is-content-v2 .content-v2 {
  margin-top: 8px;
}

.content-v2 {
  margin-top: 10px;
  flex: 1 0 auto;
  min-height: 0;
}

.content-v2-surface {
  background: var(--card);
  border: 1px solid rgba(0, 92, 75, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  min-height: 220px;
}

html.is-content-v2 .opp-details-page,
html.is-content-v2 .opp-v2-page {
  display: none !important;
  position: static !important;
  inset: auto !important;
  z-index: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.is-content-v2:has(.opp-details-page) .main-tabs,
html.is-content-v2:has(.opp-v2-page) .main-tabs {
  display: grid !important;
}

html.is-content-v2:has(.opp-details-page) .header,
html.is-content-v2:has(.opp-v2-page) .header,
html.is-content-v2:has(.opp-details-page) .license,
html.is-content-v2:has(.opp-v2-page) .license,
html.is-content-v2:has(.opp-details-page) .shell-voice,
html.is-content-v2:has(.opp-v2-page) .shell-voice {
  display: grid;
}

html.is-content-v2 .bank-contact-outcome-action-panel,
html.is-content-v2 .opp-details-progress-ring,
html.is-content-v2 [data-contact-schedule-days] {
  display: none !important;
}

html.is-content-v2:has(.content-v2.is-details) .cv2-office-toggle {
  display: none;
}

@media (max-width: 600px) {
  html.is-content-v2:has(.content-v2.is-details) .card.license.is-office-collapsible {
    padding-top: 0;
  }

  html.is-content-v2:has(.content-v2.is-details) .cv2-office-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: #1a5319;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
  }

  html.is-content-v2:has(.content-v2.is-details) .cv2-office-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 180ms ease;
  }

  html.is-content-v2:has(.content-v2.is-details) .card.license.is-office-collapsible:not(.is-office-collapsed) .cv2-office-chevron {
    transform: rotate(180deg);
  }

  html.is-content-v2:has(.content-v2.is-details) .card.license.is-office-collapsible .office-body {
    overflow: hidden;
    max-height: 720px;
    transition: max-height 180ms ease, padding 180ms ease;
  }

  html.is-content-v2:has(.content-v2.is-details) .card.license.is-office-collapsed .office-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}


/* Opportunity details (Content V2) */
.content-v2.is-details {
  padding: 0;
}

.cv2-details {
  --cv2-green: #1a5319;
  --cv2-green-soft: #e8f6f0;
  --cv2-green-text: #14532d;
  --cv2-red: #b42318;
  --cv2-red-soft: #fff1f2;
  --cv2-border: #e4eae7;
  --cv2-row: #ecefee;
  --cv2-text: #1c211f;
  --cv2-muted: #6b7873;
  --cv2-card-radius: 10px;
  --cv2-row-height: 0px;
  --cv2-row-height-secondary: 0px;
  --cv2-split: #dce5e0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 12px;
}

.cv2-icon {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.cv2-card {
  background: #fff;
  border: 1px solid var(--cv2-border);
  border-radius: var(--cv2-card-radius);
  overflow: hidden;
  box-shadow: none;
  box-sizing: border-box;
}

.cv2-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  min-height: 46px;
  max-height: 52px;
  padding: 4px 10px;
  color: var(--cv2-green);
  box-sizing: border-box;
}

.cv2-card-head-text {
  min-width: 0;
}

.cv2-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cv2-green);
}

.cv2-card-meta {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cv2-muted);
}

.cv2-task-kind {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cv2-muted);
}

.cv2-task-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cv2-task-list .cv2-details-toggle {
  display: flex;
}

.cv2-extra {
  display: grid;
  grid-template-rows: 1fr;
}

.cv2-extra-inner {
  min-height: 0;
  overflow: hidden;
}

.cv2-rows {
  padding: 0;
}

.cv2-details-toggle {
  display: none;
}

.cv2-toggle-chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 220ms ease;
}

.cv2-card.is-expanded .cv2-toggle-chevron {
  transform: rotate(180deg);
}

.cv2-row {
  display: grid;
  grid-template-columns: minmax(118px, 34%) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  min-height: var(--cv2-row-height);
  height: auto;
  padding: 5px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

.cv2-row:has(.cv2-value-secondary) {
  min-height: var(--cv2-row-height-secondary);
}

.cv2-row-key {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
}

.cv2-row-split {
  width: 1px;
  justify-self: center;
  align-self: center;
  height: 20px;
  min-height: 16px;
  max-height: 26px;
  margin: 0;
  background: var(--cv2-split);
}

.cv2-row-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  text-align: start;
}

.cv2-row-icon {
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: transparent;
  color: var(--cv2-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cv2-row-icon .cv2-icon {
  width: 15px;
  height: 15px;
}

.cv2-row-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cv2-muted);
}

.cv2-value-primary {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cv2-text);
  overflow-wrap: anywhere;
}

.cv2-value-secondary {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.2;
  color: var(--cv2-muted);
}

.cv2-value-empty {
  min-height: 14px;
}

.cv2-missing-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
}

.cv2-missing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2414b;
  flex-shrink: 0;
}

.cv2-missing-text {
  margin: 0;
  color: #c2414b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.cv2-next-action {
  margin: 0;
  padding: 4px 12px;
  min-height: 22px;
  border-top: 1px solid var(--cv2-row);
  background: #fff;
  color: var(--cv2-green-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  box-sizing: border-box;
}

.cv2-complete-wrap {
  width: 100%;
}

.cv2-complete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
  border: 1px solid var(--cv2-green);
  border-radius: 10px;
  background: #fff;
  color: var(--cv2-green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cv2-complete-btn .cv2-icon {
  width: 14px;
  height: 14px;
}

.cv2-report-head,
.cv2-report-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv2-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 8px;
  padding: 2px 16px 4px;
  border-bottom: 1px solid var(--cv2-row);
  font-size: 10px;
  font-weight: 800;
  color: var(--cv2-muted);
}

.cv2-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 16px;
  border-bottom: 1px solid var(--cv2-row);
}

.cv2-report-row:last-child {
  border-bottom: 0;
}

.cv2-report-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--cv2-text);
}

.cv2-report-outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.cv2-report-result {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cv2-green-text);
}

.cv2-report-time {
  margin-top: 1px;
  margin-inline-start: 19px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--cv2-muted);
}

.cv2-report-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cv2-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cv2-report-check .cv2-icon {
  width: 8px;
  height: 8px;
  stroke: #fff;
  color: #fff;
}

.cv2-result-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 16px;
  background: var(--cv2-green-soft);
  color: var(--cv2-green-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 0;
}

.cv2-info-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cv2-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cv2-info-dot .cv2-icon {
  width: 8px;
  height: 8px;
  stroke: #fff;
  color: #fff;
}

.cv2-appointment-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  min-height: 78px;
  gap: 10px;
  padding: 8px 16px;
}

.cv2-appointment-when {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv2-appointment-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--cv2-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cv2-appointment-icon .cv2-icon {
  width: 13px;
  height: 13px;
  stroke: #fff;
  color: #fff;
}

.cv2-appointment-label {
  display: block;
  color: var(--cv2-muted);
  font-size: 11px;
  font-weight: 700;
}

.cv2-appointment-time {
  display: block;
  margin-top: 2px;
  color: var(--cv2-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cv2-appointment-divider {
  width: 1px;
  align-self: center;
  height: 36px;
  margin: 0;
  background: var(--cv2-border);
}

.cv2-appointment-type {
  display: block;
  color: var(--cv2-text);
  font-size: 13px;
  font-weight: 800;
}

.cv2-appointment-status {
  display: block;
  margin-top: 2px;
  color: var(--cv2-muted);
  font-size: 11px;
  line-height: 1.3;
}

.cv2-editor {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  background: rgba(16, 24, 21, 0.35);
}

.cv2-editor-sheet {
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 40, 32, 0.16);
}

.cv2-editor-sheet h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--cv2-green, #1a5319);
}

.cv2-editor-hint {
  margin: 0 0 8px;
  color: var(--cv2-muted, #6b7873);
  font-size: 12px;
}

.cv2-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.cv2-role-chip {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--cv2-border, #d7e2dc);
  border-radius: 999px;
  background: #fff;
  color: var(--cv2-text, #1c211f);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cv2-role-chip.is-selected {
  border-color: var(--cv2-green, #1a5319);
  background: #eef6f1;
  color: var(--cv2-green, #1a5319);
}

.cv2-editor-form {
  display: grid;
  gap: 8px;
}

.cv2-editor-input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--cv2-border, #d7e2dc);
  border-radius: 10px;
  background: #fff;
  color: var(--cv2-text, #1c211f);
  font: inherit;
}

.cv2-editor-error {
  min-height: 16px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
}

.cv2-editor-actions {
  display: flex;
  gap: 8px;
}

.cv2-editor-save,
.cv2-editor-cancel {
  flex: 1;
  min-height: 38px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cv2-editor-save {
  border: 0;
  background: var(--cv2-green, #1a5319);
  color: #fff;
}

.cv2-editor-cancel {
  border: 1px solid var(--cv2-border, #d7e2dc);
  background: #fff;
  color: #44504c;
}

.cv2-editor-actions.is-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cv2-editor-save {
  order: 1;
}

.cv2-editor-cancel {
  order: 2;
}

.cv2-editor-contact-save {
  order: 3;
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid var(--cv2-green, #1a5319);
  border-radius: 10px;
  background: #fff;
  color: var(--cv2-green, #1a5319);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cv2-editor-contact-save .cv2-icon,
.cv2-contact-add .cv2-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.cv2-editor-contact-status {
  min-height: 16px;
  margin: 0;
  font-size: 12px;
}

.cv2-editor-contact-status.is-ok {
  color: #14532d;
}

.cv2-editor-contact-status.is-fail {
  color: #9f1239;
}

.cv2-contact-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
  width: 100%;
}

.cv2-contact-value .cv2-value-primary,
.cv2-contact-value .cv2-value-secondary {
  grid-column: 1;
}

.cv2-contact-add {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--cv2-green);
  border-radius: 6px;
  background: #fff;
  color: var(--cv2-green);
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 600px) {
  html.is-content-v2 .content-v2.is-details {
    margin-top: 6px;
  }

  .cv2-details {
    gap: 6px;
    padding: 0 0 10px;
  }

  .cv2-card-head {
    min-height: 46px;
    padding: 4px 10px;
  }

  .cv2-row {
    min-height: var(--cv2-row-height);
    padding: 5px 10px;
    column-gap: 8px;
  }

  .cv2-row:has(.cv2-value-secondary) {
    min-height: var(--cv2-row-height-secondary);
  }

  .cv2-row-split {
    height: 18px;
    max-height: 24px;
  }

  .cv2-next-action {
    padding: 4px 10px;
  }

  .cv2-extra {
    overflow: hidden;
    max-height: 120px;
    transition: max-height 180ms ease;
  }

  .cv2-card.is-collapsed .cv2-extra {
    max-height: 0;
  }

  .cv2-details-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 36px;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-top: 1px solid var(--cv2-row);
    border-radius: 0;
    background: #fff;
    color: var(--cv2-green);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
  }

  .cv2-report-head,
  .cv2-report-row {
    padding-inline: 12px;
  }

  .cv2-report-row {
    min-height: 42px;
    padding-block: 5px;
  }

  .cv2-result-bar {
    padding: 5px 12px;
  }

  .cv2-appointment-body {
    min-height: 78px;
    padding: 8px 12px;
  }

  .cv2-complete-btn {
    min-height: 32px;
    font-size: 13px;
  }

  .cv2-editor-contact-save {
    min-height: 34px;
  }
}



/* Daily tasks execution list (Content V2) */
.cv2-exec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.cv2-exec-card {
  background: #fff;
  border: 1px solid var(--cv2-border, #e4eae7);
  border-radius: var(--cv2-card-radius, 10px);
  padding: 8px 10px;
  min-height: 0;
  box-sizing: border-box;
}

.cv2-exec-summary-block {
  display: block;
}

.cv2-exec-reveal-row {
  margin-top: 6px;
}

.cv2-exec-reveal {
  min-height: 30px;
  height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--cv2-green, #1a5319);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cv2-exec-reveal:focus-visible {
  outline: 2px solid var(--cv2-green, #1a5319);
  outline-offset: 2px;
  border-radius: 8px;
}

.cv2-exec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cv2-exec-kind {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cv2-green, #1a5319);
}

.cv2-exec-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f6f0;
  color: var(--cv2-green, #1a5319);
}

.cv2-exec-badge.is-late {
  background: #fff4e8;
  color: #9a5b12;
}

.cv2-exec-summary,
.cv2-exec-money,
.cv2-exec-status,
.cv2-exec-next {
  margin: 0;
}

.cv2-exec-summary {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cv2-text, #1c211f);
}

.cv2-exec-money {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cv2-text, #1c211f);
}

.cv2-exec-status {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cv2-green-text, #14532d);
}

.cv2-exec-next {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cv2-muted, #6b7873);
}

.cv2-exec-count,
.cv2-exec-turn {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cv2-text, #1c211f);
}

.cv2-exec-turn {
  color: var(--cv2-green, #1a5319);
}

.cv2-match-expanded ol {
  margin: 4px 0 0;
  padding-inline-start: 18px;
}

.cv2-exec-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 6px;
}

.cv2-exec-primary,
.cv2-exec-secondary {
  font: inherit;
  cursor: pointer;
}

.cv2-exec-primary:disabled,
.cv2-exec-secondary:disabled {
  cursor: default;
  opacity: 0.7;
}

.cv2-exec-primary {
  min-height: 30px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: var(--cv2-green, #1a5319);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cv2-exec-secondary {
  min-height: 30px;
  height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--cv2-green, #1a5319);
  font-size: 12px;
  font-weight: 700;
}

.cv2-exec-empty {
  padding: 12px;
  border: 1px solid var(--cv2-border, #e4eae7);
  border-radius: var(--cv2-card-radius, 10px);
  background: #fff;
}

.cv2-exec-empty-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--cv2-text, #1c211f);
}

.cv2-exec-partner {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cv2-text, #1c211f);
  overflow-wrap: anywhere;
}

.cv2-coop-expanded {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}

.cv2-coop-block,
.cv2-coop-turn {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--cv2-border, #e4eae7);
  border-radius: 10px;
  background: #fbfdfc;
}

.cv2-coop-block strong,
.cv2-coop-turn strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--cv2-green, #1a5319);
}

.cv2-coop-block p,
.cv2-coop-turn p,
.cv2-coop-block li {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cv2-coop-block ul {
  margin: 4px 0 0;
  padding-inline-start: 18px;
}

.cv2-exec-card.is-coop,
.cv2-exec-actions {
  overflow: hidden;
}

.cv2-exec-head-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cv2-exec-ref,
.cv2-exec-ref-inline {
  font-size: 11px;
  font-weight: 800;
  color: var(--cv2-muted, #6b7873);
  direction: ltr;
}

.cv2-exec-place {
  margin: 1px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cv2-text, #1c211f);
}

.cv2-exec-timeline ol {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.cv2-exec-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  margin: 4px 0 0;
}

.cv2-exec-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--cv2-muted, #6b7873);
  direction: ltr;
  text-align: start;
}

.cv2-exec-full-details {
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid var(--cv2-border, #e4eae7);
  border-radius: 10px;
  background: #f7fbf9;
  min-width: 0;
}

.cv2-exec-full-details strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--cv2-green, #1a5319);
}

.cv2-exec-full-details dl {
  margin: 6px 0 0;
}

.cv2-exec-full-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.cv2-exec-full-details dt,
.cv2-exec-full-details dd {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.cv2-coop-turn.is-waiting {
  background: #f4f7f6;
}

.cv2-inbox-section {
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--cv2-green, #1a5319);
}

.cv2-inbox-section-rule {
  height: 1px;
  background: var(--cv2-border, #e4eae7);
  margin: 4px 0 8px;
}

@media (max-width: 430px) {
  .cv2-exec-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cv2-exec-primary,
  .cv2-exec-secondary {
    max-width: 100%;
    width: 100%;
  }

  .cv2-exec-card,
  .cv2-coop-block,
  .cv2-exec-full-details {
    overflow-wrap: anywhere;
  }
}

.cv2-exec-details-sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-items: stretch;
  background: rgba(16, 24, 21, 0.35);
}

.cv2-exec-details-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  padding: 12px;
  overflow: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 40, 32, 0.16);
}

.cv2-exec-details-close {
  align-self: flex-start;
  min-height: 36px;
  margin-bottom: 8px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--cv2-green, #1a5319);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cv2-exec-ref {
  display: block;
  margin: 0 0 4px;
  color: var(--cv2-muted, #6b7873);
  font-size: 12px;
  font-weight: 700;
}

.cv2-exec-reasons {
  margin: 6px 0 4px;
  color: #173d35;
  font-size: 13px;
}

.cv2-exec-reasons strong {
  display: block;
  margin-bottom: 4px;
}

.cv2-exec-reasons ul {
  margin: 0;
  padding: 0 18px 0 0;
}

.cv2-exec-platform-body {
  margin-top: 6px;
  color: var(--cv2-muted, #6b7873);
  font-size: 13px;
}

@media (max-width: 600px) {
  html.cv2-tasks-office-smart .app > .card.license,
  html.cv2-tasks-office-smart section.card.license {
    overflow: hidden;
    min-height: 0;
    will-change: max-height, opacity;
    transition:
      max-height 220ms ease,
      opacity 220ms ease,
      margin 220ms ease,
      padding 220ms ease,
      border-width 220ms ease,
      box-shadow 220ms ease;
  }

  html.cv2-tasks-office-smart.cv2-office-hidden .app > .card.license,
  html.cv2-tasks-office-smart.cv2-office-hidden section.card.license {
    opacity: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    box-shadow: none;
    pointer-events: none;
  }
}

