/* Salary & Tax calculators (shared by every country page). */
.sal-countries { margin-bottom: 16px; }
.sal-picker { position: relative; display: inline-block; max-width: 100%; }
.sal-picker > summary { list-style: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--cat); background: var(--cat-tint); color: var(--cat-ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.sal-picker > summary::-webkit-details-marker { display: none; }
.sal-picker > summary::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sal-picker[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.sal-picker > summary:focus-visible { outline: 3px solid var(--cat); outline-offset: 2px; }
.sal-picker-k { font-weight: 600; }
.sal-picker-k::after { content: ":"; }
.sal-picker > summary strong { font-weight: 800; }
.sal-picker-body { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(420px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 24, 40, .14); padding: 10px; }
[dir="rtl"] .sal-picker-body { left: auto; right: 0; }
.sal-picker-q { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--surface); font-size: 15px; }
.sal-picker-list { list-style: none; margin: 0; padding: 0; max-height: min(360px, 60vh); overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px; }
.sal-picker-list a { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 40px; padding: 6px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink, inherit); }
.sal-picker-list a:hover, .sal-picker-list a:focus-visible { background: var(--cat-tint); color: var(--cat-ink); outline: none; }
.sal-picker-list a[aria-current="page"] { background: var(--cat-tint); color: var(--cat-ink); font-weight: 800; }
.sal-picker-mine { grid-column: 1 / -1; border-bottom: 1px solid var(--border); padding-bottom: 4px; margin-bottom: 4px; }
.sal-picker-none { margin: 8px 4px 2px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .sal-picker, .sal-picker > summary { width: 100%; } .sal-picker-body { position: static; width: 100%; margin-top: 6px; } }
.sal-form { display: flex; flex-direction: column; gap: 16px; }
.sal-form .field { font-size: 15px; font-weight: 700; }
.sal-form .actions { margin-top: 0; }
.sal-go { background: var(--cat); }
.sal-go:hover { background: var(--cat-ink); }
.sal-money { position: relative; display: block; }
.sal-money > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.sal-money input { width: 100%; padding-left: 52px; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
#gross { min-height: 48px; }
.sal-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.sal-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--cat); }
.sal-side { display: flex; flex-direction: column; gap: 14px; }
.sal-big > span { display: block; color: var(--cat-tint); font-size: 14px; font-weight: 600; }
.sal-big output { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 50px); letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.sal-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid #F0EDE6; font-variant-numeric: tabular-nums; }
.sal-row span:last-child { white-space: nowrap; }
.sal-row.minus span:last-child { color: var(--bad); }
.sal-row.plus span:last-child { color: var(--good); }
.sal-row.sub { font-weight: 600; }
.sal-row.total { border-top: 2px solid var(--border); border-bottom: 0; font-weight: 800; }
.sal-row.total span:last-child { color: var(--cat-ink); }
.sal-employer { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-variant-numeric: tabular-nums; }
.sal-employer div { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.sal-employer div span:first-child { color: var(--muted); font-weight: 600; }
.sal-employer .sal-etotal { margin-top: 8px; align-items: baseline; }
.sal-employer .sal-etotal span:first-child { color: var(--ink); font-weight: 700; }
.sal-employer .sal-etotal strong { font-family: var(--display); font-size: 22px; white-space: nowrap; }
.sal-bar { display: flex; height: 22px; border-radius: 999px; overflow: hidden; background: var(--soft); }
.sal-bar i { display: block; height: 100%; }
.sal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; }
.sal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sal-legend b { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sal-c-net { background: #067647; }
.sal-c-tax { background: #B54708; }
.sal-c-con { background: #2453FF; }
#results h2 { margin: 10px 0 4px; font-family: var(--display); font-size: 22px; letter-spacing: -.01em; }
#results .sal-lead { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.sal-scroll { overflow-x: auto; }
#results .table { font-size: 15px; }
#results .table th { font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--border); white-space: nowrap; }
#results .table td { white-space: nowrap; }
#results .table tr.sal-total td, #results .table tr.sal-total th { font-weight: 800; border-bottom: 0; }
.sal-notes { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.sal-notes li { margin: 4px 0; }
.sal-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #FFF4C2; color: #6B4E00; font-size: 14px; font-weight: 600; }
.sal-recent { margin: 6px 0 4px; padding: 0; list-style: none; font-size: 14px; }
.sal-recent li { padding: 6px 0; border-bottom: 1px solid #F0EDE6; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sal-recent button { border: 0; background: none; padding: 0; color: var(--primary-ink); font-weight: 600; cursor: pointer; text-align: left; min-height: 32px; }
.sal-recent small { color: var(--faint); }
.sal-taxfree small.note { display: block; margin-top: 4px; font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--muted); }
.sal-more { width: 100%; margin-top: 12px; justify-content: center; border: 2px solid var(--cat); background: var(--cat-tint); color: var(--cat-ink); font-weight: 700; }
