:root {
  --ink:#172947;
  --muted:#62718a;
  --blue:#2558d9;
  --blue-dark:#1945b3;
  --blue-wash:#edf3ff;
  --paper:#fff;
  --canvas:#f4f7fc;
  --line:#dce4ef;
  --amber:#966000;
  --amber-wash:#fff6df;
  --green:#16745b;
  --green-wash:#e9f7f0;
  --red:#b33746;
  --red-wash:#fff0f2;
  --nav-width:238px;
  --body:"Segoe UI",Tahoma,Arial,sans-serif;
  --display:Bahnschrift,"Segoe UI",Tahoma,sans-serif;
  --shadow:0 18px 55px #17336113;
  --radius:15px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font:14px/1.55 var(--body);
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
  opacity:.58;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #91b4ff;
  outline-offset:3px;
}
a {
  color:var(--blue);
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}
h1,h2,h3,h4,p {
  margin-top:0;
}
h1,h2,h3,h4 {
  line-height:1.2;
  font-family:var(--display);
  font-weight:600;
  overflow-wrap:anywhere;
}
h1 {
  font-size:32px;
  letter-spacing:-1px;
  margin-bottom:10px;
}
h2 {
  font-size:20px;
  letter-spacing:-.35px;
  margin-bottom:8px;
}
h3 {
  font-size:16px;
  letter-spacing:-.2px;
  margin-bottom:7px;
}
p {
  margin-bottom:12px;
}
small {
  font-size:12px;
}
svg {
  width:20px;
  height:20px;
  display:block;
  flex:none;
}
code {
  font:12px/1.5 Consolas,monospace;
  overflow-wrap:anywhere;
}
hr {
  border:0;
  border-top:1px solid var(--line);
  margin:24px 0;
}
[hidden] {
  display:none!important;
}
.muted {
  color:var(--muted);
}
.small {
  font-size:12px;
}
.nowrap {
  white-space:nowrap;
}
.break {
  overflow-wrap:anywhere;
}
.text-right {
  text-align:right;
}
.strong {
  font-weight:600;
}
.spaced {
  margin-top:22px;
}
.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;
  top:0;
  left:0;
}
.skip-link {
  position:fixed;
  left:16px;
  top:-60px;
  padding:10px 18px;
  background:var(--paper);
  z-index:100;
  border-radius:6px;
}
.skip-link:focus {
  top:12px;
}
.noscript {
  padding:30px;
}
.boot-state {
  min-height:100dvh;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
}
.boot-state p {
  margin:0;
}
.loader {
  width:21px;
  height:21px;
  border:2px solid #c7d6f3;
  border-top-color:var(--blue);
  border-radius:50%;
  display:inline-block;
  animation:spin .8s linear infinite;
  flex:none;
}
@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}
.app-shell {
  min-height:100dvh;
  padding-left:var(--nav-width);
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--nav-width);
  background:var(--paper);
  border-right:1px solid var(--line);
  padding:30px 18px 18px;
  display:flex;
  flex-direction:column;
  z-index:40;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
.sidebar>.brand,.sidebar>.nav-label,.sidebar>.nav-list,.sidebar-bottom {
  flex-shrink:0;
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--ink);
  margin:0 12px 31px;
}
.brand:hover {
  text-decoration:none;
}
.brand-symbol {
  width:37px;
  height:39px;
  border-radius:11px;
  background:var(--blue);
  color:white;
  font-family:var(--display);
  font-size:24px;
  display:grid;
  place-items:center;
  font-weight:600;
  letter-spacing:-2px;
  padding-right:2px;
  box-shadow:0 5px 12px #2558d92a;
}
.brand-name {
  font:600 21px/1.1 var(--display);
  letter-spacing:-.65px;
}
.brand-sub {
  color:var(--muted);
  font-size:11px;
  letter-spacing:.4px;
  margin-top:4px;
}
.nav-label {
  margin:14px 14px 8px;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}
.nav-list {
  display:grid;
  gap:4px;
}
.nav-link {
  display:flex;
  align-items:center;
  gap:12px;
  color:#62718a;
  padding:11px 13px;
  border-radius:8px;
  min-height:44px;
  font-weight:500;
  position:relative;
}
.nav-link:hover {
  background:#f5f8fd;
  color:var(--ink);
  text-decoration:none;
}
.nav-link.active {
  color:var(--blue);
  background:var(--blue-wash);
  font-weight:650;
}
.nav-link.active:before {
  content:"";
  width:3px;
  height:20px;
  position:absolute;
  left:-18px;
  background:var(--blue);
  border-radius:0 3px 3px 0;
}
.nav-link svg {
  width:19px;
  height:19px;
}
.sidebar-bottom {
  margin-top:0;
  padding-top:16px;
  flex-grow:1;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.sidebar-bottom>.account-button { margin-top:auto; }
.workspace-note {
  border:1px solid var(--line);
  background:#fafcff;
  border-radius:10px;
  padding:13px;
  margin:0 4px 16px;
  font-size:12px;
  color:var(--muted);
}
.workspace-note strong {
  display:block;
  color:var(--ink);
  margin-bottom:3px;
  font-size:12px;
}
.account-button {
  border:0;
  background:transparent;
  display:flex;
  gap:10px;
  align-items:center;
  text-align:left;
  width:100%;
  padding:10px;
  border-radius:8px;
  color:var(--ink);
}
.account-button:hover {
  background:var(--canvas);
}
.avatar {
  width:32px;
  height:32px;
  background:var(--blue-wash);
  color:var(--blue);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:12px;
  flex:none;
}
.account-copy {
  min-width:0;
  flex:1;
}
.account-copy strong {
  display:block;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-copy span {
  font-size:12px;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.account-profile { display:flex; gap:14px; align-items:center; padding-bottom:22px; }
.account-profile .avatar { width:46px; height:46px; font-size:16px; }
.account-profile h3 { margin-bottom:4px; }
.account-profile p { margin:0; color:var(--muted); font-size:12px; }
.account-security { border-top:1px solid var(--line); padding-top:24px; }
.account-security-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.account-security-heading h3 { margin:0; }
.account-security>p { color:var(--muted); font-size:13px; }
.account-login-options { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin:16px 0; }
.account-qr { display:flex; justify-content:center; padding:14px; margin-bottom:18px; background:#fff; border:1px solid var(--line); border-radius:10px; }
.account-qr img { display:block; width:220px; max-width:100%; height:auto; }
.account-manual-key { padding:12px 0; margin-bottom:18px; }
.account-manual-key>summary { color:var(--blue); cursor:pointer; margin-bottom:12px; }
.account-manual-key input { font-family:Consolas,monospace; font-size:13px; }
.account-recovery-codes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; list-style:none; padding:16px; background:var(--canvas); border:1px solid var(--line); border-radius:10px; }
.account-recovery-codes code { font-size:13px; user-select:all; }
.btn-danger-quiet { color:var(--red); }
.topbar {
  height:78px;
  border-bottom:1px solid var(--line);
  background:#ffffffdf;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  gap:20px;
}
.breadcrumb {
  font-size:13px;
  color:var(--muted);
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0;
}
.breadcrumb strong {
  color:var(--ink);
  font-weight:600;
}
.breadcrumb svg {
  width:13px;
  height:13px;
  color:#98a4b7;
}
.topbar-right {
  display:flex;
  align-items:center;
  gap:17px;
}
.date-label {
  color:var(--muted);
  font-size:12px;
}
.mode-pill {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #e4d7b5;
  background:#fffcf5;
  color:#84621c;
  padding:5px 10px;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}
.mode-pill .dot {
  background:#bc8b2b;
}
.dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  flex:none;
}
.icon-btn.menu-button {
  display:inline-flex;
  flex:none;
  width:44px;
  height:44px;
}
.icon-btn.sidebar-close { display:none; }
.topbar>.breadcrumb { flex:1; }
@media(min-width:761px) {
  .app-shell.sidebar-collapsed { padding-left:0; }
  .app-shell.sidebar-collapsed>.sidebar { transform:translateX(-100%); visibility:hidden; }
}
.main-content {
  max-width:none;
  margin:0;
  padding:35px 24px 52px;
  min-width:0;
}
.page-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:25px;
  margin-bottom:28px;
  min-width:0;
}
.page-heading>div,.panel-head>div,.section-heading>div,.entity-card-top>div {
  min-width:0;
}
.page-heading p {
  color:var(--muted);
  max-width:690px;
  margin-bottom:0;
  font-size:14px;
}
.page-heading .btn {
  margin-top:6px;
  white-space:nowrap;
}
.heading-kicker {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--blue);
  margin-bottom:11px;
}
.heading-kicker svg {
  width:16px;
  height:16px;
}
.content-error {
  padding:35px;
  border:1px solid #f0c6ce;
  border-radius:12px;
  background:var(--paper);
  max-width:720px;
  margin:20px auto;
}
.content-error p {
  color:var(--muted);
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:9px 15px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--paper);
  color:var(--ink);
  font-size:12px;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;
  transition:background .12s,border-color .12s;
  max-width:100%;
}
.btn:hover {
  background:#f5f8fd;
  border-color:#bccbe1;
  text-decoration:none;
}
.btn svg {
  width:16px;
  height:16px;
}
.btn-primary {
  background:var(--blue);
  color:white;
  border-color:var(--blue);
}
.btn-primary:hover {
  background:var(--blue-dark);
  border-color:var(--blue-dark);
}
.btn-quiet {
  background:transparent;
  border-color:transparent;
  color:var(--muted);
}
.btn-quiet:hover {
  border-color:transparent;
  background:var(--blue-wash);
  color:var(--blue);
}
.btn-danger {
  color:var(--red);
  border-color:#e4bec5;
  background:var(--paper);
}
.btn-sm {
  padding:6px 10px;
  min-height:33px;
  font-size:11px;
}
.btn-full {
  width:100%;
}
.icon-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:35px;
  height:35px;
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:7px;
  color:var(--muted);
}
.icon-btn:hover {
  color:var(--blue);
  background:var(--blue-wash);
}
.actions {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.inline-link {
  border:0;
  background:transparent;
  padding:0;
  color:var(--blue);
  text-align:left;
  font-weight:600;
  cursor:pointer;
}
.inline-link:hover {
  text-decoration:underline;
}
.entity-title-link {
  color:inherit;
  text-decoration:none;
}
.entity-title-link:hover {
  color:var(--blue);
  text-decoration:underline;
}
a.calendar-event {
  text-decoration:none;
}
.dialog-head:has(.route-copy) {
  gap:10px;
}
.dialog-head .route-copy {
  order:1;
}
.dialog-head:has(.route-copy) [data-action="dialog-close"] {
  order:2;
}
.source-detail>h2, .source-detail [data-source-detail-part="identity"]>h2 {
  margin-top:0;
}
.source-detail .source-member-summary {
  margin-top:18px;
}
.purchase-integration {
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid var(--line);
  min-width:0;
}
.member-continuous {
  margin:18px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8faff;
  min-width:0;
}
.member-continuous .member-section-heading {
  flex-wrap:wrap;
  gap:8px;
}
.member-continuous h3 {
  margin:0;
  font-size:15px;
}
.member-continuous-metrics {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:12px 20px;
  margin:16px 0;
}
.member-continuous-metrics>div {
  min-width:0;
}
.member-continuous-metrics dt {
  color:var(--muted);
  font-size:12px;
}
.member-continuous-metrics dd {
  margin:4px 0 0;
  font-weight:600;
  font-size:13px;
  overflow-wrap:anywhere;
}
.member-continuous.is-compact {
  padding:12px;
}
.member-continuous.is-compact .member-continuous-metrics {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.member-coverage {
  border-top:1px solid var(--line);
  padding-top:12px;
  color:#816224;
  font-size:12px;
}
.member-coverage.is-verified {
  color:var(--muted);
}
.member-coverage p {
  margin:5px 0 0;
}
.purchase-integration-heading {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
}
.purchase-integration h3 {
  margin:0;
}
.purchase-integration-details dd {
  overflow-wrap:anywhere;
}
.purchase-integration-counts {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));
  gap:12px;
  margin:18px 0;
}
.purchase-integration-counts>div {
  min-width:0;
  padding:12px;
  border-radius:8px;
  background:var(--surface-soft,#f7f9fd);
}
.purchase-integration-counts dt {
  color:var(--muted);
  font-size:12px;
}
.purchase-integration-counts dd {
  margin:6px 0 0;
  font-size:18px;
  font-weight:650;
  overflow-wrap:anywhere;
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 8px;
  font-size:11px;
  font-weight:650;
  line-height:1.5;
  white-space:normal;
  border-radius:5px;
  background:#eef1f5;
  color:#53627a;
  max-width:100%;
  overflow-wrap:anywhere;
}
.badge.green {
  background:var(--green-wash);
  color:var(--green);
}
.badge.amber {
  background:var(--amber-wash);
  color:var(--amber);
}
.badge.blue {
  background:var(--blue-wash);
  color:var(--blue);
}
.badge.red {
  background:var(--red-wash);
  color:var(--red);
}
.badge.neutral {
  background:#eef1f5;
  color:#53627a;
}
.tag {
  display:inline-block;
  border:1px solid var(--line);
  border-radius:4px;
  padding:1px 6px;
  font-size:11px;
  color:var(--muted);
  margin:2px 4px 2px 0;
  max-width:100%;
  overflow-wrap:anywhere;
}
.channel {
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-size:12px;
}
.channel-icon {
  width:27px;
  height:27px;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:#eef4fc;
  color:#4575bc;
}
.channel-icon svg {
  width:15px;
  height:15px;
}
.channel.whatsapp .channel-icon {
  background:#e9f6ef;
  color:#29815b;
}
.channel.email .channel-icon {
  background:#f0edfc;
  color:#7360b6;
}
.welcome-panel {
  background:var(--ink);
  color:white;
  border-radius:17px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,1fr);
  overflow:hidden;
  margin-bottom:25px;
}
.welcome-copy {
  padding:30px 34px;
}
.welcome-copy h2 {
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.8px;
  max-width:380px;
  margin:0 0 14px;
}
.welcome-copy p {
  color:#b7c8e4;
  font-size:13px;
  max-width:395px;
  line-height:1.7;
  margin-bottom:23px;
}
.welcome-copy .btn {
  background:#f9fbff;
  color:var(--ink);
  border-color:#f9fbff;
}
.welcome-copy .heading-kicker {
  color:#a2c0f9;
  margin-bottom:14px;
}
.flow-steps {
  margin:28px 30px 28px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left:1px solid #ffffff1f;
  padding-left:30px;
  gap:0;
}
.flow-step {
  display:flex;
  align-items:flex-start;
  gap:12px;
  position:relative;
  padding-bottom:18px;
}
.flow-step:last-child {
  padding-bottom:0;
}
.flow-step:not(:last-child):after {
  content:"";
  position:absolute;
  left:12px;
  top:30px;
  bottom:4px;
  width:1px;
  background:#ffffff25;
}
.flow-mark {
  width:26px;
  height:26px;
  border:1px solid #6b86af;
  color:#adc3e4;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:none;
  font-size:11px;
}
.flow-mark.done {
  border-color:#4fc4a1;
  color:#8de2c8;
  background:#1a483f;
}
.flow-mark svg {
  width:13px;
  height:13px;
}
.flow-step strong {
  font-size:13px;
  display:block;
  margin:1px 0 3px;
}
.flow-step p {
  font-size:12px;
  color:#a6bbdc;
  margin:0;
  line-height:1.5;
  max-width:340px;
}
.metric-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  margin-bottom:28px;
}
.metric {
  padding:21px 24px;
  position:relative;
}
.metric:not(:last-child):after {
  content:"";
  position:absolute;
  right:0;
  top:23px;
  bottom:23px;
  width:1px;
  background:var(--line);
}
.metric-label {
  color:var(--muted);
  font-size:12px;
  margin-bottom:8px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
.metric-label svg {
  width:17px;
  height:17px;
  color:#7b92b6;
}
.metric-value {
  font-family:var(--display);
  font-size:30px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-1px;
}
.metric-sub {
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
}
.grid-two {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.9fr);
  gap:23px;
  align-items:start;
}
.panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  min-width:0;
}
.panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:21px 23px 17px;
  flex-wrap:wrap;
}
.panel-head h2 {
  font-size:17px;
  margin:0;
}
.panel-head p {
  font-size:12px;
  color:var(--muted);
  margin:5px 0 0;
}
.panel-body {
  padding:0 23px 23px;
}
.panel-body.padded {
  padding-top:22px;
}
.panel-foot {
  border-top:1px solid var(--line);
  padding:12px 23px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:12px;
  flex-wrap:wrap;
}
.source-list {
  list-style:none;
  padding:0;
  margin:0;
}
.source-line {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid #edf1f6;
}
.source-line:last-child {
  border-bottom:0;
}
.source-mark {
  width:37px;
  height:37px;
  border:1px solid #dce6f7;
  background:#f7faff;
  border-radius:9px;
  color:#5277b7;
  display:grid;
  place-items:center;
  flex:none;
}
.source-mark svg {
  width:18px;
  height:18px;
}
.source-line .source-copy {
  flex:1;
  min-width:0;
}
.source-copy strong {
  display:block;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.source-copy small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
}
.readiness-list {
  list-style:none;
  padding:0;
  margin:0;
}
.readiness-item {
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:13px 0;
  border-bottom:1px solid #edf1f6;
}
.readiness-item:last-child {
  border-bottom:0;
}
.readiness-item svg {
  width:17px;
  height:17px;
  margin-top:2px;
  color:#b58932;
}
.readiness-item.good svg {
  color:var(--green);
}
.readiness-item strong {
  font-size:12px;
  display:block;
}
.readiness-item p {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin:3px 0 0;
}
.notice {
  display:flex;
  align-items:flex-start;
  gap:11px;
  border:1px solid #ecdcb6;
  background:#fffbf2;
  color:#805d21;
  border-radius:9px;
  padding:13px 15px;
  font-size:12px;
  line-height:1.6;
  margin-bottom:22px;
}
.notice svg {
  width:18px;
  height:18px;
  margin-top:2px;
}
.notice p {
  margin:0;
}
.notice strong {
  font-weight:600;
}
.notice.info {
  background:#f2f6ff;
  border-color:#d8e4ff;
  color:#42669e;
}
.notice.success {
  background:var(--green-wash);
  border-color:#c8e9dc;
  color:var(--green);
}
.notice.error {
  background:var(--red-wash);
  border-color:#edcad0;
  color:var(--red);
}
.toolbar {
  display:flex;
  align-items:end;
  gap:12px;
  padding:19px 22px;
  border-bottom:1px solid var(--line);
  flex-wrap:wrap;
}
.toolbar .field {
  margin:0;
  min-width:150px;
}
.toolbar .search-field {
  min-width:220px;
  flex:1;
}
.search-wrap {
  position:relative;
}
.search-wrap svg {
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:17px;
  height:17px;
  color:#8393aa;
}
.field .search-wrap input {
  padding-left:38px;
}
.table-wrap {
  overflow:auto;
  position:relative;
  min-width:0;
  max-width:100%;
  overscroll-behavior:contain auto;
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:normal;
}
th {
  font-size:12px;
  font-weight:650;
  color:var(--muted);
  padding:12px 22px;
  background:#f8fafd;
  white-space:nowrap;
  border-bottom:1px solid var(--line);
}
td {
  font-size:12px;
  padding:17px 22px;
  border-bottom:1px solid #edf1f7;
  vertical-align:middle;
}
tbody tr:last-child td {
  border-bottom:0;
}
tbody tr:hover {
  background:#fbfcff;
}
.cell-title {
  font-size:12px;
  font-weight:600;
  display:block;
  color:var(--ink);
}
.cell-sub {
  font-size:12px;
  color:var(--muted);
  margin-top:3px;
  display:block;
  line-height:1.5;
}
.cell-person {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:150px;
}
.cell-person .avatar {
  width:33px;
  height:33px;
  background:#f1f4f9;
  color:#6b7f9f;
}
.row-actions {
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:flex-end;
}
.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 22px;
  border-top:1px solid var(--line);
  gap:12px;
  font-size:12px;
  color:var(--muted);
}
.pagination .actions {
  gap:6px;
}
.empty-state {
  padding:46px 22px 48px;
  text-align:center;
  max-width:530px;
  margin:auto;
}
.empty-icon {
  width:60px;
  height:60px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--blue-wash);
  color:#6b8ecc;
}
.empty-icon svg {
  width:27px;
  height:27px;
}
.empty-state h3 {
  font-size:18px;
  margin-bottom:9px;
}
.empty-state p {
  font-size:12px;
  color:var(--muted);
  max-width:345px;
  margin:0 auto 20px;
  line-height:1.7;
}
.empty-state.compact {
  padding:26px 15px 30px;
}
.empty-state.compact .empty-icon {
  width:43px;
  height:43px;
  border-radius:12px;
  margin-bottom:12px;
}
.empty-state.compact .empty-icon svg {
  width:20px;
  height:20px;
}
.empty-state.compact h3 {
  font-size:14px;
}
.empty-state.compact p {
  font-size:11px;
}
.empty-state.compact .btn {
  font-size:11px;
  min-height:34px;
}
.skeleton {
  height:15px;
  border-radius:5px;
  background:#e8eef7;
  margin-bottom:12px;
}
.skeleton.big {
  height:170px;
  margin:22px 0;
}
.skeleton.short {
  width:35%;
}
.skeleton.medium {
  width:65%;
}
.loading-panel {
  padding:30px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
}
.loading-line {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  margin:0 0 18px;
}
.source-grid,.sender-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:19px;
}
.source-live-status {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  color:var(--muted);
  font-size:12px;
}
.source-live-status::before,.source-import-dot {
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--blue);
  flex:none;
}
.source-live-status.is-stale { color:var(--amber); }
.source-live-status.is-stale::before { background:currentColor; }
.source-import-dot { margin-right:6px; animation:source-import-pulse 1.6s ease-in-out infinite; }
@keyframes source-import-pulse { 50% { opacity:.35; } }
.source-member-summary {
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:16px;
  font-variant-numeric:tabular-nums;
}
.source-member-total { display:grid; gap:3px; }
.source-member-total>span { color:var(--muted); font-size:12px; }
.source-member-total>strong { font-size:30px; line-height:1.2; letter-spacing:-.7px; }
.source-member-total>small { color:var(--muted); font-size:11px; }
.source-import-status { margin-top:16px; }
.source-import-status>strong { display:block; font-size:12px; margin-bottom:4px; }
.is-importing .source-import-status>strong { color:var(--blue); }
.source-import-status>p { min-height:34px; }
.source-import-progress>div,.source-data-age { display:flex; justify-content:space-between; gap:10px; font-size:11px; }
.source-import-progress>div { margin-bottom:7px; }
.source-import-progress>div>span,.source-data-age>span { color:var(--muted); }
.source-import-progress progress { display:block; width:100%; height:6px; border:0; border-radius:8px; overflow:hidden; background:var(--line); accent-color:var(--blue); }
.source-import-progress progress::-webkit-progress-bar { background:var(--line); border-radius:8px; }
.source-import-progress progress::-webkit-progress-value { background:var(--blue); border-radius:8px; }
.source-import-progress progress::-moz-progress-bar { background:var(--blue); border-radius:8px; }
.entity-card .source-import-progress>p { font-size:11px; line-height:1.6; margin:7px 0 14px; }
.source-data-age { padding-top:3px; }
.source-data-age>strong { text-align:right; font-weight:500; }
[data-source-part="sync"]:not(:empty)+[data-source-part="details"] { margin-top:15px; border-top:1px solid var(--line); }
.entity-card {
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-width:0;
}
.entity-card-top {
  padding:22px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.entity-card .entity-body {
  padding:0 22px 22px;
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
}
.entity-card h2 {
  font-size:17px;
  margin-bottom:7px;
}
.entity-card p {
  font-size:12px;
  color:var(--muted);
  margin:0 0 12px;
}
.entity-details {
  display:grid;
  gap:8px;
  margin:16px 0 0;
}
.entity-details>div {
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:12px;
  min-width:0;
}
.entity-details dt {
  color:var(--muted);
}
.entity-details dd {
  margin:0;
  text-align:right;
  overflow-wrap:anywhere;
}
.entity-card .card-foot {
  border-top:1px solid var(--line);
  padding:12px 19px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.domains {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  min-height:24px;
}
.domain-chip {
  font-size:11px;
  border:1px solid #e5ebf4;
  background:#f8fafd;
  color:#60738e;
  border-radius:5px;
  padding:3px 7px;
  max-width:100%;
  overflow-wrap:anywhere;
}
.section-intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:29px 0 16px;
  flex-wrap:wrap;
}
.section-intro h2 {
  margin:0;
}
.section-intro p {
  font-size:12px;
  color:var(--muted);
  margin:5px 0 0;
}
.import-options {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:21px;
  margin-bottom:26px;
}
.import-option {
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:12px;
  padding:25px;
}
.import-option .source-mark {
  margin-bottom:18px;
  width:42px;
  height:42px;
}
.import-option h2 {
  font-size:20px;
  margin-bottom:10px;
}
.import-option p {
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
  max-width:490px;
}
.import-option .btn {
  margin-top:9px;
}
.file-drop {
  border:1px dashed #adc0dd;
  border-radius:8px;
  padding:18px;
  background:#f8fbff;
  margin-bottom:15px;
}
.file-drop input {
  font-size:12px;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
}
.file-drop input::file-selector-button {
  border:1px solid #cbd9ec;
  padding:7px 10px;
  background:white;
  color:var(--blue);
  border-radius:5px;
  margin-right:12px;
  font:600 11px var(--body);
  cursor:pointer;
}
.field {
  margin-bottom:17px;
  min-width:0;
}
.field>label,.field>legend {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:7px;
  color:#334968;
}
.field input:where(:not([type="checkbox"]):not([type="radio"])),.field select,.field textarea {
  width:100%;
  border:1px solid #ccd8e8;
  border-radius:6px;
  background:var(--paper);
  color:var(--ink);
  padding:10px 11px;
  min-height:41px;
  font-size:12px;
  min-width:0;
  max-width:100%;
}
.field input::placeholder,.field textarea::placeholder {
  color:#6b7b92;
}
.field textarea {
  resize:vertical;
  min-height:110px;
  line-height:1.7;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color:#86a7ed;
  outline:3px solid #e7efff;
  outline-offset:0;
}
.field input[readonly] {
  background:#f5f7fb;
  color:var(--muted);
}
.field-hint {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin:6px 0 0;
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 17px;
}
.form-grid .full {
  grid-column:1/-1;
}
.checkbox-row {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:12px;
  line-height:1.6;
  margin:9px 0;
  color:#425673;
  min-width:0;
  overflow-wrap:anywhere;
}
.checkbox-row>span,.checkbox-option>span {
  min-width:0;
}
.checkbox-row input {
  accent-color:var(--blue);
  width:15px;
  height:15px;
  margin:2px 0 0;
  flex:none;
}
.checkbox-options {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.checkbox-option {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:6px;
  padding:8px 11px;
  font-size:12px;
  cursor:pointer;
  min-width:0;
  overflow-wrap:anywhere;
}
.checkbox-option:has(input:checked) {
  border-color:#93afe8;
  background:#f0f5ff;
  color:var(--blue);
}
.checkbox-option input {
  accent-color:var(--blue);
  margin:0;
  width:18px;
  height:18px;
  min-width:18px;
  min-height:18px;
  padding:0;
  flex:0 0 18px;
}
#campaign-form .checkbox-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); }
#campaign-form .checkbox-option { width:100%; min-height:44px; }
#campaign-form .checkbox-option>span { flex:1; white-space:normal; word-break:normal; }
.form-section {
  margin-top:8px;
  margin-bottom:21px;
}
.form-section h3 {
  font-size:14px;
  padding-bottom:11px;
  border-bottom:1px solid var(--line);
  margin:0 0 17px;
}
.form-error {
  background:var(--red-wash);
  border:1px solid #f0cbd1;
  color:var(--red);
  padding:11px 13px;
  border-radius:6px;
  font-size:12px;
  margin:12px 0;
  overflow-wrap:anywhere;
}
.form-error:empty {
  display:none;
}
.form-help {
  font-size:12px;
  color:var(--muted);
  padding:12px 0 2px;
  line-height:1.7;
}
.split-editor {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(240px,.8fr);
  gap:25px;
  align-items:start;
  min-width:0;
}
.split-editor>div,.split-editor>section,.split-editor>form {
  min-width:0;
}
.message-preview {
  background:#f4f7fc;
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px;
  position:sticky;
  top:0;
}
.message-preview-title {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  margin-bottom:16px;
}
.message-preview-title svg {
  width:15px;
  height:15px;
}
.message-bubble {
  background:white;
  border:1px solid #dce5f3;
  border-radius:0 11px 11px 11px;
  padding:18px;
  font-size:12px;
  line-height:1.7;
  min-height:140px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.message-subject {
  font-size:13px;
  font-weight:650;
  margin-bottom:10px;
  white-space:normal;
}
.message-destination {
  display:block;
  margin-top:12px;
  font-size:12px;
  overflow-wrap:anywhere;
}
.preview-footer {
  font-size:12px;
  color:var(--muted);
  margin:12px 0 0;
}
.preview-results {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  margin:16px 0 21px;
}
.preview-result {
  padding:18px;
  text-align:center;
  background:#f8faff;
  border-right:1px solid var(--line);
}
.preview-result:last-child {
  border:0;
}
.preview-result strong {
  display:block;
  font:600 27px var(--display);
}
.preview-result span {
  font-size:11px;
  color:var(--muted);
}
.reason-list {
  list-style:none;
  margin:0;
  padding:0;
}
.reason-list li {
  padding:11px 0;
  border-bottom:1px solid #edf1f6;
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:20px;
}
.reason-list li:last-child {
  border:0;
}
.reason-list li span:first-child {
  overflow-wrap:anywhere;
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px 24px;
  margin:18px 0 25px;
}
.detail-field dt {
  font-size:12px;
  color:var(--muted);
  margin-bottom:3px;
}
.detail-field dd {
  font-size:12px;
  margin:0;
  overflow-wrap:anywhere;
}
.endpoint-item {
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
  margin:11px 0;
}
.endpoint-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
}
.endpoint-top .channel {
  margin-bottom:7px;
}
.endpoint-address {
  font-size:12px;
  overflow-wrap:anywhere;
}
.evidence {
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  margin:12px 0 0;
  padding-top:10px;
  border-top:1px solid #edf1f6;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.timeline {
  list-style:none;
  padding:0;
  margin:15px 0;
}
.timeline li {
  position:relative;
  padding:0 0 20px 20px;
  border-left:1px solid var(--line);
  margin-left:5px;
}
.timeline li:before {
  content:"";
  width:7px;
  height:7px;
  background:#91a9cd;
  border:3px solid white;
  box-sizing:content-box;
  border-radius:50%;
  position:absolute;
  left:-7px;
  top:2px;
}
.timeline strong {
  display:block;
  font-size:12px;
}
.timeline time {
  font-size:12px;
  color:var(--muted);
}
.timeline p {
  font-size:11px;
  margin:4px 0;
  color:var(--muted);
}
.data-list {
  display:grid;
  gap:0;
}
.data-row {
  padding:16px 0;
  border-bottom:1px solid #edf1f6;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:25px;
  min-width:0;
}
.data-row>div {
  min-width:0;
  overflow-wrap:anywhere;
}
.data-row:last-child {
  border:0;
}
.data-row strong {
  display:block;
  font-size:12px;
}
.data-row p {
  font-size:11px;
  margin:4px 0 0;
  color:var(--muted);
}
.data-row>span {
  font-size:12px;
  text-align:right;
  max-width:60%;
  overflow-wrap:anywhere;
}
.setup-steps {
  padding-left:20px;
  margin:18px 0;
  color:#48607c;
  font-size:12px;
}
.setup-steps li {
  padding-left:4px;
  margin:0 0 10px;
  line-height:1.7;
}
.setup-steps li::marker {
  color:var(--blue);
  font-weight:650;
}
.disclosure {
  border-top:1px solid var(--line);
  margin-top:20px;
  padding-top:15px;
}
.disclosure summary {
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  color:#496385;
}
.disclosure pre {
  font-size:11px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.7;
  color:var(--muted);
  max-height:240px;
  overflow:auto;
  background:#f7f9fc;
  padding:12px;
  border-radius:6px;
}
.calendar-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 22px;
  gap:14px;
}
.calendar-toolbar h2 {
  font-size:20px;
  margin:0;
  text-transform:capitalize;
}
.calendar-weekdays,.calendar-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.calendar-weekdays div {
  padding:10px 8px;
  text-align:center;
  font-size:11px;
  color:var(--muted);
  background:#f8fafd;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.calendar-day {
  min-height:120px;
  border-right:1px solid #e6edf6;
  border-bottom:1px solid #e6edf6;
  padding:9px 8px;
  background:var(--paper);
}
.calendar-day:nth-child(7n) {
  border-right:0;
}
.calendar-day.outside {
  background:#fafbfd;
  color:#b7c1d0;
}
.calendar-day.today {
  background:#f4f8ff;
}
.day-number {
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  font-size:11px;
  margin-bottom:6px;
}
.today .day-number {
  background:var(--blue);
  color:white;
  border-radius:50%;
  font-weight:600;
}
.calendar-event {
  display:block;
  width:100%;
  background:#edf3ff;
  border:0;
  border-left:2px solid #7da2f2;
  border-radius:3px;
  padding:5px 6px;
  margin:5px 0;
  color:#365f9c;
  text-align:left;
  font-size:10px;
  line-height:1.4;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.calendar-event:hover {
  background:#deebff;
}
.calendar-event.paused {
  background:#fff6df;
  border-color:#cba952;
  color:#916719;
}
.calendar-legend {
  display:flex;
  align-items:center;
  gap:15px;
  padding:14px 22px;
  color:var(--muted);
  font-size:12px;
}
.calendar-mobile-list {
  display:none;
}
.report-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:23px;
}
.report-stat {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  padding:20px 22px;
}
.report-stat strong {
  display:block;
  font:600 28px var(--display);
  margin-top:6px;
}
.report-stat span {
  font-size:12px;
  color:var(--muted);
}
dialog {
  padding:0;
  border:1px solid #d5dfed;
  border-radius:14px;
  box-shadow:0 25px 100px #17294735;
  width:min(660px,calc(100vw - 32px));
  max-height:calc(100dvh - 48px);
  color:var(--ink);
  background:var(--paper);
  overflow:auto;
  overscroll-behavior:contain;
}
dialog.wide {
  width:min(1030px,calc(100vw - 40px));
}
.app-confirm-dialog {
  width: min(540px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
}
.app-confirm-dialog .dialog-head { align-items: flex-start; }
.app-confirm-dialog .confirm-eyebrow { display: block; color: var(--primary, #4357d9); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.app-confirm-dialog .dialog-body { padding-top: 20px; padding-bottom: 24px; }
.app-confirm-dialog .dialog-body p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.65; }
.app-confirm-dialog .dialog-foot { gap: 12px; flex-wrap: wrap; }
.app-confirm-dialog .dialog-foot .btn { flex: 0 1 auto; }
@media (max-width: 480px) {
  .app-confirm-dialog .dialog-head, .app-confirm-dialog .dialog-body, .app-confirm-dialog .dialog-foot { padding-left: 20px; padding-right: 20px; }
  .app-confirm-dialog .dialog-foot .btn { flex: 1 1 100%; }
}
dialog::backdrop {
  background:#12234070;
  backdrop-filter:blur(3px);
}
.dialog-head {
  padding:23px 26px 20px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:flex-start;
  position:sticky;
  top:0;
  z-index:3;
  background:white;
}
.dialog-head>div {
  min-width:0;
  flex:1;
}
.dialog-head h2 {
  font-size:23px;
  margin:0 0 6px;
  letter-spacing:-.6px;
}
.dialog-head p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.6;
  max-width:640px;
  overflow-wrap:anywhere;
}
.dialog-head .icon-btn {
  flex:none;
  border:0;
}
.dialog-body {
  padding:24px 26px;
  min-width:0;
  overflow-wrap:anywhere;
}
.dialog-foot {
  padding:17px 26px;
  border-top:1px solid var(--line);
  background:#fafcff;
  display:flex;
  justify-content:flex-end;
  gap:9px;
  position:sticky;
  bottom:0;
  z-index:3;
  flex-wrap:wrap;
}
.dialog-foot .left {
  margin-right:auto;
}
.dialog-status {
  padding:12px 14px;
  margin:14px 0 0;
  border:1px solid #b7dece;
  border-radius:7px;
  background:var(--green-wash);
  color:var(--green);
  font-size:12px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.dialog-status:empty {
  display:none;
}
.dialog-status.error {
  background:var(--red-wash);
  border-color:#edcad0;
  color:var(--red);
}
.toast-region {
  position:fixed;
  bottom:24px;
  right:27px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:100;
  width:min(410px,calc(100vw - 36px));
}
.toast {
  padding:14px 17px;
  background:#173751;
  color:white;
  border:1px solid #ffffff26;
  border-radius:9px;
  box-shadow:var(--shadow);
  font-size:12px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  overflow-wrap:anywhere;
}
.toast svg {
  width:18px;
  height:18px;
  flex:none;
}
.toast.error {
  background:#823442;
}
.login-page {
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(350px,1.08fr) minmax(420px,1fr);
}
.login-story {
  background:var(--ink);
  color:white;
  padding:53px clamp(35px,6vw,95px);
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}
.login-story .brand {
  color:white;
  margin:0;
}
.login-story .brand-sub {
  color:#adc0dd;
}
.login-story .brand-symbol {
  background:#3d6ce3;
  box-shadow:none;
}
.login-story-copy {
  margin:auto 0;
  padding:70px 0;
  max-width:480px;
}
.login-story h1 {
  font-size:clamp(39px,4vw,59px);
  line-height:1.08;
  letter-spacing:-1.9px;
  margin-bottom:22px;
}
.login-story-copy>p {
  font-size:15px;
  line-height:1.8;
  color:#b1c2df;
  max-width:420px;
  margin-bottom:36px;
}
.login-flow {
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0 36px;
  flex-wrap:wrap;
}
.login-flow span {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:11px;
  padding:9px 11px;
  border:1px solid #5e739132;
  border-radius:7px;
  background:#263b59;
}
.login-flow svg {
  width:15px;
  height:15px;
}
.login-flow>svg {
  color:#718caf;
  width:17px;
}
.login-story-footer {
  font-size:11px;
  color:#91a9cc;
}
.login-form-side {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:46px;
  background:#fbfcfe;
  min-width:0;
}
.login-form-wrap {
  width:100%;
  max-width:360px;
}
.login-form-wrap .heading-kicker {
  margin-bottom:17px;
}
.login-form-wrap h2 {
  font-size:32px;
  letter-spacing:-.8px;
  margin-bottom:10px;
}
.login-form-wrap>p {
  font-size:13px;
  color:var(--muted);
  line-height:1.7;
  margin-bottom:29px;
}
.login-form-wrap .field {
  margin-bottom:20px;
}
.login-form-wrap input {
  background:white;
  min-height:46px;
  font-size:13px;
}
.login-form-wrap .btn {
  min-height:46px;
  margin-top:7px;
  font-size:13px;
}
.login-footnote {
  padding-top:23px;
  margin-top:25px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}
.mobile-backdrop {
  display:none;
}
@media(min-width:1500px) {
  .main-content {
    padding-top:43px;
  }
  .welcome-copy {
    padding:34px 39px;
  }
  .metric {
    padding:23px 29px;
  }
  .welcome-panel {
    grid-template-columns:1.2fr 1fr;
  }
  .flow-steps {
    margin-left:20px;
  }
  .source-grid,.sender-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:1180px) {
  :root {
    --nav-width:211px;
  }
  .sidebar {
    padding-left:14px;
    padding-right:14px;
  }
  .brand {
    margin-left:10px;
    margin-right:10px;
  }
  .nav-link {
    padding-left:11px;
  }
  .nav-link.active:before {
    left:-14px;
  }
  .topbar {
    padding:0 24px;
  }
  .main-content {
    padding:30px 24px 45px;
  }
  .source-grid,.sender-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .grid-two {
    grid-template-columns:1.15fr 1fr;
    gap:17px;
  }
  .welcome-copy {
    padding:27px;
  }
  .welcome-copy h2 {
    font-size:25px;
  }
  .flow-steps {
    padding-left:23px;
    margin-right:23px;
  }
  .metric {
    padding:19px;
  }
  .metric-value {
    font-size:27px;
  }
  .split-editor {
    grid-template-columns:minmax(0,1.35fr) minmax(220px,.8fr);
    gap:20px;
  }
  .date-label {
    display:none;
  }
  td,th {
    padding-left:17px;
    padding-right:17px;
  }
}
@media(max-width:940px) {
  .welcome-panel {
    grid-template-columns:1fr;
  }
  .welcome-copy {
    padding-bottom:22px;
  }
  .welcome-copy h2,.welcome-copy p {
    max-width:none;
  }
  .flow-steps {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:17px;
    margin:0 27px 26px;
    padding:21px 0 0;
    border-left:0;
    border-top:1px solid #ffffff24;
  }
  .flow-step {
    display:block;
    padding:0;
  }
  .flow-step:not(:last-child):after {
    display:none;
  }
  .flow-step .flow-mark {
    margin-bottom:10px;
  }
  .flow-step p {
    font-size:12px;
  }
  .grid-two {
    grid-template-columns:1fr;
  }
  .metric {
    padding:16px;
  }
  .metric-label {
    font-size:11px;
  }
  .metric-label svg {
    display:none;
  }
  .metric-sub {
    font-size:12px;
  }
  .import-options {
    gap:15px;
  }
  .import-option {
    padding:21px;
  }
  .split-editor {
    grid-template-columns:1fr;
  }
  .message-preview {
    position:static;
  }
  .source-grid,.sender-grid {
    gap:15px;
  }
  .topbar {
    height:69px;
  }
  .page-heading {
    margin-bottom:24px;
  }
  h1 {
    font-size:28px;
  }
  .calendar-day {
    min-height:97px;
  }
  .login-story {
    padding:38px;
  }
  .login-story h1 {
    font-size:39px;
  }
  .login-form-side {
    padding:34px;
  }
}
@media(max-width:820px) {
  .login-page {
    display:block;
    min-height:100dvh;
    background:#fbfcfe;
  }
  .login-story {
    padding:25px 27px;
    min-height:auto;
  }
  .login-story .brand {
    margin:0;
  }
  .login-story-copy,.login-story-footer {
    display:none;
  }
  .login-form-side {
    padding:45px 26px;
    min-height:calc(100dvh - 89px);
  }
  .login-form-wrap {
    max-width:390px;
  }
  .login-form-wrap h2 {
    font-size:32px;
  }
}
@media(max-width:760px) {
  body.menu-open {
    overflow-y:hidden;
  }
  .btn,.btn-sm,.empty-state.compact .btn {
    min-height:44px;
    font-size:12px;
  }
  .icon-btn {
    width:44px;
    height:44px;
    flex-shrink:0;
  }
  .inline-link {
    min-height:44px;
    display:inline-flex;
    align-items:center;
  }
  .field input:where(:not([type="checkbox"]):not([type="radio"])),.field select,.field textarea,.login-form-wrap input,#invitation-link {
    font-size:16px;
    min-height:44px;
  }
  .checkbox-row,.checkbox-option {
    min-height:44px;
    align-items:center;
  }
  .checkbox-row input,.checkbox-option input {
    width:18px;
    height:18px;
    min-height:0;
  }
  .file-drop input::file-selector-button {
    min-height:44px;
    font-size:12px;
  }
  .disclosure summary {
    min-height:44px;
    padding:10px 0;
  }
  .calendar-day {
    min-width:0;
  }
  #source-access-form .actions>input {
    flex:1 0 100%!important;
    width:100%;
  }
  #source-access-form .actions>.btn {
    flex:1 1 100px;
  }
  :root {
    --nav-width:238px;
  }
  .app-shell {
    padding-left:0;
  }
  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s;
    padding:25px 18px 18px;
    box-shadow:var(--shadow);
  }
  .sidebar.open {
    transform:translateX(0);
  }
  .nav-link.active:before {
    left:-18px;
  }
  .mobile-backdrop.open {
    display:block;
    position:fixed;
    inset:0;
    background:#10264166;
    z-index:35;
    backdrop-filter:blur(2px);
  }
  .icon-btn.menu-button {
    display:inline-flex;
    flex:none;
  }
  .icon-btn.sidebar-close { display:inline-flex; position:absolute; top:7px; right:7px; width:30px; height:30px; }
  .topbar {
    height:66px;
    padding:0 19px;
    gap:12px;
    position:sticky;
    top:0;
    z-index:25;
  }
  .breadcrumb {
    flex:1;
    font-size:12px;
    gap:8px;
  }
  .breadcrumb strong { min-width:0; overflow-wrap:anywhere; }
  .breadcrumb>span:first-child,.breadcrumb>svg {
    display:none;
  }
  .topbar-right {
    gap:8px;
    flex:0 1 48%;
    min-width:0;
    max-width:48%;
    justify-content:flex-end;
  }
  .mode-pill {
    font-size:11px;
    padding:5px 7px;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.25;
  }
  .main-content {
    padding:26px 19px 38px;
  }
  .page-heading {
    gap:15px;
    flex-wrap:wrap;
  }
  .page-heading h1 {
    font-size:28px;
  }
  .page-heading p {
    font-size:12px;
  }
  .page-heading .btn {
    margin-top:0;
  }
  .welcome-panel {
    border-radius:12px;
  }
  .welcome-copy {
    padding:25px 24px;
  }
  .welcome-copy h2 {
    font-size:27px;
    max-width:340px;
  }
  .flow-steps {
    margin:0 24px 24px;
    gap:15px;
  }
  .metric-row {
    grid-template-columns:repeat(2,1fr);
  }
  .metric {
    padding:17px 20px;
  }
  .metric:nth-child(2):after {
    display:none;
  }
  .metric:nth-child(-n+2) {
    border-bottom:1px solid var(--line);
  }
  .metric-value {
    font-size:29px;
  }
  .metric-label {
    font-size:11px;
  }
  .metric-sub {
    font-size:12px;
  }
  .panel-head {
    padding:19px 19px 15px;
  }
  .panel-body {
    padding:0 19px 19px;
  }
  .panel-foot {
    padding:12px 19px;
  }
  .source-grid,.sender-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
  }
  .entity-card-top {
    padding:18px;
  }
  .entity-card .entity-body {
    padding:0 18px 18px;
  }
  .entity-card h2 {
    font-size:16px;
  }
  .entity-details>div {
    display:block;
  }
  .entity-details dd {
    text-align:left;
    margin-top:2px;
  }
  .toolbar {
    padding:17px;
    gap:10px;
  }
  .toolbar .search-field {
    min-width:100%;
    flex-basis:100%;
  }
  .toolbar .field {
    min-width:130px;
    flex:1;
  }
  .toolbar .btn {
    min-height:44px;
  }
  .pagination {
    padding:14px 17px;
  }
  .import-options {
    grid-template-columns:1fr;
  }
  .import-option {
    padding:24px;
  }
  .report-stats {
    gap:10px;
  }
  .report-stat {
    padding:15px;
  }
  .report-stat strong {
    font-size:25px;
  }
  .report-stat span {
    font-size:12px;
  }
  .notice {
    padding:12px;
    font-size:12px;
  }
  .calendar-day {
    padding:6px;
    min-height:87px;
  }
  .calendar-event {
    font-size:12px;
    padding:8px 4px;
    min-height:44px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .calendar-toolbar {
    padding:17px;
  }
  .calendar-toolbar h2 {
    font-size:18px;
  }
  .dialog-head {
    padding:20px;
  }
  .dialog-body {
    padding:21px 20px;
  }
  .dialog-foot {
    padding:15px 20px;
  }
  .dialog-head h2 {
    font-size:21px;
  }
  dialog,dialog.wide {
    width:calc(100vw - 24px);
    max-height:calc(100dvh - 24px);
    border-radius:11px;
  }
  .toast-region {
    bottom:17px;
    right:18px;
  }
  .detail-grid {
    gap:17px;
  }
  .preview-result {
    padding:15px 10px;
  }
  .preview-result strong {
    font-size:26px;
  }
}
@media(max-width:450px) {
  .source-grid,.sender-grid {
    grid-template-columns:1fr;
  }
  .entity-details>div {
    display:flex;
  }
  .entity-details dd {
    text-align:right;
    margin-top:0;
  }
  .flow-steps {
    grid-template-columns:1fr;
    gap:15px;
    padding-top:20px;
  }
  .flow-step {
    display:flex;
    gap:12px;
  }
  .flow-step .flow-mark {
    margin:0;
  }
  .flow-step p {
    font-size:12px;
  }
  .welcome-copy p {
    font-size:12px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .form-grid .full {
    grid-column:auto;
  }
  .detail-grid {
    grid-template-columns:1fr;
  }
  .report-stats {
    grid-template-columns:1fr;
  }
  .report-stat {
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .report-stat strong {
    margin:0;
  }
  .report-stat span {
    font-size:12px;
  }
  .calendar-desktop {
    display:none;
  }
  .calendar-mobile-list {
    display:block;
    padding:0 18px 16px;
  }
  .calendar-toolbar {
    flex-wrap:wrap;
  }
  .calendar-legend {
    display:none;
  }
  .dialog-foot {
    flex-wrap:wrap;
  }
  .dialog-foot .btn {
    flex:1 1 140px;
    white-space:normal;
  }
  .dialog-foot .left {
    flex-basis:100%;
    margin:0;
  }
  .page-heading .btn {
    min-height:44px;
  }
  .panel-head {
    gap:10px;
  }
  .panel-head h2 {
    font-size:16px;
  }
  .panel-head .btn {
    font-size:12px;
    padding:9px 10px;
  }
  .pagination {
    flex-wrap:wrap;
  }
  .checkbox-options {
    display:grid;
    grid-template-columns:1fr;
  }
  .checkbox-option {
    font-size:12px;
    padding:10px;
  }
  .topbar {
    padding:0 15px;
  }
  .main-content {
    padding-left:15px;
    padding-right:15px;
  }
}
.brand-name,.brand-sub {
  display:block;
}
@media(max-height:500px) {
  .dialog-head,.dialog-foot {
    position:static;
  }
}
.source-copy small,.cell-sub {
  overflow-wrap:anywhere;
}
.field input:disabled,.field select:disabled {
  background:#f4f7fc;
  color:var(--muted);
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
  .loader {
    border-right-color:var(--blue);
  }
}
.member-sync-heading,.member-section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.member-sync-heading p {
  margin:0;
}
.member-progress {
  display:flex;
  align-items:center;
  gap:16px;
  margin:22px 0;
}
.member-progress progress {
  flex:1;
  min-width:0;
  height:9px;
  accent-color:var(--blue);
}
.member-progress strong {
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.member-sync-metrics {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 28px;
}
.member-sync-metrics>div {
  padding:8px 0;
  border-bottom:1px solid var(--line);
}
.member-sync-metrics dd {
  font-variant-numeric:tabular-nums;
  font-weight:600;
}
.member-sync-times {
  margin-top:19px;
  line-height:1.7;
}
.member-sync-times p {
  margin:3px 0;
}
.member-refresh-status {
  min-height:18px;
  margin:8px 0;
}
.member-live-section {
  padding-top:22px;
  margin-top:22px;
  border-top:1px solid var(--line);
}
.member-section-heading h3 {
  margin:0;
}
.member-table-scroll {
  overflow:auto;
  max-height:350px;
  border:1px solid var(--line);
  border-radius:9px;
  margin-top:15px;
  overscroll-behavior:contain;
  position:relative;
  min-width:0;
  max-width:100%;
}
.member-live-table {
  width:100%;
  min-width:840px;
  font-size:12px;
}
.member-live-table thead {
  position:sticky;
  top:0;
  z-index:1;
  background:#f5f7fb;
}
.member-live-table td,.member-live-table th {
  padding:12px 14px;
  vertical-align:top;
}
.member-live-table td {
  overflow-wrap:anywhere;
  max-width:220px;
  white-space:normal;
}
.member-live-table td:first-child {
  min-width:145px;
}
.member-live-table td:nth-child(5),.member-live-table td:nth-child(6) {
  min-width:140px;
}
.member-live-table .cell-sub {
  display:block;
  margin-top:4px;
  font-size:12px;
  color:var(--muted);
}
.member-log-scroll {
  max-height:290px;
  overflow:auto;
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:9px;
  overscroll-behavior:contain;
}
.member-log {
  padding:0;
  margin:0;
  list-style:none;
}
.member-log li {
  display:grid;
  grid-template-columns:175px minmax(0,1fr);
  gap:15px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  font-size:12px;
  line-height:1.6;
}
.member-log li:last-child {
  border-bottom:0;
}
.member-log time {
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.member-log li span {
  display:block;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.member-warning-summary {
  padding:15px 18px;
  background:#fffaf0;
  border:1px solid #f0e3bf;
  border-radius:9px;
  margin-top:16px;
}
.member-warning-summary h4 {
  margin:0 0 9px;
  font-size:13px;
}
.member-warning-summary ul {
  list-style:none;
  margin:0;
  padding:0;
  font-size:12px;
}
.member-warning-summary li {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:4px 0;
}
.member-empty {
  padding:16px;
  background:#f5f7fb;
  border:1px solid var(--line);
  border-radius:8px;
}
.member-sync-body [data-member-region="schedule"] {
  margin-top:26px;
  padding-top:2px;
  border-top:1px solid var(--line);
}
@media(max-width:760px) {
  .member-sync-metrics {
    grid-template-columns:1fr;
    gap:0;
  }
  .member-sync-metrics>div {
    display:flex;
    justify-content:space-between;
    gap:15px;
  }
  .member-sync-metrics dd {
    text-align:right;
    margin:0;
  }
  .member-log li {
    grid-template-columns:1fr;
    gap:3px;
  }
  .member-table-scroll {
    max-height:310px;
  }
  .member-section-heading {
    align-items:flex-start;
  }
  .member-sync-heading {
    gap:8px;
  }
  .member-sync-heading>.small {
    width:100%;
  }
  .member-sync-times {
    font-size:12px;
  }
}
/* Team administration shares the existing dashboard typography and surfaces. */
.team-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin: 24px 0;
  color: var(--muted, #65718a);
}
.team-summary strong {
  font-size: 24px;
  color: var(--ink, #172947);
  margin-right: 5px;
}
.team-summary .btn {
  margin-left: auto;
}
.team-filters {
  flex-wrap: wrap;
  align-items: end;
}
.team-filters .field {
  min-width: 140px;
  flex: 1 1 140px;
}
.team-filters .field:first-child {
  flex: 2 1 220px;
}
.team-table {
  min-width: 850px;
}
.team-table td {
  vertical-align: top;
}
.team-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 235px;
}
.team-scope {
  max-width: 260px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.team-scope-fields {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  min-width:0;
}
.team-scope-fields legend {
  font-weight: 650;
  padding: 0 7px;
}
.team-scope-fields .checkbox-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}
.role-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.role-card {
  padding: 22px;
  min-width:0;
  overflow-wrap:anywhere;
}
.role-card h2 {
  margin-top: 0;
}
.role-card p {
  font-size: 13px;
  line-height: 1.7;
  color:var(--muted);
}
.permission-matrix {
  max-height:min(68dvh,640px);
  isolation:isolate;
  overscroll-behavior:contain;
}
.permission-matrix table {
  min-width: 730px;
  width: 100%;
  border-collapse:separate;
  border-spacing:0;
}
.permission-matrix th:not(:first-child), .permission-matrix td {
  text-align: center;
  min-width: 95px;
}
.permission-matrix th:first-child {
  min-width:290px;
  width:290px;
  max-width:290px;
}
.permission-matrix th {
  white-space:normal;
  overflow-wrap:anywhere;
}
.permission-matrix thead th {
  position:sticky;
  top:0;
  z-index:3;
}
.permission-matrix thead th:first-child {
  left:0;
  z-index:5;
}
.permission-matrix tbody th:first-child {
  position:sticky;
  left:0;
  z-index:2;
  background:var(--paper);
  border-right:1px solid var(--line);
}
.permission-matrix tbody th {
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.permission-matrix th svg, .permission-picker svg {
  display: inline-block;
  height: 15px;
  width: 15px;
  margin-right: 6px;
  vertical-align: -3px;
  color: #947224;
}
.permission-matrix .permission-module th {
  background: #f2f5fb;
  font-weight: 700;
  z-index:1;
}
.permission-cell {
  display: inline-block;
  min-width: 26px;
  border-radius: 7px;
  padding: 3px 5px;
  font-size: 15px;
}
.permission-cell.allowed {
  background: #e8f5ed;
  color: #236d45;
}
.permission-cell.denied {
  color:var(--muted);
}
.permission-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.permission-picker fieldset {
  padding: 14px;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  min-width: 0;
}
.permission-picker legend {
  font-weight: 650;
  font-size: 13px;
  padding: 0 5px;
}
.permission-picker .checkbox-option {
  display: flex;
  align-items: start;
  margin-bottom: 8px;
  font-size: 13px;
}
.permission-picker small {
  display: block;
  color: #7a6640;
  font-size:12px;
  margin-top: 3px;
}
.access-readonly-note {
  margin: 15px 22px;
  font-size: 13px;
}
.sender-heading-actions { justify-content:flex-end; }
.resend-alias-body,.resend-alias-fields { min-width:0; }
.resend-alias-fields { display:grid; gap:15px; }
.resend-alias-fields>.field { margin:0; min-width:0; }
.resend-alias-fields input,.resend-alias-fields select { width:100%; min-width:0; max-width:100%; }
.resend-alias-fields>.field-hint { margin:-5px 0 0; }
.resend-alias-suggestions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.resend-alias-suggestions>span { color:var(--muted); font-size:13px; }
.resend-alias-preview { padding:17px; border:1px solid var(--line); border-radius:10px; background:var(--blue-wash); min-width:0; }
.resend-alias-preview>span { display:block; color:var(--muted); font-size:12px; }
.resend-alias-preview output { display:block; margin:7px 0; font-size:19px; font-weight:650; line-height:1.5; overflow-wrap:anywhere; }
.resend-alias-preview p { margin-bottom:0; }
@media(max-width:450px) {
  .sender-heading-actions { width:100%; justify-content:stretch; }
  .sender-heading-actions>.btn { flex:1 1 100%; }
  .resend-alias-preview { padding:12px; }
  .resend-alias-preview output { font-size:16px; }
  .resend-alias-suggestions>.btn { min-height:40px; }
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap:wrap;
  min-width:0;
}
.invitation-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  background: #f1f4fa;
}
.invitation-card {
  width: min(100%, 540px);
  padding: 32px;
}
.invitation-card .brand {
  display: inline-flex;
  margin-bottom: 22px;
}
.invitation-card h1 {
  font-size: 26px;
  line-height: 1.3;
}
.invitation-card p {
  color: #65718a;
  line-height: 1.7;
}
.invitation-card form {
  margin-top: 24px;
}
#reauth-dialog {
  width: min(94vw, 480px);
}
#invitation-link {
  width: 100%;
  font-size: 13px;
  overflow-wrap: anywhere;
  resize: vertical;
}
[hidden] {
  display: none !important;
}
@media (max-width: 680px) {
  .team-summary {
    gap: 12px 20px;
  }
  .team-summary .btn {
    width: 100%;
    margin-left: 0;
  }
  .team-filters .field, .team-filters .field:first-child {
    flex: 1 1 100%;
  }
  .team-filters > button {
    width: 100%;
  }
  .permission-picker, .team-scope-fields .checkbox-options {
    grid-template-columns: 1fr;
  }
  .permission-matrix th:first-child {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .role-card {
    padding: 15px;
  }
  .invitation-card {
    padding: 24px 20px;
  }
  .section-heading {
    align-items: flex-start;
  }
}
.contact-channel-summary{margin:24px 0 8px}.contact-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.contact-channel-card{display:flex;align-items:center;gap:20px;padding:22px 24px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);text-decoration:none;min-width:0}.contact-channel-card:hover{border-color:#a8bdea;background:var(--blue-wash)}.contact-channel-card.selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.contact-channel-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.contact-channel-logo{display:flex;flex:none;width:44px;height:44px;align-items:center;justify-content:center}.contact-channel-logo svg{width:100%;height:100%}.contact-channel-copy{display:flex;flex-direction:column;min-width:0;gap:4px}.contact-channel-label{font-size:14px;font-weight:600}.contact-channel-count{font-family:Bahnschrift,"Segoe UI",sans-serif;font-size:32px;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.contact-channel-detail{font-size:12px;color:var(--muted)}.contact-channel-note,.contact-channel-status{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0}.contact-channel-status{display:flex;align-items:center;gap:12px;min-height:24px}.contact-channel-status .btn{flex:none}@media(max-width:900px){.contact-channel-card{gap:12px;padding:18px 16px}.contact-channel-logo{width:36px;height:36px}}@media(max-width:600px){.contact-channel-grid{grid-template-columns:1fr;gap:10px}.contact-channel-card{padding:16px 18px;gap:18px}.contact-channel-logo{width:40px;height:40px}.contact-channel-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;flex:1;column-gap:16px}.contact-channel-count{grid-column:2;grid-row:1/3;font-size:30px}.contact-channel-detail{grid-column:1}.contact-channel-note{margin-top:12px}}
.ask-ai-opener{white-space:nowrap;flex:none}.ask-ai-opener svg{width:20px;height:20px;flex:none}@media(max-width:800px){.ask-ai-opener{width:44px;min-height:44px;padding:10px}.ask-ai-opener>span{display:none}}
/* Aggregate prerequisites stay readable on narrow screens without widening the page. */
.readiness-source-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,540px),1fr)); gap:18px; margin-top:20px; }
.readiness-source { border:1px solid var(--border,#e1e7f0); border-radius:14px; padding:20px; min-width:0; }
.readiness-source h3, .readiness-senders h3 { margin:0; font-size:16px; }
.readiness-source-title { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.readiness-source p { margin:12px 0; }
.readiness-source table { font-size:12px; min-width:500px; }
.readiness-source th, .readiness-source td { padding:10px 8px; }
.readiness-source-details { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-top:18px; }
.readiness-source-details span { display:block; font-size:12px; color:var(--muted,#72809b); margin-bottom:4px; }
.readiness-source-details strong { font-size:13px; }
.readiness-reasons { font-size:13px; padding-left:20px; }
.readiness-senders { border-top:1px solid var(--border,#e1e7f0); margin-top:24px; padding-top:22px; }
