/* «Документация» и «Сводка документации» в карточке тендера (Т4-С, 2026-10-19a) — public/tender-docs.js */
.td-docs { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.td-docs[hidden] { display: none; }
.tdd-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tdd-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.td-docs .btn-like, .tds-box .btn-like { display: inline-flex; align-items: center; box-sizing: border-box; min-height: var(--btn-h-sm, 28px); padding: 3px 10px; font-size: 13px; font-weight: 600;
  border-radius: 8px; border: 1px solid #bcd8fb; background: var(--surface, #fff); color: var(--primary-dark, #1d4ed8); cursor: pointer; text-decoration: none; }
.td-docs .btn-like:hover, .tds-box .btn-like:hover { border-color: var(--primary, #2563eb); }
.tdd-urlrow { display: flex; gap: 6px; margin-top: 8px; }
.tdd-urlrow[hidden] { display: none; }
.tdd-urlrow input { flex: 1; min-width: 0; }
.tdd-msg { margin: 6px 0 0; }
.tdd-msg[hidden] { display: none; }
.tdd-scroll { overflow-x: auto; margin-top: 8px; }
.tdd-table td { vertical-align: top; }
.tdd-name { word-break: break-word; max-width: 360px; }
.tdd-warn { color: #b45309; }
.tdd-bad { color: #b91c1c; }
.tdd-ok { color: #15803d; }
.tdd-sumline { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tds-box { max-height: 92vh; overflow-y: auto; }
.tds-warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 8px; padding: 8px 10px; margin: 6px 0 8px; font-weight: 600; }
.tds-skip { background: #fef2f2; border-radius: 8px; padding: 6px 10px; margin: 6px 0; font-size: 13px; }
.tds-prob { margin: 6px 0; font-size: 13px; }
.tds-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-top: 8px; }
.tds-item { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin-top: 10px; }
.tds-items .tds-item { margin-top: 0; }
.tds-item h4 { margin: 0 0 4px; font-size: 14px; }
.tds-item p { margin: 2px 0; }
.tds-none p { color: var(--muted); }
.tds-q { margin: 4px 0 4px 6px; padding: 2px 8px; border-left: 3px solid #cbd5e1; font-size: 13px; color: #374151; }
.tds-src { font-size: 12px; color: var(--muted); }
a.tds-src { color: var(--primary, #2563eb); }
.tds-check { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tds-check input { flex: 1; min-width: 180px; }
@media (max-width: 600px) {
  .tds-items { grid-template-columns: 1fr; }
  .tdd-name { max-width: 200px; }
}
.tds-ed { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; line-height: 1.45; } /* 26.10: правка сводки */

/* 2026-11-04b: «🔎 Полный разбор» — public/tender-review.js */
.trv-verdict { margin: 8px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; }
.trv-g { background: #f0fdf4; border-color: #bbf7d0; }
.trv-y { background: #fffbeb; border-color: #fde68a; }
.trv-r { background: #fef2f2; border-color: #fecaca; }
.trv-sec { margin-top: 8px; }
.trv-sec > summary { cursor: pointer; font-weight: 600; }
.trv-item { margin: 6px 0; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.trv-done { opacity: .6; }
.trv-q { margin-top: 2px; font-style: italic; }
.trv-t td { vertical-align: top; }
html[data-theme="dark"] .trv-g { background: #052e16; } html[data-theme="dark"] .trv-y { background: #3a2a05; } html[data-theme="dark"] .trv-r { background: #3b0a0a; }
@media (max-width: 640px) { .trv-dop, .trv-dop tbody { display: block; width: 100% !important; min-width: 0 !important; } .trv-dop thead { display: none !important; } .trv-dop tr { display: block !important; border-bottom: 1px solid var(--border); padding: 6px 0; } .trv-dop td { display: block !important; white-space: normal !important; max-width: none !important; width: auto !important; padding: 2px 6px !important; border: 0 !important; } .trv-dop td:first-child { font-weight: 600; } }
