/* Max 10-29 notes on /schools/responsible-by-design/ */
/* no progress bars under the tabs */
body.page-responsible-by-design #safe .rt-item i {
  display: none;
}
body.page-responsible-by-design #safe .rt-item.is-on {
  padding-bottom: 24px;
}
/* the window sits whole inside the frame instead of running off the corner */
body.page-responsible-by-design #safe .rt-win {
  left: clamp(64px, 6vw, 96px);
  right: clamp(28px, 3vw, 40px);
  top: clamp(32px, 3.2vw, 44px);
  bottom: clamp(28px, 3vw, 40px);
}
body.page-responsible-by-design #safe .rt-set {
  gap: 8px;
  padding: 18px;
}
body.page-responsible-by-design #safe .rt-opt {
  padding: 10px 14px;
}
/* settings toggles in Capyo orange */
body.page-responsible-by-design #safe .rt-tg.on {
  background: var(--orange);
}
body.page-responsible-by-design #safe .rt-tg::after {
  transition: transform 0.35s var(--ease);
}
/* the flagged notification: a calm red row, not a solid block */
body.page-responsible-by-design #safe .nt-hot {
  background: #fdf1ef;
}
body.page-responsible-by-design #safe .nt-hot .rt-sign {
  background: #d92d20;
}
body.page-responsible-by-design #safe .nt-hot .rt-sign svg {
  stroke: #fff;
}
body.page-responsible-by-design #safe .nt-hot .nt-t b {
  color: #b42318;
}
body.page-responsible-by-design #safe .nt-hot .nt-t small {
  color: #7a3a30;
}
body.page-responsible-by-design #safe .nt-go {
  background: #b42318;
  color: #fff;
}
/* data cards on the page's own warm paper instead of the grey */
body.page-responsible-by-design .rbd-data .rd-grid .rd-item {
  background: #fffaf3;
  box-shadow: 0 14px 32px -28px rgba(120, 50, 0, 0.25);
}
body.page-responsible-by-design #safe #rt-p1,
body.page-responsible-by-design #safe #rt-p2 {
  overflow: hidden;
  border-radius: 14px;
}
/* phone: the red alert sits inside the window and clear of the chat, notification titles wrap, no caption on top of the list */
@media (max-width: 1024px) {
  body.page-responsible-by-design #safe .rt-frame {
    height: 600px;
  }
  body.page-responsible-by-design #safe .rt-alert {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 34px;
  }
  body.page-responsible-by-design #safe .rt-pane#rt-p0 .rt-alert {
    bottom: 34px;
  }
  body.page-responsible-by-design #safe .nt-t b {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  body.page-responsible-by-design #safe .rt-pf .rt-cap {
    display: none;
  }
}

/* Max 11-07: centred, tight headings; commitments text centred; safety showcase sits in one frame */
body.page-responsible-by-design .cm-head {
  max-width: none;
  margin-bottom: clamp(28px, 3vw, 40px);
}
body.page-responsible-by-design .cm-head h2 {
  white-space: nowrap;
}
body.page-responsible-by-design .cm-head h2 em {
  display: inline;
}
body.page-responsible-by-design .cm-head .lede {
  margin-top: 12px;
}
body.page-responsible-by-design .cm-txt {
  text-align: center;
}
body.page-responsible-by-design .cm p {
  margin-left: auto;
  margin-right: auto;
  max-width: 30em;
}
body.page-responsible-by-design #safe .rt-head {
  display: block;
  text-align: center;
  max-width: none;
  margin: 0 auto clamp(28px, 3vw, 40px);
}
body.page-responsible-by-design #safe .rt-head h2 {
  max-width: none;
  margin: 0;
}
body.page-responsible-by-design #safe .rt-head .lede {
  margin: 12px auto 0;
  max-width: none;
}
body.page-responsible-by-design #safe .rt-show {
  background: #fff7ec;
  border-radius: 28px;
  padding: 10px;
  gap: 0;
}
body.page-responsible-by-design #safe .rt-show {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
body.page-responsible-by-design #safe .rt-list {
  padding: clamp(14px, 1.6vw, 24px);
}
body.page-responsible-by-design #safe .rt-item.is-on {
  background: #fff;
}
body.page-responsible-by-design #safe .rt-frame {
  border-radius: 20px;
}
@media (max-width: 1024px) {
  body.page-responsible-by-design #safe .rt-show {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-responsible-by-design .cm-head h2 {
    white-space: normal;
  }
  body.page-responsible-by-design #safe .rt-show {
    border-radius: 22px;
    padding: 8px;
  }
  body.page-responsible-by-design #safe .rt-list {
    padding: 8px 4px 12px;
  }
  body.page-responsible-by-design #safe .rt-frame {
    border-radius: 16px;
  }
}
@media (min-width: 1025px) {
  body.page-responsible-by-design #safe .rt-alert {
    width: 296px;
  }
}

/* Max 11-10: a thin line between hero and commitments, smaller icon wells */
body.page-responsible-by-design .pc-sec {
  border-top: 1px solid rgba(196, 78, 0, 0.22);
  margin: 0 clamp(16px, 4vw, 64px);
  padding-top: clamp(56px, 6vw, 96px);
}
body.page-responsible-by-design .pc-sec .pc-well {
  height: clamp(140px, 11vw, 164px);
  background: #f6e9d6;
}
body.page-responsible-by-design .pc-sec .pc-ic {
  height: clamp(80px, 6.4vw, 92px);
}
body.page-responsible-by-design .pc-sec .pc-ic[src*='icon-think'] {
  height: auto;
  width: clamp(96px, 7.6vw, 112px);
}
body.page-responsible-by-design .pc-sec .pc-txt {
  padding-top: clamp(18px, 1.8vw, 24px);
}
@media (max-width: 1024px) {
  body.page-responsible-by-design .pc-sec .pc-well {
    height: 120px;
  }
}

/* Max 11-10: admin panes centred in the window, no fade, whole list visible */
@media (min-width: 1025px) {
  body.page-responsible-by-design #safe .rt-frame {
    height: 640px;
  }
}
body.page-responsible-by-design #safe .rt-pf {
  padding: 14px;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}
body.page-responsible-by-design #safe .rt-pf .pf-card {
  max-width: none;
  width: 100%;
}
body.page-responsible-by-design #safe .rt-pf .rt-cap {
  display: none;
}
body.page-responsible-by-design #safe .rt-pf .rt-opt {
  padding: 4px 12px;
}
body.page-responsible-by-design #safe .pf-head {
  padding: 10px 14px;
}
body.page-responsible-by-design #safe .rt-pf {
  padding: 10px;
  gap: 8px;
}
body.page-responsible-by-design #safe .rt-pf .pf-card {
  padding: 8px 8px 6px;
}
body.page-responsible-by-design #safe .pf-ct {
  padding: 0 8px 6px;
}

/* Max 11-10: Safety heading lives inside the left side of the box */
body.page-responsible-by-design #safe .rt-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(14px, 1.6vw, 24px) clamp(8px, 1vw, 16px) clamp(14px, 1.6vw, 24px)
    clamp(14px, 1.6vw, 24px);
}
body.page-responsible-by-design #safe .rt-left .rt-list {
  padding: 0;
}
body.page-responsible-by-design #safe .rt-head2 {
  padding: 0 clamp(8px, 1vw, 14px) clamp(18px, 2vw, 28px);
}
body.page-responsible-by-design #safe .rt-head2 h2 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
body.page-responsible-by-design #safe .rt-head2 .lede {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.2vw, 18px);
  max-width: 28em;
}

/* Max 11-10: each notification is its own rounded row */
body.page-responsible-by-design #safe #rt-p1 .pf-card.nt {
  background: #fff;
  border: 0;
  padding: 0;
  gap: 10px;
  flex: none;
}
body.page-responsible-by-design #safe #rt-p1 .nt-row {
  background: #faf6f0;
  border-radius: 16px;
  padding: 18px 18px;
  gap: 14px;
  flex: none;
}
body.page-responsible-by-design #safe #rt-p1 .nt-row.nt-hot {
  background: #fbeeea;
}
body.page-responsible-by-design #safe #rt-p1 .nt-row:not(.nt-hot) .nt-t b {
  color: #2f2c28;
  font-weight: 600;
}
body.page-responsible-by-design #safe #rt-p1 .pf-card.nt {
  background: none;
  box-shadow: none;
}
body.page-responsible-by-design #safe #rt-p1 .nt-row {
  background: #fff;
}
body.page-responsible-by-design #safe #rt-p1 .nt-row.nt-hot {
  background: #fbeeea;
}

/* Tcl1 for Max 11-13: the notifications window hugs its rows (was ~50px empty above and below) */
@media (min-width: 1025px) {
  body.page-responsible-by-design #safe .rt-win:has(#rt-p1.is-on) {
    top: calc(clamp(32px, 3.2vw, 44px) + 40px);
    bottom: calc(clamp(28px, 3vw, 40px) + 40px);
  }
}
/* Tcl1 for Max 11-13: promise card wells on the site's quiet silver (same as the teachers wells) */
body.page-responsible-by-design .pc-sec .pc-well:not(#_) {
  background: #f0ece5;
}
body.page-responsible-by-design .pc-sec .pc-ic:not(#_) {
  filter: drop-shadow(0 6px 8px rgba(40, 32, 24, 0.13));
}
@media (min-width: 1025px) {
  body.page-responsible-by-design .pc-sec .pc-well:not(#_) {
    height: clamp(120px, 9.3vw, 138px);
  }
  body.page-responsible-by-design .pc-sec .pc-ic:not(#_) {
    height: clamp(84px, 6.7vw, 96px);
  }
  body.page-responsible-by-design .pc-sec .pc-ic[src*='icon-think']:not(#_) {
    height: auto;
    width: clamp(104px, 8.2vw, 118px);
  }
}
/* Tcl1 for Max 11-13: promise cards less tight, text centred like the section title */
body.page-responsible-by-design .pc-sec .pc-txt:not(#_) {
  text-align: center;
  padding: clamp(24px, 2.3vw, 32px) clamp(20px, 2.2vw, 30px) clamp(26px, 2.4vw, 34px);
}
body.page-responsible-by-design .pc-sec .pc-txt p:not(#_) {
  max-width: 30em;
  margin-inline: auto;
  text-wrap: balance;
}
@media (min-width: 1025px) {
  body.page-responsible-by-design .pc-sec .pc-row:not(#_) {
    gap: 22px;
  }
  body.page-responsible-by-design .pc-sec .pc-well:not(#_) {
    height: clamp(132px, 10.2vw, 150px);
  }
}
