/* =========================================================
   Fedelyo — sistema de diseño
   ========================================================= */
:root {
  --brand: #4F46E5;
  --brand-600: #4338CA;
  --brand-50: #EEF2FF;
  --brand-100: #E0E7FF;
  --accent: #F59E0B;
  --accent-50: #FFFBEB;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --line-2: #F1F5F9;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ok: #059669;
  --ok-50: #ECFDF5;
  --warn: #D97706;
  --warn-50: #FFFBEB;
  --danger: #DC2626;
  --danger-50: #FEF2F2;
  --info: #0284C7;
  --info-50: #F0F9FF;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 6px 16px -4px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 40px -10px rgba(15, 23, 42, .25);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sidebar: 252px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
h4 { font-size: .95rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.tiny { font-size: .75rem; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.hide { display: none !important; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
@media (min-width: 721px) { .show-sm { display: none !important; } }

/* ----- Brand ----- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  background: linear-gradient(135deg, var(--brand) 0%, #7C3AED 100%); box-shadow: 0 4px 12px -2px rgba(79, 70, 229, .5); }

/* ----- Cards ----- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card.pad, .pad { padding: 20px; }
.pad-lg { padding: 28px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h3 { margin: 0; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; }
.card.hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.narrow { max-width: 460px; width: 100%; }
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.center-page .brand { margin-bottom: 18px; }

/* ----- Buttons ----- */
.btn { --b: var(--surface); --c: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--b); color: var(--c); font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .08s; text-decoration: none !important; user-select: none; }
.btn:hover { background: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.loading { opacity: .6; cursor: not-allowed; }
.btn.loading::before { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { --b: var(--brand); --c: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(79,70,229,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { --b: var(--ink); --c: #fff; border-color: transparent; }
.btn-accent:hover { background: #1E293B; }
.btn-danger { --b: var(--danger); --c: #fff; border-color: transparent; }
.btn-danger:hover { background: #B91C1C; }
.btn-ghost { --b: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--line-2); }
.btn-soft { --b: var(--brand-50); --c: var(--brand); border-color: transparent; }
.btn-soft:hover { background: var(--brand-100); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }

/* ----- Forms ----- */
.field { display: block; margin-bottom: 14px; }
.field > span, .label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 400; }
.input, .select, .textarea { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 15px var(--font); color: var(--ink);
  transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.input.invalid, .select.invalid, .textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.input-sm { height: 34px; font-size: 14px; }
.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; height: 42px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form-error { background: var(--danger-50); color: var(--danger); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.color-input { display: flex; gap: 8px; align-items: center; }
.color-input input[type=color] { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; cursor: pointer; }

/* Switch */
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 40px; height: 23px; background: var(--line); border-radius: 99px; position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(17px); }
.switch input:focus-visible + .track { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ----- Badges ----- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-50); color: var(--ok); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.badge.danger { background: var(--danger-50); color: var(--danger); }
.badge.info { background: var(--info-50); color: var(--info); }
.badge.brand { background: var(--brand-50); color: var(--brand); }
.badge.dark { background: var(--ink); color: #fff; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 600; }
.tag button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; font-size: 14px; line-height: 1; }

/* ----- Tables ----- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FCFDFE; }
.table th.sortable { cursor: pointer; user-select: none; }
.table th.sortable:hover { color: var(--ink); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.clickable { cursor: pointer; }
.table tbody tr.clickable:hover td { background: #FAFBFF; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table.responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; text-align: right; }
  .table.responsive td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 12px; text-align: left; }
  .table.responsive td.num { text-align: right; }
}
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }

/* ----- Avatars ----- */
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 13px; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 56px; height: 56px; font-size: 19px; }

/* ----- Stat tiles ----- */
.stat { padding: 18px 20px; }
.stat .stat-label { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.stat .stat-label svg { width: 16px; height: 16px; color: var(--muted-2); }
.stat .stat-value { font-size: 1.75rem; font-weight: 750; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .stat-delta { font-size: 12px; font-weight: 600; margin-top: 2px; }
.stat-delta.up { color: var(--ok); } .stat-delta.down { color: var(--danger); } .stat-delta.flat { color: var(--muted); }

/* ----- Tabs ----- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { border: 0; background: none; padding: 10px 14px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.tabs .active { color: var(--brand); border-bottom-color: var(--brand); }
.segmented { display: inline-flex; background: var(--line-2); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: 600 13px var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.segmented .active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ----- Empty states / alerts ----- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .empty-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.empty .empty-icon svg { width: 26px; height: 26px; }
.empty h3 { color: var(--ink); }
.empty p { max-width: 420px; margin: 0 auto 16px; }
.alert { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: var(--info-50); color: #075985; border: 1px solid #BAE6FD; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert.warn { background: var(--warn-50); color: #92400E; border-color: #FDE68A; }
.alert.danger { background: var(--danger-50); color: #991B1B; border-color: #FECACA; }
.alert.ok { background: var(--ok-50); color: #065F46; border-color: #A7F3D0; }
.alert strong { display: block; }

/* ----- Toasts ----- */
.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 40px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; display: flex; gap: 10px; align-items: center; animation: toast-in .25s var(--ease); max-width: 380px; }
.toast.ok svg { color: #34D399; } .toast.error svg { color: #F87171; }
.toast svg { width: 18px; height: 18px; flex: none; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

/* ----- Modal ----- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px); z-index: 900; display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; max-width: 540px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; animation: pop .25s var(--ease); }
.modal.wide { max-width: 820px; }
.modal-head { padding: 20px 24px 12px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-body { padding: 4px 24px 20px; overflow-y: auto; }
.modal-foot { padding: 14px 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.96) translateY(8px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .modal-backdrop { align-items: end; padding: 0; } .modal { border-radius: 22px 22px 0 0; max-height: 92vh; } }

/* ----- Skeleton / loader ----- */
.skeleton { background: linear-gradient(90deg, var(--line-2) 25%, #E9EEF5 37%, var(--line-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; min-height: 14px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.loader { display: grid; place-items: center; padding: 60px; color: var(--muted); }
.loader::before { content: ''; width: 28px; height: 28px; border: 3px solid var(--brand-100); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }

/* ----- Progress ----- */
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7C3AED); border-radius: 99px; transition: width .6s var(--ease); }

/* ----- Charts ----- */
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font: 11px var(--font); fill: var(--muted); }
.chart .grid-line { stroke: var(--line-2); }
.chart .bar { fill: var(--brand); transition: opacity .15s; }
.chart .bar:hover { opacity: .8; }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#fd-grad); }
.chart .dot { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.chart-empty { display: grid; place-items: center; height: 180px; color: var(--muted-2); font-size: 13px; border: 1px dashed var(--line); border-radius: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; grid-template-columns: minmax(80px, 160px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.hbar .track { height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.hbar .track span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ----- Loyalty card visual ----- */
.lcard { --c: #4F46E5; --t: #fff; position: relative; color: var(--t); background: var(--c); border-radius: 22px; padding: 20px; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(15,23,42,.45); isolation: isolate; }
.lcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.28) 0%, transparent 55%), radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,.25), transparent 60%); z-index: -1; }
.lcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lcard-logo { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.lcard-logo img { width: 100%; height: 100%; object-fit: cover; }
.lcard-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.lcard-sub { font-size: 12px; opacity: .8; }
.lcard-brand { font-size: 11px; font-weight: 700; letter-spacing: .08em; opacity: .75; text-transform: uppercase; }
.lcard-big { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 18px; }
.lcard-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 16px; font-size: 12px; opacity: .9; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.stamps .s { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); display: grid; place-items: center; transition: all .3s var(--ease); }
.stamps .s.on { background: #fff; border: 2px solid #fff; color: var(--c); }
.stamps .s svg { width: 55%; height: 55%; }
.stamps .s.pop { animation: stamp-pop .45s var(--ease); }
@keyframes stamp-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } }
.qr-box { background: #fff; border-radius: 16px; padding: 12px; display: inline-block; }
.qr-box img { width: 100%; height: auto; image-rendering: pixelated; }

/* ----- Misc ----- */
.kbd { font: 600 12px ui-monospace, monospace; background: var(--line-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.divider-text { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; align-items: center; }
.list > li:last-child { border-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 14px; }
.check-list li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 2px; }
.check-list li.off { color: var(--muted-2); }
.check-list li.off svg { color: var(--muted-2); }
.icon-tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.icon-tile svg { width: 21px; height: 21px; }
.icon-tile.ok { background: var(--ok-50); color: var(--ok); } .icon-tile.warn { background: var(--warn-50); color: var(--warn); } .icon-tile.danger { background: var(--danger-50); color: var(--danger); } .icon-tile.dark { background: var(--ink); color: #fff; }
.img-drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; cursor: pointer; background: #fff; }
.img-drop:hover { border-color: var(--brand); }
.img-drop .preview { width: 56px; height: 56px; border-radius: 10px; background: var(--line-2) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted-2); }
.fade-in { animation: fadeup .35s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
