/* Kopnota marketing site · quotations, invoices and receipts flow */
/* ---------- Documents flow ---------- */
.flow { display: grid; gap: 0; max-width: 440px; margin: 0 auto; }
.flow-doc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 6px; opacity: .45; transform: scale(.96); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s; }
.flow-doc.on { opacity: 1; transform: none; box-shadow: var(--shadow-lg); }
.flow-doc header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flow-doc code { background: none; border: 0; padding: 0; color: var(--muted); font-size: .78rem; }
.fd-kind { font: 700 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: #fff; }
.fd-quo .fd-kind { background: linear-gradient(90deg, #7C3AED, #A855F7); }
.fd-inv .fd-kind { background: linear-gradient(90deg, #2563EB, #06B6D4); }
.fd-rct .fd-kind { background: linear-gradient(90deg, #059669, #34D399); }
.fd-quo.on { border-color: #A855F766; } .fd-inv.on { border-color: #3B82F666; } .fd-rct.on { border-color: #10B98166; }
.fd-client { color: var(--muted); font-size: .88rem; }
.fd-amt { font: 800 1.45rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.flow-doc footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.fd-bar { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.fd-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); border-radius: inherit; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.fd-act { position: absolute; right: 14px; bottom: -14px; z-index: 2; font-size: .78rem; font-weight: 700; color: #fff; background: var(--ink); padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .3s, transform .3s; box-shadow: var(--shadow); }
.fd-act.show { opacity: 1; transform: none; }
.fd-act.press { transform: scale(.9); background: var(--mint-deep); }
.flow-link { height: 34px; display: grid; justify-items: center; }
.flow-link i { width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(var(--line-strong) 50%, transparent 0) 0 0 / 3px 8px; position: relative; overflow: hidden; }
.flow-link i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#7C3AED, #06B6D4); transform: translateY(-100%); transition: transform .6s ease; }
.flow-link.on i::after { transform: none; }
