/*
  MirNova Hub — feed_filters.css
  Structural filter layout only.
  Visual layer lives in feed_filters_rebuild.css.
*/

.feed-view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.feed-view-toggle a {
  font-size: 11px;
  padding: 5px 9px;
  text-decoration: none;
}

.market-blurb-line {
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.feed-skill-wrap {
  margin-top: 2px;
  padding-top: 10px;
}

.feed-skill-wrap details {
  margin-top: 6px;
  padding-top: 6px;
}

.feed-skill-wrap summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  list-style: none;
}

.feed-skill-wrap summary::-webkit-details-marker {
  display: none;
}

.feed-skill-chip {
  font-size: 12px;
  padding: 6px 10px;
  text-decoration: none;
  display: inline-block;
}

.feed-skill-reset {
  margin-top: 8px;
  display: inline-block;
}

.hub-filter-placeholder {
  font-size: 11px;
  padding: 7px 9px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.hub-filter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-filter-block {
  padding-top: 10px;
}

.hub-filter-block:first-child {
  padding-top: 0;
}

.hub-filter-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.hub-filter-note {
  font-size: 11px;
  line-height: 1.35;
  margin: 6px 0 0;
}

.hub-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hub-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 13px;
  text-decoration: none;
  max-width: 100%;
}

.hub-filter-chip .x {
  opacity: 0.75;
}

.hub-filter-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hub-filter-actions button {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.hub-wf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hub-wf-btn {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.hub-wf-btn.is-active::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  opacity: 0.9;
}

/* Feed filters visual rules migrated from feed_filters_rebuild.css */

/* FEED FILTERS REBUILD — scoped visual only, do not touch drawer mechanics */

.hub-page .hub-sidebar--left.hub-panel {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  box-shadow: none;
  backdrop-filter: none;
}

.hub-page .hub-side-section,
.hub-page .hub-filter-block {
  background: transparent;
  border-color: #e5e5e5;
  box-shadow: none;
}

.hub-page .hub-side-section-title,
.hub-page .hub-filter-label {
  color: #333;
  opacity: 1;
}

.hub-page .hub-filter-note,
.hub-page .market-blurb-line {
  color: #666;
  opacity: 1;
}

.hub-page .feed-view-toggle a,
.hub-page .hub-filter-chip,
.hub-page .feed-skill-chip,
.hub-page .hub-wf-btn,
.hub-page .hub-filter-actions button,
.hub-page .hub-filter-actions a {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #bbb !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.hub-page .feed-view-toggle a.is-active,
.hub-page .feed-skill-chip.is-active,
.hub-page .hub-wf-btn.is-active,
.hub-page .hub-filter-actions button.is-primary {
  background: #f0f0f0 !important;
  color: #111 !important;
  border-color: #777 !important;
}

.hub-page .feed-view-toggle a:hover,
.hub-page .hub-filter-chip:hover,
.hub-page .feed-skill-chip:hover,
.hub-page .hub-wf-btn:hover,
.hub-page .hub-filter-actions button:hover,
.hub-page .hub-filter-actions a:hover {
  background: #f5f5f5 !important;
  color: #111 !important;
}

.hub-page .hub-filter-form input[type="text"],
.hub-page .hub-filter-form input:not([type]),
.hub-page .hub-filter-form select,
.hub-page .hub-filter-form textarea {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #bbb !important;
  box-shadow: none !important;
}

.hub-page .hub-filter-form input::placeholder,
.hub-page .hub-filter-form textarea::placeholder {
  color: #777 !important;
  opacity: 1 !important;
}

.hub-page .feed-skill-wrap summary {
  color: #111;
  opacity: 1;
}

/* mobile drawer: keep mechanics, only readable colors */
@media (max-width: 899px) {
  .hub-page .hub-drawer-open {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
  }

  .hub-page .hub-sidebar--left.hub-panel {
    background: #fff !important;
    color: #111 !important;
  }
}

/* Feed inline filter rules migrated from feed_inline_rebuild.css */

.hub-feed-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #bbb;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
}

.hub-feed-filter-caption {
  margin: 0 0 6px;
  font-size: 13px;
  color: #333;
  font-weight: 750;
}

.hub-feed-text-input {
  padding: 8px 10px;
  border: 1px solid #bbb;
  background: #fff;
  color: #111;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
}

.hub-feed-inline-chips {
  margin-bottom: 6px;
}

.hub-feed-skill-wrap-clean {
  border-top: 0;
  padding-top: 0;
}

.hub-feed-skill-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.hub-feed-hidden-note {
  display: none;
  margin-top: 8px;
}
