.tools-page{padding-bottom:clamp(96px,10vw,144px)}.tools-page:has(>.site-closing){padding-bottom:0}.ledger-preview .tools-header-link{color:var(--bc-accent);text-underline-offset:4px;text-decoration:underline 1px}.ledger-preview .tools-header-link:hover{color:var(--bc-accent-hover)}.tools-index-meta{color:var(--bc-text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;display:flex}.tools-pill{border-radius:var(--bc-radius-pill);align-items:center;padding:3px 9px;font-size:12px;line-height:1.5;display:inline-flex}.tools-pill-positive{background:var(--bc-positive-bg);box-shadow:inset 0 0 0 1px var(--bc-positive-ring);color:var(--bc-positive)}.tools-pill-warning{background:var(--bc-warning-bg);box-shadow:inset 0 0 0 1px var(--bc-warning-ring);color:var(--bc-warning)}@media (width>=901px){.tools-index .glossary-entries{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1040px}}.tools-index .glossary-entry{grid-template-rows:auto auto 1fr auto;gap:14px;padding:32px}.tools-index .glossary-entry h2{font-size:26px;line-height:1.18}.tools-index .glossary-entry-action{margin-top:28px}.tools-calculator{max-width:1240px;padding:clamp(40px, 5vw, 56px) var(--article-gutter) 0;margin:0 auto}.tool-workspace{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.tool-inputs,.tool-result{border-radius:var(--bc-radius-card);background:var(--bc-surface);box-shadow:var(--bc-shadow-card)}:root[data-theme=dark] .tool-inputs,:root[data-theme=dark] .tool-result{box-shadow:inset 0 0 0 1px var(--bc-line)}.tool-inputs{min-width:0;padding:4px 32px}.tool-group{padding:28px 0 32px}.tool-group+.tool-group{border-top:1px solid var(--bc-line)}.tool-group-head{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px;display:flex}.tool-inputs .tool-group-title{color:var(--bc-text);font:600 18px / 1.3 var(--bc-font-display);letter-spacing:-.02em;margin:0 0 16px}.tool-group-head .tool-group-title{margin:0}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.tool-field{align-content:start;gap:8px;min-width:0;display:grid}.tool-field-head{align-items:center;gap:4px;min-height:24px;display:flex;position:relative}.tool-field-label{color:var(--bc-text);font-size:14px;font-weight:500;line-height:1.4}.tool-help{display:inline-flex}.ledger-preview .tool-help-button{border-radius:var(--bc-radius-control);width:24px;height:24px;color:var(--bc-text-faint);transition:color var(--bc-duration-colour) ease;background:0 0;border:0;place-items:center;padding:0;display:grid}.ledger-preview .tool-help-button:hover,.ledger-preview .tool-help-button[aria-expanded=true]{color:var(--bc-text)}.tool-help-button svg{width:16px;height:16px}.ledger-preview .tool-help-button:focus-visible,.ledger-preview .tool-quiet-button:focus-visible,.ledger-preview .tool-link-button:focus-visible,.ledger-preview .tool-secondary-button:focus-visible,.ledger-preview .tool-dialog-close:focus-visible,.ledger-preview .tool-download:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.tool-help-bubble{z-index:30;border:1px solid var(--bc-line);border-radius:var(--bc-radius-tile);background:var(--bc-raised);width:min(300px,100vw - 64px);box-shadow:var(--bc-shadow-floating);color:var(--bc-text);text-align:left;padding:10px 12px;font-size:13px;font-weight:400;line-height:1.5;position:absolute;top:calc(100% + 6px);left:0}.tool-control{border:1px solid var(--bc-line-strong);border-radius:var(--bc-radius-control);background:var(--bc-surface);width:100%;min-width:0;min-height:44px;color:var(--bc-text);font:400 15px / 1.4 var(--bc-font-body);transition:border-color var(--bc-duration-colour) ease;margin:0;padding:10px 12px}.tool-control:hover{border-color:var(--bc-text-faint)}.tool-control:focus{outline:none}.tool-control:focus-visible{border-color:var(--bc-accent);outline:2px solid var(--bc-accent);outline-offset:1px}.tool-control::placeholder{color:var(--bc-text-faint)}:root[data-theme=dark] .tool-control{color-scheme:dark}.tool-control-figure{font-variant-numeric:tabular-nums}.tool-workspace .site-stepper{border-color:var(--bc-line-strong);border-radius:var(--bc-radius-control);background:var(--bc-surface);height:44px}.tool-workspace .site-stepper:hover{border-color:var(--bc-text-faint)}.tool-workspace .site-stepper input{font:400 15px / 1.4 var(--bc-font-body);font-variant-numeric:tabular-nums}.tool-select{display:block;position:relative}.tool-select select{appearance:none;cursor:pointer;padding-right:38px}.tool-select svg{width:16px;height:16px;color:var(--bc-text-muted);pointer-events:none;position:absolute;top:50%;right:12px;translate:0 -50%}.tool-group-note{color:var(--bc-text-muted);margin:16px 0 0;font-size:13px;line-height:1.55}.tool-error{color:var(--bc-negative);margin:12px 0 0;font-size:14px;line-height:1.5}.ledger-preview .tool-secondary-button{border:1px solid var(--bc-line-strong);border-radius:var(--bc-radius-control);background:var(--bc-surface);min-height:46px;color:var(--bc-text);transition:border-color var(--bc-duration-colour) ease;justify-content:center;align-items:center;gap:8px;padding:11px 20px;font-size:14px;line-height:1.5;display:inline-flex}.ledger-preview .tool-secondary-button:hover:not(:disabled){border-color:var(--bc-text-faint)}.tool-secondary-button svg{width:16px;height:16px;color:var(--bc-text-muted)}.ledger-preview .tool-secondary-button:disabled,.ledger-preview .tool-download:disabled{cursor:not-allowed;opacity:.5}.tool-add-button{margin-top:20px}.ledger-preview .tool-quiet-button{border-radius:var(--bc-radius-control);color:var(--bc-text-muted);transition:color var(--bc-duration-colour) ease;background:0 0;border:0;margin:-4px -6px;padding:4px 6px;font-size:13px;line-height:1.4}.ledger-preview .tool-quiet-button:hover{color:var(--bc-text)}.ledger-preview .tool-remove-button:hover{color:var(--bc-negative)}.tool-entries{border:1px solid var(--bc-line);border-radius:var(--bc-radius-tile);margin:0;padding:0;list-style:none}.tool-entries>li+li{border-top:1px solid var(--bc-line)}.tool-entries-empty{color:var(--bc-text-muted);padding:12px 16px;font-size:14px}.tool-entry{justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;display:flex}.tool-entry-text{min-width:0}.tool-entry-title{color:var(--bc-text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:500;overflow:hidden}.tool-entry-detail{color:var(--bc-text-muted);margin:2px 0 0;font-size:12.5px}.tool-entry-actions{flex-shrink:0;align-items:center;gap:14px;font-size:14px;display:flex}.tool-figure{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}.tool-result{min-width:0;padding:28px;position:sticky;top:96px}.tool-result-head{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.tool-result .tool-label{color:var(--bc-text-muted);font:400 11px / 1.5 var(--bc-font-mono);letter-spacing:.1em;text-transform:uppercase;margin:0}.ledger-preview .tool-link-button{border-radius:var(--bc-radius-control);color:var(--bc-accent);text-underline-offset:4px;background:0 0;border:0;flex-shrink:0;padding:0;font-size:13px;text-decoration:underline 1px}.ledger-preview .tool-link-button:hover{color:var(--bc-accent-hover)}.tool-result-total{color:var(--bc-text);font:500 clamp(44px, 4.4vw, 56px) / 1 var(--bc-font-display);font-variant-numeric:tabular-nums;letter-spacing:-.05em;margin:12px 0 0}.tool-result-meta{min-height:1.5em;color:var(--bc-text-muted);margin:12px 0 0;font-size:14px;line-height:1.5}.tool-table{border-collapse:collapse;width:100%;margin-top:24px;font-size:14px;line-height:1.45}.tool-table thead th{border-bottom:1px solid var(--bc-line);color:var(--bc-text-muted);font:400 10.5px / 1.4 var(--bc-font-mono);letter-spacing:.08em;text-align:left;text-transform:uppercase;padding:0 0 8px}.tool-table thead th:last-child,.tool-table td:last-child{text-align:right}.tool-table td,.tool-table tbody th{border-bottom:1px solid var(--bc-line);vertical-align:top;padding:10px 0}.tool-table td+td{padding-left:12px}.tool-table-title{color:var(--bc-text);display:block}.tool-table-detail{color:var(--bc-text-muted);margin-top:2px;font-size:12.5px;display:block}.tool-table .tool-table-empty{color:var(--bc-text-muted);text-align:left}.tool-summary{gap:10px;margin:20px 0 0;display:grid}.tool-summary>div{justify-content:space-between;gap:16px;font-size:14px;display:flex}.tool-summary dt{color:var(--bc-text-muted)}.tool-summary dd{color:var(--bc-text);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-weight:500}.tool-summary .tool-summary-total{border-top:1px solid var(--bc-line);margin-top:4px;padding-top:12px;font-weight:600}.tool-summary .tool-summary-total dt,.tool-summary .tool-summary-total dd{color:var(--bc-text);font-weight:600}.tool-summary .tool-summary-help{align-items:center;gap:2px;display:inline-flex;position:relative}.tool-summary-note{color:var(--bc-text-muted);margin:8px 0 0;font-size:12.5px;line-height:1.5}.tool-notice{border-radius:var(--bc-radius-tile);background:var(--bc-warning-bg);box-shadow:inset 0 0 0 1px var(--bc-warning-ring);color:var(--bc-warning);margin:16px 0 0;padding:10px 12px;font-size:13px;line-height:1.5}.ledger-preview .tool-download{width:100%;margin-top:24px}.ledger-preview .tool-download:disabled:hover{background:var(--bc-action)}.tool-download svg{width:18px;height:18px}.ledger-preview .tool-dialog{border:1px solid var(--bc-line);border-radius:var(--bc-radius-panel);background:var(--bc-raised);width:min(560px,100% - 32px);max-height:85vh;box-shadow:var(--bc-shadow-overlay);color:var(--bc-text);margin:auto;padding:0;overflow:auto}.ledger-preview .tool-dialog::backdrop{background:color-mix(in srgb, var(--bc-stage) 30%, transparent)}:root[data-theme=dark] .ledger-preview .tool-dialog::backdrop{background:color-mix(in srgb, var(--bc-canvas) 64%, transparent)}.tool-dialog-body{color:var(--bc-text-muted);padding:22px 28px 28px;font-size:14.5px;line-height:1.6}.tool-dialog-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.tool-dialog-head h2{color:var(--bc-text);font:600 22px / 1.25 var(--bc-font-display);letter-spacing:-.03em;margin:0}.tool-dialog-body h3{color:var(--bc-text);font:600 16px / 1.35 var(--bc-font-display);letter-spacing:-.015em;margin:22px 0 6px}.tool-dialog-body p{margin:10px 0 0}.ledger-preview .tool-dialog-body a{color:var(--bc-accent);text-underline-offset:4px;text-decoration:underline 1px}.ledger-preview .tool-dialog-body a:hover{color:var(--bc-accent-hover)}.ledger-preview .tool-dialog-close{border-radius:var(--bc-radius-control);width:36px;height:36px;color:var(--bc-text-muted);transition:background var(--bc-duration-colour) ease, color var(--bc-duration-colour) ease;background:0 0;border:0;flex-shrink:0;place-items:center;margin-right:-8px;padding:0;display:grid}.ledger-preview .tool-dialog-close:hover{background:var(--bc-subtle);color:var(--bc-text)}.tool-dialog-close svg{width:20px;height:20px}.tool-table-scroll{position:relative;overflow-x:auto}.tool-rates-table{margin-top:16px}.tool-rates-table tbody th{color:var(--bc-text);font-variant-numeric:tabular-nums;text-align:left;white-space:nowrap;padding-right:16px;font-weight:500}.tool-rates-table td{color:var(--bc-text)}.tool-rates-table tbody tr:last-child>*{border-bottom:0}.tool-dialog-body .tool-source{margin-top:16px;font-size:12.5px}.tools-guide{padding-top:clamp(72px,8vw,112px)}.article-body .tools-guide-table-detail,.article-table thead .tools-guide-table-detail{color:var(--bc-text-muted);font:400 12.5px / 1.4 var(--bc-font-body);letter-spacing:0;text-transform:none;margin-top:2px;display:block}.tools-history-table{min-width:640px}.tools-figure-cell{font-variant-numeric:tabular-nums;white-space:nowrap}.article-body .tools-source{color:var(--bc-text-muted);font-size:14px;line-height:1.6}.tools-rate-history{margin:8px 0 24px}.tools-rate-history-body{padding:0 2px 8px}.article-body .tools-rate-history-body p{color:var(--bc-text-muted);font-size:15px;line-height:1.65}.tools-promo-wrap{max-width:1240px;padding-inline:var(--article-gutter);margin:clamp(72px,8vw,112px) auto 0}.tools-promo{border-radius:var(--bc-radius-showcase);grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:clamp(32px,4vw,56px);padding:clamp(28px,4vw,56px);display:grid}.tools-promo .tools-promo-title{max-width:18ch;color:var(--bc-text);font:600 clamp(30px, 3vw, 42px) / 1.12 var(--bc-font-display);letter-spacing:-.045em;margin:0}.tools-promo-copy>p{max-width:500px;color:var(--bc-text-muted);margin:18px 0 0;font-size:16px;line-height:1.7}.tools-promo-feature{border-radius:var(--bc-radius-tile);background:var(--bc-subtle);max-width:500px;box-shadow:inset 0 0 0 1px var(--bc-line);align-items:flex-start;gap:12px;margin-top:24px;padding:16px 18px;display:flex}.tools-promo-feature>svg{width:22px;height:22px;color:var(--bc-text);flex:none;margin-top:1px}.tools-promo-feature h3{color:var(--bc-text);font:500 16px / 1.4 var(--bc-font-display);letter-spacing:-.02em;margin:0}.tools-promo-feature p{color:var(--bc-text-muted);margin:4px 0 0;font-size:14px;line-height:1.6}.tools-promo-actions{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.tools-promo-ticks{color:var(--bc-text-muted);flex-wrap:wrap;gap:8px 20px;margin:18px 0 0;padding:0;font-size:12.5px;list-style:none;display:flex}.tools-promo-ticks li{align-items:center;gap:7px;display:inline-flex}.tools-promo-ticks svg{color:var(--bc-accent)}.ledger-preview .tools-promo-ticks a{text-decoration:underline;text-decoration-color:var(--bc-line-strong);text-underline-offset:3px}.ledger-preview .tools-promo-ticks a:hover{color:var(--bc-text)}.tools-promo-visual{min-width:0;padding:clamp(20px,3vw,40px)}.tools-journey{border-radius:var(--bc-radius-panel);background:var(--bc-surface);box-shadow:inset 0 0 0 1px var(--bc-line), var(--bc-shadow-card);font-size:13px;overflow:hidden}.tools-journey-head{border-bottom:1px solid var(--bc-line);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.tools-journey-head strong{color:var(--bc-text);font:600 15px / 1.3 var(--bc-font-display);letter-spacing:-.015em;display:block}.tools-journey-source{color:var(--bc-text-faint);font:400 10.5px / 1.4 var(--bc-font-mono);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;margin-top:3px;display:inline-flex}.tools-journey-source svg{width:12px;height:12px}.tools-journey dl{margin:0}.tools-journey-row{border-bottom:1px solid var(--bc-line);grid-template-columns:112px minmax(0,1fr);gap:12px;padding:11px 18px;display:grid}.tools-journey-row dt{color:var(--bc-text-muted)}.tools-journey-row dd{color:var(--bc-text);font-variant-numeric:tabular-nums;margin:0}.tools-journey-route{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.tools-journey-route svg{width:14px;height:14px;color:var(--bc-text-faint)}.tools-journey-hint{color:var(--bc-text-muted);align-items:center;gap:5px;margin-left:8px;font-size:12px;display:inline-flex}.tools-journey-hint svg{width:13px;height:13px}.tools-journey-total{background:var(--bc-subtle);justify-content:space-between;align-items:baseline;gap:12px;padding:14px 18px;display:flex}.tools-journey-total span{color:var(--bc-text-muted)}.tools-journey-total strong{color:var(--bc-text);font:500 22px / 1 var(--bc-font-display);font-variant-numeric:tabular-nums;letter-spacing:-.03em}@media (width<=1000px){.tool-workspace{grid-template-columns:minmax(0,1fr)}.tool-result{position:static}.tools-promo{grid-template-columns:minmax(0,1fr)}.tools-promo-visual{max-width:620px}}@media (width<=640px){.tool-grid{grid-template-columns:minmax(0,1fr)}.tool-inputs{padding:0 20px}.tool-result{padding:22px 20px}.tool-entry{flex-direction:column;gap:6px}.tool-entry-title{white-space:normal}.tools-index .glossary-entry{padding:24px}.tools-promo{padding:28px 20px 20px}.tools-promo-visual{padding:16px}.tools-promo-actions>a{flex:auto}.tools-journey-row{grid-template-columns:88px minmax(0,1fr)}.tools-journey-hint{margin-left:0}}
