:root{color-scheme:light;--ink:#172321;--muted:#56635e;--paper:#f6f4ec;--surface:#fffefa;--line:#cbd2cb;--teal:#176b66;--accent:#b44236;font-family:"Aptos","Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}a{color:inherit;text-underline-offset:3px}button,a,select,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}:focus-visible{outline:3px solid #176b66;outline-offset:4px}.skip-link{position:absolute;top:-80px;padding:16px;background:white;z-index:5}.skip-link:focus{top:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.masthead{max-width:1280px;margin:auto;min-height:90px;padding:22px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.masthead img{width:240px;height:auto;display:block}.masthead>a:last-child{font-size:14px;font-weight:650;text-decoration:none}.masthead>a:last-child span{margin-left:8px}
.workspace{max-width:1200px;margin:0 auto;padding:48px 40px 64px;display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:64px;align-items:start}.setup{padding-top:5px}.back-link{font-size:13px;color:var(--muted);text-decoration:none}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;text-transform:uppercase}.setup>.eyebrow{margin:36px 0 13px;color:var(--accent)}h1{font-size:44px;font-weight:760;letter-spacing:-1.8px;line-height:1.06;margin:0 0 18px}.intro{font-size:17px;line-height:1.55;color:var(--muted);margin:0 0 32px}.settings>label,legend{font-size:14px;font-weight:700}select{appearance:auto;width:100%;border:1px solid #939e97;border-radius:5px;background:var(--surface);min-height:52px;padding:0 12px;margin-top:9px;font-size:16px;color:var(--ink)}fieldset{margin:24px 0 20px;padding:0;border:0;min-width:0}legend{margin-bottom:10px}.format-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.format-options label{position:relative;display:flex;align-items:center;gap:8px;padding:13px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);cursor:pointer}.format-options label:has(:checked){border-color:var(--teal);background:#eaf2ec;box-shadow:inset 0 0 0 1px var(--teal)}input{accent-color:var(--teal);margin:0;width:16px;height:16px;flex-shrink:0}.format-options strong{font-size:14px;display:block}.format-options small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.primary{width:100%;min-height:52px;border:1px solid var(--teal);border-radius:5px;background:var(--teal);color:white;font-weight:700}.primary:hover{background:#0e5753}.help{font-size:12px;color:var(--muted);line-height:1.5}.settings>.help{text-align:center;margin:10px 0 17px}.secondary-actions{display:flex;justify-content:space-between;gap:12px}.secondary-actions button,.rate-info button{min-height:44px;padding:0;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;color:var(--ink);font-size:13px;font-weight:650}.status{font-size:13px;line-height:1.4;color:var(--teal);margin:8px 0;min-height:18px;overflow-wrap:anywhere}.rate-info{padding:20px 0 14px;border-top:1px solid var(--line);margin-top:12px}.rate-info>p:first-child{font-size:13px;line-height:1.5;margin:0}.rate-info button{min-height:36px;color:var(--teal)}details{font-size:13px;line-height:1.6;border-top:1px solid var(--line);padding-top:16px;color:var(--muted)}summary{cursor:pointer;color:var(--ink);font-weight:650;min-height:32px}
.preview{min-width:0;padding:0 20px 24px;background:#eaece4;border-radius:8px}.preview-caption{max-width:620px;margin:0 auto;display:flex;justify-content:space-between;gap:10px;padding:18px 0;color:var(--muted);font-size:10px;letter-spacing:1px;font-weight:700}.preview-caption span:last-child{letter-spacing:0;font-weight:500}.sheet{width:100%;max-width:420px;margin:auto;background:white;border:1px solid #cbd2cb;box-shadow:0 8px 24px #1723210c;padding:25px;color:#172321}.sheet-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.sheet-header .eyebrow{font-size:7px;letter-spacing:1px;margin:0 0 10px}.sheet-header h2{font-size:40px;letter-spacing:-1.4px;line-height:1;margin:0}.sheet-header h2 span{font-size:15px;font-weight:500;letter-spacing:0;color:var(--accent);margin-left:6px}.sheet-header>div>p:last-child{font-size:11px;margin:9px 0 0}.sheet-header img{width:62px;height:62px;object-fit:contain}.rate-banner{margin:20px 0;padding:12px 14px;background:#eaf2ec;border-left:3px solid var(--teal);display:flex;flex-direction:column;gap:5px}.rate-banner span{font-size:10px;color:#3f5750}.rate-banner strong{font-size:23px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}h3{font-size:14px;margin:0 0 10px;font-weight:750}.amount-section table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.amount-section th{font-size:10px;text-align:left;color:var(--muted);font-weight:600;padding:0 0 8px;border-bottom:1px solid #172321}.amount-section th:last-child,.amount-section td:last-child{text-align:right}.amount-section td{font-size:18px;padding:7px 0;border-bottom:1px solid #e6e9e4;line-height:1.3}.amount-section td:last-child{font-weight:650}.amount-section tr.is-anchor td{color:var(--teal);font-weight:750}.amount-section td .approx{font-size:12px;font-weight:400;color:var(--muted);margin-right:7px}.cash-section{margin-top:22px}.section-help{font-size:10px;color:var(--muted);margin:-4px 0 12px}.notes{display:grid;gap:10px}.note{display:grid;grid-template-columns:124px 1fr;gap:15px;align-items:center}.note-art{position:relative;aspect-ratio:2.1;overflow:hidden;border:1px solid #697d805c;border-radius:8px}.note-art img{width:100%;height:100%;object-fit:cover;display:block}.note-art>span{position:absolute;right:7px;top:14px;color:#203d43;font-weight:800;font-size:18px;text-shadow:0 1px 2px #fff9}.note>div:last-child strong{display:block;font-size:14px}.note>div:last-child span{display:block;font-size:15px;margin-top:3px;font-weight:600;color:var(--teal)}.coin-guide{margin-top:18px;padding-top:12px;border-top:1px solid #d8ded7}.coin-guide h3{font-size:12px;margin-bottom:7px}.coin-guide>p{font-size:12px;margin:0;line-height:1.6}.coin-guide .coin-reference{font-size:11px;color:var(--muted);margin-top:4px}.sheet-footer{margin-top:19px;padding-top:12px;border-top:1px solid #172321}.sheet-footer p{font-size:8px;line-height:1.5;color:#56635e;margin:2px 0}.sheet-footer>div{display:flex;justify-content:space-between;gap:8px;font-size:8px;margin-top:12px}.sheet-footer strong{color:var(--teal)}.preview-note{text-align:center;color:var(--muted);font-size:11px;margin:19px 0 0}
.sheet[data-format=print]{max-width:620px;aspect-ratio:210/297;padding:30px}.sheet[data-format=print] .sheet-content{display:grid;grid-template-columns:1fr 1fr;gap:25px}.sheet[data-format=print] .cash-section{margin-top:0}.sheet[data-format=print] .note{grid-template-columns:1fr;gap:6px}.sheet[data-format=print] .note-art{max-width:150px}.sheet[data-format=print] .note>div:last-child{display:flex;justify-content:space-between;gap:4px;align-items:baseline}.sheet[data-format=print] .note>div:last-child strong,.sheet[data-format=print] .note>div:last-child span{font-size:12px}.sheet[data-format=print] .sheet-footer{margin-top:30px}.sheet[data-format=print] .amount-section td{padding:13px 0;font-size:17px}
@media(min-width:1250px){.workspace{gap:86px}.preview{padding-inline:28px}}
@media(max-width:850px){.workspace{gap:28px;padding:32px 24px;grid-template-columns:minmax(245px,300px) minmax(0,1fr)}h1{font-size:36px}.preview{padding-inline:12px}.sheet{padding:19px}.sheet-header img{width:48px;height:48px}.note{grid-template-columns:105px 1fr;gap:10px}.note-art>span{font-size:16px;top:12px}.sheet[data-format=print] .sheet-content{grid-template-columns:1fr}.sheet[data-format=print] .cash-section{margin-top:22px}.sheet[data-format=print] .note{grid-template-columns:110px 1fr}.sheet[data-format=print] .note>div:last-child{display:block}.sheet[data-format=print]{padding:20px}.masthead{padding:20px 24px}}
@media(max-width:640px){.masthead{min-height:72px;padding:17px 20px;gap:12px}.masthead img{width:183px}.masthead>a:last-child{font-size:11px;max-width:90px;text-align:right}.workspace{display:flex;flex-direction:column;gap:25px;padding:25px 16px 40px}.setup{width:100%;padding:0 4px}.setup>.eyebrow{margin:24px 0 12px}h1{font-size:40px;max-width:400px}.intro{font-size:16px;max-width:470px;margin-bottom:24px}.preview{width:100%;padding:0 12px 20px}.sheet{padding:21px}.rate-info{padding-bottom:8px}.rate-info .help{margin-bottom:8px}details{margin-top:0}.sheet[data-format=print] .sheet-content{grid-template-columns:1fr}.sheet-header img{width:60px;height:60px}.note{grid-template-columns:120px 1fr}.sheet-header h2{font-size:37px}.preview-note{font-size:10px}}
@media print{@page{size:A4;margin:12mm}body{background:white}.masthead,.setup,.preview-caption,.preview-note,.skip-link,noscript{display:none!important}.workspace{display:block;margin:0;padding:0;max-width:none}.preview{padding:0;background:white}.sheet,.sheet[data-format=print]{max-width:none;width:100%;border:0;box-shadow:none;padding:5mm;aspect-ratio:auto}.sheet .sheet-content{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12mm!important}.sheet .cash-section{margin-top:0!important}.sheet .note{display:block!important;margin-bottom:6mm}.sheet .note-art{max-width:60mm!important}.sheet .note>div:last-child{display:flex!important;justify-content:space-between;margin-top:2mm}.sheet .amount-section td{font-size:18pt;padding:4mm 0}.sheet h3{font-size:13pt}.sheet .sheet-header h2{font-size:38pt}.sheet .sheet-footer p{font-size:8pt}.sheet .sheet-footer>div{font-size:8pt}.sheet .sheet-footer{margin-top:12mm}.sheet .rate-banner{border:1px solid #88998e}.sheet .sheet-header>div>p:last-child{font-size:11pt}.sheet .note>div:last-child strong,.sheet .note>div:last-child span{font-size:12pt}.sheet .coin-guide p{font-size:10pt}a{text-decoration:none}.sheet{break-inside:avoid}}
/* Keep the reference card ahead of supporting explanations on small screens. */
@media screen and (min-width:641px){.workspace{row-gap:0;grid-template-rows:min-content 1fr}.setup{grid-column:1;grid-row:1}.support{grid-column:1;grid-row:2}.preview{grid-column:2;grid-row:1 / span 2}}
.currency-stamp{font-size:13px;letter-spacing:1px;color:var(--accent);font-weight:750;border:1px solid #d7b0a9;padding:8px 9px;border-radius:3px}
@media(max-width:640px){.setup{order:1}.preview{order:2}.support{order:3;width:100%;padding:0 4px}.rate-info{margin-top:0}.setup>.back-link{display:none}.setup>.eyebrow{margin-top:5px}.settings>.status:empty{display:none}}
@media print{.support{display:none!important}}
.coin-strip{display:block;width:100%;height:auto;margin:6px 0}.sheet[data-format=print] .coin-strip{margin:10px 0}@media print{.coin-strip{max-width:80mm}}
/* Expanded quick-reference tables: preserve reading size as the list grows. */
.sheet-sidebar{min-width:0;margin-top:24px}.reverse-section{margin-bottom:24px}.reverse-section td:last-child{color:var(--teal)}.reverse-section .section-help{margin-bottom:12px}
.sheet[data-format=print] .sheet-sidebar{margin-top:0}.sheet[data-format=print] .amount-section td{padding:5px 0;font-size:15px}.sheet[data-format=print] .cash-section{margin-top:24px}.sheet[data-format=print] .note{grid-template-columns:100px minmax(0,1fr);gap:9px}.sheet[data-format=print] .note>div:last-child{display:block}.sheet[data-format=print] .note>div:last-child span{font-size:11px}.sheet[data-format=print] .notes{gap:12px}
@media screen and (max-width:850px){.sheet[data-format=print] .sheet-sidebar{margin-top:24px}.sheet[data-format=print] .amount-section td{font-size:18px;padding:7px 0}}
@media print{.sheet .sheet-sidebar{margin-top:0!important}.sheet .amount-section td{font-size:11pt!important;padding:1.8mm 0!important;line-height:1.2}.sheet .reverse-section td{font-size:10pt!important;padding:1.5mm 0!important}.sheet .cash-section{margin-top:5mm!important}.sheet .note{display:grid!important;grid-template-columns:32mm minmax(0,1fr)!important;gap:3mm!important;margin-bottom:2mm!important}.sheet .note>div:last-child{display:block!important;margin-top:0}.sheet .note>div:last-child strong,.sheet .note>div:last-child span{font-size:9pt!important}.sheet .sheet-header h2{font-size:30pt}.sheet .sheet-footer{margin-top:6mm}.sheet .sheet-footer p{font-size:7pt}.sheet .coin-guide{margin-top:3mm;padding-top:3mm}.sheet .coin-guide p{font-size:8pt}.sheet .reverse-section{margin-bottom:4mm}.sheet .notes{gap:2mm}.sheet .rate-banner{margin:4mm 0}.sheet .section-help{font-size:8pt}}
.sheet-header .sheet-brand{display:block;width:190px;max-width:100%;height:auto;object-fit:contain;margin:0 0 10px}.sheet-header .eyebrow{margin-bottom:10px}@media print{.sheet-header .sheet-brand{width:55mm;height:auto}}
.note-art{aspect-ratio:var(--note-ratio,2.1)}
.country-detail{font-size:11px;line-height:1.5;color:var(--muted);margin:12px 0}
.sheet .notes{--note-max-height:180px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;align-items:end}
.sheet .notes .note{display:block;min-width:0}
.sheet .notes .note-art{width:100%;max-width:none;aspect-ratio:var(--note-ratio);border:0}
.sheet .notes .note-art img{object-fit:contain}
.sheet .notes[data-portrait=true] .note-art{width:min(100%,calc(var(--note-max-height) * var(--note-ratio)));margin-inline:auto}
.sheet .notes .note-art>span{top:auto;bottom:12px;right:6px;font-size:14px}
.sheet .notes .note>div:last-child{display:block;margin-top:8px;text-align:center}
.sheet .notes .note>div:last-child strong,.sheet .notes .note>div:last-child span{font-size:12px;overflow-wrap:anywhere}
.sheet[data-format=print] .notes{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;--note-max-height:120px}
.sheet[data-format=print] .notes .note>div:last-child strong,.sheet[data-format=print] .notes .note>div:last-child span{font-size:10px}
.sheet-header h2{overflow-wrap:anywhere}
@media screen and (max-width:850px){.sheet[data-format=print] .notes{grid-template-columns:repeat(2,minmax(0,1fr));--note-max-height:180px}.sheet[data-format=print] .notes .note>div:last-child strong,.sheet[data-format=print] .notes .note>div:last-child span{font-size:12px}}
@media print{.sheet .notes{grid-template-columns:repeat(3,minmax(0,1fr))!important;--note-max-height:40mm!important;gap:4mm 2mm!important}.sheet .notes .note{display:block!important;margin-bottom:0!important}.sheet .notes .note-art{max-width:none!important;height:auto!important}.sheet .notes .note>div:last-child{display:block!important;margin-top:2mm!important}.sheet .notes .note>div:last-child strong,.sheet .notes .note>div:last-child span{font-size:7pt!important}}

.note-series{display:block;margin-top:4px;color:#56635e;font-size:9px;line-height:1.35}
.settings>.currency-picker{margin-top:9px}
.card-help{border-top:1px solid var(--line);padding-top:16px;font-size:13px;line-height:1.6;color:var(--muted)}.card-help h2{margin:0 0 8px;font-size:13px;line-height:1.6;font-weight:650;color:var(--ink)}.card-help p{margin:0}
.cheat-language-switcher{position:relative;flex-shrink:0;font-size:12px;z-index:5}.cheat-language-switcher details{margin:0;padding:0;border:0}.cheat-language-switcher summary{padding:8px;cursor:pointer;font-size:12px;font-weight:650}.cheat-language-switcher details>div{position:absolute;right:0;top:100%;min-width:160px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:6px;box-shadow:0 8px 25px #17232118}.cheat-language-switcher a{display:block;padding:12px;text-decoration:none;border-radius:3px}.cheat-language-switcher a:hover,.cheat-language-switcher a[aria-current=page]{background:#eaf2ec}.setup h1{overflow-wrap:anywhere}:lang(ja){font-family:"Yu Gothic",Meiryo,sans-serif}
@media(max-width:640px){.masthead{gap:8px}.masthead img{width:clamp(120px,36vw,160px)}.masthead>a:nth-child(2){font-size:10px;max-width:86px;min-width:0;margin-left:auto;text-align:right}.cheat-language-switcher summary{padding:8px 4px}}
@media print{.cheat-language-switcher{display:none!important}}
.note .note-value-sticky{display:inline-block;background:#f4df70;color:var(--ink);padding:3px 7px;border:1px solid #dfc962;border-radius:5px;transform:rotate(-2.5deg);box-shadow:1px 2px 2px #1723211c;margin-top:5px;font-weight:650}
