/* MMS hero: one readable message, surrounded by a clipped workspace mosaic. */
.mms-art {
  position: relative;
  container-type: inline-size;
  --mms-message-width: min(390px, calc(100cqw - 40px));
  --mms-art-gap: 20px;
  width: min(100%, 640px);
  margin: 0 auto;
  overflow: clip;
  color: #183a69;
}
.mms-art::before, .mms-art::after {
  content: '';
  position: absolute;
  inset-block: 0;
  width: clamp(12px, calc((100cqw - var(--mms-message-width)) / 2 - 20px), 80px);
  z-index: 3;
  pointer-events: none;
}
.mms-art::before { left: 0; background: linear-gradient(to right, #fcfbf7, #fcfbf700); }
.mms-art::after { right: 0; background: linear-gradient(to left, #fcfbf7, #fcfbf700); }
.mms-art *, .mms-art *::before, .mms-art *::after { box-sizing: border-box; }
.mms-art svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mms-art__scene {
  position: relative;
  display: grid;
  grid-template-columns: 160px var(--mms-message-width) 174px;
  gap: var(--mms-art-gap);
  width: max-content;
  margin-left: calc((100% - var(--mms-message-width)) / 2 - 160px);
}
.mms-art__focus { grid-column: 2; position: relative; display: flex; flex-direction: column; gap: var(--mms-art-gap); padding-top: 4px; min-width: 0; }
.mms-art__left, .mms-art__right { position: absolute; top: 0; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: var(--mms-art-gap); pointer-events: none; }
.mms-art__left { left: 0; width: 160px; }
.mms-art__right { left: calc(200px + var(--mms-message-width)); width: 174px; }
.mms-art__left { padding-top: 88px; mask-image: linear-gradient(to right, transparent, #000 95%), linear-gradient(to bottom, transparent, #000 18%, #000 76%, transparent); mask-composite: intersect; }
.mms-art__right { padding-top: 42px; mask-image: linear-gradient(to right, #000, transparent 88%), linear-gradient(to bottom, transparent, #000 18%, #000 76%, transparent); mask-composite: intersect; }
.mms-art .unique-tile { flex: none; border: 1px solid #d6e0ed; border-radius: 13px; background: #fff; padding: 18px 16px; color: #627e9f; font-size: 11px; overflow: hidden; }
.mms-art .tile-heading { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.5; color: #5c789d; font-weight: 500; }
.mms-art .tile-heading svg { width: 16px; height: 16px; flex: none; }
.mms-art .tile-editor { min-height: 330px; }
.mms-art .tile-label { display: block; font-size: 9px; color: #8d9eb3; margin: 20px 0 8px; }
.mms-art .tile-input { border: 1px solid #dce5ef; border-radius: 5px; background: #f9fbff; padding: 9px 7px; font-size: 10px; }
.mms-art .tile-token { display: inline-block; background: #e7eef9; color: #6183b2; border-radius: 5px; font-size: 10px; padding: 6px; }
.mms-art .unique-tile p { font-size: 12px; line-height: 1.65; margin: 0; color: #738aaa; }
.mms-art .tile-bottom { display: flex; gap: 6px; align-items: center; font-size: 9px; margin-top: 24px; }
.mms-art .tile-small-dot { width: 5px; height: 5px; background: #a9bad0; border-radius: 50%; }
.mms-art .tile-attachment { min-height: 119px; }
.mms-art .tile-file { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 9px; }
.mms-art .tile-file img { width: 34px; height: 38px; object-fit: cover; border-radius: 5px; opacity: .7; }
.mms-art .tile-file small { display: block; margin-top: 5px; color: #92a2b8; font-size: 9px; }
.mms-art .tile-api { min-height: 180px; background: #f6f8fc; }
.mms-art .tile-api code { display: block; margin-top: 17px; font-size: 10px; line-height: 1.8; color: #7891af; }
.mms-art .tile-timing { min-height: 64px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding-block: 12px; mask-image: linear-gradient(to bottom, transparent, #000 100%); }
.mms-art .tile-timing small { display: none; }
.mms-art .tile-timing-options { display: flex; gap: 3px; padding: 3px; border-radius: 6px; background: #eef2f8; font-size: 10px; }
.mms-art .tile-timing-options span { padding: 6px 10px; }
.mms-art .tile-timing-options .tile-choice { background: white; border-radius: 4px; color: #6082b0; }
.mms-art .tile-audience { min-height: 137px; }
.mms-art .tile-import { margin: 17px 0 12px; padding: 9px 10px; border: 1px dashed #c2d0e3; border-radius: 5px; text-align: center; font-size: 11px; }
.mms-art .unique-tile > small { font-size: 9px; color: #91a2b8; }
.mms-art .tile-invitation { padding: 0; min-height: 330px; }
.mms-art .tile-invitation > .tile-heading { padding: 16px; }
.mms-art .tile-invitation-image { display: block; width: 100%; height: 145px; object-fit: cover; opacity: .65; }
.mms-art .tile-invitation-copy { padding: 14px; }
.mms-art .tile-invitation-copy > small { font-size: 9px; color: #91a2b8; }
.mms-art .tile-invitation-copy h4 { font-size: 17px; font-weight: 500; line-height: 1.2; margin: 9px 0; color: #7188a5; }
.mms-art .tile-invitation-copy p { font-size: 10px; }
.mms-art .tile-invitation-copy > span { display: block; font-size: 8px; margin-top: 12px; color: #91a4bc; overflow-wrap: anywhere; }
.mms-art .tile-records { min-height: 170px; }
.mms-art .tile-search { border: 1px solid #dce5ef; border-radius: 5px; padding: 9px 7px; font-size: 9px; color: #94a4ba; margin-top: 16px; }
.mms-art .tile-record-row { display: flex; justify-content: space-between; margin-top: 17px; font-size: 9px; color: #849ab5; }
.mms-art .tile-record-row b { font-weight: 400; }
.mms-art .tile-record-placeholder { display: flex; justify-content: space-between; margin-top: 12px; }
.mms-art .tile-record-placeholder i { height: 3px; width: 45px; background: #dce5ef; border-radius: 2px; }
.mms-art .tile-record-placeholder i + i { width: 27px; }
.mms-art .tile-report { min-height: 72px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 22px; mask-image: linear-gradient(to bottom, #000, transparent 100%); }
.mms-art .tile-report-columns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; line-height: 1.5; color: #8097b4; }
.mms-art .tile-report-columns i { flex: none; width: 3px; height: 3px; border-radius: 50%; background: #91a7c1; }
.mms-art .tile-report .tile-heading { font-size: 12px; }
.mms-art .study-inbox { position: relative; overflow: hidden; border-radius: 15px; background: white; box-shadow: 0 17px 35px -21px #18396366, 0 3px 8px -5px #18396330; }
.mms-art .study-inbox header { display: flex; align-items: center; gap: 10px; padding: 16px 19px; background: #2f6ee9; color: white; }
.mms-art .study-avatar { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 50%; background: #ffffff26; font-size: 13px; }
.mms-art .study-inbox header strong { display: block; font-size: 12px; }
.mms-art .study-inbox header small { display: block; font-size: 10px; margin-top: 4px; color: #e1ebff; }
.mms-art .study-inbox header > svg { width: 18px; height: 18px; margin-left: auto; color: #dce8ff; }
.mms-art .study-thread { padding: 17px 24px 15px 18px; background: #fff; }
.mms-art .study-bubble { position: relative; background: #edf3ff; border-radius: 11px 11px 11px 2px; }
.mms-art .study-bubble::after { content: ''; position: absolute; left: -7px; bottom: 0; width: 9px; height: 11px; background: #edf3ff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.mms-art .study-bubble > img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: 50% 43%; border-radius: 11px 11px 0 0; }
.mms-art .study-copy { padding: 17px 18px; }
.mms-art .study-copy h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 9px; color: #123869; }
.mms-art .study-copy p { font-size: 12px; line-height: 1.65; color: #4b607c; margin: 0 0 15px; }
.mms-art .study-url { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #245dc3; }
.mms-art .study-url svg { width: 14px; height: 14px; }
.mms-art .study-inbox footer { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 0 12px 16px; color: #60748f; font-size: 10px; }
.mms-art .study-inbox footer i { width: 3px; height: 3px; border-radius: 50%; background: #9ab0ce; }
.mms-art__message { position: relative; }
.mms-art .study-approved { position: absolute; top: -16px; right: 18px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #c7e981; color: #304a1d; font-size: 10px; line-height: 16px; font-weight: 500; z-index: 2; }
.mms-art .study-approved svg { width: 18px; height: 18px; }
.mms-art .study-disclaimer { margin: 14px 0 8px; text-align: center; font-size: 9px; line-height: 1.6; color: #7b8797; }
@media (max-width: 900px) {
  .mms-art__scene { margin-left: calc((100% - var(--mms-message-width)) / 2 - 180px); }
}
@media (max-width: 600px) {
  .mms-art { --mms-message-width: calc(100cqw - 40px); }
  .mms-art .study-copy h3 { font-size: 21px; }
  .mms-art .study-copy p { font-size: 13px; }
  .mms-art .study-bubble > img { height: auto; aspect-ratio: 1.65; }
  .mms-art .study-thread { padding: 14px 20px 14px 16px; }
  .mms-art .study-copy { padding: 16px; }
  .mms-art .tile-timing { grid-template-columns: 1fr; gap: 8px; }
  .mms-art .tile-timing-options { justify-self: start; }
  .mms-art .tile-timing small { display: none; }
  .mms-art .study-approved { right: 14px; }
  .mms-art .tile-report-columns { gap: 8px; font-size: 10px; }
}
