.wdf-feed {
  --wdf-bg: #1b0702;
  --wdf-card: #2c0b03;
  --wdf-text: #fff3e5;
  --wdf-secondary: #f1d4c2;
  --wdf-muted: #d2af99;
  --wdf-accent: #ff9a4d;
  --wdf-gold: #ffd36a;
  --wdf-border: #63351f;
  width: 100%;
  max-width: 1240px;
  margin: 24px auto;
  padding: 20px 14px 14px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(231, 146, 83, .26);
  border-radius: 20px;
  background: var(--wdf-bg);
  color: var(--wdf-text);
  box-shadow: 0 14px 48px rgba(15, 3, 0, .3);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  isolation: isolate;
}

.wdf-feed *,
.wdf-feed *::before,
.wdf-feed *::after { box-sizing: border-box; }

.wdf-feed:focus-visible { outline: 2px solid #ffbd7b; outline-offset: 4px; }

.wdf-feed .wdf-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 6px 12px;
}

.wdf-feed .wdf-feed__title {
  display: block;
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 0 0 0 18px;
  border: 0;
  color: var(--wdf-text);
  font-size: 26px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}

.wdf-feed .wdf-feed__title-text { white-space: nowrap; }

.wdf-feed .wdf-feed__sample {
  display: inline-block;
  margin-left: 4px;
  color: var(--wdf-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: baseline;
  white-space: nowrap;
}

.wdf-feed .wdf-dot {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wdf-accent);
  box-shadow: 0 0 12px rgba(255, 154, 77, .4);
}

.wdf-feed .wdf-feed__title > .wdf-dot {
  position: absolute;
  top: .675em;
  left: 0;
  transform: translateY(-50%);
}

.wdf-feed .wdf-clock {
  color: var(--wdf-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wdf-feed .wdf-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wdf-feed .wdf-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 91px;
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--wdf-border);
  border-radius: 13px;
  background: var(--wdf-card);
  box-shadow: inset 0 1px 0 rgba(255, 222, 185, .035);
  animation: wdf-enter .32s ease-out both;
}

.wdf-feed .wdf-row--highlight {
  border-color: #b88737;
  background: linear-gradient(105deg, #361307 30%, #4a260d 76%, #593714 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .065);
}

.wdf-feed .wdf-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 196, 137, .35);
  border-radius: 12px;
  color: var(--wdf-text);
  box-shadow: inset 0 1px 5px rgba(255, 224, 185, .1), 0 3px 8px rgba(24, 5, 0, .25);
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
}

.wdf-feed .wdf-avatar--0 { background: linear-gradient(145deg, #a9491e, #6f230d); }
.wdf-feed .wdf-avatar--1 { background: linear-gradient(145deg, #93532a, #5f2a13); }
.wdf-feed .wdf-avatar--2 { background: linear-gradient(145deg, #87602c, #53340e); }
.wdf-feed .wdf-avatar--3 { background: linear-gradient(145deg, #9b3a24, #5d1c13); }
.wdf-feed .wdf-avatar--4 { background: linear-gradient(145deg, #76513a, #472416); }

.wdf-feed .wdf-row__main { min-width: 0; }

.wdf-feed .wdf-person {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
  margin: 0 0 2px;
  line-height: 1.45;
}

.wdf-feed .wdf-person__name {
  overflow-wrap: anywhere;
  color: var(--wdf-text);
  font-size: 15px;
  font-weight: 650;
}

.wdf-feed .wdf-person__phone {
  color: var(--wdf-secondary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wdf-feed .wdf-date {
  display: block;
  margin: 0 0 3px;
  color: var(--wdf-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
}

.wdf-feed .wdf-reference {
  display: block;
  color: #ffbd7b;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .25px;
  overflow-wrap: anywhere;
}

.wdf-feed .wdf-row__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 155px;
}

.wdf-feed .wdf-amount {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  color: var(--wdf-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wdf-feed .wdf-currency {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
}

.wdf-feed .wdf-row--highlight .wdf-amount {
  color: var(--wdf-gold);
  text-shadow: 0 0 14px rgba(255, 191, 78, .2);
}

.wdf-feed .wdf-highlight-icon {
  margin-left: 1px;
  color: #ffde87;
  font-size: 17px;
  text-shadow: 0 0 12px rgba(255, 183, 75, .4);
}

.wdf-feed .wdf-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.wdf-feed .wdf-status--pending {
  border-color: #8e662c;
  background: #4a2b0c;
  color: #ffe09a;
}

.wdf-feed .wdf-status--complete {
  border-color: #66753f;
  background: #2c321c;
  color: #dce9bc;
}

.wdf-feed--paused .wdf-dot { background: #b69177; box-shadow: none; }

.wdf-feed .wdf-empty {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed #8e5b3a;
  border-radius: 12px;
  color: var(--wdf-secondary);
  font-size: 14px;
  text-align: center;
}

@keyframes wdf-enter {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .wdf-feed { margin: 16px auto; padding: 16px 10px 12px; border-radius: 16px; }
  .wdf-feed .wdf-feed__header { margin-right: 3px; margin-left: 3px; }
  .wdf-feed .wdf-feed__title { font-size: 22px; }
  .wdf-feed .wdf-row { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 10px; padding: 12px; }
  .wdf-feed .wdf-avatar { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; border-radius: 10px; font-size: 21px; }
  .wdf-feed .wdf-row__main { grid-column: 2; }
  .wdf-feed .wdf-row__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
  .wdf-feed .wdf-person__name { font-size: 14px; }
  .wdf-feed .wdf-person__phone { font-size: 11px; }
  .wdf-feed .wdf-reference { font-size: 10px; letter-spacing: 0; }
  .wdf-feed .wdf-amount { gap: 4px; font-size: 15px; }
  .wdf-feed .wdf-currency { font-size: 10px; }
  .wdf-feed .wdf-status { padding: 3px 8px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .wdf-feed .wdf-row { animation: none; }
}
