/* ============================================================
   LegalShield Agent — Main Stylesheet (dark mode)
   Served as /static/app.css
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-base:     #080b12;
  --bg-surface:  #0d1117;
  --bg-elevated: #111827;
  --bg-card:     #0f1520;
  --border:      #1c2a42;
  --border-sub:  #141e30;
  --text-1:      #e2e8f0;
  --text-2:      #7c8fa8;
  --text-3:      #3d4f6a;
  --accent:      #3b82f6;
  --accent-h:    #2563eb;
  --accent-glow: rgba(59,130,246,.2);
  --accent-dim:  rgba(59,130,246,.07);
  --green:       #10b981;
  --green-dim:   rgba(16,185,129,.1);
  --yellow:      #f59e0b;
  --yellow-dim:  rgba(245,158,11,.1);
  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,.1);
  --orange:      #f97316;
  --orange-dim:  rgba(249,115,22,.1);
  --purple:      #8b5cf6;
  --purple-dim:  rgba(139,92,246,.1);
  --r-sm: 0.375rem;
  --r:    0.625rem;
  --r-lg: 0.875rem;
  --r-xl: 1rem;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Base ──────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none; z-index: 0;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

/* ── Navigation ─────────────────────────────────────────────── */
nav {
  background: rgba(8,11,18,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-sub);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; font-size: 1.1rem; color: var(--text-1); letter-spacing: -.02em; }
.logo-icon { width: 30px; height: 30px; background: linear-gradient(135deg,#3b82f6,#8b5cf6); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; box-shadow: 0 0 14px rgba(59,130,246,.3); }
.logo em { color: var(--accent); font-style: normal; }
.nav-pill { font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(59,130,246,.2); padding: 0.18rem 0.5rem; border-radius: 9999px; }

/* ── Main ───────────────────────────────────────────────────── */
main { padding: 2.5rem 0 5rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.625rem; transition: border-color .2s; }
.card:hover { border-color: #243050; }
.card-hd { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.125rem; padding-bottom: 0.875rem; border-bottom: 1px solid var(--border-sub); }
.card-hd-icon { width: 32px; height: 32px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.card-hd h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -.01em; }
.card-hd .ct { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.55rem; border-radius: 9999px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: var(--r); font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all .15s; white-space: nowrap; text-decoration: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-h); box-shadow: 0 0 18px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text-1); border-color: #253550; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover:not(:disabled) { background: #059669; box-shadow: 0 0 14px var(--green-dim); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.18rem 0.5rem; border-radius: 9999px; font-size: 0.68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-critical { background: rgba(239,68,68,.14);  color: #f87171; border: 1px solid rgba(239,68,68,.22); }
.badge-high     { background: rgba(249,115,22,.14); color: #fb923c; border: 1px solid rgba(249,115,22,.22); }
.badge-medium   { background: rgba(245,158,11,.14); color: #fbbf24; border: 1px solid rgba(245,158,11,.22); }
.badge-low      { background: rgba(16,185,129,.14); color: #34d399; border: 1px solid rgba(16,185,129,.22); }
.badge-info     { background: rgba(59,130,246,.14); color: #60a5fa; border: 1px solid rgba(59,130,246,.22); }
.badge-ok       { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.18); font-size: 0.62rem; }
.badge-ok::before { display: none; }

/* ── Finding Cards ───────────────────────────────────────────── */
.fc { background: var(--bg-elevated); border: 1px solid var(--border-sub); border-radius: var(--r-lg); padding: 0.875rem 1rem 0.875rem 1.125rem; margin-bottom: 0.5rem; position: relative; overflow: hidden; transition: border-color .15s; }
.fc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.fc.fc-sc::before { background: var(--red); }
.fc.fc-sh::before { background: var(--orange); }
.fc.fc-sm::before { background: var(--yellow); }
.fc.fc-sl::before { background: var(--green); }
.fc:hover { border-color: #253550; }
.fc-meta { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.fc-type { font-size: 0.8rem; font-weight: 600; }
.fc-conf { margin-left: auto; font-size: 0.68rem; color: var(--text-3); font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }
.fc-quote { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 0.7rem; color: var(--text-2); background: rgba(0,0,0,.2); border: 1px solid var(--border-sub); padding: 0.5rem 0.7rem; border-radius: var(--r-sm); margin-bottom: 0.5rem; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fc-lbl { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 0.15rem; }
.fc-txt { font-size: 0.8rem; color: var(--text-2); line-height: 1.55; }
.fc-row { margin-bottom: 0.4rem; }
.reg-chip { display: inline-flex; font-size: 0.65rem; color: var(--purple); background: var(--purple-dim); border: 1px solid rgba(139,92,246,.2); padding: 0.12rem 0.45rem; border-radius: 9999px; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }

/* ── Status Banners ──────────────────────────────────────────── */
.sb { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.1rem; border-radius: var(--r-lg); border: 1px solid; font-size: 0.85rem; font-weight: 500; }
.sb-done   { background: rgba(16,185,129,.07);  border-color: rgba(16,185,129,.22);  color: #34d399; }
.sb-failed { background: rgba(239,68,68,.07);   border-color: rgba(239,68,68,.22);   color: #f87171; }
.sb-proc   { background: rgba(59,130,246,.07);  border-color: rgba(59,130,246,.22);  color: #60a5fa; }
.sb-wait   { background: rgba(100,116,139,.06); border-color: rgba(100,116,139,.18); color: var(--text-2); }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes pdot   { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(59,130,246,.2); border-top-color: var(--accent); border-radius: 50%; animation: spin .65s linear infinite; flex-shrink: 0; }
.pdot span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 0 2px; animation: pdot 1.2s ease-in-out infinite; }
.pdot span:nth-child(2) { animation-delay: .2s; }
.pdot span:nth-child(3) { animation-delay: .4s; }
.fade-up { animation: fadeUp .25s ease; }

/* ── Forms ───────────────────────────────────────────────────── */
input[type="email"], input[type="tel"], textarea { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-1); border-radius: var(--r); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 0.875rem; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
input[type="email"], input[type="tel"] { padding: 0.5rem 0.8rem; }
input[type="email"]:focus, input[type="tel"]:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
input::placeholder { color: var(--text-3); }
textarea { padding: 0.875rem 1rem; min-height: 300px; resize: vertical; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 0.73rem; line-height: 1.6; }
label { font-size: 0.77rem; font-weight: 500; color: var(--text-2); display: block; margin-bottom: 0.3rem; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert { padding: 0.7rem 0.9rem; border-radius: var(--r); font-size: 0.8rem; border: 1px solid; display: flex; align-items: flex-start; gap: 0.5rem; }
.alert-ok  { background: rgba(16,185,129,.07); border-color: rgba(16,185,129,.22); color: #34d399; }
.alert-err { background: rgba(239,68,68,.07);  border-color: rgba(239,68,68,.22);  color: #f87171; }
.alert-tip { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.22); color: #fbbf24; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-1); padding: 0.8rem 1.1rem; border-radius: var(--r-lg); font-size: 0.825rem; font-weight: 500; box-shadow: 0 8px 32px rgba(0,0,0,.5); z-index: 999; display: flex; align-items: center; gap: 0.5rem; max-width: 340px; }
.toast-ok  { border-left: 3px solid var(--green); }
.toast-err { border-left: 3px solid var(--red); }

/* ── Misc ────────────────────────────────────────────────────── */
hr.div { border: none; border-top: 1px solid var(--border-sub); margin: 1.125rem 0; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }
[x-cloak] { display: none !important; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline-flex; }

/* ── Footer ──────────────────────────────────────────────────── */
footer { text-align: center; padding: 1.75rem 1.5rem; font-size: 0.75rem; color: var(--text-3); border-top: 1px solid var(--border-sub); position: relative; z-index: 1; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   Layout classes replacing inline `style` attributes (KNOWN_ISSUES #27).
   Inline styles cannot be overridden by a later rule, are invisible to
   the theme variables when hardcoded, and made the templates unreadable.
   ════════════════════════════════════════════════════════════════ */

/* ── Spacing utilities ───────────────────────────────────────── */
.mt-sm { margin-top: 0.75rem; }
.mt-xs { margin-top: 0.625rem; }
.mb-xs { margin-bottom: 0.625rem; }
.mb-sm { margin-bottom: 0.875rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.25rem; }
.mb-xl { margin-bottom: 2rem; }

/* ── Small shared pieces ─────────────────────────────────────── */
.hint { font-size: 0.825rem; color: var(--text-3); }
.section-lbl { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 0.5rem; }
.ct-risk { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.ct-tax  { background: rgba(245,158,11,.1); color: #fbbf24; border: 1px solid rgba(245,158,11,.2); }
.icon-risk    { background: rgba(239,68,68,.1); }
.icon-tax     { background: rgba(245,158,11,.1); }
.icon-draft   { background: rgba(139,92,246,.1); }
.sb-time { margin-left: auto; font-size: 0.7rem; opacity: .6; }
.sb-dots { margin-left: auto; }
.icon-dim { opacity: .5; }

/* ── Upload page ─────────────────────────────────────────────── */
.narrow { max-width: 640px; margin: 0 auto; }
.hero { text-align: center; margin-bottom: 2.5rem; padding-top: 0.5rem; }
.hero-pill { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent-dim); border: 1px solid rgba(59,130,246,.2); border-radius: 9999px; padding: 0.3rem 0.875rem; margin-bottom: 1.25rem; }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 6px var(--accent); animation: pdot 2s ease-in-out infinite; }
.hero-pill .lbl { font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 0.875rem; }
.hero .grad { background: linear-gradient(135deg,#3b82f6,#8b5cf6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-2); font-size: 0.875rem; max-width: 440px; margin: 0 auto; line-height: 1.65; }

.dropzone { border: 2px dashed var(--border); border-radius: var(--r-lg); padding: 2.25rem 1.5rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: var(--bg-elevated); }
/* Drag/selected feedback as classes, so app.js toggles state instead of
   rewriting a style string (the old `:style` expression did both at once). */
.dropzone.is-dragover { border-color: var(--accent); background: rgba(59,130,246,.05); }
.dropzone.has-file { border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.04); }
.dz-icon { width: 48px; height: 48px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.875rem; font-size: 1.375rem; background: var(--accent-dim); border: 1px solid rgba(59,130,246,.2); }
.dz-icon-ok { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.25); }
.dz-title { font-weight: 600; color: var(--text-1); margin-bottom: 0.3rem; }
.dz-title-ok { font-weight: 600; color: #34d399; margin-bottom: 0.2rem; }
.dz-sub { font-size: 0.775rem; color: var(--text-3); }
.visually-hidden-input { display: none; }

.upload-actions { margin-top: 0.875rem; display: flex; gap: 0.625rem; }
.upload-actions .btn-primary { flex: 1; justify-content: center; padding: 0.625rem; font-size: 0.875rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; margin-bottom: 2rem; }
.feature { padding: 0.875rem; text-align: center; }
.feature-icon { font-size: 1.25rem; margin-bottom: 0.4rem; }
.feature-name { font-size: 0.75rem; font-weight: 600; color: var(--text-1); margin-bottom: 0.2rem; }
.feature-desc { font-size: 0.68rem; color: var(--text-3); line-height: 1.4; }

/* ── Result page ─────────────────────────────────────────────── */
.page-hd { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.page-hd .btn { flex-shrink: 0; }
.page-hd-text { flex: 1; min-width: 0; }
.page-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-sub { font-size: 0.72rem; color: var(--text-3); margin-top: 0.2rem; }

.pending { text-align: center; padding: 3rem 1.5rem; color: var(--text-2); }
.pending-spinner { width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(59,130,246,.15); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 0 auto 1.125rem; }
.pending-title { font-weight: 600; color: var(--text-1); margin-bottom: 0.3rem; }
.pending-sub { font-size: 0.8rem; color: var(--text-3); }
.pending-failed { text-align: center; padding: 3rem; color: #f87171; }
.pending-failed .mark { font-size: 2.5rem; margin-bottom: 1rem; }
.pending-failed p { font-weight: 600; }

.changes { padding-left: 1.1rem; font-size: 0.8rem; color: var(--text-2); line-height: 1.65; }
.changes li { margin-bottom: 0.25rem; }

.send-row { display: flex; gap: 0.625rem; align-items: flex-end; flex-wrap: wrap; }
.send-row .field { flex: 1; min-width: 180px; }
.send-row .btn { flex-shrink: 0; }
.draft-actions { display: flex; gap: 0.5rem; margin-top: 0.625rem; }

/* ── WhatsApp popup ──────────────────────────────────────────── */
.wa-trigger { margin-top: 0.625rem; font-size: 0.78rem; }
.wa-badge { display: inline-flex; align-items: center; margin-left: 0.5rem; font-size: 0.75rem; color: var(--green); font-family: 'JetBrains Mono', ui-monospace, monospace; }
.wa-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.wa-popup { max-width: 420px; width: 100%; }
.wa-popup-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.wa-popup-hd h3 { font-size: 0.9375rem; font-weight: 600; }
.wa-close { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
.wa-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-2); cursor: pointer; margin-bottom: 0.75rem; }
.wa-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.wa-popup-actions { display: flex; gap: 0.5rem; margin-top: 0.875rem; }
.wa-banner { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; border-radius: var(--r); font-size: 0.8rem; border: 1px solid; margin-bottom: 0.875rem; }
.wa-banner-pending { background: rgba(16,185,129,.07); border-color: rgba(16,185,129,.22); color: #34d399; }
.wa-banner-sent { background: rgba(16,185,129,.07); border-color: rgba(16,185,129,.22); color: #34d399; }

/* ── Streaming skeleton ──────────────────────────────────────── */
.card-skeleton { opacity: .85; }
.skel-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.68rem; color: var(--text-3); margin-left: auto; }
.skel-badge .spinner { width: 12px; height: 12px; border-width: 2px; }
.skel-line { height: 10px; border-radius: 9999px; background: linear-gradient(90deg, var(--bg-elevated) 25%, #1a2540 50%, var(--bg-elevated) 75%); background-size: 200% 100%; animation: skelShimmer 1.4s ease infinite; margin-bottom: 0.5rem; }
.skel-w92 { width: 92%; }
.skel-w88 { width: 88%; }
.skel-w85 { width: 85%; }
.skel-w80 { width: 80%; }
.skel-w78 { width: 78%; }
.skel-w75 { width: 75%; }
.skel-w72 { width: 72%; }
.skel-w90 { width: 90%; }
.skel-w82 { width: 82%; }
@keyframes skelShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Risk score banner ───────────────────────────────────────── */
.risk-banner { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-lg); border: 1px solid; }
.risk-banner.score-low  { background: rgba(16,185,129,.07); border-color: rgba(16,185,129,.22); }
.risk-banner.score-med  { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.22); }
.risk-banner.score-high { background: rgba(239,68,68,.07);  border-color: rgba(239,68,68,.22); }
.risk-score { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.risk-score span { font-size: 0.85rem; font-weight: 600; opacity: .5; }
.score-low .risk-score  { color: #34d399; }
.score-med .risk-score  { color: #fbbf24; }
.score-high .risk-score { color: #f87171; }
.risk-label { flex: 1; min-width: 0; }
.risk-title { font-size: 0.85rem; font-weight: 700; }
.score-low .risk-title  { color: #34d399; }
.score-med .risk-title  { color: #fbbf24; }
.score-high .risk-title { color: #f87171; }
.risk-plain { font-size: 0.78rem; color: var(--text-2); margin-top: 0.15rem; line-height: 1.5; }

/* ── Font Awesome icons ────────────────────────────────────────
   Icons inherit size from their containers (dz-icon, feature-icon, etc.)
   which were previously sized for emoji glyphs. Colors restore the visual
   distinction the colored emoji used to provide. */
.logo-icon .fa-solid { font-size: 0.9rem; color: #fff; }
.dz-icon .fa-solid { font-size: 1.375rem; color: var(--accent); }
.dz-icon-ok .fa-solid { color: var(--green); }
.feature-icon .fa-solid { font-size: 1.25rem; }
.feature-icon .fa-magnifying-glass { color: #f87171; }
.feature-icon .fa-chart-column { color: #fbbf24; }
.feature-icon .fa-pen-to-square { color: #a78bfa; }
.card-hd-icon .fa-solid { font-size: 0.95rem; }
.icon-risk .fa-solid { color: #f87171; }
.icon-tax .fa-solid { color: #fbbf24; }
.icon-draft .fa-solid { color: #a78bfa; }
.sb .fa-solid { font-size: 1rem; flex-shrink: 0; }
.sb-done .fa-solid { color: #34d399; }
.sb-failed .fa-solid { color: #f87171; }
.sb-wait .fa-solid { color: var(--text-2); }
.alert .fa-solid { flex-shrink: 0; margin-top: 0.15rem; }
.alert-err .fa-solid { color: #f87171; }
.alert-tip .fa-solid { color: #fbbf24; }
.alert-ok .fa-solid { color: #34d399; }
.toast .fa-solid { font-size: 0.95rem; flex-shrink: 0; }
.toast-ok .fa-solid { color: var(--green); }
.toast-err .fa-solid { color: var(--red); }
.pending-failed .mark .fa-solid { font-size: 2.5rem; color: #f87171; }
.btn .fa-solid, .btn .fa-brands { font-size: 0.8rem; }
.wa-trigger .fa-brands { color: var(--green); }
.wa-badge .fa-solid { font-size: 0.7rem; }
.wa-banner .fa-brands { color: #34d399; flex-shrink: 0; }
.badge-ok .fa-solid { font-size: 0.6rem; }
.draft-actions .fa-solid { font-size: 0.8rem; }

