/* CustomerConversations.dc.html, v3. The site provides the Instrument font and paper. */
.p-scan #customer-conversations{ padding-block:var(--space-section); }
.cv-marker .marker__name{ font-size:13px; font-weight:700; letter-spacing:.12em; }
.p-scan .cv-marker .marker__rule{ display:block; }
.p-scan #customer-conversations .cv-marker{ margin-bottom:40px; }
.cv-layout{
  display:grid;
  grid-template-areas:"copy" "stage" "providers";
  grid-template-columns:minmax(0,1fr);
  gap:32px clamp(32px,4vw,56px);
  align-items:start;
}
.cv-copy{ grid-area:copy; }
.cv-copy .t-display{ text-wrap:balance; }
.cv-copy h3{ margin-top:20px; font-size:20px; font-weight:600; line-height:1.3; letter-spacing:-.02em; text-wrap:balance; }
.cv-copy p{ margin-top:12px; max-width:54ch; color:var(--ink-2); font-size:clamp(16px,1.3vw,17px); line-height:1.55; text-wrap:pretty; }
.cv-providers{ grid-area:providers; }
.cv-providers p{ margin-bottom:14px; color:var(--ink-2); font-size:13px; font-weight:600; }
.cv-providers ul{ display:flex; flex-wrap:wrap; gap:16px; }
.cv-providers li{ display:grid; justify-items:center; gap:8px; color:var(--ink-2); font-size:12px; }
.cv-providers li > span{
  display:grid; place-items:center; width:64px; height:64px; background:#fff;
  border:1px solid var(--hairline); border-radius:16px; box-shadow:0 8px 20px -12px rgba(12,15,16,.25);
}
.cv-providers img{ width:40px; height:40px; object-fit:contain; }
.cv-figure{ grid-area:stage; position:relative; min-width:0; container-type:inline-size; }
.cv-stage{
  position:relative; height:520px; overflow:hidden; border-radius:12px;
  --cv-accent:#C2410C;
  background-color:#8A2D07;
  background-image:
    linear-gradient(to right,rgba(255,196,150,.20) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,196,150,.20) 1px,transparent 1px),
    linear-gradient(to right,rgba(255,196,150,.10) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,196,150,.10) 1px,transparent 1px),
    radial-gradient(55% 45% at 50% 30%,rgba(255,130,50,.30),transparent 70%),
    linear-gradient(165deg,#561803 0%,#8A2D07 40%,#C2410C 78%,#DD5810 100%);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px,100% 100%,100% 100%;
  background-position:center top;
}
.cv-window{
  position:absolute; inset:28px 0 0 28px; display:flex; overflow:hidden;
  background:var(--raised); border:1px solid var(--hairline); border-radius:10px 0 0 0;
  box-shadow:0 24px 48px -20px rgba(60,14,0,.55);
}
.cv-transcript{ display:flex; flex-direction:column; flex:0 0 45%; min-width:0; border-right:1px solid var(--hairline); background:#fff; }
.cv-window-head{
  flex:none; height:40px; padding:11px 16px; border-bottom:1px solid var(--hairline);
  color:var(--ink-2); font-size:13px; line-height:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.cv-window-head strong{ color:var(--ink); font-weight:600; }
.cv-transcript-viewport{ flex:1; min-height:0; overflow:hidden; mask-image:linear-gradient(to bottom,transparent,#000 14px); }
.cv-transcript-content{ position:relative; padding:6px 14px 24px 16px; transition:transform 520ms var(--ease-in-out); }
.cv-turn{ padding:5px 0; }
.cv-turn p:first-child{ display:flex; gap:8px; color:var(--ink-2); font-size:13px; line-height:17px; }
.cv-turn p:last-child{ color:var(--ink-2); font-size:16px; line-height:1.4; text-wrap:pretty; }
.cv-turn--customer p:last-child,.cv-turn--customer strong{ color:var(--ink); }
.cv-mark{
  padding-bottom:2px; background:linear-gradient(var(--cv-accent),var(--cv-accent)) no-repeat left bottom / 100% 2px;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
  transition:background-size 280ms var(--ease-out),text-decoration-color 280ms var(--ease-out);
}
.cv-mark--declined{ background:none; text-decoration:underline dotted var(--hairline-strong) 1px; text-underline-offset:5px; }
.cv-figure[data-playback] .cv-turn:not([data-marked]) .cv-mark{ background-size:0 2px; text-decoration-color:transparent; }
.cv-budget{ flex:1; min-width:0; }
.cv-row{
  position:relative; display:grid; align-items:center;
  grid-template-columns:92px minmax(0,1fr) 36px 30px; gap:10px;
  min-height:52px; padding:8px 16px; border-bottom:1px solid var(--canvas);
  font-size:15px; line-height:20px; transition:background-color 360ms var(--ease-out);
}
.cv-row--labels{ min-height:34px; padding-block:8px; font-size:11px; line-height:14px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); }
.cv-row--existing{ color:var(--ink-2); }
.cv-row > span{ position:relative; min-width:0; transition:color 200ms var(--ease-out); }
.cv-row > span:nth-child(3){ text-align:right; }
.cv-row--request::before{
  content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--cv-accent);
  transition:transform 280ms var(--ease-out);
}
.cv-row--request[data-flash]{ background:#FFF4EC; }
.cv-figure[data-playback] .cv-row--request:not([data-revealed])::before{ transform:scaleY(0); }
.cv-figure[data-playback] .cv-row--request:not([data-revealed]) > span{ color:transparent; }
.cv-row--empty > span,.cv-row--request > span{ min-height:20px; }
.cv-row--empty > span::before,.cv-row--request > span::before{
  content:""; position:absolute; inset:6px auto auto 0; height:8px; width:var(--skeleton-width);
  max-width:100%; border-radius:4px; background:var(--canvas); opacity:0; transition:opacity 200ms var(--ease-out);
}
.cv-row > span:nth-child(1){ --skeleton-width:var(--cost-w); }
.cv-row > span:nth-child(2){ --skeleton-width:var(--item-w); }
.cv-row > span:nth-child(3){ --skeleton-width:var(--qty-w); }
.cv-row > span:nth-child(4){ --skeleton-width:var(--unit-w); }
.cv-row > span:nth-child(3)::before{ inset-inline: auto 0; }
.cv-row--empty > span::before,.cv-figure[data-playback] .cv-row--request:not([data-revealed]) > span::before{ opacity:1; }
.cv-replay{
  position:absolute; right:16px; bottom:16px; display:grid; place-items:center; min-height:44px;
  padding:6px 12px; border:1px solid var(--hairline-strong); border-radius:var(--r4);
  background:#fff; color:var(--ink-2); font:inherit; font-size:13px; cursor:pointer;
}
.cv-replay[hidden]{ display:none; }
.cv-replay:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
@media(hover:hover){ .cv-replay:hover{ background:var(--raised); } }
.cv-figure[data-resetting] :is(.cv-transcript-content,.cv-mark,.cv-row,.cv-row span),
.cv-figure[data-resetting] .cv-row::before,.cv-figure[data-resetting] .cv-row span::before{ transition:none; }
@media(min-width:1180px){
  .cv-layout{ grid-template-areas:"copy stage" "providers stage"; grid-template-columns:380px minmax(0,1fr); grid-template-rows:auto 1fr; row-gap:40px; }
}
@media(max-width:647px){
  .cv-providers li > span{ width:56px; height:56px; }
}
@media(max-width:359px){
  .cv-providers ul{ gap:12px; }
  .cv-providers li > span{ width:52px; height:52px; }
  .cv-providers img{ width:36px; height:36px; }
}
@container(max-width:599px){
  .cv-stage{ height:auto; aspect-ratio:4 / 5; min-height:426px; }
  .cv-window{ inset:16px 0 0 16px; flex-direction:column; }
  .cv-transcript{ flex:0 0 auto; border-right:0; border-bottom:1px solid var(--hairline); }
  .cv-window-head{ height:36px; padding:9px 12px; }
  .cv-transcript-viewport{ flex:none; height:68px; mask-image:linear-gradient(to bottom,transparent,#000 9px,#000 calc(100% - 9px),transparent); }
  .cv-transcript-content{ padding:6px 12px; }
  .cv-turn p:last-child{ font-size:15px; line-height:20px; }
  .cv-budget .cv-window-head{ display:none; }
  .cv-row{
    min-height:37px; grid-template-columns:minmax(0,1fr) min-content 20px;
    grid-template-areas:"cost qty unit" "item qty unit"; gap:0 6px; padding:2px 12px;
    line-height:18px;
  }
  .cv-row > span:nth-child(1){ grid-area:cost; min-height:14px; color:var(--ink-2); font-size:11px; line-height:14px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
  .cv-row > span:nth-child(2){ grid-area:item; min-height:18px; }
  .cv-row > span:nth-child(3){ grid-area:qty; min-height:18px; min-width:28px; }
  .cv-row > span:nth-child(4){ grid-area:unit; min-height:18px; color:var(--ink-2); font-size:11px; }
  .cv-figure[data-playback] .cv-row--request:not([data-revealed]) > span{ color:transparent; }
  .cv-row--labels{ min-height:26px; padding-block:6px 5px; grid-template-areas:"item qty qty"; }
  .cv-row--labels > span{ min-height:0; line-height:14px; }
  .cv-row--labels > span:nth-child(1),.cv-row--labels > span:nth-child(4){ display:none; }
  .cv-row > span:nth-child(1)::before{ top:4px; height:7px; }
  .cv-replay{ right:8px; bottom:8px; }
}
@container(max-width:299px){
  .cv-stage{ min-height:358px; }
  .cv-transcript .cv-window-head,.cv-row--labels{ display:none; }
  .cv-transcript-viewport{ height:64px; }
  .cv-row{ min-height:36px; grid-template-areas:"cost qty unit" "item item item"; padding-block:1px; }
  .cv-row > span:nth-child(n+3){ min-height:14px; line-height:14px; }
  .cv-row > span:nth-child(n+3)::before{ top:3px; }
}
@media(prefers-reduced-motion:reduce){
  .cv-figure *,.cv-figure *::before{ transition:none; }
  .cv-replay{ display:none; }
}
