.view--feed {
  gap: 10px;
}

.feed-toolbar {
  display: grid;
  grid-template-columns: minmax(0, auto) auto minmax(280px, 1fr);
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.feed-filter__short {
  display: none;
}

.feed-toolbar__tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.feed-refill-mini {
  min-width: 190px;
  height: 36px;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.86);
}

.feed-refill-mini span {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 13px;
  font-weight: 800;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-refill-mini small {
  color: var(--muted);
  font-size: 11px;
  line-height: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-refill-mini.is-processing {
  border-color: rgba(14, 107, 87, 0.28);
  background: var(--good-bg);
}

.feed-refill-button {
  flex: 0 0 auto;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.feed-layout--user {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.feed-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.feed-refill-footer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px dashed rgba(14, 107, 87, 0.28);
  border-radius: var(--radius);
  background: rgba(238, 247, 241, 0.74);
}

.feed-refill-footer strong {
  font-family: var(--font-ui);
  color: var(--primary);
}

.feed-refill-footer p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.refill-loader {
  display: inline-flex;
  gap: 3px;
}

.refill-loader i {
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.3;
  animation: loading-pulse 820ms ease-in-out infinite;
}

.refill-loader i:nth-child(2) {
  animation-delay: 120ms;
}

.refill-loader i:nth-child(3) {
  animation-delay: 240ms;
}

.feed-inspector {
  position: sticky;
  top: calc(var(--topbar-size, var(--topbar)) + 20px);
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.inspector-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.inspector-panel h2 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.18;
}

.inspector-panel .panel-head {
  align-items: start;
}

.inspector-panel--plain {
  background: rgba(255, 253, 248, 0.78);
  box-shadow: none;
}

.inspector-panel--assistant {
  border-color: rgba(14, 107, 87, 0.18);
  background: #f7fbf6;
}

.assistant-card__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.assistant-card__head p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.inspector-panel--technical {
  gap: 9px;
}

.inspector-panel--technical summary {
  color: var(--primary);
  font-family: var(--font-ui);
  font-weight: 800;
  cursor: pointer;
}

.inspector-panel--technical:not([open]) {
  padding-block: 10px;
}

.inspector-panel--actions .button {
  width: 100%;
  justify-content: center;
}

.inspector-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.focus-steps {
  display: grid;
  gap: 8px;
}

.focus-step,
.focus-tender {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.focus-step {
  width: 100%;
  color: inherit;
  text-align: left;
}

.focus-step strong,
.focus-tender strong {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.2;
}

.focus-step.is-active {
  border-color: rgba(14, 107, 87, 0.28);
  background: var(--good-bg);
  color: var(--primary);
}

.focus-step span,
.focus-tender span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.focus-tender {
  width: 100%;
  color: inherit;
  text-align: left;
}

.focus-step:hover,
.focus-tender:hover {
  border-color: #bdd2dc;
  background: var(--ai-bg);
}

.weight-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  font-family: var(--font-ui);
  color: var(--primary);
}

.weight-line span {
  color: var(--ink);
}

.weight-line i {
  grid-column: 1 / -1;
}
