@font-face {
  font-family: Outfit;
  src: url("/assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Outfit, Arial, sans-serif;
  color: #17263d;
  background: #f8fafc;
  font-synthesis: none;
  --blue: #1b4798;
  --cyan: #1ba3c6;
  --muted: #64748b;
  --border: #e3e9f1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--blue);
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #1ba3c6;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  font-weight: 500;
}
small {
  font-size: 13px;
  color: var(--muted);
}
p {
  color: var(--muted);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 30px 20px 24px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 7px;
  padding: 0 7px;
}
.brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}
.brand > span {
  font-size: 10px;
  letter-spacing: 2.3px;
  color: #527194;
  margin-left: 4px;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #64748b;
  font-weight: 600;
  margin: 43px 10px 12px;
}
.facility {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 8px 28px;
}
.facility-avatar,
.initial {
  display: grid;
  place-items: center;
  background: #eef4fd;
  color: var(--blue);
  font-weight: 500;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.facility b {
  font-size: 14px;
  font-weight: 550;
}
.facility small {
  display: block;
  font-size: 11px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  display: flex;
  gap: 13px;
  align-items: center;
  background: none;
  border: 0;
  padding: 12px 14px;
  border-radius: 9px;
  text-align: left;
  font-size: 15px;
  color: #5b6980;
}
.nav-item.active {
  background: #edf3fc;
  color: var(--blue);
  font-weight: 550;
}
.nav-item:hover {
  background: #f2f6fb;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 50px 10px 0;
  font-size: 12px;
}
.sidebar-bottom small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.system-status {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #238668;
  flex-shrink: 0;
}
.dot.paused {
  background: #a66a11;
}
.dot.blue {
  background: var(--blue);
}
.dot.cyan {
  background: var(--cyan);
}
.dot.red {
  background: #bf4650;
}
.sidebar-rule {
  height: 1px;
  background: var(--border);
  margin: 24px 0 18px;
}
.main-wrap {
  margin-left: 240px;
  width: calc(100% - 240px);
}
.topbar {
  height: 77px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 13px;
  color: #66758b;
}
.topbar > div {
  display: flex;
  gap: 22px;
  align-items: center;
}
.slash {
  padding: 0 15px;
  color: #b3bdca;
}
.preview-tag {
  font-size: 11px;
  border: 1px solid #dce5f0;
  border-radius: 5px;
  padding: 5px 8px;
  color: #5a6d89;
}
.quiet {
  border: 0;
  background: none;
  color: #66758b;
  font-size: 13px;
  padding: 8px;
}
.quiet:hover {
  color: var(--blue);
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 35px 38px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}
.page-heading p {
  font-size: 14px;
  margin-top: 7px;
}
.range {
  font-size: 0;
}
.range select {
  font-size: 13px;
  background: white;
  color: #384962;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  padding: 10px 35px 10px 14px;
  min-height: 42px;
}
.metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  margin-bottom: 25px;
}
.metric {
  padding: 23px 25px 22px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric:last-child {
  border: 0;
}
.metric > span {
  font-size: 13px;
  color: #566983;
}
.metric > strong {
  font-size: 39px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.metric > small {
  font-size: 11px;
}
.metric.featured {
  background: #f0f5fd;
}
.metric.featured strong {
  color: var(--blue);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 18px;
}
.card-head p,
.delivery > p {
  font-size: 12px;
  margin-top: 5px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 25px;
}
.legend {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: #64748b;
}
.legend span {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 2px;
}
.legend span:nth-child(2) i {
  background: var(--cyan);
}
.legend span:nth-child(3) i {
  background: #94a3b8;
}
.chart {
  width: 100%;
  display: block;
  padding: 5px 15px 10px;
}
.chart text {
  font:
    12px Outfit,
    Arial,
    sans-serif;
  fill: #64748b;
}
.delivery {
  padding: 24px;
}
.delivery-total {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 20px 0 14px;
}
.delivery-total strong {
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1px;
}
.delivery-total span {
  font-size: 12px;
  color: var(--muted);
}
.delivery-track svg {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 20px;
}
.delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 12px;
}
.delivery-row span {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #596b82;
}
.delivery-row b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.delivery > small {
  display: block;
  font-size: 10px;
  margin-top: 21px;
}
.count {
  font-size: 12px;
  background: #f3f6fa;
  color: #64748b;
  padding: 5px 10px;
  border-radius: 6px;
}
.table-scroll {
  overflow-x: auto;
  position: relative;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  color: #687991;
  font-weight: 500;
  background: #fafbfd;
  padding: 12px 23px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 17px 23px;
  border-bottom: 1px solid #edf0f5;
  color: #596a80;
}
tr:last-child td {
  border-bottom: 0;
}
td b {
  color: #293b53;
  font-weight: 500;
}
td small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.person {
  display: flex;
  gap: 11px;
  align-items: center;
}
.person .initial {
  width: 35px;
  height: 35px;
  font-size: 14px;
  border-radius: 50%;
}
.numeric {
  font-variant-numeric: tabular-nums;
  color: #293b53;
}
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: #edf7f2;
  color: #267257;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.status.gray {
  background: #f1f4f8;
  color: #627086;
}
.status.amber {
  background: #fcf4e7;
  color: #906018;
}
.status.red {
  background: #fceef0;
  color: #ac3845;
}
.link {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 12px;
  padding: 8px 0;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}
.overview-note {
  display: flex;
  gap: 20px;
  color: #64748b;
  font-size: 11px;
  padding: 17px 0;
}
.overview-note span:last-child {
  margin-left: auto;
}
footer {
  max-width: 1600px;
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 38px;
  color: #64748b;
  font-size: 10px;
  border-top: 1px solid var(--border);
}
.demo-tools {
  margin: 0 38px 24px;
  color: #64748b;
  font-size: 12px;
}
.demo-tools summary {
  cursor: pointer;
}
.demo-tools p {
  margin: 12px 0;
}
.primary,
.secondary {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #d5dfec;
  font-size: 14px;
  font-weight: 500;
  background: white;
  min-height: 44px;
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.primary:hover {
  background: #164080;
}
.secondary:hover {
  background: #f4f7fc;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.program-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.schedule {
  padding: 12px 28px 30px;
}
.schedule > div {
  display: flex;
  gap: 18px;
  position: relative;
  padding: 5px 0 35px;
}
.schedule > div:last-child {
  padding-bottom: 5px;
}
.schedule-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf2fc;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 1;
}
.schedule > div:not(:last-child):after {
  content: "";
  position: absolute;
  left: 15px;
  top: 38px;
  width: 1px;
  height: 35px;
  background: #d8e4f6;
}
.schedule p {
  font-size: 13px;
  margin-top: 5px;
}
.program-foot {
  border-top: 1px solid var(--border);
  background: #fafbfd;
  padding: 18px 26px;
  font-size: 12px;
  color: #6c7c94;
}
.program-control {
  padding: 25px;
}
.program-control > p {
  font-size: 14px;
  margin: 10px 0 20px;
}
.detail {
  margin: 24px 0 0;
}
.detail > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  padding: 15px 0;
  font-size: 12px;
}
.detail span {
  color: var(--muted);
}
.detail b {
  font-weight: 500;
  text-align: right;
}
.pause-banner {
  background: #fff7e9;
  color: #85611f;
  border: 1px solid #e9d6b2;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.pause-banner .link {
  margin-left: 10px;
}
.chat-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 620px;
}
.thread-list {
  border-right: 1px solid var(--border);
}
.thread-search {
  padding: 19px;
  border-bottom: 1px solid var(--border);
}
input {
  border: 1px solid #d9e2ed;
  border-radius: 7px;
  padding: 10px 12px;
  width: 100%;
  background: white;
  color: #293b53;
}
.thread-search input {
  font-size: 13px;
  background: #f9fbfd;
}
.thread {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: white;
  text-align: left;
  padding: 22px 18px;
}
.thread:hover {
  background: #f8fafd;
}
.thread.selected {
  background: #eef4fd;
  box-shadow: inset 3px 0 var(--blue);
}
.thread b {
  font-size: 14px;
  font-weight: 550;
}
.thread small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.thread div > span {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-top: 10px;
}
.thread .initial {
  border-radius: 50%;
  font-size: 14px;
}
.conversation {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conversation-head {
  padding: 21px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.conversation-head p {
  font-size: 12px;
  margin-top: 5px;
}
.read-only {
  font-size: 10px;
  color: #64748b;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 8px;
}
.message-log {
  padding: 30px;
  max-height: 620px;
  overflow-y: auto;
  flex: 1;
  background: #fcfdff;
}
.message {
  max-width: 510px;
  margin: 0 0 25px auto;
}
.message-meta {
  font-size: 11px;
  color: #64748b;
  margin: 0 2px 9px;
}
.message-meta span {
  margin: 0 5px;
}
.bubble {
  background: #edf4fd;
  border: 1px solid #dde9f8;
  border-radius: 12px 12px 3px 12px;
  padding: 18px 20px;
  color: #31496b;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-status {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #64748b;
  margin-top: 8px;
}
.message-status .status {
  font-size: 10px;
  padding: 2px 6px;
}
.chat-footer {
  border-top: 1px solid var(--border);
  padding: 17px 28px;
  font-size: 11px;
  color: #64748b;
  background: white;
}
.empty-chat {
  margin: 90px auto;
  text-align: center;
  max-width: 300px;
}
.empty-chat p {
  font-size: 14px;
  margin-top: 8px;
}
.empty {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
.join-shell {
  max-width: 610px;
  padding: 50px 25px;
  margin: auto;
}
.join-shell .card {
  padding: 30px;
  margin-top: 30px;
}
.join-shell h1 {
  margin: 15px 0;
}
.field {
  margin: 20px 0;
}
.field label {
  display: block;
  margin-bottom: 6px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
}
.checkbox input {
  width: 20px;
  flex-shrink: 0;
}
.disclosure {
  background: #f3f6fb;
  padding: 18px;
  font-size: 13px;
  border-radius: 8px;
  margin-top: 20px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}
.caption {
  font-size: 13px;
  margin: 15px 0;
}
.error {
  color: #ad3343;
  font-size: 13px;
}
.code {
  overflow-wrap: anywhere;
}
.sms {
  background: #edf4fd;
  padding: 18px;
  border-radius: 12px;
  font-size: 14px;
}
.sms-time {
  font-size: 12px;
  color: var(--muted);
}
dialog {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  max-width: 570px;
  width: calc(100% - 30px);
  color: inherit;
}
dialog::backdrop {
  background: #142a4866;
}
.form-body {
  padding: 0 25px 25px;
}
.close {
  border: 0;
  background: #f3f6fa;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 24px;
}
#notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #163669;
  color: white;
  padding: 12px 22px;
  border-radius: 9px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}
#notice.visible {
  opacity: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.loading {
  padding: 40px;
}
h1:focus {
  outline: none;
}
@media (min-width: 1600px) {
  .chart {
    max-height: 260px;
  }
  .metric {
    padding: 28px;
  }
  .delivery {
    padding: 26px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand img {
    width: 160px;
  }
  .main-wrap {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  main {
    padding: 28px 24px 0;
  }
  .topbar {
    padding: 0 24px;
  }
  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .analytics-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .card-head {
    padding: 20px;
    flex-wrap: wrap;
  }
  .legend {
    font-size: 10px;
  }
  .chat-layout {
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .conversation-head {
    padding: 20px;
  }
  .message-log {
    padding: 22px;
  }
  .program-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .delivery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .delivery > p,
  .delivery > small,
  .delivery-track {
    grid-column: 1/-1;
  }
  .delivery-total {
    grid-column: 1/-1;
    margin: 12px 0;
  }
  .delivery-row {
    margin: 10px 0;
  }
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .thread-list {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .thread-items {
    max-height: 190px;
    overflow-y: auto;
  }
  .conversation-head {
    flex-wrap: wrap;
  }
  .sidebar {
    width: 180px;
  }
  .brand img {
    width: 140px;
  }
  .main-wrap {
    margin-left: 180px;
    width: calc(100% - 180px);
  }
  .facility {
    padding-left: 0;
    padding-right: 0;
  }
  .nav-item {
    padding: 12px 8px;
    font-size: 14px;
  }
  .topbar {
    gap: 8px;
  }
  .topbar > div {
    gap: 5px;
  }
  .topbar > span {
    display: none;
  }
  .topbar > div {
    width: 100%;
    justify-content: space-between;
  }
  .overview-note {
    flex-wrap: wrap;
  }
  .overview-note span:last-child {
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }
  .brand img {
    width: 150px;
  }
  .workspace-label,
  .facility,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    gap: 8px;
    margin-top: 17px;
  }
  .nav-item {
    font-size: 13px;
    gap: 7px;
    padding: 12px 10px;
    border-radius: 7px 7px 0 0;
    flex: 1;
    justify-content: center;
  }
  .nav-item svg {
    width: 16px;
  }
  .main-wrap {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 49px;
    padding: 0 18px;
  }
  main {
    padding: 25px 18px 0;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 21px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .range {
    align-self: stretch;
  }
  .range select {
    width: 100%;
    font-size: 16px;
  }
  .metric {
    padding: 19px 16px;
    gap: 9px;
  }
  .metric > span {
    font-size: 12px;
  }
  .metric > small {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 34px;
  }
  .analytics-grid {
    gap: 18px;
    margin-bottom: 18px;
  }
  .metrics {
    margin-bottom: 18px;
  }
  .card-head {
    padding: 18px;
  }
  .card-head p {
    font-size: 11px;
  }
  .delivery {
    padding: 20px;
  }
  .chart {
    padding: 0 6px 10px;
  }
  .conversation-head {
    padding: 18px;
  }
  .message-log {
    padding: 20px 15px;
  }
  .bubble {
    font-size: 15px;
    padding: 16px;
  }
  .thread-search input,
  input {
    font-size: 16px;
  }
  .chat-footer {
    padding: 16px;
  }
  .program-control {
    padding: 20px;
  }
  footer {
    padding: 18px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .demo-tools {
    margin: 0 18px 24px;
  }
  .overview-note {
    gap: 10px 18px;
  }
  .read-only {
    font-size: 10px;
  }
  .status {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.field select {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0 18px;
  background: white;
  font-size: 16px;
  color: inherit;
}

/* Facility messaging controls follow the existing blue-and-white workspace. */
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 110px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  background: #fff;
  font: inherit;
  line-height: 1.55;
}
textarea:focus-visible {
  outline: 3px solid #a3dbe9;
  outline-offset: 2px;
  border-color: var(--blue);
}
[hidden] {
  display: none !important;
}
.announcement-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.announcement-toolbar h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.announcement-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.announcement-toolbar button {
  flex-shrink: 0;
}
.template-settings {
  grid-column: 1 / -1;
}
.template-editors {
  padding: 0 28px;
}
.template-editor {
  display: grid;
  grid-template-columns: minmax(155px, 0.7fr) minmax(0, 2fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.template-editor:last-child {
  border-bottom: 0;
}
.template-title h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.template-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.template-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 16px;
  background: #f8fafc;
}
.template-switch button {
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-size: 14px;
}
.template-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
}
.template-default {
  margin: 0;
  padding: 16px;
  background: #f2f6fc;
  border-radius: 9px;
  line-height: 1.65;
}
.template-caption {
  color: #56677d;
  font-size: 13px;
  margin: 12px 0 0;
}
.template-actions {
  padding: 22px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.template-actions span {
  font-size: 14px;
  font-weight: 600;
}
.template-actions p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.template-actions button {
  flex-shrink: 0;
}
.dialog-intro {
  margin: 0 0 22px;
  color: #56677d;
}
.field textarea {
  margin-top: 10px;
}
.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}
.sms-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  border-radius: 14px 14px 4px 14px;
  background: #edf4fe;
  color: #173c77;
  line-height: 1.65;
}
.template-preview {
  margin: 22px 0;
}
.template-preview h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.announcement-reach {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.announcement-reach strong {
  font-size: 44px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
}
.announcement-reach p {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0 0;
}
.announcement-history {
  margin-bottom: 22px;
}
.announcement-history summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 500;
}
.announcement-history summary span {
  color: var(--muted);
  margin-left: 8px;
}
.announcement-history article {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.announcement-history-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.announcement-history-meta span,
.announcement-history small {
  color: #56677d;
}
.announcement-history p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
@media (max-width: 650px) {
  .announcement-toolbar,
  .template-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .announcement-toolbar {
    gap: 16px;
  }
  .template-editor {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .template-editors,
  .template-actions {
    padding-left: 20px;
    padding-right: 20px;
  }
  .composer-actions {
    flex-direction: column-reverse;
  }
  .announcement-history-meta {
    flex-direction: column;
    gap: 4px;
  }
}
.join-shell article h2 {
  margin-top: 1.5rem;
}
