/* ============================================================
   usecases.css — one diagram per topic page, each its own image
   ------------------------------------------------------------
   Industries (call on the left, result on the right, .ucw--app):
     SMEs          calendar view with the new entry   .ucal
     Real estate   listing card, booking on the photo .uexp
     Trades        job card with a street map         .ujob
     Wholesale     sales lines, Lena on line 4        .uln
   Applications (each with its own layout):
     Reception     phone message slip, quotes left    .unote
     Support       knowledge-base page, margin notes  .udocs
     Order intake  grid of required fields            .ufields
   Static; only the calendar entry and the notification fade in
   once (.reveal → .is-visible from main.js).
   ============================================================ */

/* ================================================================
   SMEs — the call, the calendar, the email to the office,
   read left to right. New grammar: no card, no tiles, no icons;
   type on hairlines, ink with violet as the one accent. Static.
   ================================================================ */
.ucw  {
  --ucw-ink: #0A0A0A;
  --ucw-ink-2: #3F3F46;
  --ucw-muted: #6B6B74;
  --ucw-rule: rgba(10, 10, 10, 0.12);
  --ucw-accent: #7E22CE;
}
.ucw__label  {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ucw-ink);
}
.ucw__label span  { font-size: 0.84rem; font-weight: 400; color: var(--ucw-muted); font-variant-numeric: tabular-nums; }

/* Call: ruled lines, Lena in the accent */
.ucw__lines  { margin: 0; padding: 0; list-style: none; }
.ucw__line  { padding: 12px 0; border-top: 1px solid var(--ucw-rule); }
.ucw__who  { font-size: 0.78rem; font-weight: 600; color: var(--ucw-muted); }
.ucw__line--lena .ucw__who  { color: var(--ucw-accent); }
.ucw__line p  { margin: 3px 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--ucw-ink); }

/* Email: subject and three facts on hairlines */
.ucw__note  { margin: 14px 0 0; font-size: 0.8rem; color: var(--ucw-muted); }

/* ---- Industry layout: story left, result right (SMEs: calendar view) ---- */
.ucw--app  {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 56px;
  align-items: start;
}
.ucw--app .ucw__story  { padding-top: 18px; border-top: 1px solid var(--ucw-ink); }
.ucw--app .ucw__note  { grid-column: 1 / -1; margin-top: 22px; }
.ucal  {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ucw-rule);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 40px 80px -40px rgba(10, 10, 10, 0.22);
  overflow: hidden;
  font-size: 0.8rem;
}
.ucal__bar  {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ucw-rule);
}
.ucal__bar strong  { font-size: 0.98rem; font-weight: 600; color: var(--ucw-ink); }
.ucal__nav  { display: inline-flex; gap: 4px; }
.ucal__nav i  {
  display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--ucw-rule); border-radius: 6px;
  font-style: normal; color: var(--ucw-muted); line-height: 1;
}
.ucal__view  {
  margin-left: auto; padding: 4px 10px;
  border: 1px solid var(--ucw-rule); border-radius: 6px;
  color: var(--ucw-ink-2);
}
.ucal__head, .ucal__body  { display: grid; grid-template-columns: 48px repeat(5, minmax(0, 1fr)); }
.ucal__head  { border-bottom: 1px solid var(--ucw-rule); }
.ucal__day  { padding: 10px 10px 9px; color: var(--ucw-muted); border-left: 1px solid var(--ucw-rule); }
.ucal__day b  { margin-left: 2px; font-weight: 600; color: var(--ucw-ink); }
.ucal__day.is-today  { color: var(--ucw-accent); }
.ucal__day.is-today b  {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px;
  border-radius: 999px; background: var(--ucw-accent); color: #fff;
}
.ucal__body  { position: relative; height: 340px; }
.ucal__times  { position: relative; }
.ucal__times span  {
  position: absolute; right: 8px; transform: translateY(-50%);
  margin-top: 1px; color: var(--ucw-muted); font-variant-numeric: tabular-nums; font-size: 0.72rem;
}
.ucal__times span:first-child  { transform: none; margin-top: 4px; }
.ucal__col  {
  position: relative;
  border-left: 1px solid var(--ucw-rule);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(20% - 1px), rgba(10, 10, 10, 0.07) calc(20% - 1px), rgba(10, 10, 10, 0.07) 20%);
}
.ucal__ev  {
  position: absolute; left: 4px; right: 4px;
  display: flex; flex-direction: column; gap: 1px;
  padding: 6px 8px; overflow: hidden;
  border-radius: 6px;
  background: #F1F1EE;
  box-shadow: inset 2px 0 0 #D4D4D8;
  color: var(--ucw-muted); font-size: 0.72rem; line-height: 1.25;
}
.ucal__ev b  { font-weight: 600; color: var(--ucw-ink-2); font-size: 0.76rem; }
.ucal__ev--new  {
  z-index: 2;
  background: var(--ucw-ink);
  box-shadow: inset 3px 0 0 var(--ucw-accent), 0 12px 24px -10px rgba(10, 10, 10, 0.45);
  color: rgba(255, 255, 255, 0.7);
}
.ucal__ev--new b  { color: #fff; }
.ucal__ev--new em  { font-style: normal; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em; color: #D8B4FE; }
.ucal__now  { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px solid var(--ucw-accent); z-index: 1; }
.ucal__now::before  { content: ""; position: absolute; left: -4px; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--ucw-accent); }
.ucal__now i  { position: absolute; right: 4px; top: -16px; font-style: normal; font-size: 0.64rem; font-weight: 600; color: var(--ucw-accent); }

/* The new entry drops in once, after the block scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .ucw--app.reveal:not(.is-visible) .ucal__ev--new  { opacity: 0; }
  .ucw--app.is-visible .ucal__ev--new  { animation: ucal-drop 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.9s both; }
}
@keyframes ucal-drop {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}@media (max-width: 1000px)  {
  .ucw--app  { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}@media (max-width: 640px)  {
  .ucal__head, .ucal__body  { grid-template-columns: 42px repeat(3, minmax(0, 1fr)); }
  .ucal__head .ucal__day:nth-child(2), .ucal__head .ucal__day:nth-child(6),
  .ucal__col--mo, .ucal__col--fr  { display: none; }
}

/* Reading order: call, calendar, email (calendar spans both left rows on desktop) */
.ucw--app  { grid-template-areas: "story cal" "mail cal" "note note"; }
.ucw--app .ucw__story  { grid-area: story; }
.ucw--app .ucal  { grid-area: cal; }
.ucw--app .ucw__note  { grid-area: note; }@media (max-width: 1000px)  {
  .ucw--app  { grid-template-areas: "story" "cal" "mail" "note"; }
}

/* New entry: outlined in the accent instead of a solid black block */
.ucal__ev--new  {
  background: #FAF5FF;
  box-shadow: inset 0 0 0 1.5px var(--ucw-accent);
  color: var(--ucw-ink-2);
}
.ucal__ev--new b  { color: var(--ucw-ink); }
.ucal__ev--new em  { color: var(--ucw-accent); }

/* The email arrives as a notification on the calendar: it hangs over the
   lower right edge (Friday afternoon is free, nothing is covered) and
   appears just after the new entry has dropped in. */
.ucw--app  { grid-template-areas: "story cal" "note note"; }
.ucw--app .ucal-wrap  { grid-area: cal; position: relative; margin-bottom: 36px; }
.ucal-mail  {
  position: absolute;
  right: -24px;
  bottom: -36px;
  z-index: 3;
  display: flex;
  gap: 12px;
  width: min(340px, 72%);
  padding: 14px 16px 15px;
  background: #fff;
  border: 1px solid var(--ucw-rule);
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(10, 10, 10, 0.22), 0 2px 6px rgba(10, 10, 10, 0.05);
}
.ucal-mail__dot  { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--ucw-accent); }
.ucal-mail span  { display: block; font-size: 0.84rem; color: var(--ucw-ink-2); }
.ucal-mail .ucal-mail__meta  { font-size: 0.74rem; color: var(--ucw-muted); }
.ucal-mail strong  { display: block; margin: 3px 0 2px; font-size: 0.94rem; font-weight: 600; line-height: 1.3; color: var(--ucw-ink); }@media (prefers-reduced-motion: no-preference) {
  .ucw--app.reveal:not(.is-visible) .ucal-mail  { opacity: 0; }
  .ucw--app.is-visible .ucal-mail  { animation: ucal-pop 0.6s cubic-bezier(0.23, 1, 0.32, 1) 1.7s both; }
}
@keyframes ucal-pop {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}@media (max-width: 1000px)  {
  .ucw--app  { grid-template-areas: "story" "cal" "note"; }
  .ucal-mail  { right: 12px; }
}@media (max-width: 640px)  {
  .ucal-mail  { left: 12px; right: 12px; width: auto; bottom: -48px; }
  .ucw--app .ucal-wrap  { margin-bottom: 52px; }
}
.ucal-mail  { bottom: -52px; width: min(320px, 68%); }
.ucw--app .ucal-wrap  { margin-bottom: 52px; }

/* ---- Real estate: the listing as a calm card, booking as notification ---- */
.uexp  {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ucw-rule);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 40px 80px -40px rgba(10, 10, 10, 0.22);
  overflow: hidden;
}
.uexp__photo  { position: relative; aspect-ratio: 16 / 9; }
.uexp__photo img  { display: block; width: 100%; height: 100%; object-fit: cover; }
.uexp__note  {
  position: absolute; left: 12px; top: 12px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.6); color: #fff; font-size: 0.7rem;
}
.uexp__body  { padding: 18px 22px 22px; }
.uexp__kicker  { margin: 0 0 4px; font-size: 0.76rem; color: var(--ucw-muted); }
.uexp__title  { margin: 0 0 16px; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ucw-ink); }
.uexp__title span  { font-weight: 400; color: var(--ucw-muted); }
.uexp__facts  { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ucw-rule); }
.uexp__facts div  { padding: 12px 12px 0 0; }
.uexp__facts dt  { font-size: 0.74rem; color: var(--ucw-muted); }
.uexp__facts dd  { margin: 2px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ucw-ink); }@media (max-width: 640px)  {
  .uexp__facts  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* On the listing the notification sits on the photo's lower edge, so the
   facts below stay readable (56.25cqw = photo height at 16:9). */
.ucal-wrap:has(.uexp)  { container-type: inline-size; margin-bottom: 0; }
.ucal-mail--photo  { bottom: auto; top: calc(56.25cqw - 64px); }@media (max-width: 640px)  {
 .ucal-mail--photo  { top: calc(56.25cqw - 96px); }
}

/* ---- Trades: the call becomes a job card (bexio), the appointment outlined ---- */
.ujob  {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ucw-rule);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 40px 80px -40px rgba(10, 10, 10, 0.22);
  padding: 8px 24px 24px;
}
.ujob__head  { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 14px; border-bottom: 1px solid var(--ucw-ink); }
.ujob__head strong  { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ucw-ink); }
.ujob__head span  { font-size: 0.8rem; color: var(--ucw-muted); }
.ujob__rows  { margin: 0; }
.ujob__rows > div  { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ucw-rule); }
.ujob__rows dt  { font-size: 0.82rem; color: var(--ucw-muted); padding-top: 2px; }
.ujob__rows dd  { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ucw-ink); }
.ujob__rows dd small  { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--ucw-accent); }
.ujob__rows dd small::before  { content: "✓ "; }
.ujob__rows > .ujob__when  {
  margin-top: 16px;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: #FAF5FF;
  box-shadow: inset 0 0 0 1.5px var(--ucw-accent);
}
.ujob__when dt  { color: var(--ucw-accent); }
.ujob__when dd  { font-weight: 600; }@media (max-width: 640px)  {
  .ujob  { padding: 4px 18px 18px; }
  .ujob__rows > div  { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.ucw--app .ucal-wrap--plain  { margin-bottom: 0; }

/* A small abstract map on top of the job card: where Lena sends you */
.ujob  { padding-top: 0; overflow: hidden; }
.ujob__map  { position: relative; margin: 0 -24px 0; height: 170px; border-bottom: 1px solid var(--ucw-rule); }
.ujob__map svg  { display: block; width: 100%; height: 100%; }
.ujob__place  {
  position: absolute; left: 16px; bottom: 14px;
  padding: 5px 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 4px 12px -4px rgba(10, 10, 10, 0.18);
  font-size: 0.76rem; font-weight: 500; color: var(--ucw-ink);
}@media (max-width: 640px)  {
 .ujob__map  { margin: 0 -18px; height: 140px; }
}

/* ---- Wholesale: the lines in inside sales, three busy, Lena takes line 4 ---- */
.uln  {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ucw-rule);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 40px 80px -40px rgba(10, 10, 10, 0.22);
  padding: 8px 24px 24px;
}
.uln__rows  { margin: 0; padding: 0; list-style: none; }
.uln__row  {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto 52px;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ucw-rule);
  font-size: 0.92rem;
}
.uln__no  { font-size: 0.78rem; color: var(--ucw-muted); }
.uln__name  { color: var(--ucw-ink-2); }
.uln__state  { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ucw-muted); }
.uln__state::before  { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D4D4D8; }
.uln__time  { text-align: right; font-size: 0.82rem; color: var(--ucw-muted); font-variant-numeric: tabular-nums; }
.uln__row--lena  {
  margin-top: 16px;
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 10px;
  background: #FAF5FF;
  box-shadow: inset 0 0 0 1.5px var(--ucw-accent);
}
.uln__row--lena .uln__no, .uln__row--lena .uln__state  { color: var(--ucw-accent); }
.uln__row--lena .uln__name  { font-weight: 600; color: var(--ucw-ink); }
.uln__row--lena .uln__state::before  { background: var(--ucw-accent); }
.uln__order  { grid-column: 1 / -1; margin: 10px 0 0; border-top: 1px solid rgba(126, 34, 206, 0.2); }
.uln__order div  { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding-top: 10px; }
.uln__order dt  { font-size: 0.78rem; color: var(--ucw-muted); }
.uln__order dd  { margin: 0; font-size: 0.92rem; color: var(--ucw-ink); }@media (max-width: 640px)  {
  .uln  { padding: 4px 18px 18px; }
  .uln__row  { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .uln__no  { grid-column: 1 / -1; }
  .uln__time  { display: none; }
  .uln__order div  { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Highlighted result row (trades: appointment, wholesale: Lena's line):
   a quiet tint and a hairline in the accent, not a heavy outline. */
.ujob__rows > .ujob__when,
.uln__row--lena  {
  background: #FBF8FE;
  box-shadow: inset 0 0 0 1px rgba(126, 34, 206, 0.16);
}

/* ================================================================
   Reception: the phone message slip in the centre, the call as two
   short quotes beside it. Application pages put the result first.
   ================================================================ */
.unote-stage  {
  --ucw-ink: #0A0A0A; --ucw-ink-2: #3F3F46; --ucw-muted: #6B6B74;
  --ucw-rule: rgba(10, 10, 10, 0.12); --ucw-accent: #7E22CE;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 24px 0;
}
.unote-quote  { margin: 0; max-width: 30ch; }
.unote-quote span  { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 600; color: var(--ucw-muted); }
.unote-quote p  { margin: 0; font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--ucw-ink-2); }
.unote-quote--caller  { align-self: start; justify-self: end; text-align: right; }
.unote-quote--lena  { align-self: end; }
.unote-quote--lena span  { color: var(--ucw-accent); }
.unote-quote--lena p  { color: var(--ucw-ink); }
.unote  {
  margin: 0;
  padding: 26px 30px 22px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 30px 60px -28px rgba(10, 10, 10, 0.25);
  transform: rotate(-1.2deg);
}
.unote__head  { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid var(--ucw-ink); }
.unote__head strong  { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ucw-ink); }
.unote__head span  { font-size: 0.82rem; color: var(--ucw-muted); font-variant-numeric: tabular-nums; }
.unote__rows  { margin: 0; }
.unote__rows div  { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ucw-rule); }
.unote__rows dt  { padding-top: 3px; font-size: 0.8rem; color: var(--ucw-muted); }
.unote__rows dd  { margin: 0; font-size: 1.12rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ucw-ink); }
.unote__rows dd small  { display: block; margin-top: 2px; font-size: 0.86rem; color: var(--ucw-muted); font-variant-numeric: tabular-nums; }
.unote__checks  { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.unote__checks li  { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--ucw-muted); }
.unote__checks li em  { margin-left: auto; font-style: normal; font-size: 0.9rem; color: var(--ucw-ink-2); }
.unote__box  { position: relative; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #C9C9C4; }
.unote__checks li.is-on  { color: var(--ucw-ink); font-weight: 600; }
.unote__checks li.is-on .unote__box  { background: var(--ucw-accent); box-shadow: none; }
.unote__checks li.is-on .unote__box::after  {
  content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.unote__foot  { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--ucw-rule); font-size: 0.8rem; color: var(--ucw-muted); }
.unote-note  { margin-top: 18px; }@media (max-width: 1000px)  {
  .unote-stage  { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: stretch; }
  .unote-quote  { max-width: none; }
  .unote-quote--caller  { justify-self: start; text-align: left; }
  .unote  { transform: none; }
}@media (max-width: 640px)  {
  .unote  { padding: 22px 20px 18px; }
  .unote__rows div  { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.unote-note  { color: #6B6B74; font-size: 0.8rem; }

/* ---- Support: a page from the knowledge base, the answer marked in it ---- */
.udoc__crumbs  { margin: 0 0 20px; font-size: 0.76rem; color: var(--ucw-muted); }
.udoc__crumbs i  { margin: 0 4px; font-style: normal; color: #C9C9C4; }
.udoc__title  { margin: 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ucw-ink); }
.udoc__meta  { margin: 4px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--ucw-rule); font-size: 0.78rem; color: var(--ucw-muted); }
.udoc__p  { margin: 0 0 14px; font-size: 1rem; line-height: 1.65; color: var(--ucw-ink-2); }
.udoc__line  { display: block; height: 9px; margin-top: 10px; border-radius: 5px; background: #F0F0EC; }
.udoc__line--short  { width: 62%; }

/* Support layout: one continuous document on the left; comments sit in
   the right margin, the answer tied to the marked passage by a hairline.
   The comments are placed from inside the document so they always line up. */
.udocs  {
  --ucw-ink: #0A0A0A; --ucw-ink-2: #3F3F46; --ucw-muted: #6B6B74;
  --ucw-rule: rgba(10, 10, 10, 0.12); --ucw-accent: #7E22CE;
  padding-right: 36%;
}
.udocs__doc  {
  position: relative;
  padding: 30px 40px 34px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 30px 60px -32px rgba(10, 10, 10, 0.22);
}
.udocs mark  {
  padding: 2px 0;
  background: linear-gradient(transparent 8%, #F1E8FC 8%, #F1E8FC 92%, transparent 92%);
  color: var(--ucw-ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: inset 0 -1.5px 0 rgba(126, 34, 206, 0.55);
}
.udoc__h  { margin: 22px 0 6px; font-size: 1.05rem; font-weight: 600; color: var(--ucw-ink); }
.udocs__anchor  { position: relative; }
.udocs__c  { position: absolute; left: calc(100% + 96px); width: calc(56.25% - 56px); margin: 0; }
.udocs__c span  { display: block; margin-bottom: 8px; font-size: 0.76rem; font-weight: 600; color: var(--ucw-muted); }
.udocs__c p  { margin: 0; font-size: 1.05rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--ucw-ink-2); }
.udocs__c--q  { top: 30px; left: calc(100% + 56px); }
.udocs__c--a  {
  top: 50%;
  left: calc(100% + 96px);
  transform: translateY(-50%);
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 2px 0 0 var(--ucw-accent), 0 12px 30px -18px rgba(10, 10, 10, 0.25);
}
.udocs__c--a span  { color: var(--ucw-accent); }
.udocs__c--a p  { color: var(--ucw-ink); }
.udocs__c--a::before  {
  content: ""; position: absolute; right: 100%; top: 50%;
  width: 96px; border-top: 1px dashed rgba(126, 34, 206, 0.55);
}@media (max-width: 1000px)  {
  .udocs  { padding-right: 0; }
  .udocs__c  { position: static; width: auto; transform: none; }
  .udocs__c--q  { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ucw-rule); }
  .udocs__c--a  { margin: 6px 0 4px; }
  .udocs__c--a::before  { display: none; }
}@media (max-width: 640px)  {
 .udocs__doc  { padding: 22px 20px 24px; }
}@media (min-width: 1001px) {
  .udocs__c--a  { left: calc(100% + 56px); }
  .udocs__c--a::before  { width: 56px; }
}

/* ================================================================
   Order intake: the required fields as a full-width grid, every one
   ticked; the one Lena had to ask for is marked, the last cell sums up.
   ================================================================ */
.ufields  {
  --ucw-ink: #0A0A0A; --ucw-ink-2: #3F3F46; --ucw-muted: #6B6B74;
  --ucw-rule: rgba(10, 10, 10, 0.12); --ucw-accent: #7E22CE;
}
.ufields__head  { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--ucw-ink); }
.ufields__head strong  { font-size: 1.05rem; font-weight: 600; color: var(--ucw-ink); }
.ufields__head span  { font-size: 0.84rem; color: var(--ucw-muted); }
.ufields__grid  {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-left: 1px solid var(--ucw-rule);
}
.ufld  {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 132px;
  padding: 20px 22px 22px;
  border-right: 1px solid var(--ucw-rule);
  border-bottom: 1px solid var(--ucw-rule);
}
.ufld__tick  {
  position: absolute; right: 18px; top: 20px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ucw-ink);
}
.ufld__tick::after  {
  content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px;
  border: solid var(--ucw-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.ufld__k  { font-size: 0.8rem; color: var(--ucw-muted); }
.ufld__v  { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--ucw-ink); }
.ufld--asked  { background: #FBF8FE; }
.ufld--asked .ufld__tick  { background: var(--ucw-accent); box-shadow: none; }
.ufld--asked .ufld__tick::after  { border-color: #fff; }@media (max-width: 900px)  {
 .ufields__grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}@media (max-width: 520px)  {
 .ufld  { min-height: 112px; padding: 16px; }
 .ufld__v  { font-size: 1.12rem; }
}

/* Reception, revised: the slip sits far right, the two quotes float freely
   on the left (caller first, Lena lower and set in). */
.unote-stage  {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  grid-template-areas: "q1 note" "q2 note";
  column-gap: 72px;
  row-gap: 0;
  align-items: start;
}
.unote-stage .unote  { grid-area: note; justify-self: end; width: 100%; }
.unote-quote--caller  { grid-area: q1; justify-self: start; text-align: left; align-self: start; margin-top: 24px; }
.unote-quote--lena  { grid-area: q2; justify-self: start; align-self: end; margin: 0 0 40px 18%; }@media (max-width: 1000px)  {
  .unote-stage  { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q1" "note" "q2"; row-gap: 28px; }
  .unote-quote--caller  { margin-top: 0; }
  .unote-quote--lena  { margin: 0; }
}

/* three quotes: caller, Lena (set in), caller again */
.unote-stage  { grid-template-areas: "q1 note" "q2 note" "q3 note"; grid-template-rows: auto auto auto; }
.unote-quote--lena  { align-self: center; margin: 0 0 0 18%; }
.unote-quote--caller2  { grid-area: q3; justify-self: start; align-self: end; margin-bottom: 24px; }@media (max-width: 1000px)  {
  .unote-stage  { grid-template-areas: "q1" "note" "q2" "q3"; }
  .unote-quote--caller2  { margin: 0; }
}

/* bring the slip in from the edge, let the quotes run a little wider */
@media (min-width: 1001px) {
  .unote-stage  { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); column-gap: 40px; }
  .unote-stage .unote  { margin-right: 7%; }
  .unote-quote  { max-width: 34ch; }
}@media (min-width: 1001px) {
 .unote-stage .unote  { margin-right: 13%; }
 .unote-quote--caller2 p  { text-wrap: balance; }
}

/* Order intake v2: compact cells, the asked field spans two columns and
   holds the follow-up question; the result is a line under the grid. */
.ufields--v2 .ufld  { min-height: 0; padding: 18px 22px 20px; }
.ufields--v2 .ufld__v  { font-size: 1.25rem; }
.ufields--v2 .ufld--asked  { grid-column: span 2; background: #FBF8FE; }
.ufields--v2 .ufld--asked .ufld__k  { color: var(--ucw-accent); }
.ufld__talk  { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(126, 34, 206, 0.16); }
.ufld__talk p  { margin: 0; font-size: 0.95rem; line-height: 1.45; color: var(--ucw-ink-2); }
.ufld__talk p span  { margin-right: 8px; font-size: 0.76rem; font-weight: 600; color: var(--ucw-muted); }
.ufld__talk p:first-child span  { color: var(--ucw-accent); }
.ufields__done  {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 0; padding: 18px 0 0;
  font-size: 1rem; color: var(--ucw-muted);
}
.ufields__done strong  { font-weight: 600; color: var(--ucw-ink); }
.ufields__ok  { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--ucw-ink); }
.ufields__ok::after  {
  content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}@media (max-width: 900px)  {
  .ufields--v2 .ufld--asked  { grid-column: 1 / -1; }
}@media (max-width: 900px)  {
 .ufields--v2 .ufld--asked  { order: 1; }
}
/* Reception, industry layout: transcript left, the phone message slip right */
.unote-wrap {
  --ucw-ink: #0A0A0A; --ucw-ink-2: #3F3F46; --ucw-muted: #6B6B74;
  --ucw-rule: rgba(10, 10, 10, 0.12); --ucw-accent: #7E22CE;
  padding: 8px 6px 0;
}
@media (max-width: 520px) {
  .ufields--v2 .ufld__v { font-size: 1.08rem; }
  .ufields--v2 .ufld { padding: 16px; }
}
