
/* Discussion feature page (pilot) */
.dc-tabs { display: flex; gap: 16px; margin: -4px 0 12px; border-bottom: 1px solid var(--hl); font-size: 13px; color: var(--ink3); }
.dc-tabs span { padding: 0 0 9px; }
.dc-tabs .on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.dc-list { display: grid; gap: 12px; }
.dc-msg { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.dc-msg p { margin: 0; }
.dc-reply { margin-left: 34px; }
.dc-by { font-size: 13px; } .dc-by b { font-weight: 600; margin-right: 6px; } .dc-by span { color: var(--ink3); font-size: 12px; }
.dc-tx { font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.dc-at { color: var(--acc); background: var(--acc-t); border-radius: 4px; padding: 0 3px; font-weight: 500; }
.dc-typing { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink3); }
.dc-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink3); animation: dc-b 1s infinite; } .dc-typing i:nth-child(3) { animation-delay: .15s; } .dc-typing i:nth-child(4) { animation-delay: .3s; }
@keyframes dc-b { 50% { opacity: .2; } }
.pw.replied .dc-typing { display: none; }
.dc-react { display: flex; gap: 6px; margin-top: 8px !important; }
.dc-rx { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--hl); color: var(--ink2); }
.dc-rx b { color: var(--grn); } .dc-n1 { display: none; }
.pw.reacted .dc-rx:first-child { border-color: var(--acc); background: var(--acc-t); color: var(--acc); } .pw.reacted .dc-n1 { display: inline; }
.dc-compose { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 12px; border: 1px solid var(--hl); border-radius: 10px; font-size: 13px; color: var(--ink3); }
.dc-live { display: grid; gap: 8px; padding: 0; border: 0; position: relative; }
.dc-live .fr-field { color: var(--ink); flex-wrap: wrap; gap: 0; }
.dc-chip, .dc-pick, .dc-sent, .dc-inbox, .dc-done { display: none; }
.pw.picked .dc-q { display: none; } .pw.picked .dc-chip { display: inline; color: var(--acc); background: var(--acc-t); border-radius: 4px; padding: 0 3px; font-weight: 500; }
.pw.pick .dc-pick { display: grid; gap: 2px; padding: 6px; border: 1px solid var(--hl); border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -18px rgba(20,12,60,.35); animation: fr-in .25s ease; }
.dc-pick p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 8px; border-radius: 6px; font-size: 13px; }
.dc-pick small { margin-left: auto; color: var(--ink3); font-size: 12px; } .dc-pick .on-row { background: #f4f3ef; }
.dc-post { justify-self: end; }
.pw.posted .dc-live { display: none; }
.pw.posted .dc-sent { display: block; animation: fr-in .35s ease; }
.pw.posted .dc-inbox { display: grid; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #faf9f6; border: 1px solid var(--hl); animation: fr-in .35s ease .4s both; }
.dc-inbox .pw-k { display: flex; align-items: center; gap: 8px; margin: 0; }
.dc-mrow { display: flex; gap: 10px; margin: 0; font-size: 13px; color: var(--ink2); } .dc-mrow small { display: block; color: var(--ink3); font-size: 12px; }
.dc-th { display: flex; align-items: center; margin: 0 0 10px; font-size: 13px; }
.dc-thread { display: grid; gap: 12px; }
.pw.resolved .dc-thread { display: none; }
.pw.resolved .dc-done { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--grn-t); animation: fr-in .35s ease; }
.dc-done b { display: block; font-weight: 600; color: var(--grn); font-size: 13.5px; } .dc-done small { color: var(--ink2); font-size: 12px; } .dc-reopen { margin-left: auto; }
.dc-fl { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dc-fl span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--hl); color: var(--ink2); }
.dc-fl .dc-f0, .pw.ffiles .dc-f1, .pw.fme .dc-f2 { background: var(--ink); border-color: var(--ink); color: #fff; }
.pw.ffiles .dc-f0, .pw.fme .dc-f0 { background: #fff; border-color: var(--hl); color: var(--ink2); }
.dc-msg.k-c, .dc-msg.k-f, .dc-msg.k-m { transition: opacity .3s; }
.pw.ffiles .k-c, .pw.ffiles .k-m, .pw.fme .k-c, .pw.fme .k-f { display: none; }
.dc-file { display: inline-grid; place-items: center; width: 26px; height: 18px; margin-right: 6px; border-radius: 4px; background: var(--acc-t); color: var(--acc); font: 600 9.5px/1 var(--mono); vertical-align: 1px; }
.pw-sp { flex: 1; }

/* Feature page pattern: rows, team, related */
.pw.bare .pw-frame { border: 0; background: transparent; box-shadow: none; overflow: visible; padding: 0; }
.pw.bare .pw-replay { opacity: 0; transition: opacity .3s; } .pw.bare.ended .pw-replay { opacity: 1; }
.zf-stage .fp-hero-shot { position: relative; z-index: 2; }
.fp-row { padding: 72px 0; }
.fp-row + .fp-row { padding-top: 24px; }
.fp-row .split { gap: 64px; }
.fp-row .zf-h2 { max-width: 20ch; }
.fp-row .fp-sm { font-size: clamp(24px, 2.6vw, 32px); }
.fp-row p.zf-lead { margin-top: 14px; }
.fp-row .fl-more { margin-top: 18px; }
.fp-flip .split > div:first-child { order: 2; }
@media (max-width: 1000px) { .fp-flip .split > div:first-child { order: 0; } .fp-row { padding: 48px 0; } }
.fp-hero-shot { margin: 0 auto; max-width: 1240px; padding: 0 24px; }
.fp-hero-shot img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(20,12,60,.45), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 768px) { .fp-hero-shot { padding: 0 12px; } .fp-hero-shot img { border-radius: 12px; } }
.fp-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.fp-team div { padding: 22px; border: 1px solid #ebe9e3; border-radius: 16px; background: #fdfcfa; }
.fp-team b { display: block; font: 600 12px/1 var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: #6548e8; margin-bottom: 10px; }
.fp-team p { margin: 0; color: #5f6368; font-size: 16px; line-height: 1.55; }
.fp-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.fp-rel a { display: block; padding: 18px 20px; border: 1px solid #ebe9e3; border-radius: 14px; text-decoration: none; color: inherit; background: #fff; transition: border-color .2s, transform .2s; }
.fp-rel a:hover { border-color: #6548e8; transform: translateY(-2px); }
.fp-rel b { display: block; font-weight: 600; margin-bottom: 4px; } .fp-rel span { color: #5f6368; font-size: 14px; } .fp-rel small { display: block; margin-top: 10px; color: #6548e8; font-size: 13px; }
@media (max-width: 900px) { .fp-team, .fp-rel { grid-template-columns: 1fr; } }

/* Files: drop a zip on a party */
:is(.event, .fp-row) .split > .pw.dp-w > .pw-frame { justify-content: flex-start; padding-top: 8px; }
.dp-w.dropped .pw-cur { opacity: 0; transition: opacity .3s; }
.dp-w .fr-card { transform-origin: 50% 0; transition: transform .4s ease; } .dp-w.unpacked .fr-card { transform: scale(.88); }
.dp-w .pw-cur .dp-zip { display: none; position: absolute; left: 26px; top: 46px; align-items: center; gap: 7px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--hl); border-radius: 8px; box-shadow: 0 14px 30px -12px rgba(20,12,60,.45); font: 500 12px/1 var(--mono); color: var(--ink); white-space: nowrap; transform: rotate(-3deg); }
.dp-w.drag .pw-cur .dp-zip { display: inline-flex; }
.dp-zt { display: inline-grid; place-items: center; width: 26px; height: 20px; border-radius: 4px; background: var(--acc-t); color: var(--acc); font: 600 9.5px/1 var(--mono); flex: none; }
.dp-party { position: relative; border: 1px solid var(--hl); border-radius: 12px; padding: 10px 12px; transition: border-color .2s; }
.dp-ph { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; } .dp-ph b { font-weight: 600; }
.dp-need { font-size: 12px; color: var(--amb); } .dp-done { display: none; font-size: 12px; color: var(--grn); }
.dp-chk { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 6px 0; border-top: 1px solid #f0efeb; font-size: 12.5px; color: var(--ink2); }
.dp-a { display: none; }
.dp-w.read .dp-o { display: none; } .dp-w.read .dp-a { display: inline-flex; animation: fr-in .35s ease; } .dp-w.read .dp-need { display: none; } .dp-w.read .dp-done { display: inline; }
.dp-party .dz { display: none; position: absolute; inset: -1px; z-index: 4; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; background: #f5f2ff; border: 1.5px dashed var(--acc); border-radius: 12px; animation: fr-in .15s ease; }
.dp-w.over .dp-party .dz { display: flex; }
.dz-art { width: 96px; height: 67px; } .dz-title { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--acc); } .dz-line { margin: 0; font-size: 12.5px; color: var(--ink2); }
.a-orbit, .a-floor { stroke: #e7e5e0; } .a-orbit-inner { stroke: #efedf8; } .a-shadow { fill: #ece9f8; } .a-tray { fill: #fff; stroke: #202124; } .a-ink { stroke: #202124; } .a-brand, .a-doc-mark { stroke: var(--acc); } .a-amber { stroke: #d97706; } .a-doc-body { fill: #fff; stroke: var(--acc); } .a-doc-line { stroke: #d9d1ff; }
.dp-w.over .a-doc { animation: dz-drop 1.4s ease-in-out infinite; }
@keyframes dz-drop { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(4px); } }
.dp-tray { display: none; gap: 6px; margin-top: 10px; }
.dp-w.dropped .dp-tray { display: grid; animation: fr-in .3s ease; }
.dp-zrow, .dp-row, .dp-row1 { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--hl); border-radius: 10px; font-size: 12.5px; }
.dp-row, .dp-row1 { grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 4px; }
.dp-row .dp-what, .dp-row1 .dp-what { grid-column: 2; font-size: 12px; color: var(--ink2); }
.dp-f { min-width: 0; display: flex; align-items: baseline; gap: 6px; } .dp-f b { font: 500 12.5px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dp-f small { font: 400 11px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.dp-zrow .dp-what { color: var(--ink3); font-size: 12px; }
.dp-row { display: none; }
.dp-w.unpacked .dp-zrow { display: none; }
.dp-w.unpacked .dp-row { display: grid; animation: fr-in .3s ease both; animation-delay: calc(var(--i) * 120ms); }
.dp-mk { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
.dp-e, .dp-e2 { position: absolute; inset: 0; width: 18px; height: 18px; }
.dp-e0 { fill: #e4e2dc; } .dp-e1 { fill: #202124; clip-path: inset(100% 0 0 0); }
.dp-w.unpacked .dp-e1 { animation: dp-fill 1.7s cubic-bezier(.4,0,.3,1) var(--d) forwards; }
@keyframes dp-fill { 0% { clip-path: inset(100% 0 0 0); } 35% { clip-path: inset(62% 0 0 0); } 60% { clip-path: inset(45% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.dp-ring { position: absolute; inset: 0; border-radius: 50%; opacity: 0; background: conic-gradient(from 0deg, #8b74ff, #e8559a, #f6844b, #8b74ff); -webkit-mask: radial-gradient(farthest-side, transparent 66%, #000 70%); mask: radial-gradient(farthest-side, transparent 66%, #000 70%); }
.dp-e2 { opacity: 0; }
.dp-w.spin .dp-e { animation: dp-spin .7s ease-in forwards; }
.dp-w.spin .dp-ring { animation: dp-ringin .3s ease .55s forwards, dp-rot 1s linear .55s infinite; }
@keyframes dp-spin { to { transform: rotate(360deg) scale(.4); opacity: 0; } }
@keyframes dp-ringin { to { opacity: 1; } }
@keyframes dp-rot { to { transform: rotate(360deg); } }
.dp-w.read .dp-ring { animation: none; opacity: 0; } .dp-w.read .dp-e2 { opacity: 1; transition: opacity .3s; } .dp-w.read .dp-e { opacity: 0; animation: none; }
.dp-bar { display: block; height: 4px; border-radius: 4px; background: #f0efeb; overflow: hidden; width: 70%; }
.dp-bar i { display: block; height: 100%; width: 0; background: #202124; border-radius: 4px; }
.dp-w.unpacked .dp-bar i { animation: dp-up 1.7s cubic-bezier(.4,0,.3,1) var(--d) forwards; }
@keyframes dp-up { 35% { width: 38%; } 60% { width: 55%; } to { width: 100%; } }
.dp-reading, .dp-out { display: none; }
.dp-w.spin .dp-bar { display: none; } .dp-w.spin .dp-reading { display: inline; }
.dp-reading { background: linear-gradient(90deg, #80868b 30%, #c9c3f5 50%, #80868b 70%) 0 0/200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fr-sh 1.6s linear infinite; }
.dp-w.read .dp-reading { display: none; } .dp-w.read .dp-out { display: inline; animation: fr-in .35s ease; } .dp-out b { color: var(--ink); font-weight: 600; }
/* wrong company, and Zenoo asks */
.dp-mk2 { width: 18px; height: 18px; display: grid; place-items: center; } .dp-mk2 .mk { width: 16px; height: 16px; }
.dp-amb, .dp-guess { display: none; }
.pw.flag .dp-reading, .pw.asked .dp-reading, .pw.picked .dp-reading, .pw.kept .dp-reading { display: none; }
.pw.flag .dp-amb, .pw.kept .dp-amb { display: inline; color: #b45309; font-weight: 500; animation: fr-in .35s ease; }
.dp-acts, .dp-kept, .dp-opts, .dp-filed { display: none; }
.pw.flag .dp-acts { display: flex; gap: 8px; margin-top: 12px; animation: fr-in .35s ease; }
.pw.kept .dp-acts { display: none; }
.pw.kept .dp-kept { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--grn-t); color: var(--grn); font-size: 13px; font-weight: 500; animation: fr-in .35s ease; }
.pw.asked .dp-guess { display: inline; color: var(--ink); }
.pw.asked .dp-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; animation: fr-in .35s ease; }
.dp-opts .pw-av { width: 18px; height: 18px; font-size: 8px; } .dp-ghost { border-color: transparent; color: var(--ink2); }
.pw.picked .dp-filed { display: block; margin: 12px 0 0; font-size: 12.5px; color: var(--ink2); animation: fr-in .35s ease; } .dp-filed b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .dp-e1 { clip-path: none; } .dp-reading { animation: none; } }

/* Where this fits: results flow from the checks into the Zenoo E, and out as items in the Inbox, ticked off one by one */
.wf-sec { padding: 72px 0; }
.sg { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(160px, 1fr) minmax(0, 420px); gap: 40px; align-items: center; margin-top: 36px; padding: 32px; border: 1px solid #ebe9e3; border-radius: 24px; background: #fbfaf8; }
.wf-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wf-wires path { fill: none; stroke: #c7bff3; stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; animation: wf-flow 1.8s linear infinite; }
@keyframes wf-flow { to { stroke-dashoffset: -18; } }
.wf-col, .wf-mid { position: relative; z-index: 1; }
.wf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 10px; font: 600 14px/1.2 inherit; color: #202124; }
.wf-h span { font: 500 11px/1 var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: #80868b; }
.wf-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wf-ck { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid #ebe9e3; border-radius: 12px; }
.wf-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #f5f2ff; color: #6548e8; } .wf-ic svg { width: 15px; height: 15px; }
.wf-nm { font-size: 13.5px; font-weight: 600; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-logos { display: flex; align-items: center; text-decoration: none; }
.wf-logos img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 0 0 1px #ebe9e3; object-fit: contain; margin-left: -7px; }
.wf-logos img:first-child { margin-left: 0; }
.wf-more { margin-left: 4px; font: 500 11px/1 var(--mono, monospace); color: #80868b; }
.wf-mid { display: grid; place-items: center; }
.wf-core { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 24px 50px -24px rgba(101,72,232,.5), 0 0 0 1px #ebe9e3; }
.wf-e { width: 44px; height: 44px; }
.wf-spin { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 0deg, #8b74ff, #e8559a, #f6844b, transparent 75%); -webkit-mask: radial-gradient(circle, transparent 13px, #000 14px); mask: radial-gradient(circle, transparent 13px, #000 14px); opacity: 0; }
.wf-core.work .wf-e { animation: wf-e 1.2s cubic-bezier(.5,0,.3,1); }
.wf-core.work .wf-spin { animation: wf-ring 1.2s cubic-bezier(.5,0,.3,1); }
@keyframes wf-e { 0% { transform: none; opacity: 1; } 25% { transform: translateY(-6px) rotate(180deg) scale(.4); opacity: 0; } 75% { transform: rotate(360deg) scale(.4); opacity: 0; } 100% { transform: rotate(360deg); opacity: 1; } }
@keyframes wf-ring { 0%, 18% { opacity: 0; transform: rotate(0); } 30% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { opacity: 0; transform: rotate(540deg); } }
.wf-inbox { background: #fff; border: 1px solid #ebe9e3; border-radius: 16px; padding: 14px 16px 12px; box-shadow: 0 24px 50px -30px rgba(20,12,60,.35); }
.wf-ih { align-items: center; justify-content: flex-start; font-size: 16px; letter-spacing: -.01em; }
.wf-ib { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #f5f2ff; color: #6548e8 !important; } .wf-ib svg { width: 15px; height: 15px; }
.wf-n { margin-left: auto; } .wf-n b { color: #1e7e34; font-weight: 600; }
.wf-r { list-style: none; margin: 0; padding: 0; height: 189px; overflow: hidden; }
.wf-it { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 63px; box-sizing: border-box; padding: 0 6px; border-top: 1px solid #f0efeb; transition: height .45s ease, opacity .35s ease, background .3s; overflow: hidden; }
.wf-it.enter { animation: wf-in .5s ease both; }
@keyframes wf-in { from { opacity: 0; transform: translateY(10px); background: #f5f2ff; } to { opacity: 1; transform: none; background: transparent; } }
.wf-sc { width: 16px; height: 16px; border-radius: 50%; border: 1.5px dashed #b9b6ad; box-sizing: border-box; display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.wf-sc svg { width: 10px; height: 10px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.wf-it.done .wf-sc { background: #1e8e3e; border: 0; } .wf-it.done .wf-sc svg { opacity: 1; transform: none; }
.wf-it.done .wf-t b { color: #80868b; }
.wf-it.gone { height: 0; opacity: 0; border-top-color: transparent; }
.wf-t { min-width: 0; } .wf-t b { display: block; font-size: 13.5px; font-weight: 500; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; } .wf-t small { display: block; font-size: 12px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-due { font-size: 12px; color: #5f6368; white-space: nowrap; } .wf-due.red { color: #c5221f; } .wf-due.amb { color: #a35a00; background: #fdf3e2; padding: 3px 7px; border-radius: 6px; }
.wf-foot { margin: 8px 6px 0; font-size: 12px; color: #80868b; }
@media (max-width: 1100px) { .sg { grid-template-columns: 1fr; gap: 24px; padding: 18px; } .wf-wires { display: none; } }
@media (max-width: 480px) { .wf-h { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .wf-wires path { animation: none; } }
