.lf-tools,.lf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.lf-row,.lf-person{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e4eade;padding:12px 0;font-size:14px}.lf-row:last-child,.lf-person:last-child{border-bottom:0}.lf-row small,.lf-person small{display:block;color:#66766c;margin-top:3px;font-size:12px}.lf-row>:nth-child(2){margin-left:auto}.lf-amount{text-align:right;flex-shrink:0}.lf-person{width:100%;text-align:left}.lf-person>svg{width:15px;height:15px}.lf-total{margin-left:auto;font-weight:700}.lf-debt{color:#95431e}.lf-event h2{margin:12px 0 4px}.lf-event p{color:#586a5d}.lf-event .lf-tools{margin-bottom:0}.lf-summary{margin:14px 0}.lf-entries>.field{max-width:250px}.lf-copy{min-height:120px}.modal .field[hidden]{display:none}@media(max-width:480px){.lf-row{flex-wrap:wrap}.lf-amount{max-width:44%}.lf-row>.button{padding:6px 8px}.lf-tools .button{font-size:12px}}
.lf-owners{min-width:0;margin:12px 0;padding:10px 12px;border:1px solid #dce5d9;border-radius:10px}.lf-owners legend{padding:0 4px;font-weight:700}.lf-owner-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:2px 12px;max-height:13rem;overflow:auto;border-top:1px solid #e4eade;margin-top:6px;padding:6px 3px}.lf-owner-list .check{min-height:36px;margin:0}.lf-batch-total{margin:6px 0 0;font-size:.875rem;color:#4a6054}
.lf-movement-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.lf-movement-actions .button{min-height:36px;padding:6px 9px}
@media(max-width:600px){.lf-row:has(.lf-movement-actions){flex-wrap:wrap}.lf-movement-actions{width:100%;justify-content:flex-end}}

.lf-round { display: grid; gap: 16px; }
.lf-round-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  align-items: center;
  gap: 14px 20px;
  padding: clamp(16px, 2.8vw, 28px);
  border-radius: 16px;
  background: #102d22;
  color: #f5f8f2;
}
.lf-round-hero h2 { margin: 0; font: 800 clamp(27px, 4vw, 42px)/1 'Barlow Condensed', sans-serif; }
.lf-round-hero .field { margin: 0; color: inherit; }
.lf-round-hero select { background: #f4f7ef; color: #12281d; }
.lf-round-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.lf-round-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  background: #ffffff0c;
}
.lf-round-metric strong { font: 800 clamp(22px, 4vw, 34px)/1 'Barlow Condensed', sans-serif; overflow-wrap: anywhere; }
.lf-round-metric span { color: #d1e1d1; font-size: .74rem; }
.lf-round-metric.paid strong { color: #c7f481; }
.lf-round-metric.pending strong { color: #ffd69a; }
.lf-round-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.lf-round-filters .button { min-height: 40px; padding: 6px 9px; font-size: .84rem; }
.lf-round-filters [aria-pressed="true"] { border-color: #305d3a; background: #dff0ce; color: #153921; }
.lf-round-filters span, .lf-round-group h3 span { font-variant-numeric: tabular-nums; }
.lf-round-filters span { background: #152b2010; padding: 2px 6px; border-radius: 12px; }
.lf-round-actions summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  color: #234f32;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 750;
}
.lf-round-actions summary::-webkit-details-marker { display: none; }
.lf-round-actions summary svg { width: 16px; height: 16px; }
.lf-round-actions[open] summary svg:last-child { transform: rotate(180deg); }
.lf-round-actions .lf-tools { margin: 4px 0 0; }
.lf-round-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lf-round-group { min-width: 0; border: 1px solid #dce4d9; border-radius: 12px; background: #fff; overflow: hidden; }
.lf-round-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 13px 14px;
  background: #edf2e9;
  color: #263d2e;
  font-size: 1rem;
}
.lf-round-group h3 svg { width: 18px; height: 18px; flex: none; }
.lf-round-group h3 span { margin-left: auto; }
.lf-round-group.pending h3 { background: #fff1dc; color: #70401e; }
.lf-round-group.paid h3 { background: #e5f4d8; color: #264c2b; }
.lf-round-group.covered h3 { background: #e6f1e9; color: #285442; }
.lf-round-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
  margin: 0 14px;
  padding: 9px 0;
}
.lf-round-row + .lf-round-row { border-top: 1px solid #e9eee8; }
.lf-round-person { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 0; text-align: left; }
.lf-round-person:hover strong { text-decoration: underline; }
.lf-round-person .avatar, .lf-round-person > svg { width: 31px; height: 31px; flex: none; }
.lf-round-person span { min-width: 0; overflow-wrap: anywhere; }
.lf-round-person strong, .lf-round-values strong { font-size: .9rem; }
.lf-round-row small { display: block; color: #53695b; font-size: .76rem; }
.lf-round-values { text-align: right; font-variant-numeric: tabular-nums; }
.lf-round-values small { color: #864318; }
.lf-round-receive { grid-column: 1 / -1; justify-self: end; min-height: 36px; padding: 5px 8px; font-size: .76rem; }
@media (max-width: 760px) { .lf-round-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 530px) {
  .lf-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .lf-tabs button { min-height: 44px; padding: 6px; white-space: normal; line-height: 1.15; }
  .lf-round-hero { grid-template-columns: minmax(0, 1fr); }
  .lf-round-metric { padding: 8px; }
}
