.sale-entry { display: block; }
.sale-entry-line { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.sale-entry-line > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.sale-entry-total { flex-shrink: 0; text-align: right; }
.sale-entry-actions { margin-top: .35rem; }

.sale-picker > label { color: var(--muted); font-size: .76rem; font-weight: 690; }
.sale-picker-results { max-height: 12rem; margin: 0; padding: .15rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; list-style: none; }
.sale-picker-results li { display: grid; gap: .1rem; padding: .44rem .55rem; border-radius: 5px; cursor: pointer; overflow-wrap: anywhere; }
.sale-picker-results li:hover, .sale-picker-results li[aria-selected="true"] { background: var(--mint); }
.sale-picker-results strong { font-size: .82rem; }
.sale-picker-selected { padding: .34rem .54rem; border-radius: 6px; color: #285348; background: #e5f2eb; font-weight: 680; overflow-wrap: anywhere; }
.sale-picker [hidden], .sale-picker small:empty { display: none; }

.stock-drilldown { font-size: .8rem; }
.report-grid { display: grid; grid-template-columns: minmax(0,1fr) 4rem 6rem 8rem; align-items: center; gap: .55rem; padding: .57rem .45rem; }
.report-column-head { background: #f0f5f0; color: #4e6663; font-weight: 700; border-radius: 7px 7px 0 0; }
.report-number { text-align: right; font-variant-numeric: tabular-nums; }
.report-branch > summary { border-bottom: 1px solid #e6ede7; cursor: pointer; list-style: none; }
.report-branch > summary::-webkit-details-marker { display: none; }
.report-branch > summary:hover { background: #f0f5f1; }
.report-branch[open] > summary { background: #f3f8f4; }
.report-node-name { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 690; overflow-wrap: anywhere; }
.report-chevron { width: .45rem; height: .45rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); flex: none; margin-right: .13rem; }
.report-branch[open] > summary .report-chevron { transform: translateY(-.12rem) rotate(45deg); }
.report-children { padding-left: .55rem; border-left: 1px solid var(--line); }
.report-leaf { border-bottom: 1px solid #e6ede7; background: #fbfcfa; }
.report-leaf-name { min-width: 0; overflow-wrap: anywhere; }
.report-leaf-name small { display: block; margin-top: .09rem; }

@media (max-width: 600px) {
  .report-grid { grid-template-columns: minmax(0,1fr) 1.9rem 3.1rem 4.95rem; gap: .26rem; padding: .5rem .28rem; }
  .report-number { font-size: .73rem; overflow-wrap: anywhere; }
  .report-node-name { gap: .34rem; }
  .report-children { padding-left: .35rem; }
  .sale-picker-results li { min-height: 2.65rem; }
}
