.fee-shell { max-width: 1000px; }
.fee-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 12px; }
.fee-controls [hidden], #feeApp[hidden], #feeError[hidden] { display: none !important; }
.fee-table { width: 100%; border-collapse: collapse; line-height: 1.85; }
.fee-table th { background: #f1f5fa; color: #10254d; text-align: left; }
.fee-table th, .fee-table td { padding: 18px 20px; border-bottom: 1px solid #e1e6ef; vertical-align: top; }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.fee-hint { color: var(--muted); font-size: 14px; line-height: 1.7; }
.fee-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.fee-editor-row { display: grid; grid-template-columns: minmax(240px, 1fr) 180px 160px 100px; gap: 12px; align-items: end; padding: 18px 0; border-bottom: 1px solid #e1e6ef; }
.fee-editor-row .hf-field { margin: 0; }
.fee-editor-row.is-disabled { background: #f5f6f8; }
.fee-editor-row .hf-btn { min-height: 52px; }
.fee-editor-select { width: 100%; max-width: 360px; }
#feeAdminStatus { margin: 12px 0; }
@media (max-width: 900px) {
  .fee-controls { grid-template-columns: 1fr; gap: 8px; }
  .fee-table th, .fee-table td { padding: 12px 8px; }
  .fee-editor-row { grid-template-columns: 1fr 1fr; }
  .fee-editor-row .fee-name { grid-column: 1 / -1; }
}

#feeControls[hidden], #feeRuleHint[hidden] { display: none !important; }
