/* USE CASES v55, part 2: the four industry objects in the explorer's stage, the three team cards and the ticket
   ledger. Each object is complete as a still; with .in it plays one entrance (a line draws, rows tick in). */
.ob { position: relative; z-index: 2; width: 404px; margin-left: 32px; padding: 20px 22px 22px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20, 45, 110, .45); }
.ob[hidden] { display: none; }
.ob-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ob-h b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.ob-h span { padding: 2px 8px; border-radius: 999px; background: #f1f4f9; font-size: 11.5px; color: var(--muted); }
.ob code { padding: 1px 6px; border-radius: 4px; background: #eef3ff; color: #1f55e6; font-size: 11.5px; font-weight: 500; }

/* manufacturing: the night shift */
.nt-axis { position: relative; display: flex; justify-content: space-between; margin: 18px 0 6px; padding-top: 14px; font: 11px var(--mono); color: var(--muted); }
.nt-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: #e6ecf6; }
.nt-fill { position: absolute; left: 0; top: 4px; width: 100%; height: 2px; background: linear-gradient(90deg, #2ee6d6, #22b8ff, #2f6bff 50%, #7b5cff); transform-origin: 0 50%; }
.nt-win { position: absolute; left: 34.6%; top: -2px; width: 4px; height: 14px; border-radius: 2px; background: var(--accent); }
.nt-ev { list-style: none; margin: 10px 0 0; padding: 0; }
.nt-ev li { display: grid; grid-template-columns: 42px 46px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.nt-ev time, .nt-end time { font: 12px var(--mono); color: var(--muted); }
.nt-ev code { justify-self: start; }
.nt-end { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 11px 13px; border-radius: 8px; background: #f2f7ff; font-size: 13.5px; color: var(--slate); }
.nt-end b { color: var(--ink); font-weight: 600; }

/* life sciences: the change record */
.gx { margin: 14px 0 0; }
.gx div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; }
.gx dt { color: var(--muted); } .gx dd { margin: 0; color: var(--ink); }
.gx-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 6px; border-top: 1px dashed #cfd8e8; }
.gx-sign svg { width: 180px; height: 34px; } .gx-sign path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; }
.gx-sign span { font-size: 12px; color: var(--muted); }

/* consumer goods: 38 tickets, one incident */
.ic-grid { display: grid; grid-template-columns: repeat(19, 1fr); gap: 4px; margin-top: 16px; }
.ic-grid i { aspect-ratio: 1; border-radius: 3px; background: linear-gradient(135deg, #b9d3ff, #c9c0ff); }
.ic-q { display: grid; gap: 4px; margin-top: 12px; font-size: 12.5px; color: var(--muted); } .ic-q span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-one { position: relative; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(47, 107, 255, .28), 0 14px 28px -18px rgba(47, 107, 255, .6); }
.ic-one::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: linear-gradient(180deg, #c9c0ff, var(--accent)); }
.ic-one p { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ic-one b { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.ic-one small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--slate); }

/* utilities: twelve months of the same job */
.yr { list-style: none; display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin: 18px 0 0; padding: 0; }
.yr li { display: grid; gap: 6px; font-size: 10.5px; text-align: center; color: var(--muted); }
.yr i { display: block; height: 52px; border-radius: 4px; background: #eef2f8; transform-origin: 50% 100%; }
.yr .x i { background: #ffe3ee; box-shadow: inset 0 3px 0 #ff5fa2; } .yr .ok i { background: #e3f6e9; box-shadow: inset 0 3px 0 #12a97a; }
.yr .f { color: var(--ink); font-weight: 600; }
.yr-k { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.yr-k i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; } .yr-k i.x { background: #ff5fa2; } .yr-k i.ok { background: #12a97a; }
.yr-why { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #f6f8fc; }
.yr-why b { font-size: 14px; font-weight: 600; color: var(--ink); } .yr-why p { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--slate); }

/* the one entrance per object, the first time it is shown */
@media (prefers-reduced-motion: no-preference) {
  .ob { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .ob.in { opacity: 1; transform: none; }
  .nt-fill { transform: scaleX(0); transition: transform 1.2s .3s cubic-bezier(.3, .6, .2, 1); } .ob.in .nt-fill { transform: scaleX(1); }
  .nt-ev li, .nt-end, .gx div { opacity: 0; transition: opacity .4s ease; }
  .ob.in .nt-ev li, .ob.in .nt-end, .ob.in .gx div { opacity: 1; }
  .ob.in .nt-ev li:nth-child(1), .ob.in .gx div:nth-child(1) { transition-delay: .5s; } .ob.in .nt-ev li:nth-child(2), .ob.in .gx div:nth-child(2) { transition-delay: .75s; }
  .ob.in .nt-ev li:nth-child(3), .ob.in .gx div:nth-child(3) { transition-delay: 1s; } .ob.in .nt-ev li:nth-child(4), .ob.in .gx div:nth-child(4) { transition-delay: 1.25s; }
  .ob.in .gx div:nth-child(5) { transition-delay: 1.5s; } .ob.in .gx div:nth-child(6) { transition-delay: 1.75s; } .ob.in .nt-end { transition-delay: 1.7s; }
  .gx-sign path { stroke-dashoffset: 420; transition: stroke-dashoffset 1.3s 2s ease-in-out; } .ob.in .gx-sign path { stroke-dashoffset: 0; }
  .ic-one { opacity: 0; transform: translateY(10px); transition: opacity .5s 1s ease, transform .6s 1s cubic-bezier(.2, .7, .2, 1); } .ob.in .ic-one { opacity: 1; transform: none; }
  .ic-grid i { transition: opacity .6s .6s ease; } .ob.in .ic-grid i { opacity: .55; }
  .yr i { transform: scaleY(.15); transition: transform .5s cubic-bezier(.2, .7, .2, 1); } .ob.in .yr i { transform: none; }
  .ob.in .yr li:nth-child(2) i { transition-delay: .06s; } .ob.in .yr li:nth-child(3) i { transition-delay: .12s; } .ob.in .yr li:nth-child(4) i { transition-delay: .18s; }
  .ob.in .yr li:nth-child(5) i { transition-delay: .24s; } .ob.in .yr li:nth-child(6) i { transition-delay: .3s; } .ob.in .yr li:nth-child(7) i { transition-delay: .36s; } .ob.in .yr li:nth-child(8) i { transition-delay: .42s; }
  .ob.in .yr li:nth-child(9) i { transition-delay: .48s; } .ob.in .yr li:nth-child(10) i { transition-delay: .54s; } .ob.in .yr li:nth-child(11) i { transition-delay: .6s; } .ob.in .yr li:nth-child(12) i { transition-delay: .66s; }
}

/* 4. Teams: three tall cards, each one a product object on a pale stage */
.tm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tm-c { display: flex; flex-direction: column; min-height: 568px; padding: 30px 30px 0; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #fff 38%, #eef3fd); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(20, 45, 110, .35); }
.tm-p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--slate); max-width: 34ch; }
.tm-r { font-size: 14px; font-weight: 500; color: var(--accent); }
.tm-c h3 { margin-top: 8px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; color: var(--ink); max-width: 16ch; }
.tm-c > div { margin-top: auto; margin-bottom: -1px; padding: 18px 20px 20px; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 -10px 40px -24px rgba(20, 45, 110, .35); }
.tm-c code { padding: 1px 6px; border-radius: 4px; background: #eef3ff; color: #1f55e6; font-size: 11.5px; font-weight: 500; }
.tm-c dl { margin: 12px 0 0; } .tm-c dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; }
.tm-c dt { color: var(--muted); } .tm-c dd { margin: 0; color: var(--ink); }
.am-bar { display: flex; gap: 3px; height: 10px; margin-top: 16px; }
.am-bar i { width: var(--w); border-radius: 3px; background: var(--accent); } .am-bar i:nth-child(2) { background: #8fb0ff; } .am-bar i:nth-child(3) { background: #cdd6e5; }
.ob-am ul { list-style: none; margin: 12px 0 0; padding: 0; }
.ob-am li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--slate); }
.ob-am li b { font-size: 15px; font-weight: 600; color: var(--ink); }
.am-ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 11px 12px; border-radius: 8px; background: #f2f7ff; }
.am-ask p { font-size: 13.5px; color: var(--ink); } .am-ask small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.am-ask span { padding: 7px 12px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 6px 14px -8px rgba(47, 107, 255, .8); }
@media (prefers-reduced-motion: no-preference) {
  .am-bar i { transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.3, .6, .2, 1); }
  .am-bar i:nth-child(2) { transition-delay: .25s; } .am-bar i:nth-child(3) { transition-delay: .45s; } .ob-am.in .am-bar i { transform: none; }
}
.ob-close ol { list-style: none; margin: 12px 0 0; padding: 0; }
.ob-close li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.ob-close time { grid-row: span 2; font: 12px var(--mono); color: var(--muted); padding-top: 2px; }
.ob-close .tg { justify-self: start; height: 22px; font-size: 12px; }
.ob-close li.stop { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 6px; background: #fff6f9; box-shadow: inset 2px 0 0 #ff5fa2; }

/* 5. The ticket ledger */
.lg { margin-top: 56px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(20, 45, 110, .35); overflow: hidden; }
.lg table { width: 100%; border-collapse: collapse; }
.lg thead th { padding: 16px 24px; background: #f8fafd; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; }
.lg tbody th, .lg td { padding: 17px 24px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.lg tbody tr:first-child th, .lg tbody tr:first-child td { border-top: 0; }
.lg tbody th { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.lg td { font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.lg td code { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 7px; border-radius: 4px; background: #eef3ff; color: #1f55e6; font-size: 12px; font-weight: 500; }
.lg tbody tr { transition: background .2s; } .lg tbody tr:hover { background: #fafcff; }
.lg-n { padding: 18px 24px; border-top: 1px solid var(--line); background: #f8fafd; font-size: 14px; line-height: 1.55; color: var(--slate); }
.lg-n a { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* responsive */
@media (max-width: 960px) {
  .ucv .band, .ex.band { padding: 88px 0; }
  .uc-hero .ph-grid { grid-template-columns: 1fr; gap: 40px; }
  .qh { padding: 96px 0 30px 28px; } .qh-chip { right: 0; }
  .uc-strip { margin-top: -64px; } .ix { grid-template-columns: 1fr 1fr; }
  .ix-c:nth-child(3) { border-left: 0; } .ix-c:nth-child(n+3) { border-top: 1px solid var(--line); } .ix-c { border-radius: 0 !important; }
  .ex-tabs { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; margin-top: 36px; } .ex-tabs button { flex: 0 0 auto; white-space: nowrap; }
  .ex-body { grid-template-columns: 1fr; gap: 28px; }
  .ex-stage { display: block; height: auto; padding: 0 16px 16px; }
  .ex-model { position: relative; width: 100%; height: 300px; }
  .ob { width: auto; margin-left: 0; }
  .tm { grid-template-columns: 1fr; } .tm-c { min-height: 0; } .tm-c > div { margin-top: 28px; }
  .lg thead { display: none; } .lg table, .lg tbody, .lg tr, .lg th, .lg td { display: block; }
  .lg tbody tr { padding: 16px 20px; border-top: 1px solid var(--line); } .lg tbody tr:first-child { border-top: 0; }
  .lg tbody th, .lg td { padding: 4px 0; border: 0; white-space: normal; }
}
@media (max-width: 560px) {
  .qh { padding: 0; } .qh-sap { display: none; } .qh-chip { position: relative; right: auto; top: auto; margin-top: 12px; justify-self: start; display: inline-grid; }
  .qh-list li { grid-template-columns: 1fr; } .qh-list .tg { justify-self: start; }
  .ix { grid-template-columns: 1fr; } .ix-c { border-left: 0; } .ix-c:nth-child(n+2) { border-top: 1px solid var(--line); }
  .ex-model { height: 240px; } .ob { padding: 16px; }
  .nt-ev li { grid-template-columns: 38px 44px minmax(0, 1fr); font-size: 13px; } .gx div { grid-template-columns: 88px minmax(0, 1fr); }
  .ic-grid { gap: 3px; } .yr { gap: 3px; } .yr li { font-size: 9.5px; }
  .tm-c { padding: 24px 20px 0; } .tm-c > div { padding: 16px; }
}
