/* Scene 7 refresh, an action list with clear rationale, source identity and due state. */
body[data-scene="7"] {
  --my-actions-ink: #102049;
  --my-actions-muted: #63718d;
  --my-actions-line: #e0e6ef;
  --my-actions-blue: #165eea;
  background: #f7f8fb;
}

body[data-scene="7"] #main {
  position: relative;
  isolation: isolate;
  max-width: 1500px;
  padding: 30px clamp(18px, 3.2vw, 52px) 48px;
  color: var(--my-actions-ink);
}

body[data-scene="7"] #main::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 2%;
  left: 2%;
  height: 170px;
  border-radius: 0 0 36px 36px;
  background: linear-gradient(105deg, #eef5ff 0%, #f8fbff 58%, rgb(247 248 251 / 0%) 100%);
  content: "";
}

body[data-scene="7"] .my-actions-page {
  position: relative;
  z-index: 1;
}

body[data-scene="7"] .my-actions-page .page-heading {
  margin-bottom: 22px;
}

body[data-scene="7"] .my-actions-page .page-heading h1,
body[data-scene="7"] .my-actions-page .page-heading .title {
  margin-bottom: 5px;
  color: var(--my-actions-ink);
  font-size: clamp(29px, 2.4vw, 37px);
  letter-spacing: -.9px;
}

body[data-scene="7"] .my-actions-page .page-heading .small {
  color: #4d5f83;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .03em;
}

body[data-scene="7"] .my-actions-page .page-heading .lead {
  margin: 0;
  color: var(--my-actions-muted);
  font-size: 15px;
}

body[data-scene="7"] .my-actions-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px;
  padding: 9px 10px;
  border: 1px solid var(--my-actions-line);
  border-radius: 14px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 3px 11px rgb(19 38 75 / 5%);
}

body[data-scene="7"] .my-actions-tabs {
  flex: 1 1 auto;
  gap: 5px;
  min-width: 0;
  margin: 0;
  border: 0;
}

body[data-scene="7"] .my-actions-tabs .btn {
  min-height: 39px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #405174;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

body[data-scene="7"] .my-actions-tabs .btn:hover,
body[data-scene="7"] .my-actions-tabs .btn:focus-visible {
  border-color: #d8e0ec;
  background: #f4f7fb;
}

body[data-scene="7"] .my-actions-tabs .btn.primary {
  border-color: #d8e6ff;
  background: #edf3ff;
  color: var(--my-actions-blue);
  box-shadow: none;
}

body[data-scene="7"] .my-actions-controls {
  flex: 0 1 auto;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

body[data-scene="7"] .my-actions-search {
  width: clamp(180px, 18vw, 260px);
  margin: 0;
  color: #556584;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .03em;
}

body[data-scene="7"] .my-actions-search input {
  width: 100%;
  min-height: 39px;
  margin-top: 3px;
  border-color: #d7deea;
  border-radius: 9px;
  font-size: 13px;
}

body[data-scene="7"] .my-actions-apply {
  min-height: 39px;
  margin-top: 14px;
  border-color: #0a315e;
  background: #0a315e;
  color: #fff;
}

body[data-scene="7"] .my-actions-apply:hover,
body[data-scene="7"] .my-actions-apply:focus-visible {
  border-color: #123d70;
  background: #123d70;
}

body[data-scene="7"] .my-actions-sort {
  min-height: 39px;
  margin-top: 14px;
  color: #304568;
  font-weight: 700;
}

body[data-scene="7"] .my-actions-list {
  gap: 10px;
}

body[data-scene="7"] .my-actions-row {
  --my-actions-tone: #2b73e7;
  --my-actions-soft: #edf4ff;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(165px, .58fr) minmax(150px, .53fr) auto;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--my-actions-line);
  border-left: 4px solid var(--my-actions-tone);
  border-radius: 13px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 3px 11px rgb(19 38 75 / 5%);
}

body[data-scene="7"] .my-actions-row-amber {
  --my-actions-tone: #e98a09;
  --my-actions-soft: #fff4e4;
}

body[data-scene="7"] .my-actions-row-green {
  --my-actions-tone: #26945b;
  --my-actions-soft: #e9f7ef;
}

body[data-scene="7"] .my-actions-row-purple {
  --my-actions-tone: #5c4bdd;
  --my-actions-soft: #efedff;
}

body[data-scene="7"] .my-actions-row-blue {
  --my-actions-tone: #1e70da;
  --my-actions-soft: #eaf3ff;
}

body[data-scene="7"] .my-actions-row-main {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-width: 0;
  padding: 19px 18px 18px;
}

body[data-scene="7"] .my-actions-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 13px;
  background: var(--my-actions-soft);
  color: var(--my-actions-tone);
}

body[data-scene="7"] .my-actions-icon svg {
  width: 34px;
  height: 34px;
}

body[data-scene="7"] .my-actions-copy {
  min-width: 0;
}

body[data-scene="7"] .my-actions-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 23px;
}

body[data-scene="7"] .my-actions-category {
  color: var(--my-actions-tone);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

body[data-scene="7"] .my-actions-status {
  display: inline-flex;
}

body[data-scene="7"] .my-actions-copy h2 {
  margin: 2px 0 5px;
  color: var(--my-actions-ink);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.35;
  letter-spacing: -.3px;
}

body[data-scene="7"] .my-actions-copy p {
  max-width: 640px;
  margin: 0;
  color: #33476e;
  font-size: 13px;
  line-height: 1.5;
}

body[data-scene="7"] .my-actions-copy p strong {
  color: var(--my-actions-ink);
}

body[data-scene="7"] .my-actions-source,
body[data-scene="7"] .my-actions-due {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 16px;
  border-left: 1px solid #e8edf3;
}

body[data-scene="7"] .my-actions-column-label {
  color: #667594;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}

body[data-scene="7"] .my-actions-source-value,
body[data-scene="7"] .my-actions-due-value {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

body[data-scene="7"] .my-actions-source-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 7px;
  background: var(--my-actions-soft);
  color: var(--my-actions-tone);
  font-size: 14px;
  font-weight: 850;
}

body[data-scene="7"] .my-actions-source-value > span:last-child,
body[data-scene="7"] .my-actions-due-value > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body[data-scene="7"] .my-actions-source-value strong {
  overflow-wrap: anywhere;
  color: var(--my-actions-ink);
  font-size: 13px;
}

body[data-scene="7"] .my-actions-source-value small,
body[data-scene="7"] .my-actions-due-value small {
  color: #596b8c;
  font-size: 11px;
  line-height: 1.35;
}

body[data-scene="7"] .my-actions-due-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff2df;
  color: #b25c00;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-scene="7"] .my-actions-due-pill.today {
  background: #fff0dc;
  color: #b65300;
}

body[data-scene="7"] .my-actions-due-pill.soon {
  background: #fff4e7;
  color: #b25c00;
}

body[data-scene="7"] .my-actions-due-pill.later {
  background: #eef3fb;
  color: #5b6b86;
}

body[data-scene="7"] .my-actions-due-pill.completed {
  background: #e4f5eb;
  color: #14714d;
}

body[data-scene="7"] .my-actions-due-pill.submitted {
  background: #eaf1ff;
  color: #225bc1;
}

body[data-scene="7"] .my-actions-row-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 18px 15px;
}

body[data-scene="7"] .my-actions-row-actions .btn {
  width: 100%;
  min-width: 112px;
  padding-right: 11px;
  padding-left: 11px;
  font-weight: 750;
  white-space: nowrap;
}

body[data-scene="7"] .my-actions-row-actions .btn.primary {
  border-color: #092b57;
  background: #092b57;
}

body[data-scene="7"] .my-actions-row-actions .btn.primary:hover,
body[data-scene="7"] .my-actions-row-actions .btn.primary:focus-visible {
  border-color: #123d70;
  background: #123d70;
}

body[data-scene="7"] .my-actions-pagination {
  justify-content: space-between;
  margin: 16px 0 0;
  padding: 0 1px;
}

body[data-scene="7"] .my-actions-pagination > span {
  color: #5d6d89;
  font-size: 12px;
}

body[data-scene="7"] .my-actions-pagination > .row {
  gap: 7px;
}

body[data-scene="7"] .my-actions-pagination > .row > span {
  min-width: 48px;
  color: var(--my-actions-ink);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

body[data-scene="7"] .my-actions-pagination .btn {
  min-height: 36px;
  padding: 8px 12px;
}

body[data-scene="7"] .my-actions-pagination .btn.link {
  border-color: #e1e6ee;
  background: #fff;
  color: #60708d;
  padding-right: 12px;
  padding-left: 12px;
}

@media (max-width: 1120px) {
  body[data-scene="7"] .my-actions-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-scene="7"] .my-actions-tabs,
  body[data-scene="7"] .my-actions-controls {
    width: 100%;
  }

  body[data-scene="7"] .my-actions-controls {
    justify-content: flex-end;
  }

  body[data-scene="7"] .my-actions-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, .62fr) minmax(140px, .55fr) auto;
  }

  body[data-scene="7"] .my-actions-row-actions {
    min-width: 118px;
    padding-right: 11px;
    padding-left: 11px;
  }
}

@media (max-width: 820px) {
  body[data-scene="7"] .my-actions-row {
    grid-template-columns: minmax(0, 1fr) minmax(160px, .56fr);
  }

  body[data-scene="7"] .my-actions-row-main,
  body[data-scene="7"] .my-actions-row-actions {
    grid-column: 1 / -1;
  }

  body[data-scene="7"] .my-actions-row-actions {
    justify-content: flex-start;
    min-width: 0;
    padding-top: 0;
  }

  body[data-scene="7"] .my-actions-row-actions .btn {
    width: fit-content;
    min-width: 145px;
  }
}

@media (min-width: 821px) and (max-height: 940px) {
  body[data-scene="7"] #main {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  body[data-scene="7"] .my-actions-page .page-heading {
    margin-bottom: 16px;
  }

  body[data-scene="7"] .my-actions-page .page-heading h1,
  body[data-scene="7"] .my-actions-page .page-heading .title {
    font-size: 31px;
  }

  body[data-scene="7"] .my-actions-toolbar {
    margin-bottom: 13px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  body[data-scene="7"] .my-actions-row-main {
    gap: 13px;
    padding: 14px 15px;
  }

  body[data-scene="7"] .my-actions-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 11px;
  }

  body[data-scene="7"] .my-actions-icon svg {
    width: 30px;
    height: 30px;
  }

  body[data-scene="7"] .my-actions-copy h2 {
    margin-top: 0;
    margin-bottom: 3px;
    font-size: 18px;
    line-height: 1.25;
  }

  body[data-scene="7"] .my-actions-copy p {
    font-size: 12px;
    line-height: 1.4;
  }

  body[data-scene="7"] .my-actions-source,
  body[data-scene="7"] .my-actions-due,
  body[data-scene="7"] .my-actions-row-actions {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 620px) {
  body[data-scene="7"] #main {
    padding: 21px 12px 42px;
  }

  body[data-scene="7"] .my-actions-page .page-heading {
    margin-bottom: 18px;
  }

  body[data-scene="7"] .my-actions-page .page-heading h1,
  body[data-scene="7"] .my-actions-page .page-heading .title {
    font-size: 28px;
  }

  body[data-scene="7"] .my-actions-toolbar {
    padding: 8px;
  }

  body[data-scene="7"] .my-actions-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body[data-scene="7"] .my-actions-tabs::-webkit-scrollbar {
    display: none;
  }

  body[data-scene="7"] .my-actions-controls {
    align-items: flex-end;
    flex-wrap: wrap;
  }

  body[data-scene="7"] .my-actions-search {
    flex: 1 1 100%;
    width: 100%;
  }

  body[data-scene="7"] .my-actions-row {
    display: flex;
    flex-direction: column;
  }

  body[data-scene="7"] .my-actions-row-main {
    gap: 13px;
    padding: 17px 15px 16px;
  }

  body[data-scene="7"] .my-actions-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 11px;
  }

  body[data-scene="7"] .my-actions-icon svg {
    width: 28px;
    height: 28px;
  }

  body[data-scene="7"] .my-actions-copy h2 {
    font-size: 17px;
  }

  body[data-scene="7"] .my-actions-copy p {
    font-size: 12px;
  }

  body[data-scene="7"] .my-actions-source,
  body[data-scene="7"] .my-actions-due {
    min-height: 76px;
    padding: 13px 15px;
    border-top: 1px solid #e8edf3;
    border-left: 0;
  }

  body[data-scene="7"] .my-actions-row-actions {
    padding: 14px 15px 16px;
  }

  body[data-scene="7"] .my-actions-row-actions .btn {
    width: 100%;
  }

  body[data-scene="7"] .my-actions-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  body[data-scene="7"] .my-actions-pagination > .row {
    width: 100%;
    justify-content: space-between;
  }
}
