/* Serbest Meslek Makbuzu Hesaplama — sayfaya özel ek stiller */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.opts .rate-group { margin-bottom: 0; flex-direction: column; align-items: flex-start; gap: .5rem; }
.opts .rate-group legend { margin-bottom: .2rem; }
.opts-note { font-size: var(--step--1); margin: -.5rem 0 0; }

.breakdown { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: .25rem; }
.bd-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.bd-table th, .bd-table td { padding: .55rem .25rem; text-align: left; border-bottom: 1px solid var(--border); }
.bd-table th { font-weight: 500; color: var(--text-muted); }
.bd-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-table tr:last-child th, .bd-table tr:last-child td { border-bottom: 0; }
.bd-table tr.bd-total th { color: var(--text); font-weight: 700; }
.bd-table tr.bd-total td {
  color: var(--brand-strong); font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); font-weight: 800; letter-spacing: -.01em;
}
:root[data-theme="dark"] .bd-table tr.bd-total td,
:root[data-theme="auto"] .bd-table tr.bd-total td { color: var(--brand); }

.formula {
  background: var(--surface-2); border-left: 3px solid var(--brand);
  padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: var(--step-0);
}
.table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.tax-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.tax-table th, .tax-table td { padding: .55rem .75rem; text-align: left; border-bottom: 1px solid var(--border); }
.tax-table thead th { color: var(--text-muted); font-weight: 700; font-size: var(--step--1); }
.tax-table td:last-child, .tax-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
