/* Case study before and after screens. Mock-ups of an email client and a PSA ticket, drawn in HTML. */
.cs-shots { padding: clamp(64px, 8vw, 112px) 0 0; }
.cs-shots h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.08; }
.cs-shots-lead { margin-top: 14px; max-width: 60ch; }
.shot-scene { margin-top: clamp(40px, 5vw, 64px); }
.shot-scene > h3 { font-size: 1.35rem; }
.shot-scene > p { margin-top: 6px; max-width: 60ch; }
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; align-items: stretch; }
.shot-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shot figcaption { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.shot-win { flex: 1; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.45; color: #1F2D37; background: #fff; box-shadow: 0 10px 28px rgba(11, 31, 42, .08); min-width: 0; overflow-wrap: anywhere; }
.shot-win p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; max-width: none; }
.shot-win b { font-weight: 600; }
.shot-callout { margin-top: 22px; padding: 18px 22px; border-radius: var(--r-media); background: var(--tint); color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.35; }

/* Email client */
.ml-bar { display: flex; gap: 6px; padding: 10px 14px; background: #F3F4F6; border-bottom: 1px solid #E5E7EB; }
.ml-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD2D9; }
.ml-head { padding: 14px 16px 12px; border-bottom: 1px solid #EEF0F2; }
.ml-subject { font-size: 15px; font-weight: 600; color: #111827; }
.ml-from { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ml-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #5B6CC0; color: #fff; font-size: 12px; font-weight: 600; }
.ml-meta { color: #6B7280; font-size: 12px; }
.ml-body { padding: 14px 16px 18px; }
.ml-body p + p { margin-top: 10px; }
.ml-sig { color: #6B7280; }

/* PSA ticket */
.psa { display: grid; grid-template-columns: 26px minmax(0, 1fr); background: #EEF1FB; height: 100%; }
.psa-rail { background: #0B2E59; }
.psa-main { padding: 12px; min-width: 0; }
.psa-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.psa-actions span { padding: 2px 8px; border-radius: 10px; background: #fff; font-size: 10.5px; color: #33424E; box-shadow: 0 1px 2px rgba(11, 31, 42, .08); }
.psa-id { font-size: 15px; color: #111827; }
.psa-summary { margin-top: 2px !important; font-size: 13.5px !important; color: #33424E !important; }
.psa-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 10px 0; }
.psa-stages span { padding: 5px 2px; text-align: center; font-size: 10px; background: #E4E7EE; color: #5E6B74; }
.psa-stages .on { background: #00BDF2; color: #fff; font-weight: 600; }
.psa-stages .done { background: #0A8FB5; color: #fff; }
.psa-card { background: #fff; border-radius: 8px; padding: 10px 12px; margin-top: 8px; box-shadow: 0 1px 2px rgba(11, 31, 42, .06); }
.psa-who { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 12.5px; }
.psa-who time { color: #6B7280; font-weight: 400; font-size: 11px; white-space: nowrap; }
.psa-tag { display: inline-block; padding: 0 6px; border-radius: 3px; font-size: 10.5px; font-weight: 600; background: #FFC107; color: #111827; margin: 2px 0 5px; }
.psa-tag.note { background: #E9E3FB; color: #4B3A99; }
.psa-tag.alarm { background: #D92D20; color: #fff; }
.psa-new { outline: 2px solid var(--accent); outline-offset: -2px; }
.psa-lines { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; }
.psa-lines dt { color: #6B7280; }
.psa-lines dd { margin: 0; }
.psa-info { background: #fff; border-radius: 8px; padding: 12px 14px; margin-top: 8px; box-shadow: 0 1px 2px rgba(11, 31, 42, .06); }
.psa-info h4 { font-size: 13.5px; font-weight: 500; padding-bottom: 8px; margin: 0 0 8px; border-bottom: 1px solid #EEF0F2; color: #111827; }
.psa-field { padding: 6px 8px; margin: 0 -8px; border-radius: 6px; }
.psa-field dt { color: #6B7280; font-size: 11.5px; }
.psa-field dd { margin: 1px 0 0; color: #1F2D37; }
.psa-field .link { color: #1F6FB2; }
.psa-field.unset dd { color: #9AA5AE; }
.psa-field.set { background: var(--tint); box-shadow: inset 0 0 0 2px var(--accent); }
.psa-field.set dd { font-weight: 600; color: var(--ink); }
.psa-field.hot { background: #FDECEA; box-shadow: inset 0 0 0 2px #D92D20; }
.psa-field.hot dd { font-weight: 600; color: #B42318; }
.psa-status { display: inline-block; padding: 0 8px; border-radius: 3px; background: #FFC107; font-size: 11.5px; font-weight: 500; }

/* Alert email */
.al-head { background: var(--ink); color: #fff; padding: 16px; font-size: 17px; font-weight: 600; border-bottom: 4px solid var(--accent); }
.al-body { padding: 14px 16px 18px; }
.al-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12.5px; }
.al-table th, .al-table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #EEF0F2; vertical-align: top; }
.al-table th { background: #F5F7F8; font-weight: 600; color: var(--ink); }
.al-help { margin-top: 14px !important; color: #6B7280 !important; }
.al-btn { display: inline-block; margin-top: 6px; padding: 7px 14px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12.5px; }

@media (max-width: 960px) {
  .shot-row, .shot-row.two { grid-template-columns: minmax(0, 1fr); }
}

/* Added for the full workflow set */
.psa-summary.set { padding: 3px 6px; margin-left: -6px !important; border-radius: 5px; background: var(--tint); box-shadow: inset 0 0 0 2px var(--accent); color: var(--ink) !important; font-weight: 600; }
.ml-steps { margin: 6px 0 8px; padding-left: 20px; list-style: decimal; }
.ml-steps li { margin-top: 4px; font-size: inherit; color: inherit; }
.ml-steps em { color: #B54708; font-style: normal; font-size: 11.5px; }
.src { display: block; color: #1F6FB2; font-size: 11.5px; }
.shot-row.one { grid-template-columns: minmax(0, 1fr); }
.psa-lines dt, .psa-lines dd { font-size: 12.5px; }
.rp-head { background: var(--ink); color: #fff; padding: 14px 16px; font-weight: 600; font-size: 14px; border-bottom: 4px solid var(--accent); }
.ct { display: flex; flex-direction: column; gap: 10px; padding: 16px; height: 100%; background: #F5F7F8; }
.ct-u { align-self: flex-end; max-width: 80%; padding: 8px 12px; border-radius: 12px 12px 2px 12px; background: var(--accent); color: #fff; }
.ct-a { max-width: 90%; padding: 10px 12px; border-radius: 12px 12px 12px 2px; background: #fff; box-shadow: 0 1px 2px rgba(11, 31, 42, .08); }
.al-table td:first-child { overflow-wrap: normal; white-space: nowrap; }
