/* Screens of docs/intel.md: trust line and chips on cards, the «забронировано» ribbon, the
   item sheet blocks, the «Охота» segment, Avito-side filters. Same tokens as style.css. */

/* trust line */
.tr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin-top: 6px; font-size: 13px; color: var(--hint); overflow-wrap: anywhere; }
.tr-star { color: var(--text); font-weight: 600; white-space: nowrap; }
.tr-reply { white-space: normal; }
.tr-sep::before { content: "·"; margin: 0 6px; }
.tr-level { font-size: 12px; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.tr-level.good { background: var(--good-bg); color: var(--good); }
.tr-level.warn { background: var(--warn-bg); color: var(--warn); }
.tr-chip { white-space: normal; }
.tr-ok { color: var(--good); font-weight: 600; }

/* cards: reserved is greyed with a ribbon, low trust gets a warning border */
.item.is-reserved, .deal.is-reserved { opacity: 0.62; }
.item.is-reserved .thumb, .deal.is-reserved .thumb { filter: grayscale(1); }
.ribbon { position: absolute; left: 10px; top: 72px; z-index: 2; width: 84px; box-sizing: border-box; text-align: center; background: var(--hint);
  color: var(--card); font-size: 10.5px; font-weight: 700; line-height: 1; padding: 5px 2px; border-radius: 0 0 10px 10px; pointer-events: none; }
.deal > .ribbon { left: 12px; top: 62px; width: 72px; }
.item.trust-low, .deal.trust-low { box-shadow: inset 0 0 0 1.5px var(--warn); }
.deal.trust-low { box-shadow: inset 0 0 0 1.5px var(--warn); }
.hunt-tag { font-weight: 700; }

/* item sheet */
.sh-photo.is-reserved img { filter: grayscale(1); opacity: 0.7; }
.sh-photo .ribbon { left: 0; top: auto; bottom: 0; width: 100%; border-radius: 0; font-size: 13px; padding: 7px 4px; }
.tr-sec.tr-warn { box-shadow: inset 0 0 0 1.5px var(--warn); }
.tr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr-head .badge { font-size: 13px; padding: 5px 9px; }
.tr-score { color: var(--hint); font-size: 13px; }
.tr-sec .reasons { margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 7px 0; border-top: 1px solid var(--line); overflow-wrap: break-word; word-break: normal; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th { color: var(--hint); font-weight: 400; width: 44%; padding-right: 10px; }
.spec-table td { font-weight: 500; }
.spec-table tr.bad th, .spec-table tr.bad td { color: var(--bad); font-weight: 600; }
.sp-sub { margin: 12px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--section); font-weight: 600; }
.sp-defects { background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: 14px; }
.sp-defects ul { margin: 4px 0 0; padding-left: 18px; }
.sh-specs .spec-table + .sp-sub { margin-top: 14px; }
.sh-seller .badges { margin-top: 8px; }
.sh-intel:empty { display: none; }
.sh-intel > * + * { margin-top: 10px; }
.sh-desc summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 600; font-size: 14px; }
.sh-desc p { margin: 4px 0 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tr-fail { color: var(--danger); }
.banner.bargain { margin-bottom: 0; }

/* hunt */
.hunt-card .form-row { border-top: 0; padding-top: 0; }
.hunt-tiles { margin-top: 12px; grid-template-columns: 1fr 1fr; }
.hunt-tiles .tile { background: var(--bg); }
.hunt-niche small { display: block; color: var(--hint); font-size: 12px; margin-top: 2px; }
.hunt-niche small.wait { color: var(--warn); }
.hunt-niche > div { min-width: 0; flex: 1; }
.hunt-niche span:last-child { font-weight: 400; }
#hunt-box .btn.small { flex: none; min-height: 40px; }
