/* Lots -> «Расчет лотов eBay» (ebay module, 2026-10-31) */
.eb-wrap { display: grid; gap: 16px; max-width: 1100px; }
.eb-card { display: grid; gap: 12px; }
.eb-card h2 { margin: 0; font-size: 18px; }
.eb-card p { margin: 0; }
.eb-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 84px; border: 2px dashed var(--border); border-radius: var(--radius); background: transparent; color: var(--muted); font: inherit; cursor: pointer; padding: 14px; text-align: center; }
.eb-drop:hover, .eb-drop.dropping { border-color: var(--primary); color: var(--primary); }
.eb-drop[disabled] { opacity: .6; cursor: progress; }
.eb-rules summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.eb-rules li { font-size: 13px; color: var(--muted); margin: 4px 0; }
.eb-data { display: grid; gap: 12px; }
.eb-data > p { margin: 0; }
.eb-reports { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.eb-rep { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 12px; display: grid; gap: 2px; font-size: 13.5px; }
.eb-rep.missing { box-shadow: none; border: 1px dashed var(--border); }
.eb-scroll { overflow-x: auto; }
.eb-table th, .eb-table td { white-space: nowrap; }
.eb-table th.num, .eb-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.eb-gap { font-size: 12px; color: var(--muted); white-space: normal; max-width: 360px; }
.eb-part td:first-child b::after { content: ' *'; color: var(--muted); }
.eb-people { display: grid; gap: 8px; }
.eb-people h3 { margin: 6px 0 0; font-size: 16px; }
.eb-people p { margin: 0; }
.eb-people-table input.eb-code { width: 76px; min-width: 0; padding: 5px 8px; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.eb-people-table input.eb-code:focus { outline: none; border-color: var(--primary); }
.eb-people-table input.eb-code.saving { opacity: .6; }
.eb-people-table input.eb-code.saved { background: #e7f6ec; }
.eb-months { margin: 2px 0 4px; }
.eb-people-table tr.eb-other td { background: #fafbfc; }
.eb-people-table th { white-space: normal; vertical-align: bottom; }
.eb-people-table th, .eb-people-table td { padding: 9px 10px; }
.eb-months-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.eb-months-bar .btn { display: inline-flex; align-items: center; gap: 6px; }
.eb-fill { display: grid; gap: 12px; }
.eb-fill p { margin: 0; }
.eb-fill-kinds { display: grid; gap: 6px; }
.eb-fill-kind { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.eb-fill-kind input { margin-top: 3px; }
.eb-fill-warn { background: #fff6e0; color: #8a5a00; border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.eb-fill-table tr.eb-fill-skip td { color: var(--muted); }
.eb-fill-table tr.eb-fill-change td { background: #f2f8ff; }
.eb-fill-warn[hidden] { display: none; }
.eb-rep.stale { box-shadow: none; border: 1px solid #f0c36d; background: #fffaf0; }
.eb-stale { color: #a86200; }
