@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url('/fonts/dm-latin.woff2') format('woff2')}
:root{--paper:#fff;--card:#fff;--card2:#f3f6f7;--rule:#cfdadd;--ink:#172c29;--soft:#485c59;--teal:#116454;--teal-d:#116454;--sand:#922649;--rise:#116454;--fall:#922649;--head:'DM Sans',sans-serif;--read:'DM Sans',sans-serif}
*{box-sizing:border-box;letter-spacing:0!important;min-width:0}
body{background:#fff;color:#172c29;font:16px/1.7 'DM Sans',sans-serif;margin:0}
h1,h2,h3,input,textarea,select,button,svg text{font-family:'DM Sans',sans-serif!important}
h1,.bsw-top h1{font-size:36px;line-height:1.18;overflow-wrap:anywhere}h2{font-size:25px}h3{font-size:19px}
a{color:#116454}a:hover{color:#922649}p,li,dd,dt,label,td,th{overflow-wrap:anywhere}
main{max-width:1120px;margin:0 auto}.shell{max-width:1020px}.forex-additions{max-width:1020px;margin:0 auto;padding:0 22px}
.forex-additions section{padding:28px 0}.forex-additions p{max-width:82ch}.reading-index{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.reading-index article{padding:14px 0;border-bottom:1px solid #cfdadd}.reading-index h3{margin:0 0 8px}
.slab,.box,.worked,.figic,.kin a.k{border-radius:6px}.slab .box{background:transparent;border:0;padding:12px 0}.pill{border-radius:4px}.fine,.soft,.meta,.quality-number,.quality-evidence,.density-meta{color:#485c59!important}
.bsw-sig .dot{display:none}.bsw-bar{background:#fff;position:relative}.bsw-go:hover,.act:hover{background:#922649;color:#fff}.bsw-go,.act{border-radius:6px}
.table-scroll{max-width:100%;overflow-x:auto}.table-scroll table{min-width:580px}.table-scroll td,.table-scroll th{color:#172c29}table caption{color:#485c59}
img{max-width:100%;height:auto}figure{margin:24px 0}figcaption{color:#485c59;font-size:14px}picture img{display:block;width:100%;height:auto;border-top:1px solid #cfdadd;border-bottom:1px solid #cfdadd}
.forex-mast,.forex-footer{border-bottom:1px solid #cfdadd;padding:18px max(22px,calc((100% - 1060px)/2));background:#f3f6f7}.forex-mast nav,.forex-footer nav{display:flex;flex-wrap:wrap;gap:10px 24px}.brand{display:block;font-size:22px;font-weight:700;color:#172c29;margin-bottom:8px}
.forex-page main{max-width:1060px;padding:32px 22px}.forex-page section{padding:28px 0;border-top:1px solid #cfdadd}.forex-page p{max-width:82ch}.forex-footer{margin-top:36px;border-top:1px solid #cfdadd}
.skip{position:absolute;top:-80px;left:10px;background:#fff;color:#172c29;padding:10px;z-index:100}.skip:focus{top:0}
label{display:block;font-size:15px;font-weight:600;margin:12px 0}input,select,textarea{display:block;width:100%;border:1px solid #899f9a;border-radius:4px;padding:10px;background:#fff;color:#172c29;font-size:16px}textarea{font-family:monospace!important;min-height:420px;resize:vertical;line-height:1.5}input[type=file]{padding:8px}input[type=checkbox]{width:auto;display:inline}
button{padding:10px 16px;background:#116454;color:#fff;border:1px solid #116454;border-radius:4px;font-size:15px;font-weight:600;cursor:pointer}button:disabled{background:#e0e8e6;color:#384e48;cursor:default;border-color:#899f9a}.actions{display:flex;gap:10px;align-items:center}.icon{width:44px;height:44px;display:grid;place-items:center;padding:9px;background:#fff;border-color:#899f9a}.icon img{width:22px;height:22px}
output{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;padding:14px 0;color:#172c29;font-size:15px}#ledger-result{font-family:monospace;background:#f3f6f7;margin-top:14px;padding:16px;min-height:72px}#search-results{padding-left:22px}#search-results li{padding:10px 0}#search-results p{margin:4px 0;color:#485c59}
.quality-main{max-width:1060px}.quality-header{flex-wrap:wrap}.quality-row h2{font-size:22px}.quality-scope{color:#6e213d!important;background:#f9edf1!important}.quality-filters button{color:#172c29!important;background:#fff!important}.quality-filters button[aria-pressed=true]{background:#116454!important;color:#fff!important}.quality-counts span{color:#172c29!important}.quality-row,.quality-toolbar{border-radius:6px}.quality-record{min-width:0}.quality-record textarea{min-height:92px}
:focus-visible{outline:3px solid #922649;outline-offset:3px}code{overflow-wrap:anywhere}
@media(max-width:719px){h1,.bsw-top h1{font-size:30px}h2{font-size:23px}.reading-index{grid-template-columns:1fr}.forex-page main{padding:25px 18px}.forex-additions{padding:0 18px}.shell{padding:0 18px}.quality-header nav{flex-wrap:wrap}.quality-toolbar{flex-wrap:wrap}.quality-row{grid-template-columns:1fr}.quality-filters{flex-wrap:wrap}.quality-actions{flex-wrap:wrap}.bsw-bar{padding:13px 18px}.bsw-sig{max-width:calc(100% - 48px)}.bsw-burger{flex-shrink:0;width:32px}.lay{grid-template-columns:1fr}.spread td{flex-wrap:wrap;text-align:left}.spread td:before{white-space:normal}.forex-mast,.forex-footer{padding:16px 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


body.forex{--paper:#fff;--ink:#172c29;--muted:#485c59;--line:#cfdadd;--link:#116454;--accent:#922649;--field:#f3f6f7;font:16px/1.7 'DM Sans',sans-serif}
.forex-additions{max-width:none;padding:0}
.forex-additions .reading-index article{display:block}
.forex-additions .reading-index{grid-template-columns:1fr 1fr}
.reading-index article,.forex-additions section{background:transparent;border-radius:0;box-shadow:none}
.worksheet output[data-error=true]{color:#922649}.forex-mast nav,.forex-footer nav{margin:0}.forex-page .reading-index article{display:block}
@media(max-width:719px){.forex-additions{padding:0}.forex-additions .reading-index{grid-template-columns:1fr}}
