/* features.html — page-specific styles */

.feat-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.fn-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink-mid);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.fn-pill:hover {
  background: var(--accent-dim);
  color: var(--accent-txt);
  border-color: var(--accent);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 4px;
  background: var(--surface);
}

.mock-row:last-child { margin-bottom: 0; }

.mr-left { display: flex; align-items: center; gap: 10px; }

.mr-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-light);
  min-width: 50px;
}

.mr-label { font-weight: 700; color: var(--ink); }
.mr-sub { font-size: 11px; color: var(--ink-light); }

.mr-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  margin-bottom: 4px;
}

.timeline { display: flex; flex-direction: column; }

.tl-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.tl-row:last-child { border-bottom: none; }

.tl-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tl-icon.done { background: var(--teal); }
.tl-icon.active { background: var(--accent); }
.tl-icon.pending { background: transparent; border: 1.5px dashed var(--border); }
.tl-icon i { font-size: 11px; color: #fff; }
.tl-icon.pending i { color: var(--ink-light); }

.tl-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tl-sub { font-size: 11px; color: var(--ink-light); }

.tl-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-light);
  margin-left: auto;
  flex-shrink: 0;
}

.tl-row.muted { opacity: 0.38; }

.doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}

.doc-row:last-child { margin-bottom: 0; }

.doc-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon i { font-size: 14px; color: var(--accent-txt); }
.doc-icon.warn { background: var(--amber-dim); }
.doc-icon.warn i { color: var(--amber-txt); }
.doc-name { font-weight: 700; color: var(--ink); flex: 1; }
.doc-meta { font-size: 11px; color: var(--ink-light); }

.notif {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.notif:last-child { margin-bottom: 0; }

.notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ni-warn { background: var(--amber-dim); }
.ni-warn i { font-size: 15px; color: var(--amber-txt); }
.ni-info { background: var(--accent-dim); }
.ni-info i { font-size: 15px; color: var(--accent-txt); }
.ni-ok { background: var(--teal-dim); }
.ni-ok i { font-size: 15px; color: var(--teal-txt); }

.notif-title { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.notif-body { font-size: 11px; color: var(--ink-mid); line-height: 1.5; }

.notif-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-light);
  margin-left: auto;
  flex-shrink: 0;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.inv-from { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }
.inv-from strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.inv-to { text-align: right; font-size: 12px; color: var(--ink-mid); line-height: 1.6; }

.inv-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}

.inv-line span:last-child { font-family: var(--font-mono); }
.inv-line.total { font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: none; padding-top: 10px; }
.inv-line.margin { color: var(--teal-txt); }
