/* Fees module */
.fe-inline { display: inline; }
.fe-tight { margin-top: -6px; }
.fe-billing select, .fe-billing input { width: auto; min-width: 0; }
.fe-billing input[type=number] { max-width: 120px; }
.fe-panel .row + .row, .fe-panel .fe-line + .fe-line { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.fe-offer { background: var(--good-bg); border-radius: 10px; padding: 12px 14px; margin: 0 0 4px; }
.fe-menu { position: relative; }
.fe-menu > summary { list-style: none; cursor: pointer; }
.fe-menu > summary::-webkit-details-marker { display: none; }
.fe-menu-body { position: absolute; right: 0; z-index: 5; width: 260px; max-width: 80vw; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; box-shadow: 0 8px 24px rgba(16, 32, 31, .14); }
.fe-memo { background: #f3f6f5; border-radius: 8px; padding: 10px 12px; margin-top: 14px; }
.fe-date { display: flex; align-items: center; gap: 6px; }
.fe-date input { width: auto; }
.fe-mini { gap: 8px 24px; }
.fe-mini h4:first-child { margin-top: 0; }
@media (max-width: 600px) {
  .fe-panel .row.between > form, .fe-panel .row.between > form .btn { width: 100%; }
  .fe-statement .doc-table { font-size: .8rem; }
  .fe-statement .doc-table td:nth-child(2) { overflow-wrap: anywhere; }
  .fe-statement .doc-table th, .fe-statement .doc-table td { padding: 7px 4px; }
  .fe-date { flex: 1 1 140px; }
  .fe-date input { flex: 1; min-width: 0; }
}
