.view-switch { display: flex; gap: 5px; }
.member-device {
  display: grid;
  width: min(100%, 425px);
  min-height: 390px;
  padding: 6px;
  border: 4px solid #172a40;
  border-radius: 25px;
  background: #e6eff8;
  box-shadow: 0 7px 18px #102e4523;
  overflow: hidden;
}
.device-status { display: flex; justify-content: space-between; padding: 1px 11px 4px; font-size: 11px; font-weight: 700; }
.device-home { justify-self: center; width: 54px; height: 4px; margin: 6px 0 1px; border-radius: 10px; background: #344b61; align-self: end; }
.member-device > section { width: 100%; border-radius: 13px; box-shadow: none; align-self: start; }
.demo-piece .member-device { margin: auto; }
.demo-piece .member-device > .member-phone { max-width: none; margin: 0; }
.receive-notification {
  align-self: start;
  display: grid;
  gap: 5px;
  padding: 10px;
  margin: 22px 5px;
  background: #fff;
  border: 1px solid #b7cede;
  border-radius: 12px;
  box-shadow: 0 3px 8px #1734541c;
}
.notify-app, .dm-byline, .line-meta { display: flex; align-items: center; gap: 6px; }
.notify-app, .line-meta { justify-content: space-between; }
.notify-app b { color: #165376; }
.notify-app time, .dm-byline time, .line-meta, .mail-details time { color: #446378; font-size: 11px; }
.line-bubble { padding: 3px 3px 0 5px; }
.line-meta { justify-content: flex-end; }
.line-composer { display: flex; align-items: center; gap: 6px; background: #f7fcfa; border-radius: 7px; padding: 3px 6px; }
.line-composer span:last-child { flex: 1; border: 1px solid #bbd6cf; padding: 2px 6px; border-radius: 10px; color: #516b63; font-size: 11px; }
.receive-slack { display: grid; grid-template-columns: minmax(65px, 25%) minmax(0, 1fr); background: #fff; border: 1px solid #bdacc9; border-radius: 12px; overflow: hidden; }
.dm-rail { background: #45294e; color: #fff3ff; padding: 9px 5px; display: grid; align-content: start; gap: 5px; font-size: 10px; overflow-wrap: anywhere; }
.dm-rail b { font-size: 13px; }
.dm-rail strong { background: #654472; padding: 3px 2px; border-radius: 4px; }
.dm-thread > header { color: #45294e; font-weight: 800; border-bottom: 1px solid #e9dcec; padding: 5px 7px; }
.dm-content { display: grid; gap: 5px; padding: 6px; }
.dm-avatar { background: #eee2f4; color: #45294e; border-radius: 6px; padding: 2px 4px; }
.dm-byline b { font-size: 12px; }
.inbox-unread { display: grid; grid-template-columns: 1fr auto; gap: 5px; background: #eef5fd; padding: 9px; border-radius: 8px; }
.inbox-unread b, .inbox-unread time { font-size: 11px; color: #175884; }
.inbox-unread strong, .inbox-unread [data-member-action], .inbox-unread .demo-action { grid-column: 1/-1; justify-self: start; }
.mail-details { display: grid; gap: 2px; overflow-wrap: anywhere; }
.mail-details h3 { font-size: 14px; }
.mail-details p { font-size: 11px; }
.demo-piece .member-device { min-height: 320px; }
.view-switch button[aria-pressed="true"] { color: #005388; background: #e3f5fc; border-color: #7dbce1; }
#nav[hidden], #main[hidden], #member-main[hidden], #crumb[hidden] { display: none; }
.member-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.member-tabs button { color: #005388; background: white; border: 1px solid var(--line); }
.member-tabs button[aria-current="page"] { color: white; background: var(--blue); }
.member-content { display: grid; gap: 12px; justify-items: start; }
.member-phone {
  width: min(100%, 450px);
  border: 1px solid #95b9ce;
  border-radius: 17px;
  background: white;
  box-shadow: 0 4px 12px #073b681a;
  overflow: hidden;
}
.member-phone > header { padding: 8px 13px; background: #e0f3fa; color: #174f72; font-weight: 800; }
.member-phone-body, .member-phone form { display: grid; gap: 8px; padding: 12px; }
.member-phone form { padding: 0; }
.member-phone textarea { min-height: 48px; }
.member-phone.chat .member-phone-body { background: #eaf7f1; }
.member-phone.chat > header { background: #d8eee4; color: #155642; }
.member-message { padding: 8px 10px; border-radius: 9px; background: #f5fafe; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat .member-message { background: white; }
.intro-card {
  display: grid;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px 9px;
  overflow-wrap: anywhere;
}
.intro-block { padding: 4px 0; white-space: pre-wrap; }
.intro-block + .intro-block { border-top: 1px solid #dcecf4; }
.intro-block b { display: block; color: #14577f; font-size: .9em; }
.intro-subject { font-weight: 800; color: #173e60; }
.intro-company { display: block; font-size: 1.12em; }
.intro-perk { background: #edf9f2; border-radius: 5px; padding-inline: 6px; }
.intro-signature { color: #4a657a; font-size: .87em; }
.chat .intro-block:not(.intro-actions) > b { display: inline; margin-right: .45em; }
.chat .intro-block:not(.intro-actions) > div { display: inline; }
.chat .intro-company { display: inline; margin-right: .45em; }
.intro-actions > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.intro-actions button, .intro-actions span { padding: 3px 8px; border-radius: 6px; font-size: .9em; font-weight: 700; }
.intro-actions [data-member-action="member-connect"], .intro-connect, #member-connect { color: white; background: #0068b7; }
.intro-decline, #member-decline { color: #245c7f; background: #eaf5fc; }
.connection-message { margin: 0; }
.demo-piece .intro-card { font-size: 12px; line-height: 1.38; }
.member-reply { justify-self: end; background: #e4f6ed; color: #135d45; border-radius: 9px; padding: 6px 9px; font-weight: 700; }
.member-sender { font-size: 12px; font-weight: 700; }
.member-action { justify-self: start; color: #045684; background: #edf8fd; }
.member-inbox-row { display: grid; gap: 4px; background: #f1f8fe; padding: 8px; border-radius: 8px; }
.member-preview-options { max-width: 330px; }
.member-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.member-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 880px); }
.demo-piece .member-phone { width: 100%; max-width: 440px; margin: auto; }
.demo-piece .member-phone-body { padding: 8px; gap: 4px; }
.demo-piece .member-phone > header { padding-block: 5px; }
.demo-piece .member-message { font-size: 12px; line-height: 1.42; padding: 6px 8px; }
.demo-piece .member-sender { margin: 0; }
.demo-piece .member-pair .member-phone { margin: 0; }
.demo-survey { display: grid; gap: 4px; margin: 0 0 5px; }
.demo-survey div { display: grid; grid-template-columns: 120px 1fr; gap: 4px 8px; padding: 4px 7px; background: #f0fbfd; border-radius: 5px; }
.demo-survey dt { font-weight: 700; }
.demo-survey dd { margin: 0; }
.compose { align-items: start; }
.compose textarea.draft { min-height: 150px; max-height: 210px; }
@media (min-width: 951px) {
  .compose { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (max-width: 650px) {
  .top { gap: 6px; padding-inline: 8px; }
  .top button { padding-inline: 7px; }
  #crumb { display: none; }
  .member-pair { grid-template-columns: 1fr; }
  .demo-survey div { grid-template-columns: 1fr; }
}
