/* Screens of docs/precision.md: market confidence and sources on deal cards, in the sheet and
   on the market screen; the schedule line on search cards; the request budget; the confidence
   slider. Same tokens as style.css. */

/* confidence: a 40px bar and «уверенность 72%» */
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.conf-bar { display: inline-block; width: 40px; height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; flex: none; }
.conf-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.conf-hi { color: var(--good); }
.conf-hi .conf-bar i { background: var(--good); }
.conf-mid { color: var(--link); }
.conf-lo { color: var(--warn); }
.conf-lo .conf-bar i { background: var(--warn); }

.mkt-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 4px; font-size: 12px; color: var(--hint); }
.mkt-line .src { overflow-wrap: anywhere; min-width: 0; }
.mrow-main .mkt-line { margin-top: 4px; }
.sh-section .mkt-line { font-size: 13px; margin-top: 6px; }
.sh-section .conf { font-size: 13px; }
.region { font-size: 13px; color: var(--hint); margin-top: 6px; overflow-wrap: anywhere; }
.region b { color: var(--text); font-weight: 600; }

/* «мало данных о цене» explains itself */
.reasons li.low-reason { color: var(--warn); font-weight: 600; }
.low-data { margin-top: 8px; background: var(--warn-bg); color: var(--text); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.low-data b { display: block; color: var(--warn); font-size: 13px; }
.low-data p { margin: 3px 0 0; line-height: 1.35; overflow-wrap: anywhere; }
.low-data .btn.small { margin-top: 8px; min-height: 36px; font-size: 13px; padding: 4px 10px; }

/* schedule line on search cards and in the detail */
.sched { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--hint); line-height: 1.35; }
.sched > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.sched small { display: block; font-size: 12px; margin-top: 1px; }
.sched-ic { flex: none; }
.wrow-main .sched { margin-top: 2px; font-size: 12px; gap: 4px; }
.detail-head .sched { margin-top: 10px; font-size: 13px; }

/* request budget on the overview */
.budget { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.budget-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; }
.budget-head span { color: var(--hint); }
.budget-head b { font-size: 14px; }
.budget .budget-bar { margin: 6px 0 0; }
.budget.high .budget-bar i { background: var(--warn); }
.budget.full .budget-bar i { background: var(--danger); }
.budget small { display: block; color: var(--warn); font-size: 12px; margin-top: 4px; }

/* confidence slider in the deal settings */
.range-row { flex-wrap: wrap; }
.range-row output { font-weight: 700; min-width: 44px; text-align: right; }
.range-wrap { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hint); }
.range-wrap input[type="range"] { flex: 1; min-width: 0; height: 32px; accent-color: var(--accent); margin: 0; }
.sched-form .seg { min-width: 0; }
