@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ══════════════════════════════════════════════════════════════════════
   ROOT / RESET
   ══════════════════════════════════════════════════════════════════════ */
#linkflow-root, #linkflow-root * , #linkflow-root *::before, #linkflow-root *::after { box-sizing: border-box; }
#linkflow-root {
  --bg:        #0a0b10;
  --bg-soft:   #0d0e15;
  --surface:   #12141c;
  --surface2:  #1a1d28;
  --surface3:  #222636;
  --border:    #262a3a;
  --border-lt: #363a52;
  --primary:   #6c7fff;
  --primary2:  #8b5cf6;
  --accent:    #f0a531;
  --green:     #34d399;
  --green-bg:  rgba(52,211,153,.12);
  --red:       #f87171;
  --red-bg:    rgba(248,113,113,.12);
  --amber:     #fbbf24;
  --amber-bg:  rgba(251,191,36,.12);
  --blue:      #60a5fa;
  --blue-bg:   rgba(96,165,250,.12);
  --text:      #e7e8f2;
  --text2:     #9195b3;
  --text3:     #5d6280;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 8px 30px rgba(0,0,0,.35);
  --glow:      0 0 0 1px rgba(108,127,255,.15), 0 8px 24px rgba(108,127,255,.12);
  --font-head: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
#linkflow-root a { color: inherit; text-decoration: none; }
#linkflow-root h1, #linkflow-root h2, #linkflow-root h3, #linkflow-root h4 {
  font-family: var(--font-head); letter-spacing: -.02em; margin: 0; color: #fff;
}
#linkflow-root button { font-family: inherit; cursor: pointer; }
#linkflow-root ::selection { background: var(--primary); color: #fff; }
body.linkflow-app-body { background: var(--bg, #0a0b10); margin: 0; }
/* Defense in depth: show_admin_bar is filtered off in PHP, but if another
   plugin forces it back on, don't let it sit on top of the dark app UI. */
body.linkflow-app-body #wpadminbar { display: none !important; }
html.linkflow-app-body, body.linkflow-app-body { margin-top: 0 !important; }

/* subtle organic background: soft radial glows, not flat */
.lf-root { position: relative; overflow-x: hidden; }
.lf-root::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% -5%, rgba(108,127,255,.10), transparent 60%),
    radial-gradient(500px 350px at 100% 10%, rgba(139,92,246,.08), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(240,165,49,.05), transparent 60%);
}
.lf-view { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════════════
   BOOT LOADER
   ══════════════════════════════════════════════════════════════════════ */
.lf-boot-loader { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.lf-boot-spin { width: 32px; height: 32px; border: 3px solid var(--surface3); border-top-color: var(--primary); border-radius: 50%; animation: lf-spin .7s linear infinite; }
@keyframes lf-spin { to { transform: rotate(360deg); } }
.lf-spinner-sm { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: lf-spin .6s linear infinite; display: inline-block; vertical-align: -2px; }

/* ══════════════════════════════════════════════════════════════════════
   SHARED: buttons, inputs, badges, cards
   ══════════════════════════════════════════════════════════════════════ */
.lf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-lt); background: var(--surface2); color: var(--text);
  transition: transform .12s, border-color .15s, background .15s; white-space: nowrap;
}
.lf-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.lf-btn:active { transform: translateY(0); }
.lf-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.lf-btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary2)); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(108,127,255,.3); }
.lf-btn-primary:hover { opacity: .92; box-shadow: 0 6px 20px rgba(108,127,255,.4); }
.lf-btn-ghost { background: transparent; border-color: transparent; }
.lf-btn-ghost:hover { background: var(--surface2); }
.lf-btn-danger { color: var(--red); }
.lf-btn-danger:hover { border-color: var(--red); background: var(--red-bg); }
.lf-btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.lf-btn-block { width: 100%; }
.lf-btn-icon { padding: 9px; }

.lf-input, .lf-select, .lf-textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border-lt); color: var(--text);
  padding: 11px 14px; border-radius: 10px; font-size: 14px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.lf-input::placeholder, .lf-textarea::placeholder { color: var(--text3); }
.lf-input:focus, .lf-select:focus, .lf-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,127,255,.15); }
.lf-textarea { resize: vertical; min-height: 70px; }
.lf-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text2); margin-bottom: 7px; }
.lf-field { margin-bottom: 16px; }
.lf-field-hint { font-size: 12px; color: var(--text3); margin-top: 6px; }
.lf-field-error { font-size: 12px; color: var(--red); margin-top: 6px; }

.lf-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.lf-badge-green  { background: var(--green-bg); color: var(--green); }
.lf-badge-red    { background: var(--red-bg);   color: var(--red); }
.lf-badge-amber  { background: var(--amber-bg); color: var(--amber); }
.lf-badge-blue   { background: var(--blue-bg);  color: var(--blue); }
.lf-badge-gray   { background: var(--surface3); color: var(--text2); }

.lf-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.lf-card-glow { box-shadow: var(--glow); }

.lf-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px;
  background: var(--surface2); border: 1px solid var(--border-lt); font-size: 12.5px; font-weight: 500; color: var(--text2);
  cursor: pointer; transition: .15s; user-select: none;
}
.lf-chip:hover { border-color: var(--border-lt); color: var(--text); }
.lf-chip.on { background: rgba(108,127,255,.15); border-color: var(--primary); color: #c7d0ff; }
.lf-chip.on::before { content: '✓'; font-size: 10px; }

.lf-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.lf-switch input { opacity: 0; width: 0; height: 0; }
.lf-switch-track { position: absolute; inset: 0; background: var(--surface3); border: 1px solid var(--border-lt); border-radius: 24px; transition: .2s; cursor: pointer; }
.lf-switch-track::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; top: 2px; background: var(--text2); border-radius: 50%; transition: .2s; }
.lf-switch input:checked + .lf-switch-track { background: var(--primary); border-color: var(--primary); }
.lf-switch input:checked + .lf-switch-track::before { transform: translateX(18px); background: #fff; }

.lf-empty { text-align: center; padding: 60px 20px; color: var(--text2); }
.lf-empty-icon { font-size: 38px; margin-bottom: 12px; opacity: .6; }
.lf-empty-title { color: var(--text); font-weight: 600; margin-bottom: 6px; font-size: 15px; }

/* Toasts */
.lf-toasts { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.lf-toast {
  background: var(--surface2); border: 1px solid var(--border-lt); border-radius: var(--radius-sm); padding: 13px 16px;
  box-shadow: var(--shadow); font-size: 13.5px; display: flex; align-items: center; gap: 10px;
  animation: lf-toast-in .25s ease;
}
.lf-toast.error { border-color: rgba(248,113,113,.4); }
.lf-toast.success { border-color: rgba(52,211,153,.4); }
@keyframes lf-toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Modal */
.lf-modal-overlay { position: fixed; inset: 0; background: rgba(5,6,10,.7); backdrop-filter: blur(3px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; animation: lf-fade-in .15s ease; }
@keyframes lf-fade-in { from { opacity: 0; } to { opacity: 1; } }
.lf-modal { background: var(--surface); border: 1px solid var(--border-lt); border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow); }
.lf-modal-hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.lf-modal-body { padding: 22px 24px; }
.lf-modal-close { background: var(--surface2); border: 1px solid var(--border-lt); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text2); }
.lf-modal-close:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════════════
   LANDING PAGE
   ══════════════════════════════════════════════════════════════════════ */
.lf-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px,5vw,64px); max-width: 1280px; margin: 0 auto; }
.lf-logo { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: #fff; display: flex; align-items: center; gap: 9px; }
.lf-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--primary2)); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.lf-nav-actions { display: flex; gap: 10px; align-items: center; }

.lf-hero { max-width: 900px; margin: 0 auto; text-align: center; padding: clamp(50px,10vw,110px) 24px 40px; }
.lf-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--surface2); border: 1px solid var(--border-lt); padding: 6px 14px; border-radius: 20px; font-size: 12.5px; color: var(--text2); margin-bottom: 26px; }
.lf-hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.lf-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; font-weight: 800; }
.lf-hero h1 .grad { background: linear-gradient(135deg, var(--primary), var(--primary2) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lf-hero p { font-size: clamp(15px,2vw,18px); color: var(--text2); max-width: 560px; margin: 20px auto 34px; }
.lf-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lf-hero-actions .lf-btn { padding: 13px 26px; font-size: 15px; }

.lf-demo-bar {
  max-width: 640px; margin: 50px auto 0; display: flex; gap: 8px; background: var(--surface);
  border: 1px solid var(--border-lt); border-radius: var(--radius); padding: 8px; box-shadow: var(--glow);
}
.lf-demo-bar input { flex: 1; background: transparent; border: none; color: var(--text); padding: 10px 14px; font-size: 14px; }
.lf-demo-bar input:focus { outline: none; }

.lf-section { max-width: 1150px; margin: 0 auto; padding: 70px 24px; }
.lf-section-hd { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.lf-section-hd .eyebrow { color: var(--primary); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.lf-section-hd h2 { font-size: clamp(26px,4vw,36px); }
.lf-section-hd p { color: var(--text2); margin-top: 12px; font-size: 15px; }

.lf-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lf-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.lf-feature:hover { border-color: var(--border-lt); transform: translateY(-3px); }
.lf-feature-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 19px; }
.lf-feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.lf-feature p { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin: 0; }

.lf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.lf-step { position: relative; padding-left: 46px; }
.lf-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--border-lt); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 14px; }
.lf-step h4 { font-size: 15px; margin-bottom: 6px; }
.lf-step p { font-size: 13px; color: var(--text2); margin: 0; }

.lf-cta { text-align: center; background: var(--surface); border: 1px solid var(--border-lt); border-radius: var(--radius-lg); padding: 56px 30px; max-width: 780px; margin: 0 auto; box-shadow: var(--glow); }
.lf-cta h2 { font-size: clamp(24px,3.5vw,32px); margin-bottom: 14px; }
.lf-cta p { color: var(--text2); margin-bottom: 26px; }

.lf-footer { border-top: 1px solid var(--border); padding: 30px 24px; text-align: center; color: var(--text3); font-size: 13px; }

/* ══════════════════════════════════════════════════════════════════════
   AUTH VIEWS
   ══════════════════════════════════════════════════════════════════════ */
.lf-auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lf-auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--glow); }
.lf-auth-hd { text-align: center; margin-bottom: 26px; }
.lf-auth-hd .lf-logo { justify-content: center; margin-bottom: 18px; }
.lf-auth-hd h1 { font-size: 21px; margin-bottom: 6px; }
.lf-auth-hd p { color: var(--text2); font-size: 13.5px; margin: 0; }
.lf-auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--text2); }
.lf-auth-foot a { color: var(--primary); font-weight: 600; }
.lf-auth-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; color: var(--text3); font-size: 12px; }
.lf-auth-divider::before, .lf-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.lf-auth-error { background: var(--red-bg); border: 1px solid rgba(248,113,113,.3); color: #fca5a5; padding: 11px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
.lf-auth-forgot { text-align: right; margin: -8px 0 16px; }
.lf-auth-forgot a { font-size: 12.5px; color: var(--text2); }
.lf-auth-forgot a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════════════
   APP SHELL (dashboard)
   ══════════════════════════════════════════════════════════════════════ */
.lf-app { display: flex; min-height: 100vh; }
.lf-sidebar { width: 232px; flex-shrink: 0; background: var(--bg-soft); border-right: 1px solid var(--border); padding: 20px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.lf-sidebar .lf-logo { padding: 6px 8px 22px; }
.lf-nav-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; color: var(--text2); font-size: 13.5px; font-weight: 500; margin-bottom: 2px; transition: .15s; }
.lf-nav-link svg { flex-shrink: 0; opacity: .85; }
.lf-nav-link:hover { background: var(--surface2); color: var(--text); }
.lf-nav-link.active { background: var(--surface2); color: #fff; }
.lf-nav-link.active svg { color: var(--primary); opacity: 1; }
.lf-sidebar-spacer { flex: 1; }
.lf-sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid var(--border); margin-top: 10px; }
.lf-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary2)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; color: #fff; flex-shrink: 0; }
.lf-sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-sidebar-user-email { font-size: 11px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lf-main { flex: 1; min-width: 0; padding: 26px clamp(18px,3vw,40px) 60px; }
.lf-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 14px; flex-wrap: wrap; }
.lf-page-title { font-size: 21px; font-weight: 700; }
.lf-page-sub { color: var(--text2); font-size: 13px; margin-top: 3px; }
.lf-mobile-toggle { display: none; position: fixed; top: 16px; left: 16px; z-index: 160; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--surface2); border: 1px solid var(--border-lt); border-radius: 10px; color: var(--text); box-shadow: var(--shadow); }
.lf-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(5,6,10,.6); z-index: 99; }
.lf-sidebar-backdrop.open { display: block; }

.lf-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.lf-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.lf-stat-card .icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.lf-stat-card .val { font-size: 25px; font-weight: 800; font-family: var(--font-head); letter-spacing: -.5px; }
.lf-stat-card .lbl { font-size: 11.5px; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; font-weight: 600; }

/* ── Link creation form ─────────────────────────────────────────────── */
.lf-create-bar { display: flex; gap: 10px; margin-bottom: 22px; }
.lf-create-bar .lf-input { font-size: 14.5px; }

.lf-adv-toggle { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text2); cursor: pointer; padding: 8px 2px; user-select: none; }
.lf-adv-toggle svg { transition: transform .2s; }
.lf-adv-toggle.open svg { transform: rotate(90deg); }
.lf-adv-panel { display: none; padding: 18px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 8px; }
.lf-adv-panel.open { display: block; animation: lf-fade-in .15s ease; }
.lf-target-group { margin-bottom: 18px; }
.lf-target-group:last-child { margin-bottom: 0; }
.lf-target-group-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lf-target-group-hd .lf-label { margin: 0; }
.lf-chip-grid { display: flex; flex-wrap: wrap; gap: 7px; max-height: 130px; overflow-y: auto; padding: 2px; }
.lf-bot-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.lf-bot-toggle-row .t { font-size: 13.5px; font-weight: 600; }
.lf-bot-toggle-row .d { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ── Links list ─────────────────────────────────────────────────────── */
.lf-toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.lf-toolbar .lf-input { max-width: 260px; }
.lf-filter-pills { display: flex; gap: 6px; }
.lf-filter-pill { padding: 6px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--border-lt); color: var(--text2); }
.lf-filter-pill.active { background: var(--text); color: #0a0b10; border-color: var(--text); }

.lf-link-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 9px; transition: border-color .15s;
}
.lf-link-row:hover { border-color: var(--border-lt); }
.lf-link-row-main { flex: 1; min-width: 0; }
.lf-link-row-title { font-size: 14px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-link-row-url { font-size: 12.5px; color: var(--primary); margin-top: 3px; }
.lf-link-row-dest { font-size: 12px; color: var(--text3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-link-row-meta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.lf-link-row-clicks { text-align: center; min-width: 56px; }
.lf-link-row-clicks .n { font-size: 17px; font-weight: 700; font-family: var(--font-head); }
.lf-link-row-clicks .l { font-size: 10px; color: var(--text3); text-transform: uppercase; }
.lf-link-actions { display: flex; gap: 4px; }
.lf-icon-btn { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text2); background: transparent; border: 1px solid transparent; }
.lf-icon-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border-lt); }

/* ── Link stats view ────────────────────────────────────────────────── */
.lf-breakdown-list { display: flex; flex-direction: column; gap: 10px; }
.lf-breakdown-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lf-breakdown-label { width: 110px; flex-shrink: 0; color: var(--text2); display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-breakdown-bar-track { flex: 1; height: 8px; background: var(--surface3); border-radius: 6px; overflow: hidden; }
.lf-breakdown-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary2)); border-radius: 6px; }
.lf-breakdown-count { width: 40px; text-align: right; font-weight: 600; flex-shrink: 0; }

.lf-mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.lf-mini-chart-bar { flex: 1; background: var(--surface3); border-radius: 3px 3px 0 0; position: relative; min-height: 3px; }
.lf-mini-chart-bar .human { background: var(--primary); border-radius: 3px 3px 0 0; }
.lf-mini-chart-bar .bot { background: var(--red); opacity: .55; }

.lf-simple-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lf-simple-table th { text-align: left; color: var(--text3); font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.lf-simple-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text2); }
.lf-simple-table tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .lf-features { grid-template-columns: 1fr 1fr; }
  .lf-steps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 768px) {
  .lf-features { grid-template-columns: 1fr; }
  .lf-sidebar { position: fixed; left: -240px; top: 0; z-index: 100; transition: left .2s; box-shadow: var(--shadow); }
  .lf-sidebar.open { left: 0; }
  .lf-mobile-toggle { display: flex; }
  .lf-main { padding-top: 74px; }
  .lf-link-row { flex-wrap: wrap; }
  .lf-link-row-meta { width: 100%; justify-content: space-between; margin-top: 8px; }
  .lf-demo-bar { flex-direction: column; }
}
