:root {
  --ios-blue: #007aff;
  --ios-label: #000000;
  --ios-secondary: #6e6e73;
  --ios-tertiary: #6f6f74;
  --ios-separator: rgba(60, 60, 67, 0.19);
  --ios-fill: #f2f2f7;
  --service-color: #009fdb;
  --service-color-dark: #0057a8;
  --service-color-mist: #eef8fc;
  --system-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Roboto", Arial, sans-serif;
}

.device-wrap {
  --device-scale: 0.76;
  --device-scale-start: var(--device-scale);
  --device-scale-end: var(--device-scale);
  --device-width-start: var(--device-width, 315px);
  --device-width-end: var(--device-width, 315px);
  --device-height-start: var(--device-height, 660px);
  --device-height-end: var(--device-height, 660px);
  width: var(--device-width, 315px);
  height: var(--device-height, 660px);
  display: grid;
  place-items: start center;
}

.device-aura {
  inset: 8% -24%;
  background: radial-gradient(circle, rgba(107, 174, 255, 0.2), transparent 62%);
}

.phone {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -207px;
  width: 414px;
  height: 868px;
  min-height: 0;
  padding: 12px;
  border: 1px solid #5d6473;
  border-radius: 58px;
  background: #191a1f;
  box-shadow:
    0 48px 120px rgba(0, 5, 20, 0.48),
    inset 0 0 0 2px #07080a,
    inset 0 0 0 5px #323541;
  transform: scale(var(--device-scale));
  transform-origin: top center;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 47px;
  font-family: var(--system-ui);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

.email-surface,
.browser-surface {
  background: #ffffff;
}

.browser-surface {
  inset: 12px;
  width: auto;
  height: auto;
  opacity: 1;
  visibility: hidden;
  transform: translateY(104%);
  transition: transform 560ms cubic-bezier(0.32, 0.72, 0, 1), visibility 560ms;
}

.device-wrap.is-browser .email-surface {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.device-wrap.is-browser .browser-surface {
  visibility: visible;
  transform: translateY(0);
}

.phone-status {
  position: relative;
  z-index: 8;
  height: 59px;
  min-height: 59px;
  padding: 18px 27px 0;
  align-items: flex-start;
  background: #ffffff;
  color: var(--ios-label);
  font: 600 15px/20px var(--system-ui);
  letter-spacing: -0.01em;
}

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 126px;
  height: 36px;
  border-radius: 20px;
  background: #000000;
  transform: translateX(-50%);
}

.status-icons {
  height: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000000;
}

.status-icons svg {
  display: block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-icons .cellular-icon { width: 18px; height: 12px; stroke: none; }
.status-icons .wifi-icon { width: 17px; height: 13px; fill: none; }
.status-icons .battery-icon { width: 27px; height: 13px; fill: none; stroke-width: 1.3; }
.status-icons .battery-icon rect:last-child { fill: currentColor; stroke: none; }

.message-surface { background: #ffffff; }
.channel-panel { background: #ffffff; }

.mail-appbar {
  min-height: 50px;
  height: 50px;
  padding: 0 13px 0 7px;
  grid-template-columns: 92px 1fr auto;
  border-bottom: 0.5px solid var(--ios-separator);
  background: rgba(249, 249, 249, 0.96);
  color: var(--ios-blue);
}

.mail-back {
  display: flex;
  align-items: center;
  font: 400 17px/22px var(--system-ui);
  letter-spacing: -0.02em;
}

.mail-back svg {
  width: 24px;
  height: 24px;
  margin-right: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mail-back b { font-weight: 400; }

.chrome-actions {
  gap: 23px;
  align-items: center;
}

.chrome-actions svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.mail-message {
  padding: 22px 20px 36px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.mail-message::-webkit-scrollbar { display: none; }

.mail-message .message-subject {
  color: #1c1c1e;
  font: 700 24px/29px var(--system-ui);
  letter-spacing: -0.025em;
}

.mail-sender-row {
  margin-top: 19px;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
}

.service-avatar {
  width: 42px;
  height: 42px;
  background: var(--service-color);
}

.service-avatar.small { width: 36px; height: 36px; }

.northline-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  background: var(--service-color);
}

.northline-mark::before,
.northline-mark::after,
.northline-mark > span::before,
.northline-mark > i::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 52%;
  border-radius: 4px;
  background: #ffffff;
  transform: rotate(34deg);
}

.northline-mark::before { left: 31%; top: 24%; }
.northline-mark::after { right: 31%; bottom: 24%; }

.device-wrap[data-service-id="att"] .northline-mark { border-radius: 50%; }

.device-wrap[data-service-id="att"] .northline-mark::before,
.device-wrap[data-service-id="att"] .northline-mark::after {
  left: 50%;
  top: 50%;
  width: 78%;
  height: 35%;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.device-wrap[data-service-id="att"] .northline-mark::after {
  width: 61%;
  height: 66%;
  border-width: 1.5px;
}

.device-wrap[data-service-id="att"] .northline-mark > span::before,
.device-wrap[data-service-id="att"] .northline-mark > i::before { display: none; }

.mail-sender-copy p {
  gap: 5px;
  font: 400 15px/19px var(--system-ui);
  letter-spacing: -0.015em;
}

.mail-sender-copy strong { font-weight: 600; }
.mail-sender-copy p span { color: var(--ios-tertiary); font-size: 13px; }
.mail-sender-copy small { margin-top: 2px; color: var(--ios-secondary); font-size: 12px; }
.mail-details { margin-top: 1px; color: var(--ios-secondary); font-size: 13px; }
.detail-caret { width: 6px; height: 6px; margin-left: 4px; }
.mail-reply { width: 22px; height: 22px; color: var(--ios-secondary); }

.mail-body {
  margin: 27px 0 0;
  color: #19191b;
}

.northline-email {
  overflow: hidden;
  border: 1px solid #e5e5e7;
  border-radius: 2px;
  background: #ffffff;
}

.service-lockup {
  min-height: 65px;
  padding: 0 22px;
  gap: 10px;
  border-bottom: 1px solid #e9ebe9;
  color: var(--service-color-dark);
  font: 700 19px/24px var(--system-ui);
  letter-spacing: -0.025em;
}

.service-lockup .northline-mark,
.site-lockup .northline-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--service-color);
  color: #ffffff;
}

.mail-alert-heading {
  padding: 25px 22px 0;
}

.mail-alert-heading small {
  color: var(--service-color);
  font: 600 12px/16px var(--system-ui);
}

.mail-alert-heading h2 {
  max-width: 14ch;
  margin-top: 8px;
  color: #171719;
  font: 700 26px/30px var(--system-ui);
  letter-spacing: -0.035em;
}

.mail-body > p:not(.mail-footer):not(.mail-no-action):not(.mail-signoff) {
  margin: 19px 22px 0;
  font: 400 15px/22px var(--system-ui);
  letter-spacing: -0.01em;
}

.mail-body .message-cta {
  width: calc(100% - 44px);
  min-height: 48px;
  margin: 23px 22px 0;
  border-radius: 7px;
  background: var(--service-color);
  box-shadow: none;
  font: 600 15px/20px var(--system-ui);
}

.mail-body .message-cta:hover { background: var(--service-color-dark); transform: none; }

.mail-no-action,
.mail-signoff {
  margin: 16px 22px 0;
  color: #55585c;
  font: 400 12px/18px var(--system-ui);
}

.mail-signoff { margin-top: 14px; color: #242628; font-weight: 600; }

.mail-footer {
  margin: 25px 0 0;
  padding: 18px 22px 22px;
  border-top: 1px solid #e9ebe9;
  background: #f6f7f6;
  color: #666a6d;
  font: 400 10px/15px var(--system-ui);
}

.mail-footer p + p { margin-top: 7px; }

.mail-bottom-bar {
  height: 51px;
  min-height: 51px;
  padding: 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid var(--ios-separator);
  background: rgba(249, 249, 249, 0.96);
  color: var(--ios-blue);
}

.mail-bottom-bar svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.conversation-bar {
  height: 72px;
  min-height: 72px;
  padding: 1px 6px 8px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  border-bottom: 0.5px solid var(--ios-separator);
  background: rgba(249, 249, 249, 0.96);
}

.chrome-button {
  color: var(--ios-blue);
}

.conversation-identity strong { margin-top: 3px; font-size: 12px; font-weight: 500; }
.conversation-identity small { margin-top: 1px; font-size: 9px; }

.conversation-thread {
  padding: 19px 13px 10px;
  background: #ffffff;
}

.conversation-time {
  color: var(--ios-tertiary);
  font: 500 11px/15px var(--system-ui);
}

.sms-bubble {
  position: relative;
  max-width: 82%;
  margin-top: 24px;
  padding: 10px 13px;
  border-radius: 18px 18px 18px 4px;
  background: #e9e9eb;
  color: #111113;
  font: 400 16px/21px var(--system-ui);
  letter-spacing: -0.015em;
}

.sms-bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 12px;
  height: 15px;
  border-bottom-right-radius: 11px 8px;
  background: #e9e9eb;
}

.link-preview {
  width: 82%;
  margin-top: 3px;
  grid-template-columns: 1fr;
  border: 0;
  border-radius: 17px;
  background: #e9e9eb;
  box-shadow: none;
}

.preview-art {
  min-height: 128px;
  display: grid;
  place-items: center;
  background: var(--service-color-mist);
}

.northline-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--service-color-dark);
  font: 700 20px/24px var(--system-ui);
  letter-spacing: -0.035em;
}

.northline-wordmark .northline-mark {
  width: 29px;
  height: 29px;
  border-radius: 7px;
}

.link-preview > span:last-child {
  padding: 10px 13px 12px;
}

.link-preview small,
.dm-preview small {
  color: #626267;
  font: 400 10px/13px var(--system-ui);
  text-transform: none;
  letter-spacing: 0;
}

.link-preview strong,
.dm-preview strong {
  margin-top: 3px;
  font: 600 14px/18px var(--system-ui);
  letter-spacing: -0.015em;
}

.link-preview em,
.dm-preview em {
  margin-top: 3px;
  color: #626267;
  font: 400 11px/14px var(--system-ui);
}

.composer-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.composer-plus {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5e5ea;
  color: #55555a;
  font: 400 24px/29px var(--system-ui);
}

.composer {
  min-height: 36px;
  margin: 0;
  padding: 4px 8px 4px 12px;
  border-color: #d1d1d6;
  color: var(--ios-tertiary);
  font-size: 15px;
}

.composer svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #797980;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dm-appbar {
  height: 58px;
  min-height: 58px;
  padding: 0 9px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  border-bottom: 0.5px solid #dbdbdb;
  background: #ffffff;
}

.dm-identity {
  justify-content: flex-start;
  gap: 9px;
}

.dm-identity strong { font-size: 14px; font-weight: 600; }
.dm-identity small { color: #737373; font-size: 11px; }

.dm-header-actions {
  display: flex;
  gap: 15px;
  color: #111111;
}

.dm-header-actions svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dm-thread { padding: 18px 13px 10px; background: #ffffff; }
.dm-bubble { max-width: 76%; margin-top: 23px; border-radius: 20px; background: #efefef; font: 400 15px/20px var(--system-ui); }

.dm-preview {
  width: 76%;
  margin-top: 5px;
  border: 1px solid #dbdbdb;
  border-radius: 13px;
  box-shadow: none;
}

.dm-preview-visual {
  min-height: 118px;
  padding: 18px;
  justify-content: space-between;
  background: var(--service-color-mist);
  color: #1b2827;
}

.dm-preview-visual strong { max-width: 14ch; margin: 16px 0 0; font-size: 17px; line-height: 1.15; }
.dm-preview-visual .northline-mark { background: var(--service-color); color: #ffffff; font-size: 0; }
.dm-preview-copy { padding: 9px 12px 11px; }

.dm-composer {
  min-height: 44px;
  margin-top: auto;
  padding: 4px 10px 4px 5px;
  justify-content: flex-start;
  gap: 10px;
  border-color: #dbdbdb;
  border-radius: 22px;
  color: #737373;
  font-size: 14px;
}

.dm-composer > span:nth-child(2) { flex: 1; }
.dm-composer svg { width: 22px; height: 22px; fill: none; stroke: #111111; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dm-camera { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #3797f0; }
.dm-camera svg { width: 21px; height: 21px; stroke: #ffffff; }

.browser-status { order: 0; background: #ffffff; }
.browser-progress { order: 2; height: 2px; background: transparent; }
.browser-progress span { background: var(--ios-blue); }

.browser-page {
  order: 3;
  padding: 0;
  background: #ffffff;
  font-family: var(--system-ui);
  scrollbar-width: none;
}

.browser-page::-webkit-scrollbar { display: none; }

.system-browser-toolbar {
  order: 4;
  height: 112px;
  min-height: 112px;
  padding: 9px 13px 6px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-top: 0.5px solid var(--ios-separator);
  border-bottom: 0;
  background: rgba(246, 246, 246, 0.97);
}

.browser-address {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  background: #e9e9eb;
  color: #313135;
  font: 500 12px/16px var(--system-ui);
}

.browser-address::before { display: none; }
.browser-address > svg:first-child { width: 14px; height: 14px; fill: none; stroke: #626267; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.browser-address .reload-icon { width: 17px; height: 17px; margin-left: auto; fill: none; stroke: #626267; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.safari-controls {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  color: var(--ios-blue);
}

.safari-controls svg {
  width: 23px;
  height: 23px;
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safari-controls .is-muted { color: #b9b9bd; }

.in-app-browser-toolbar {
  order: 1;
  min-height: 50px;
  border-bottom: 0.5px solid var(--ios-separator);
  background: #ffffff;
}

.browser-done,
.browser-open { color: var(--ios-blue); font-size: 14px; }

.site-lockup {
  min-height: 64px;
  padding: 0 22px;
  grid-template-columns: 30px auto 1fr;
  border-bottom: 1px solid #e9ebe9;
  color: var(--service-color-dark);
  font: 700 18px/24px var(--system-ui);
  letter-spacing: -0.025em;
}

.site-lockup small {
  color: #5e6264;
  font: 500 12px/16px var(--system-ui);
}

.security-path {
  padding: 15px 22px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #777b7e;
  font: 500 11px/15px var(--system-ui);
}

.security-path svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.security-path strong { color: #3b3e40; font-weight: 600; }

.site-alert-icon {
  width: 42px;
  height: 42px;
  margin: 27px 22px 0;
  border-radius: 10px;
  background: var(--service-color-mist);
  color: var(--service-color);
}

.browser-page h2 {
  max-width: 14ch;
  margin: 15px 22px 0;
  color: #18191a;
  font: 700 31px/34px var(--system-ui);
  letter-spacing: -0.04em;
}

.browser-page-copy {
  max-width: 34ch;
  margin: 13px 22px 0;
  color: #55595c;
  font: 400 14px/20px var(--system-ui);
}

.destination-facts {
  margin: 23px 22px 0;
  border: 1px solid #dedfdf;
  border-radius: 8px;
}

.destination-facts > div {
  min-height: 45px;
  padding: 10px 12px;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid #e6e7e7;
  font: 400 12px/17px var(--system-ui);
}

.destination-facts > div:last-child { border-bottom: 0; }
.destination-facts dt { color: #686b6d; }
.destination-facts dd { color: #242627; font-weight: 600; }

.destination-continue,
.destination-secondary {
  width: calc(100% - 44px);
  min-height: 48px;
  margin: 23px 22px 0;
  padding: 11px 16px;
  border: 1px solid var(--service-color);
  border-radius: 7px;
  cursor: pointer;
  font: 600 14px/20px var(--system-ui);
}

.destination-continue {
  background: var(--service-color);
  color: #ffffff;
  box-shadow: none;
}

.destination-secondary {
  margin-top: 9px;
  background: #ffffff;
  color: var(--service-color-dark);
}

.destination-continue:disabled,
.destination-secondary:disabled { cursor: wait; opacity: 0.46; }

.site-help {
  margin: 26px 22px 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #676b6d;
  font: 400 10px/14px var(--system-ui);
  text-align: left;
}

.site-help a { color: var(--service-color); text-decoration: none; }

.phone-footnote {
  bottom: -30px;
  color: rgba(213, 235, 255, 0.65);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.playback-button { border-color: rgba(107, 174, 255, 0.5); }

@media (max-width: 1120px) {
  .lab-title,
  .synthetic-pill { display: none; }
  .lab-controls { gap: 8px; }
}

body[data-focus="true"] .lab-bar {
  min-height: 0;
  padding: 14px;
  justify-content: flex-end;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

body[data-focus="true"] .brand-lockup,
body[data-focus="true"] .lab-controls > :not(.playback-button),
body[data-focus="true"] .intro,
body[data-focus="true"] .phone-footnote { display: none; }

body[data-focus="true"] .lab-controls,
body[data-focus="true"] .playback-button { pointer-events: auto; }

body[data-focus="true"] .lab-controls {
  width: auto;
  flex: 0 0 auto;
  display: flex;
}

body[data-focus="true"] .playback-button {
  min-height: 44px;
  min-width: 58px;
  padding-inline: 12px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 15, 44, 0.8);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

body[data-focus="true"] .playback-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body[data-focus="true"] .message-stage {
  max-width: none;
  height: 100dvh;
  min-height: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  overflow: hidden;
}

body[data-focus="true"] .device-wrap { justify-self: center; margin: 0; }

@media (max-width: 600px) {
  .lab-bar { min-height: 112px; }
  .lab-controls { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lab-mode-button { grid-column: auto; }
  .playback-button { min-width: 44px; padding-inline: 10px; }

  html:root .phone,
  html:root .phone-screen,
  html:root .mail-message {
    overflow: clip;
  }

  .mail-message {
    overscroll-behavior: auto;
  }

  .mail-footer {
    margin-top: 12px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  @keyframes phone-shell-growth {
    from {
      padding: 12px;
      border-color: #5d6473;
      border-radius: 58px;
      background: #191a1f;
      box-shadow: 0 48px 120px rgba(0, 5, 20, .48), inset 0 0 0 2px #07080a, inset 0 0 0 5px #323541;
      transform: scale(var(--device-scale-start));
    }
    to {
      padding: 0;
      border-color: transparent;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      transform: scale(var(--device-scale-end));
    }
  }

  @keyframes phone-screen-growth {
    from { border-radius: 47px; }
    to { border-radius: 0; }
  }

  @keyframes phone-aura-growth {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  body[data-view="message"] .device-wrap.uses-native-phone-growth .phone {
    animation: phone-shell-growth linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 200px;
  }

  body[data-view="message"] .device-wrap.uses-native-phone-growth .phone-screen {
    animation: phone-screen-growth linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 200px;
  }

  body[data-view="message"] .device-wrap.uses-native-phone-growth .device-aura {
    animation: phone-aura-growth linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 200px;
  }

  .device-wrap.phone-growth-full {
    width: var(--device-width-end);
    height: var(--device-height-end);
  }

  .device-wrap.phone-growth-full .phone {
    padding: 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: scale(var(--device-scale-end));
  }

  .device-wrap.phone-growth-full .phone-screen { border-radius: 0; }
  .device-wrap.phone-growth-full .device-aura { opacity: 0; }

  body[data-focus="true"] .phone {
    border-color: transparent;
    background: #000000;
    box-shadow: none;
  }
}

@media (max-width: 400px) {
  .mail-body .message-cta { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .browser-surface { transition: none; }
  .device-wrap.uses-native-phone-growth,
  .device-wrap.uses-native-phone-growth .phone,
  .device-wrap.uses-native-phone-growth .phone-screen,
  .device-wrap.uses-native-phone-growth .device-aura { animation: none; }
}

/* A library email keeps the dark scheme until its linked page loads, because its status bar and edges show around that light page. */
@media (prefers-color-scheme: dark) {
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .email-surface,
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .email-surface .phone-status,
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .email-surface .channel-panel,
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-message {
    background: #1c1c1e;
    color: #f2f2f7;
  }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .email-surface .status-icons { color: #f2f2f7; }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-appbar {
    border-bottom-color: rgba(84, 84, 88, 0.6);
    background: rgba(28, 28, 30, 0.94);
    color: #0a84ff;
  }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-details,
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-reply { color: #a1a1a6; }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-body { color: #e7e7ea; }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-sender-copy strong { color: #f2f2f7; }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-sender-copy small,
  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-sender-copy p span { color: #a1a1a6; }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .northline-email {
    border-color: #38383a;
    background: #1c1c1e;
  }

  .device-wrap[data-story-kind="library"]:not([data-page-loaded]) .mail-bottom-bar {
    border-top-color: rgba(84, 84, 88, 0.6);
    background: rgba(28, 28, 30, 0.94);
    color: #0a84ff;
  }
}
