body{margin:0;background:#FDFBF7;color:#36291f;font:16px/1.8 system-ui,"Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:anywhere}main{box-sizing:border-box;max-width:720px;margin:auto;padding:28px 20px 64px}h1{font:700 clamp(26px,5vw,36px)/1.4 AppleMyungjo,Batang,serif;letter-spacing:-.025em}h2{font-size:22px;line-height:1.45}h3{font-size:18px;line-height:1.5}a{color:#6b4f3a;text-underline-offset:4px}section{box-sizing:border-box;min-width:0;margin:24px 0;padding:24px;border:1px solid #e7dfd2;border-radius:16px;background:#fff}.resource-kicker{color:#6b4f3a;font-size:14px;font-weight:700}.resource-lead{font-size:18px}.resource-notice{padding:14px;border-left:3px solid #947760;background:#f3ede2;font-size:14px}.resource-jumps{display:flex;flex-wrap:wrap;gap:12px}.resource-jumps a{padding:8px 0}.resource-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}fieldset{min-width:0;padding:16px;border:1px solid #e7dfd2;border-radius:12px}legend{padding:0 8px}label{display:block;font-weight:650;font-size:15px}input,textarea{display:block;box-sizing:border-box;max-width:100%;width:100%;margin:6px 0 0;min-height:48px;padding:10px 12px;border:1px solid #b5a896;border-radius:9px;background:#fff;color:#36291f;font:inherit;font-size:16px}textarea{min-height:90px;word-break:break-all}.check{font-weight:400;display:flex;align-items:flex-start;gap:10px}.check input{flex:none;width:20px;min-height:20px;margin-top:5px}button{box-sizing:border-box;max-width:100%;min-height:48px;margin:12px 6px 0 0;padding:12px 16px;border:1px solid #6b4f3a;border-radius:9px;background:#513725;color:#fff;font:inherit;font-weight:650;cursor:pointer}button:disabled{opacity:.65;cursor:not-allowed}#resource-reset,#resource-copy-page{color:#513725;background:#fff}:focus-visible{outline:3px solid #9A4633;outline-offset:3px}.resource-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resource-metrics div{padding:12px;border:1px solid #e7dfd2;border-radius:10px}.resource-metrics dt{font-size:14px;color:#6b4f3a}.resource-metrics dd{margin:4px 0 0;font-size:21px;font-weight:750;font-variant-numeric:tabular-nums}#resource-result{padding:16px}#resource-error{color:#923623}.resource-caption{font-size:14px}details{margin:16px 0}summary{padding:8px 0;min-height:28px;cursor:pointer;font-weight:650}.resource-scroll{padding:0;overflow:auto;border:0}table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}th,td{padding:10px;border-bottom:1px solid #e7dfd2;text-align:right;white-space:nowrap}th:first-child{text-align:left}caption{text-align:left;color:#6b4f3a;padding:8px 0}.resource-index article{border-bottom:1px solid #e7dfd2;padding:12px 0}.resource-index article:last-child{border-bottom:0}.skip{position:absolute;left:16px;top:-100px}.skip:focus{top:8px;background:#fff;padding:12px;z-index:10}[hidden]{display:none!important}@media(max-width:520px){main{padding:20px 16px 48px}section{padding:18px}.resource-fields,.resource-metrics{grid-template-columns:1fr}.resource-metrics dd{font-size:24px}fieldset{padding:12px}}@media print{.nav,.resource-jumps,button,form,.std-footer{display:none}body{background:#fff}section{break-inside:avoid}}

/* Result-first entry for blog readers; the original calculation and metric order stay unchanged. */
.resource-focused h1{font-family:system-ui,"Malgun Gothic",sans-serif;font-size:28px;line-height:1.35;margin:8px 0 12px}.resource-focused .resource-kicker{margin:0}.resource-focused .resource-lead{font-size:16px;margin:8px 0}.resource-focused .resource-notice{margin:10px 0;padding:8px 12px}.resource-focused .resource-jumps{display:none}.resource-focused section{margin:14px 0;padding:18px}.resource-focused #resource-result-title{margin:0 0 8px;font-size:16px}.resource-focused .resource-metrics{grid-template-columns:1fr 1fr;margin:8px 0;gap:8px}.resource-focused .resource-metrics div{padding:8px}.resource-focused .resource-metrics div:nth-child(2){grid-column:1 / -1;grid-row:1;background:#f7f1e7;border:0}.resource-focused .resource-metrics div:nth-child(2) dd{font-size:32px;line-height:1.4}.resource-focused .resource-metrics dd{font-size:20px}.resource-focused #experiment-title{font-size:20px;margin:0 0 8px}.resource-focused #experiment>p:first-of-type{font-size:14px;margin:0 0 12px}.resource-focused .resource-monthly input{font-size:24px;min-height:56px}.resource-focused #resource-calculate{width:100%;margin:0;min-height:54px}.resource-focused #resource-reset{font-size:14px;margin-top:10px}.resource-focused #resource-advanced{margin:8px 0}.resource-focused #resource-state{font-size:14px}.resource-focused .resource-caption{margin:8px 0}.resource-focused #resource-result details{margin:4px 0}.resource-focused #resource-result summary{padding:4px 0}.resource-focused .resource-metrics dt{font-size:14px}@media(max-width:520px){.resource-focused h1{font-size:25px}.resource-focused .resource-metrics dd{font-size:20px}.resource-focused .resource-metrics div:nth-child(2) dd{font-size:30px}.resource-focused section{padding:14px}}
.resource-focused #resource-context{font-size:14px;line-height:1.6}.resource-focused #resource-monthly-readable{float:right;margin:0;line-height:27px}.resource-focused .resource-monthly input{clear:both}

.resource-focused section{margin:10px 0}.resource-focused #resource-ledger h2{font-size:20px;margin:0 0 8px}
