:root{--text:#1a1a1a;--muted:#3b3b3b;--bg:#f4f4f2;--surface:#fff;--border:#595959;--accent:#0b3d91;--accent-contrast:#fff;--banner-bg:#fff4d6;--intro-bg:#e8f1fb;--focus:#0b3d91;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:100%;line-height:1.5}*,:before,:after{box-sizing:border-box}body{margin:0}.page{max-width:64rem;margin:0 auto;padding:1rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}a{color:var(--accent)}button{font:inherit;border:2px solid var(--accent);background:var(--accent);min-width:44px;min-height:44px;color:var(--accent-contrast);cursor:pointer;border-radius:4px;padding:.5rem 1rem}button.secondary{background:var(--surface);color:var(--accent)}input,select{font:inherit;color:var(--text)}input[type=number],input[type=text],select{border:2px solid var(--border);background:var(--surface);border-radius:4px;min-height:44px;padding:.25rem .5rem}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2'/%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75rem;height:2.75em;padding-right:2.25rem}input[type=range]{width:100%;min-height:44px;accent-color:var(--accent);margin:0}fieldset{border:2px solid var(--border);border-radius:4px;min-width:0;margin:0 0 1rem;padding:1rem}legend{padding:0 .25rem;font-weight:700}section{margin-block:2rem}.site-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.site-header h1{margin:0;font-size:1.75rem}.header-controls,.share-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.header-controls{column-gap:1rem}.currency-select{align-items:center;gap:.5rem;display:flex}.banner{background:var(--banner-bg);border:2px solid var(--text);border-radius:4px;margin:1rem 0;padding:1rem}.banner>:first-child{margin-top:0}.banner>:last-child{margin-bottom:0}.banner--intro{background:var(--intro-bg)}.banner__title{font-size:1.25rem;font-weight:700}.slider-field{margin-bottom:1rem}.slider-field label{font-weight:600;display:block}.slider-field__controls{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.slider-field__controls input[type=range]{flex:8rem;min-width:0}.slider-field__number{align-items:center;gap:.25rem;display:flex}.slider-field__number input{width:9rem;max-width:40vw}@media (width<=34rem){.slider-field__controls--paired{grid-template-columns:1fr auto auto auto;gap:.5rem .25rem;display:grid}.slider-field__controls--paired>input[type=range]{grid-area:1/1;margin-right:.5rem}.slider-field__controls--paired>.slider-field__number{display:contents}.slider-field__controls--paired>span:first-of-type>input{grid-area:1/3}.slider-field__controls--paired>span:first-of-type>span{grid-area:1/4}.slider-field__controls--paired>span:nth-of-type(2)>span{grid-area:2/2}.slider-field__controls--paired>span:nth-of-type(2)>input{grid-area:2/3}.slider-field__controls--paired>.split-period{grid-area:3/1/4/-1}}.split-period{color:var(--muted)}.lodger-toggle{cursor:pointer;align-items:center;gap:.5rem;min-height:44px;display:inline-flex}.lodger-toggle input{width:24px;height:24px;accent-color:var(--accent);margin:0}.field-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));column-gap:1.5rem;display:grid}.slider-field__hint{color:var(--muted);margin:.25rem 0 0}.people{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;margin-bottom:1rem;display:grid}.person-card{background:var(--surface);border:2px solid var(--border);border-radius:4px;padding:1rem}.person-card h3{margin-top:0}.text-field{margin-bottom:1rem}.text-field label{font-weight:600;display:block}.text-field input{width:100%}.radio-option{align-items:flex-start;gap:.75rem;margin-bottom:.75rem;display:flex}.radio-option input{flex:none;width:24px;height:24px;margin-top:10px}.radio-option label{align-items:center;min-height:44px;font-weight:600;display:inline-flex}.radio-option p{color:var(--muted);margin:0}.headline{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;margin:0 0 2rem;display:grid}.headline div{background:var(--surface);border-radius:4px;padding:1rem}.headline dt{font-weight:600}.headline dd{margin:0;font-size:1.5rem}.headline-note{color:var(--muted);font-size:.8rem;font-weight:400;display:block}figure{margin:0 0 2rem}figcaption{margin-bottom:.5rem;font-size:1.125rem;font-weight:700}.chart{width:100%;height:320px;margin-bottom:.5rem}.end-stats{margin-bottom:1rem}.end-stats-heading{margin:0 0 .5rem;font-weight:600}.end-stats dl{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;margin:0;display:grid}.end-stats dl div{background:var(--surface);border-left:6px solid var(--border);border-radius:4px;padding:.75rem 1rem}.end-stats dt{font-weight:600}.end-stats dd{margin:0;font-size:1.25rem}.end-stats-label{color:var(--muted);font-size:1rem}.results-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;display:flex}.results-heading-row h2{margin-block:.5rem}.pin-results{cursor:pointer;align-items:center;gap:.5rem;min-height:44px;display:inline-flex}.pin-results input{width:24px;height:24px;accent-color:var(--accent);margin:0}.results .headline,.results .end-stats{margin-bottom:1rem}.results--pinned{z-index:5;background:var(--bg);margin-inline:-1rem;padding:0 1rem .25rem;position:sticky;bottom:0;box-shadow:0 -4px 8px #00000026}.jump-to-results{display:none}@media (width<=34rem){.pin-results{display:none}.results--pinned{box-shadow:none;margin-inline:0;padding:0;position:static}.jump-to-results:not([hidden]){z-index:5;background:var(--accent);min-height:44px;color:var(--accent-contrast);border-radius:999px;padding:.625rem 1rem;font-weight:600;text-decoration:none;display:inline-block;position:fixed;bottom:1rem;right:1rem;box-shadow:0 2px 8px #0000004d}}.table-wrap{overflow-x:auto}table{border-collapse:collapse;margin-top:.5rem}th,td{border:1px solid var(--border);text-align:right;padding:.25rem .5rem}th[scope=row],thead th:first-child,caption{text-align:left}caption{font-weight:600}.site-footer{border-top:2px solid var(--border);color:var(--muted);margin-top:3rem}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
