/* Hallmark · checked: 2026-11-06 · genre: modern-minimal (inferred)
 * floor: 2 open, both 44b on the two short articles (fold, structural: printed) · fixed: 2a, 10a, 26a, 27, 33, 34, 39a, 40, 48, 50, 54, 63, 64, 67 · structural: printed (44b, 58, 59, 77, 78, 79)
 * built: the project · redesign: polish · v2.0.0 */
/* Workspace motion scenes, used on the home page and /product. Drawn from the real Workspace design, demo data. */
.screen { background: var(--c-light-bg); color: var(--c-ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px var(--c-black-a45); font-size: 13px; line-height: 1.4; border: 1px solid var(--c-white-a20); }
.screen .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--c-deep); color: var(--c-steel-2); font-size: 11.5px; }
.screen .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-navy-700); }
.screen .bar span { margin-left: 8px; font-family: var(--font-mono); }
.screen .body { padding: 16px; display: grid; gap: 10px; min-height: 250px; align-content: start; }
.screen .s-demo { font: 600 12px/1 var(--font-body); color: var(--c-amber-ink); background: var(--c-amber-wash); padding: 4px 7px; white-space: nowrap; border-radius: 99px; justify-self: start; }
.screen .s-card { background: var(--c-white); border: 1px solid var(--c-light-line); border-radius: 12px; padding: 12px 14px; }
.screen .s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen .s-tiles .s-card b { display: block; font-size: 24px; font-weight: 700; color: var(--c-ink); }
.screen .s-tiles .s-card small { color: var(--c-slate-ink); font-size: 12px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.screen .s-tiles .s-card small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--c-signal)); }
.screen .s-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--c-light-row); }
.screen .s-row:last-child { border: 0; }
.screen .s-id { font-family: var(--font-mono); font-size: 11.5px; color: var(--c-navy-700); }
.screen .s-pill { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: var(--c-signal-wash); color: var(--c-signal); white-space: nowrap; }
.screen .s-pill.amber { background: var(--c-amber-wash); color: var(--c-amber-ink); } .screen .s-pill.green { background: var(--c-ok-wash); color: var(--c-ok-ink); } .screen .s-pill.red { background: var(--c-red-wash); color: var(--c-red-ink); }
.screen .s-due { font-size: 11.5px; font-weight: 600; color: var(--c-amber-ink); white-space: nowrap; }
.screen .s-bubble { max-width: 82%; padding: 9px 12px; border-radius: 12px; background: var(--c-white); border: 1px solid var(--c-light-line); }
.screen .s-bubble.ai { justify-self: end; background: var(--c-signal); color: var(--c-white); border-color: var(--c-signal); }
.screen .s-btn { display: inline-block; background: var(--c-signal); color: var(--c-white); font-weight: 600; font-size: 12px; padding: 7px 12px; border-radius: 9px; }
.screen .s-switch { width: 40px; height: 22px; border-radius: 99px; background: var(--c-signal); position: relative; display: inline-block; vertical-align: middle; flex: none; }
.screen .s-switch::after { content: ""; position: absolute; top: 3px; left: 3px; transform: translateX(18px); width: 16px; height: 16px; border-radius: 50%; background: var(--c-white); }
.screen .s-bars { display: grid; gap: 8px; }
.screen .s-bars div { display: grid; grid-template-columns: 130px 1fr 40px; gap: 8px; align-items: center; font-size: 12px; }
.screen .s-bars i { display: block; height: 8px; border-radius: 99px; background: var(--c-signal); transform-origin: left; }
.scene-cap { margin-top: 14px; color: var(--muted); font-size: 14px; }
.scene-cap b { color: var(--c-white); font-weight: 600; }
/* each loop holds its end state, then restarts (10 s) */
@keyframes in-late { 0%, 30% { opacity: 0; transform: translateY(8px); } 38%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes in-later { 0%, 55% { opacity: 0; transform: translateY(8px); } 63%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes swap-a { 0%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes swap-b { 0%, 34% { opacity: 0; } 38%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes swap-c { 0%, 60% { opacity: 0; } 64%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes swap-bc { 0%, 34% { opacity: 0; } 38%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes grow { 0%, 10% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
@keyframes flip-off { 0%, 40% { background: var(--c-signal); } 46%, 100% { background: var(--c-slate); } }
@keyframes knob-off { 0%, 40% { transform: translateX(18px); } 46%, 100% { transform: none; } }
@keyframes press { 0%, 30% { transform: none; } 33% { transform: scale(.9); } 36%, 100% { transform: none; } }
.loop .late { animation: in-late 10s infinite; }
.loop .later { animation: in-later 10s infinite; }
.loop .swap { display: grid; } .loop .swap > * { grid-area: 1 / 1; }
.loop .swap .a { animation: swap-a 10s infinite; }
.loop .swap .b { animation: swap-b 10s infinite; }
.loop .swap .c { animation: swap-c 10s infinite; }
.loop .swap .bc { animation: swap-bc 10s infinite; }
.loop .s-bars i { animation: grow 10s infinite; }
.loop .s-switch { animation: flip-off 10s infinite; } .loop .s-switch::after { animation: knob-off 10s infinite; }
.loop .s-btn { animation: press 10s infinite; }
@media (prefers-reduced-motion: reduce) {
  .loop *, .loop *::after { animation: none !important; }
  .loop .swap > * { opacity: 0; } .loop .swap > :last-child { opacity: 1; }
  .loop .s-switch { background: var(--c-slate); } .loop .s-switch::after { transform: none; }
}

@media (max-width: 620px) { .screen .s-tiles .s-card b { font-size: 20px; } .screen .s-bars div { grid-template-columns: 96px 1fr 34px; } }
