.message-center-page{
  background:linear-gradient(180deg,#fbfdff 0%,#f5f7fb 100%);
}

.message-center-hero{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:28px;
  border-radius:24px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,255,255,.82)),
    radial-gradient(circle at 86% 10%,rgba(22,119,255,.16),transparent 34%);
  box-shadow:0 18px 48px rgba(15,23,42,.07);
}

.message-center-hero h2{
  margin:0 0 8px;
  color:#101828;
  font-size:28px;
  font-weight:700;
  letter-spacing:0;
}

.message-center-hero p{
  margin:0;
  color:#667085;
  font-size:14px;
  line-height:1.7;
}

.message-center-pill{
  align-self:flex-start;
  min-height:32px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:#eaf3ff;
  color:#1677ff;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.message-center-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:12px;
  margin:16px 0;
}

.message-center-stat{
  min-height:86px;
  padding:14px;
  border:0;
  border-radius:18px;
  background:#fff;
  text-align:left;
  box-shadow:0 12px 34px rgba(15,23,42,.055);
  cursor:pointer;
}

.message-center-stat span{
  display:block;
  color:#667085;
  font-size:13px;
  font-weight:600;
}

.message-center-stat strong{
  display:block;
  margin-top:10px;
  color:#101828;
  font-size:24px;
  font-weight:700;
}

.message-center-stat.active{
  background:#eef6ff;
  box-shadow:inset 0 0 0 1px rgba(22,119,255,.18),0 16px 40px rgba(22,119,255,.10);
}

.message-center-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:18px 0 12px;
}

.message-center-head h3{
  margin:0;
  color:#101828;
  font-size:18px;
  font-weight:700;
}

.message-center-head span{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:#fff;
  color:#667085;
  font-size:12px;
  font-weight:700;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.message-center-list{
  display:grid;
  gap:12px;
}

.message-center-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 230px;
  gap:18px;
  padding:18px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 40px rgba(15,23,42,.055);
}

.message-center-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.message-center-source,
.message-center-status{
  min-height:26px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
}

.message-center-source{
  background:#edf5ff;
  color:#1677ff;
}

.message-center-status.pending{background:#fff7ed;color:#f97316}
.message-center-status.sent{background:#edf5ff;color:#1677ff}
.message-center-status.viewed{background:#ecfdf3;color:#16a34a}
.message-center-status.interested{background:#eff6ff;color:#2563eb}
.message-center-status.signup-intent{background:#f5f3ff;color:#7c3aed}
.message-center-status.need-follow-up{background:#fff7ed;color:#f97316}
.message-center-status.stopped{background:#f2f4f7;color:#667085}

.message-center-item h3{
  margin:10px 0 8px;
  color:#101828;
  font-size:17px;
  font-weight:700;
  line-height:1.35;
}

.message-center-item p{
  margin:0;
  color:#667085;
  font-size:13px;
  line-height:1.65;
}

.message-center-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-top:12px;
  color:#667085;
  font-size:12px;
  line-height:1.5;
  word-break:break-all;
}

.message-center-behavior{
  width:max-content;
  max-width:100%;
  min-height:28px;
  display:flex;
  align-items:center;
  margin-top:12px;
  padding:0 10px;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:12px;
  font-weight:700;
}

.message-center-behavior.active{
  background:#eef6ff;
  color:#1677ff;
}

.message-center-actions{
  display:grid;
  gap:8px;
  align-content:start;
}

.message-center-actions button{
  min-height:38px;
  border:0;
  border-radius:13px;
  background:#f2f6fb;
  color:#344054;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.message-center-actions button:first-child{
  background:#111827;
  color:#fff;
}

.message-center-actions .stop{
  background:#fff4f4;
  color:#b42318;
}

.message-center-empty{
  padding:34px 22px;
  border-radius:22px;
  background:#fff;
  text-align:center;
  box-shadow:0 14px 40px rgba(15,23,42,.055);
}

.message-center-empty strong{
  display:block;
  color:#101828;
  font-size:18px;
  font-weight:700;
}

.message-center-empty p{
  max-width:520px;
  margin:10px auto 0;
  color:#667085;
  font-size:13px;
  line-height:1.7;
}

@media(max-width:760px){
  .message-center-hero{
    flex-direction:column;
    padding:22px;
    border-radius:22px;
  }
  .message-center-hero h2{
    font-size:24px;
  }
  .message-center-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .message-center-item{
    grid-template-columns:1fr;
  }
  .message-center-actions{
    grid-template-columns:1fr;
  }
}

/* Phase 1B offline Mock projection. All rules are isolated behind the Mock root. */
.parent-touch-mock-active #authOverlay{
  display:none !important;
}

.parent-touch-mock-active [data-parent-touch-mock-only]{
  box-sizing:border-box;
}

.parent-touch-mock-active .ptc-release-mount{
  grid-column:1 / -1;
  width:100%;
  margin-bottom:18px;
}

.parent-touch-mock-active .recommendation-share-list-modern .recommendation-share-item.ptc-release-card,
.parent-touch-mock-active .recommendation-share-item.ptc-release-card{
  width:100%;
  max-width:none;
  display:block;
  grid-template-columns:none;
  padding:0;
  overflow:hidden;
  border:1px solid #e4eaf2;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.parent-touch-mock-active .ptc-demo-banner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border-bottom:1px solid #edf0f5;
  background:#f5f9ff;
}

.parent-touch-mock-active .ptc-demo-banner h3,
.parent-touch-mock-active .ptc-section-heading h3,
.parent-touch-mock-active .ptc-admin-issue h4{
  margin:4px 0 0;
  color:#101828;
  letter-spacing:0;
}

.parent-touch-mock-active .ptc-demo-banner h3{
  font-size:20px;
}

.parent-touch-mock-active .ptc-demo-banner p{
  margin:7px 0 0;
  color:#667085;
  font-size:13px;
  line-height:1.6;
}

.parent-touch-mock-active .ptc-eyebrow{
  display:block;
  color:#1677ff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.parent-touch-mock-active .ptc-status{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}

.parent-touch-mock-active .ptc-status.neutral{
  background:#f2f4f7;
  color:#667085;
}

.parent-touch-mock-active .ptc-status.info{
  background:#eaf3ff;
  color:#1677ff;
}

.parent-touch-mock-active .ptc-status.success{
  background:#ecfdf3;
  color:#17884a;
}

.parent-touch-mock-active .ptc-status.warning{
  background:#fff5e8;
  color:#c85d0a;
}

.parent-touch-mock-active .ptc-status.danger{
  background:#fff1f1;
  color:#c7352d;
}

.parent-touch-mock-active .ptc-release-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:18px;
}

.parent-touch-mock-active .ptc-panel,
.parent-touch-mock-active .ptc-release-card .recommendation-share-side{
  width:auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
  border:1px solid #e8edf4;
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}

.parent-touch-mock-active .ptc-panel-head,
.parent-touch-mock-active .ptc-section-heading,
.parent-touch-mock-active .ptc-message-record-head,
.parent-touch-mock-active .ptc-admin-issue-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.parent-touch-mock-active .ptc-panel-head > div{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
}

.parent-touch-mock-active .ptc-panel-head strong{
  color:#101828;
  font-size:15px;
  line-height:1.4;
}

.parent-touch-mock-active .ptc-step{
  flex:0 0 auto;
  width:27px;
  height:27px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#eaf3ff;
  color:#1677ff;
  font-size:11px;
  font-weight:800;
}

.parent-touch-mock-active .ptc-photo-frame,
.parent-touch-mock-active .ptc-parent-photo{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border:1px solid #e5eaf1;
  border-radius:14px;
  background:#eef4fb;
}

.parent-touch-mock-active .ptc-photo-frame img,
.parent-touch-mock-active .ptc-parent-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.parent-touch-mock-active .ptc-photo-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:18px;
  color:#475467;
  text-align:center;
  background:#eef4fb;
}

.parent-touch-mock-active .ptc-photo-placeholder strong{
  color:#344054;
  font-size:14px;
}

.parent-touch-mock-active .ptc-photo-placeholder span{
  font-size:12px;
}

.parent-touch-mock-active .ptc-summary,
.parent-touch-mock-active .ptc-footnote{
  margin:0;
  color:#667085;
  font-size:13px;
  line-height:1.65;
}

.parent-touch-mock-active .ptc-button-row,
.parent-touch-mock-active .ptc-button-grid,
.parent-touch-mock-active .ptc-message-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.parent-touch-mock-active .ptc-button-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.parent-touch-mock-active .ptc-button-row button,
.parent-touch-mock-active .ptc-button-grid button,
.parent-touch-mock-active .ptc-message-actions button{
  min-width:0;
  min-height:38px;
  padding:8px 12px;
  border-radius:11px;
  font-size:12px;
  line-height:1.35;
}

.parent-touch-mock-active .ptc-main-action{
  width:100%;
  min-height:42px;
  margin-top:auto;
}

.parent-touch-mock-active button:disabled{
  cursor:not-allowed;
  opacity:.46;
}

.parent-touch-mock-active .ptc-inline-note,
.parent-touch-mock-active .ptc-readonly-state{
  padding:11px 12px;
  border-radius:12px;
  font-size:12px;
  line-height:1.55;
}

.parent-touch-mock-active .ptc-inline-note.success,
.parent-touch-mock-active .ptc-readonly-state{
  background:#effaf4;
  color:#18794e;
}

.parent-touch-mock-active .ptc-inline-note.warning{
  background:#fff7ed;
  color:#b45309;
}

.parent-touch-mock-active .ptc-readonly-state{
  display:grid;
  gap:3px;
}

.parent-touch-mock-active .ptc-field{
  display:grid;
  gap:7px;
  color:#475467;
  font-size:12px;
  font-weight:700;
}

.parent-touch-mock-active .ptc-field select{
  width:100%;
  min-height:42px;
  padding:0 12px;
  border:1px solid #dce3ec;
  border-radius:11px;
  background:#fff;
  color:#1d2939;
  font:inherit;
}

.parent-touch-mock-active .ptc-metric-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.parent-touch-mock-active .ptc-metric-row > span,
.parent-touch-mock-active .ptc-archive-metrics > span{
  min-width:0;
  padding:11px;
  border-radius:11px;
  background:#f7f9fc;
}

.parent-touch-mock-active .ptc-metric-row small,
.parent-touch-mock-active .ptc-archive-metrics small{
  display:block;
  color:#98a2b3;
  font-size:11px;
}

.parent-touch-mock-active .ptc-metric-row strong,
.parent-touch-mock-active .ptc-archive-metrics strong{
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#344054;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.parent-touch-mock-active .ptc-state-list{
  display:grid;
  gap:0;
  border-top:1px solid #edf0f5;
}

.parent-touch-mock-active .ptc-state-list > div{
  min-width:0;
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #edf0f5;
  color:#667085;
  font-size:12px;
}

.parent-touch-mock-active .ptc-state-list strong{
  color:#344054;
  text-align:right;
}

.parent-touch-mock-active .ptc-parent-preview{
  max-width:390px;
  margin:0 auto;
  padding:16px;
  border-radius:22px;
  background:#eef4fb;
  color:#1d2939;
}

.parent-touch-mock-active .ptc-parent-preview-nav{
  display:flex;
  justify-content:space-between;
  padding:5px 2px 14px;
  font-size:17px;
  font-weight:800;
}

.parent-touch-mock-active .ptc-parent-preview-nav span{
  color:#667085;
  font-size:11px;
  font-weight:650;
}

.parent-touch-mock-active .ptc-parent-preview-profile{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.parent-touch-mock-active .ptc-parent-avatar{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#1677ff;
  color:#fff;
  font-weight:800;
}

.parent-touch-mock-active .ptc-parent-preview-profile p{
  margin:3px 0 0;
  color:#667085;
  font-size:11px;
}

.parent-touch-mock-active .ptc-parent-summary,
.parent-touch-mock-active .ptc-parent-project{
  margin:12px 0 0;
  padding:14px;
  border-radius:15px;
  background:#fff;
  font-size:13px;
  line-height:1.65;
}

.parent-touch-mock-active .ptc-parent-project > span{
  color:#1677ff;
  font-size:11px;
  font-weight:750;
}

.parent-touch-mock-active .ptc-parent-project h3{
  margin:5px 0 7px;
  font-size:16px;
}

.parent-touch-mock-active .ptc-parent-project p{
  margin:0;
  color:#667085;
}

.parent-touch-mock-active .ptc-parent-project > div{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #edf0f5;
}

.parent-touch-mock-active .ptc-parent-preview > button{
  width:100%;
  margin-top:12px;
}

.parent-touch-mock-active .ptc-message-projection{
  display:grid;
  gap:14px;
}

.parent-touch-mock-active .ptc-section-heading{
  align-items:center;
  padding:4px 2px;
}

.parent-touch-mock-active .ptc-section-heading.compact{
  padding:0;
}

.parent-touch-mock-active .ptc-section-heading h3{
  font-size:18px;
}

.parent-touch-mock-active .ptc-message-record{
  padding:18px;
  border:1px solid #e4eaf2;
  border-radius:18px;
  background:#fff;
}

.parent-touch-mock-active .ptc-message-record.current{
  border-color:#cfe1ff;
  box-shadow:0 10px 28px rgba(22,119,255,.07);
}

.parent-touch-mock-active .ptc-message-record-head h4{
  margin:5px 0 0;
  color:#101828;
  font-size:16px;
}

.parent-touch-mock-active .ptc-message-record-head p{
  margin:5px 0 0;
  color:#667085;
  font-size:12px;
}

.parent-touch-mock-active .ptc-state-columns{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}

.parent-touch-mock-active .ptc-state-columns > div{
  min-width:0;
  padding:12px;
  border-radius:12px;
  background:#f7f9fc;
}

.parent-touch-mock-active .ptc-state-columns span{
  display:block;
  color:#98a2b3;
  font-size:11px;
}

.parent-touch-mock-active .ptc-state-value{
  display:block;
  margin-top:6px;
  color:#475467;
  font-size:13px;
  line-height:1.45;
}

.parent-touch-mock-active .ptc-state-value.info{color:#1677ff}
.parent-touch-mock-active .ptc-state-value.success{color:#17884a}
.parent-touch-mock-active .ptc-state-value.warning{color:#c85d0a}
.parent-touch-mock-active .ptc-state-value.danger{color:#c7352d}

.parent-touch-mock-active .ptc-message-actions{
  margin-top:14px;
}

.parent-touch-mock-active .ptc-message-actions button{
  border:1px solid #dce3ec;
  background:#fff;
  color:#344054;
  font-weight:700;
}

.parent-touch-mock-active .ptc-message-actions button:first-child{
  border-color:#1677ff;
  background:#1677ff;
  color:#fff;
}

.parent-touch-mock-active .ptc-message-actions + .ptc-footnote{
  margin-top:10px;
}

.parent-touch-mock-active .ptc-archive-summary,
.parent-touch-mock-active .ptc-timeline-projection{
  margin-top:14px;
  padding:16px;
  border:1px solid #e4eaf2;
  border-radius:16px;
  background:#fff;
}

.parent-touch-mock-active .ptc-archive-summary h3,
.parent-touch-mock-active .ptc-timeline-projection h3{
  margin:4px 0 0;
  color:#101828;
  font-size:16px;
}

.parent-touch-mock-active .ptc-archive-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}

.parent-touch-mock-active .ptc-archive-metrics.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.parent-touch-mock-active .ptc-link-button{
  margin-top:12px;
  padding:0;
  border:0;
  background:transparent;
  color:#1677ff;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}

.parent-touch-mock-active .ptc-timeline-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:10px;
  color:#475467;
  font-size:13px;
}

.parent-touch-mock-active .ptc-timeline-row::before{
  content:"";
  flex:0 0 auto;
  width:7px;
  height:7px;
  margin-top:6px;
  border-radius:50%;
  background:#1677ff;
}

.parent-touch-mock-active .ptc-admin-issues{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.parent-touch-mock-active .ptc-admin-issue-head{
  grid-column:1 / -1;
  padding:14px 16px;
  border-radius:14px;
  background:#f5f9ff;
}

.parent-touch-mock-active .ptc-admin-issue{
  min-width:0;
  padding:15px;
  border:1px solid #e4eaf2;
  border-radius:14px;
  background:#fff;
}

.parent-touch-mock-active .ptc-admin-issue h4{
  font-size:14px;
  line-height:1.45;
}

.parent-touch-mock-active .ptc-admin-issue p{
  margin:8px 0 0;
  color:#667085;
  font-size:12px;
  line-height:1.55;
}

.parent-touch-mock-active .ptc-toast{
  position:fixed;
  z-index:99999;
  left:50%;
  bottom:36px;
  max-width:min(88vw,460px);
  padding:11px 16px;
  border-radius:12px;
  background:rgba(16,24,40,.94);
  color:#fff;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,12px);
  transition:opacity .18s ease,transform .18s ease;
}

.parent-touch-mock-active .ptc-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}

@media(max-width:1080px){
  .parent-touch-mock-active .ptc-release-grid{
    grid-template-columns:1fr;
  }

  .parent-touch-mock-active .ptc-state-columns{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .parent-touch-mock-active .ptc-demo-banner{
    padding:18px;
  }

  .parent-touch-mock-active .ptc-release-grid{
    padding:12px;
  }

  .parent-touch-mock-active .ptc-panel,
  .parent-touch-mock-active .ptc-release-card .recommendation-share-side{
    padding:15px;
  }

  .parent-touch-mock-active .ptc-button-grid,
  .parent-touch-mock-active .ptc-state-columns,
  .parent-touch-mock-active .ptc-admin-issues{
    grid-template-columns:1fr;
  }

  .parent-touch-mock-active .ptc-admin-issue-head{
    grid-column:1;
  }

  .parent-touch-mock-active .ptc-archive-metrics,
  .parent-touch-mock-active .ptc-archive-metrics.three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
