/* ═══ VM PDF Converter — sleek dark · minimal ════════════════════════ */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --accent: #8b7bff;
  --accent-2: #b07bff;
  --accent-grad: linear-gradient(135deg, #8b7bff, #b07bff);
  --green: #3ddc97; --red: #ff5a7a; --amber: #ffc14d; --blue: #6aa8ff;
  --radius: 14px; --radius-sm: 9px; --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --tr: .2s cubic-bezier(.4,0,.2,1);
  --maxw: 1080px;
}
/* Dark (default) */
:root, [data-theme="dark"] {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --glow: radial-gradient(900px 520px at 50% -12%, rgba(139,123,255,.20), transparent 70%), radial-gradient(700px 400px at 85% 8%, rgba(176,123,255,.10), transparent 70%);
  --surface: rgba(255,255,255,.025);
  --surface-2: rgba(255,255,255,.05);
  --surface-solid: #0e1016;
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.14);
  --hairline: rgba(255,255,255,.06);
  --text: #f4f5f7;
  --text-2: rgba(244,245,247,.72);
  --muted: rgba(244,245,247,.46);
  --btn-fg: #07080b;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 90px -28px rgba(0,0,0,.85);
  --glow-accent: 0 0 0 1px rgba(139,123,255,.35), 0 14px 50px -12px rgba(139,123,255,.5);
  --green-bg: rgba(61,220,151,.13); --red-bg: rgba(255,90,122,.14); --amber-bg: rgba(255,193,77,.15); --blue-bg: rgba(106,168,255,.15); --merged-bg: rgba(139,123,255,.16);
}
[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-2: #ffffff;
  --glow: radial-gradient(900px 520px at 50% -12%, rgba(139,123,255,.16), transparent 70%);
  --surface: #ffffff;
  --surface-2: #f1f2f7;
  --surface-solid: #ffffff;
  --border: #e7e9f1;
  --border-2: #d6d9e6;
  --hairline: #eef0f6;
  --text: #0c0e16;
  --text-2: #3a4056;
  --muted: #767d93;
  --btn-fg: #ffffff;
  --shadow: 0 1px 2px rgba(16,20,40,.05), 0 10px 30px -14px rgba(16,20,40,.18);
  --shadow-lg: 0 40px 90px -28px rgba(40,30,90,.28);
  --glow-accent: 0 0 0 1px rgba(139,123,255,.3), 0 14px 40px -12px rgba(139,123,255,.4);
  --green-bg: #e3f9ee; --red-bg: #ffe6eb; --amber-bg: #fff2d6; --blue-bg: #e6f0ff; --merged-bg: #eeeaff;
}
* { box-sizing: border-box; }
.ico-svg { display: inline-block; vertical-align: middle; flex: none; }
.btn .ico-svg { margin: -2px 0; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg); color: var(--text);
  line-height: 1.6; min-height: 100vh; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background var(--tr), color var(--tr);
}
/* Ambient glow layer behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; background: var(--glow); pointer-events: none;
}
body::after { /* subtle film grain */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--text); text-decoration: none; }
h1,h2,h3 { line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.035em; font-weight: 600; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.grad-text { background: linear-gradient(120deg,#fff 20%, var(--accent) 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="light"] .grad-text { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 500; font-size: .9rem; line-height: 1; letter-spacing: -.01em;
  padding: .62rem 1.05rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); cursor: pointer; transition: all var(--tr);
  background: var(--surface-2); color: var(--text); white-space: nowrap; user-select: none;
}
.btn:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-primary { background: #fff; color: #07080b; border-color: transparent; font-weight: 600; }
.btn-primary:hover { background: #fff; box-shadow: 0 8px 30px -8px rgba(255,255,255,.4); filter: none; }
[data-theme="light"] .btn-primary { background: #0c0e16; color: #fff; }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(12,14,22,.4); }
.btn-accent { background: var(--accent-grad); color: #fff; border-color: transparent; font-weight: 600; box-shadow: var(--glow-accent); }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--red-bg); color: var(--red); border-color: transparent; }
.btn-sm { padding: .42rem .72rem; font-size: .82rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(8px); transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr); }
.card.hover:hover { border-color: var(--border-2); transform: translateY(-2px); }
.pad { padding: 1.4rem; }
.glass { background: var(--surface); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }

/* Inputs */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-bottom: .4rem; }
.input, select.input {
  width: 100%; font: inherit; padding: .68rem .85rem; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-solid);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,123,255,.2); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; padding-right: 2rem; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .71rem; font-weight: 600; padding: .2rem .55rem; border-radius: 100px; text-transform: capitalize; letter-spacing: 0; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-uploaded { background: var(--blue-bg); color: var(--blue); }
.badge-converting { background: var(--amber-bg); color: var(--amber); }
.badge-converting .dot { animation: pulse 1s infinite; }
.badge-completed { background: var(--green-bg); color: var(--green); }
.badge-failed { background: var(--red-bg); color: var(--red); }
.badge-merged { background: var(--merged-bg); color: var(--accent); }
@keyframes pulse { 50% { opacity: .35; } }

.theme-toggle { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all var(--tr); }
.theme-toggle:hover { border-color: var(--border-2); }

/* Toasts */
#toasts { position: fixed; top: 1.1rem; right: 1.1rem; z-index: 1000; display: flex; flex-direction: column; gap: .55rem; }
.toast { background: var(--surface-solid); color: var(--text); border: 1px solid var(--border); padding: .75rem 1rem; border-radius: 11px; box-shadow: var(--shadow-lg); font-size: .88rem; max-width: 350px; display: flex; gap: .55rem; align-items: center; animation: slidein .25s cubic-bezier(.2,1.2,.3,1); backdrop-filter: blur(12px); }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.toast.ok::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.toast.err::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }

/* Progress */
.progress { height: 5px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 100px; background: var(--accent-grad); }
.progress.indet > i { width: 40%; animation: indet 1.1s infinite ease-in-out; }
@keyframes indet { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: 7px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Landing ──────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 60; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.5rem; }
.nav.scrolled { border-bottom: 1px solid var(--hairline); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; letter-spacing: -.02em; }
.brand .logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; font-size: .62rem; font-weight: 800; box-shadow: var(--glow-accent); }
.nav-actions { display: flex; gap: .55rem; align-items: center; }
.hero { max-width: 880px; margin: 0 auto; padding: 5rem 1.5rem 1rem; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); padding: .34rem .8rem .34rem .55rem; border-radius: 100px; margin-bottom: 1.6rem; }
.eyebrow .tag { background: var(--accent-grad); color: #fff; font-size: .66rem; font-weight: 700; padding: .12rem .45rem; border-radius: 100px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 600; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-2); max-width: 600px; margin: 1.3rem auto 2rem; font-weight: 400; }
.hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { padding: .8rem 1.4rem; font-size: .98rem; }
.trust { margin-top: 2.4rem; color: var(--muted); font-size: .8rem; display: flex; gap: .5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust .pill { border: 1px solid var(--border); border-radius: 100px; padding: .3rem .75rem; }

/* Hero product preview (browser mockup) */
.hero-shot { max-width: 940px; margin: 3.5rem auto 0; padding: 0 1.5rem; perspective: 1600px; }
.shot { border: 1px solid var(--border-2); border-radius: 16px; overflow: hidden; background: var(--surface-solid); box-shadow: var(--shadow-lg); position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: -8% 10% auto; height: 320px; background: var(--accent-grad); filter: blur(110px); opacity: .25; z-index: -1; border-radius: 50%; }
.shot .bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--hairline); }
.shot .bar .dots { display: flex; gap: .4rem; }
.shot .bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: inline-block; }
.shot .bar .url { flex: 1; text-align: center; font-size: .74rem; color: var(--muted); }
.shot .body { display: grid; grid-template-columns: 180px 1fr; min-height: 320px; }
.shot .side { border-right: 1px solid var(--hairline); padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.shot .side .s-item { height: 30px; border-radius: 8px; background: var(--surface-2); }
.shot .side .s-item.on { background: var(--merged-bg); border: 1px solid rgba(139,123,255,.3); }
.shot .main { padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.shot .m-drop { border: 1.5px dashed var(--border-2); border-radius: 12px; height: 90px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.shot .m-row { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); }
.shot .m-row .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; }
.shot .m-row .ln { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-2); }
.shot .m-row .ln.s { width: 40%; }

/* Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: 5rem 1.5rem; }
.section.tight { padding-top: 2.5rem; }
.kicker { text-align: center; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; }
.section h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
.section .sub { text-align: center; color: var(--muted); margin: .6rem auto 3rem; max-width: 520px; font-size: 1.02rem; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento .b { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.5rem; position: relative; overflow: hidden; transition: border-color var(--tr), transform var(--tr); }
.bento .b:hover { border-color: var(--border-2); transform: translateY(-2px); }
.bento .b.lg { grid-column: span 3; } .bento .b.md { grid-column: span 3; } .bento .b.sm { grid-column: span 2; }
.bento .b .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--border); }
.bento .b h3 { font-size: 1.08rem; font-weight: 600; }
.bento .b p { color: var(--muted); font-size: .92rem; margin: 0; }
.bento .b .glowdot { position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; background: var(--accent); filter: blur(70px); opacity: .12; border-radius: 50%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.step { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step .num { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border-2); color: var(--accent); display: grid; place-items: center; font-weight: 700; margin-bottom: 1rem; font-size: .9rem; }
.step h3 { font-size: 1.05rem; font-weight: 600; } .step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Conversions strip */
.conv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.conv-card { text-align: center; padding: 1.4rem .8rem; }
.conv-card .big { color: var(--accent); margin-bottom: .4rem; } .conv-card h3 { font-size: .98rem; font-weight: 600; }
.conv-card .exts { color: var(--muted); font-size: .78rem; margin-top: .2rem; word-break: break-word; }

/* CTA band */
.cta { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 5rem; }
.cta-card { text-align: center; padding: 3.5rem 1.5rem; border: 1px solid var(--border-2); border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--surface); }
.cta-card::before { content: ""; position: absolute; inset: auto 0 -60% 0; height: 300px; background: var(--accent-grad); filter: blur(90px); opacity: .2; }
.cta-card h2 { font-size: clamp(1.7rem,4vw,2.4rem); }
.cta-card p { color: var(--text-2); max-width: 460px; margin: .5rem auto 1.6rem; position: relative; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-weight: 500; padding: 1.1rem .3rem; list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; font-weight: 300; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 .3rem 1.2rem; color: var(--muted); }
footer { border-top: 1px solid var(--hairline); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .85rem; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 900; padding: 1rem; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 410px; animation: pop .28s cubic-bezier(.2,1.1,.3,1); }
.modal.card { background: var(--surface-solid); }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.tabs { display: flex; background: var(--surface-2); border-radius: 11px; padding: .28rem; margin-bottom: 1.3rem; }
.tabs button { flex: 1; border: none; background: transparent; font: inherit; font-weight: 500; padding: .5rem; border-radius: 8px; cursor: pointer; color: var(--muted); transition: all var(--tr); }
.tabs button.active { background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.form-error { color: var(--red); font-size: .85rem; margin-bottom: .8rem; min-height: 1em; }

/* ─── App shell ────────────────────────────────────────────────────── */
.appbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hairline); background: color-mix(in srgb, var(--bg) 72%, transparent); }
.appbar-inner { max-width: var(--maxw); margin: 0 auto; padding: .7rem 1.4rem; display: flex; align-items: center; gap: 1rem; }
.appbar .spacer { flex: 1; }
.appnav { display: flex; gap: .15rem; background: var(--surface-2); padding: .25rem; border-radius: 11px; }
.appnav a { padding: .45rem .85rem; border-radius: 8px; font-weight: 500; font-size: .86rem; color: var(--muted); transition: all var(--tr); }
.appnav a.active { background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.appnav a:hover:not(.active) { color: var(--text); }
.usermenu { display: flex; align-items: center; gap: .65rem; font-size: .86rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .85rem; box-shadow: var(--glow-accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.4rem 5rem; }
.view { display: none; animation: viewin .3s ease; } .view.active { display: block; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.55rem; margin: 0; font-weight: 600; } .page-head p { margin: .25rem 0 0; }

.opts { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; }
.opts .field { margin: 0; min-width: 130px; }
.opts .field label { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

.dropzone { border: 1.5px dashed var(--border-2); border-radius: var(--radius-lg); background: var(--surface); padding: 3rem 1.5rem; text-align: center; cursor: pointer; transition: all var(--tr); }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--surface-2); }
.dropzone .dz-ico { width: 60px; height: 60px; margin: 0 auto .9rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); display: grid; place-items: center; }
.dropzone h3 { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 600; }
.dropzone .browse { color: var(--accent); font-weight: 600; }

.selbar { position: sticky; bottom: 1rem; z-index: 40; display: flex; align-items: center; gap: .8rem; padding: .7rem .7rem .7rem 1.2rem; margin-top: 1.2rem; border-radius: 13px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-2); }
.selbar .count { font-weight: 600; } .selbar .spacer { flex: 1; }

.filelist { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.3rem; }
.file-row { display: flex; align-items: center; gap: .95rem; padding: .85rem 1.05rem; }
.file-check { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; flex: none; }
.file-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: var(--surface-2); border: 1px solid var(--border); flex: none; }
.file-meta { min-width: 0; flex: 1; }
.file-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-sub { font-size: .79rem; color: var(--muted); display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; margin-top: .2rem; }
.file-prog { width: 110px; }
.file-actions { display: flex; gap: .4rem; align-items: center; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.to-fmt { font-size: .78rem; color: var(--muted); }
select.input-sm { width: auto; padding: .42rem 1.7rem .42rem .6rem; font-size: .82rem; border-radius: 8px; background-position: right .5rem center; }
.target-sel { text-transform: uppercase; font-weight: 600; }
.spinner { width: 15px; height: 15px; border: 2px solid var(--amber); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { text-align: center; color: var(--muted); padding: 3.5rem 1rem; }
.empty .e-ico { color: var(--muted); opacity: .6; margin-bottom: .5rem; }

table.tbl { width: 100%; border-collapse: collapse; font-size: .89rem; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 500; font-size: .73rem; text-transform: uppercase; letter-spacing: .04em; padding: .65rem .75rem; border-bottom: 1px solid var(--hairline); }
table.tbl td { padding: .8rem .75rem; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
.tbl-wrap { overflow-x: auto; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat .k { font-size: .77rem; color: var(--muted); font-weight: 500; }
.stat .v { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; }
.stat .ic { float: right; color: var(--muted); opacity: .55; }

@media (max-width: 880px) {
  .bento .b.lg, .bento .b.md, .bento .b.sm { grid-column: span 6; }
  .steps, .conv-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .shot .body { grid-template-columns: 1fr; } .shot .side { display: none; }
  .hidden-mobile { display: none !important; }
  .file-prog { display: none; }
}
@media (max-width: 540px) {
  .appnav a { padding: .45rem .55rem; font-size: .8rem; }
  .usermenu .email { display: none; }
  .conv-grid, .steps { grid-template-columns: 1fr; }
}
.hidden-mobile { display: inline; }
