/* Filewell storefront extras: live filing demo and how-it-works visuals (site/src/apps/filewell.mjs). */
  .fold { width: 24px; height: 18px; position: relative; flex: none; }
  .fold::before { content: ""; position: absolute; inset: 5px 0 0; background: var(--accent); border-radius: 2px 4px 4px 4px; box-shadow: 0 0 14px rgb(var(--accent-rgb) / .45); }
  .fold::after { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 7px; background: var(--accent); border-radius: 3px 3px 0 0; }
  /* Demo stage */
  .stage { margin: 56px 0 90px; padding: 22px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: stretch; border-radius: 26px; }
  .zone { display: flex; flex-direction: column; min-width: 0; }
  .zone-h { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--muted); margin: 2px 4px 12px; }
  .zone-h b { color: var(--text); font-weight: 600; }
  .zone-h .n { font-family: var(--mono); font-size: .78rem; color: var(--err); background: rgba(255,156,134,.1); padding: 2px 8px; border-radius: 999px; }
  .pile { position: relative; flex: 1; min-height: 330px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
  .junk { position: absolute; display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .76rem; color: #C9D2DC; background: rgba(22,28,38,.92); border: 1px solid rgba(255,255,255,.09); border-radius: 9px; padding: 6px 10px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.4); animation: bob var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate; transition: border-color .2s, color .2s, box-shadow .2s; cursor: default; }
  .junk::before { content: ""; width: 10px; height: 13px; border-radius: 2px; border: 1.5px solid var(--dim); flex: none; }
  .junk[data-ext="jpg"]::before, .junk[data-ext="png"]::before, .junk[data-ext="heic"]::before, .junk[data-ext="jpeg"]::before { border-color: #7FA8D8; }
  .junk[data-ext="csv"]::before { border-color: var(--green); }
  .junk:hover { z-index: 20 !important; color: var(--text); border-color: rgb(var(--accent-rgb) / .6); box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .25), 0 10px 26px rgba(0,0,0,.5); animation-play-state: paused; }
  @keyframes bob { from { transform: translate(0, 0) rotate(var(--r, 0deg)); } to { transform: translate(var(--bx, 3px), var(--by, -5px)) rotate(calc(var(--r, 0deg) * -0.6)); } }

  .engine { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 6px; }
  .flow { width: 2px; height: 70px; background: linear-gradient(180deg, transparent, rgb(var(--accent-rgb) / .6), transparent); background-size: 100% 200%; animation: flow 1.6s linear infinite; border-radius: 2px; }
  @keyframes flow { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
  .orb { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #1D2533, #0B0F15 70%); border: 1px solid rgb(var(--accent-rgb) / .35); box-shadow: 0 0 40px rgb(var(--accent-rgb) / .25), inset 0 0 30px rgb(var(--accent-rgb) / .08); }
  .orb .fold { transform: scale(1.5); }
  .orb i { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgb(var(--accent-rgb) / .25); animation: ripple 3s ease-out infinite; }
  .orb i:nth-child(2) { animation-delay: 1s; } .orb i:nth-child(3) { animation-delay: 2s; }
  @keyframes ripple { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
  .orb.hit { animation: hit .5s ease-out; }
  @keyframes hit { 30% { box-shadow: 0 0 70px rgb(var(--accent-rgb) / .6), inset 0 0 30px rgb(var(--accent-rgb) / .2); transform: scale(1.06); } }
  .engine small { font-size: .8rem; color: var(--accent-2); font-weight: 600; letter-spacing: .04em; }

  .folders { display: grid; gap: 12px; }
  .folder { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, box-shadow .3s, transform .3s; min-height: 98px; }
  .folder:hover { border-color: rgb(var(--accent-rgb) / .45); box-shadow: 0 0 30px rgb(var(--accent-rgb) / .12); transform: translateY(-2px); }
  .folder.pulse { border-color: rgba(91,212,154,.6); box-shadow: 0 0 28px rgba(91,212,154,.18); }
  .folder-h { display: flex; align-items: center; gap: 10px; font-weight: 600; }
  .folder-h .c { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 2px 9px; }
  .folder ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
  .folder li { font-family: var(--mono); font-size: .76rem; color: #D7DEE6; display: flex; gap: 8px; align-items: center; min-width: 0; }
  .folder li::before { content: "✓"; color: var(--green); font-family: var(--sans); font-weight: 700; flex: none; }
  .folder li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fly { position: absolute; left: 0; top: 0; z-index: 30; display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .8rem; white-space: nowrap; padding: 7px 11px; border-radius: 10px; background: rgba(22,28,38,.95); color: #DCE3EA; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.5); pointer-events: none; will-change: transform; }
  .fly.clean { background: rgba(14,40,30,.95); color: #E9FFF4; border-color: rgba(91,212,154,.7); box-shadow: 0 0 24px rgba(91,212,154,.35); }
  .fly.clean::before { content: "✓"; color: var(--green); font-family: var(--sans); font-weight: 700; }
  @media (max-width: 900px) {
    .stage { grid-template-columns: minmax(0, 1fr); padding: 14px; }
    .pile { min-height: 290px; }
    .folder { min-height: 74px; }
    .engine { flex-direction: row; }
    .flow { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .6), transparent); background-size: 200% 100%; animation-name: flowx; }
    @keyframes flowx { from { background-position: 100% 0; } to { background-position: -100% 0; } }
    .orb { width: 78px; height: 78px; }
  }
  .viz { margin-top: auto; padding-top: 18px; position: relative; height: 150px; }
  /* viz 1: folder picker */
  .pick { display: grid; gap: 6px; font-family: var(--mono); font-size: .78rem; }
  .pick div { padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.07); color: var(--muted); display: flex; gap: 8px; align-items: center; }
  .pick div::before { content: ""; width: 14px; height: 10px; border-radius: 2px; background: var(--dim); }
  .pick .on { color: var(--text); border-color: rgb(var(--accent-rgb) / .55); background: rgb(var(--accent-rgb) / .08); animation: sel 6s ease-in-out infinite; }
  .pick .on::before { background: var(--accent); box-shadow: 0 0 10px rgb(var(--accent-rgb) / .45); }
  @keyframes sel { 0%, 100% { box-shadow: 0 0 0 rgb(var(--accent-rgb) / 0); } 50% { box-shadow: 0 0 22px rgb(var(--accent-rgb) / .25); } }
  /* viz 2: before/after preview */
  .pv { display: grid; gap: 8px; font-family: var(--mono); font-size: .76rem; }
  .pv-row { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.3fr); gap: 8px; align-items: center; }
  .pv-row span { padding: 6px 8px; border-radius: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pv-row .o { color: var(--dim); text-decoration: line-through; border: 1px solid rgba(255,255,255,.06); }
  .pv-row .a { color: var(--accent); text-align: center; }
  .pv-row .n { color: #E9FFF4; background: var(--green-soft); border: 1px solid rgba(91,212,154,.35); position: relative; overflow: hidden; }
  .pv-row .n::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.6s ease-in-out infinite; }
  .pv-row:nth-child(2) .n::after { animation-delay: .5s; } .pv-row:nth-child(3) .n::after { animation-delay: 1s; }
  @keyframes shine { 60%, 100% { transform: translateX(100%); } }
  /* viz 3: undo rings */
  .rings { position: absolute; left: 50%; top: 58%; width: 150px; height: 150px; transform: translate(-50%, -50%); }
  .rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(var(--accent-rgb) / .25); }
  .rings span:nth-child(2) { inset: 22px; border-color: rgb(var(--accent-rgb) / .35); }
  .rings span:nth-child(3) { inset: 44px; border-color: rgb(var(--accent-rgb) / .5); }
  .rings b { position: absolute; inset: 56px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .12); border: 1px solid rgb(var(--accent-rgb) / .6); color: var(--accent-2); font-size: 1.1rem; box-shadow: 0 0 24px rgb(var(--accent-rgb) / .45); }
  .rings .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 300deg, rgb(var(--accent-rgb) / .35) 360deg); animation: spin 5s linear infinite reverse; mask: radial-gradient(circle, transparent 42px, #000 43px); -webkit-mask: radial-gradient(circle, transparent 42px, #000 43px); }
  .rings .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent); }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) {
    .junk, .flow, .orb i, .pick .on, .pv-row .n::after, .rings .sweep { animation: none; }
    .folder { transition: none; }
  }
