/* VAT Calculator. Only this tool's own pieces; everything else is the shared tool frame.
   Colours come from the site's variables only (tests/catalogue.test.mjs checks there are no hex values here). */

.vc-money { position: relative; display: flex; align-items: center; }
.vc-sym { position: absolute; left: 14px; font-size: 18px; color: var(--slate); pointer-events: none; }
.vc-amount { padding-left: 32px; font-size: 18px; font-variant-numeric: tabular-nums; }
.vc-pct { position: relative; display: flex; align-items: center; }
.vc-rate { padding-right: 34px; font-size: 18px; font-variant-numeric: tabular-nums; }
.vc-rate::placeholder { font-size: 16px; }
.vc-pct__sign { position: absolute; right: 14px; font-size: 18px; color: var(--slate); pointer-events: none; }
.vc-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vc-how .option__box { height: 100%; padding: 10px 12px; }
.vc-how .option__title { font-size: 15px; line-height: 1.25; }
.vc-how .option__sub { font-size: 13px; }
.vc-echo { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vc-echo:empty { display: none; }

/* The sheet: the answer large, then the three lines that always add up. */
.vc-empty { margin: 0; padding: 26px 0 14px; font-size: 15px; color: var(--steel); }
.vc-head { padding: 4px 0 14px; }
.vc-big { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vc-sub { margin: 6px 0 0; font-size: 15.5px; color: var(--slate); }
.vc-table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.vc-table th, .vc-table td { padding: 9px 0; border-bottom: 1px solid var(--silver); }
.vc-table th { text-align: left; font-weight: 500; color: var(--slate); }
.vc-table td { text-align: right; white-space: nowrap; padding-left: 12px; }
.vc-table .is-key th, .vc-table .is-key td { font-weight: 600; color: var(--graphite); }
.vc-note { margin: 14px 0 0; font-size: 13.5px; color: var(--slate); }
.vc-link { margin: 14px 0 0; font-size: 15px; }
.vc-link a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vc-link svg { width: 16px; height: 16px; vertical-align: -3px; }
