:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#183c32;background:#f5f5ee;--line:#d6dfd3;--muted:#5d7164;--accent:#b96036}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1180px;padding:24px 28px;margin:auto}header,footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);font-size:12px}a{color:inherit;text-underline-offset:3px}.brand{font-size:12px;letter-spacing:.12em;font-weight:800;text-decoration:none}.title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 24px}h1{font-size:clamp(29px,5vw,44px);letter-spacing:-.045em;margin:0;font-weight:650}.title-row>span,.section-heading>span{font-size:11px;color:var(--muted)}.workspace{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:start}.card{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fffefa;min-width:0;margin-bottom:16px}h2{font-size:17px;letter-spacing:-.015em;margin:0 0 18px}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.section-heading h2{margin-bottom:20px}label{font-size:12px;font-weight:600;display:flex;flex-direction:column;gap:7px;margin-bottom:12px;min-width:0}input,select,button{font:inherit}input,select{min-width:0;width:100%;min-height:44px;padding:10px;border:1px solid #afc1b2;border-radius:6px;color:#183c32;background:white;font-size:14px;font-variant-numeric:tabular-nums}input:focus,select:focus,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e8bd92;outline-offset:2px}.people{display:grid;grid-template-columns:1fr 1fr;gap:10px}.item{padding:16px 0;border-top:1px solid var(--line)}.item-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.item-header strong{font-size:12px;color:var(--muted)}.remove-item{border:0;background:none;color:#8d3d27;font-size:12px;cursor:pointer;min-height:32px;padding:6px}.item-fields{display:grid;grid-template-columns:1.5fr 1fr .7fr;gap:9px}.participants{display:flex;flex-wrap:wrap;gap:8px}.participants label{flex-direction:row;align-items:center;gap:7px;padding:7px 10px;min-height:44px;background:#edf2e8;border-radius:6px;margin:0;overflow-wrap:anywhere;max-width:100%}.participants input{width:18px;height:18px;min-height:18px;margin:0;accent-color:#275741}.adjustment{display:grid;grid-template-columns:1fr 64px 1.5fr;gap:9px}.hint,.source{font-size:12px;color:var(--muted);line-height:1.65}.hint{margin:10px 0 14px}.primary,.secondary{min-height:46px;border:0;border-radius:7px;padding:13px 17px;cursor:pointer;font-size:14px;font-weight:650;transition:transform .12s,background .12s}.primary{width:100%;background:#183c32;color:#fff;display:flex;justify-content:space-between}.secondary{background:#e5edde;color:#183c32}.primary:hover{background:#285a46}.primary:active,.secondary:active{transform:translateY(1px)}#input-error{font-size:13px;color:#ac3024;font-weight:650}.result{position:sticky;top:20px;border-top:3px solid #183c32}#empty{min-height:230px;display:grid;place-content:center;text-align:center;color:var(--muted);line-height:1.7}#empty>span{font-size:52px;font-weight:200;color:#a5b8a7}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:750;color:var(--muted)}.grand{font-size:44px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:8px 0 22px}dl{font-size:12px;margin:0 0 14px}dl div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}dd{margin:0;font-variant-numeric:tabular-nums}#total-check{padding:12px;border-radius:6px;font-size:13px;line-height:1.6}.matched{background:#edf3e8;color:#225139;border:1px solid #b4c8af}.mismatch{background:#fff0ec;color:#a5271c;border:1px solid #dca097;font-weight:650}.person-share{border-top:1px solid var(--line);padding:16px 0}.person-share h3{display:flex;justify-content:space-between;gap:10px;overflow-wrap:anywhere;margin:0 0 10px;font-size:15px}.person-share strong{font-variant-numeric:tabular-nums;white-space:nowrap}.person-share p{font-size:12px;line-height:1.8;color:var(--muted);margin:0;overflow-wrap:anywhere}#sum-check,#copy-feedback{font-size:12px;line-height:1.7}#copy-feedback{min-height:20px}.reading{max-width:730px;margin:64px auto 24px;border-top:1px solid var(--line);padding-top:28px}.reading h2{font-size:24px;line-height:1.35}.reading p{font-size:14px;line-height:1.8}.reading .source{font-size:11px}.verification{border-left:3px solid var(--accent);padding:12px 16px;background:#f0efe3}.faq{margin-top:34px}details{padding:16px 0;border-bottom:1px solid var(--line)}summary{font-size:14px;font-weight:650;cursor:pointer;line-height:1.6}footer{border-top:1px solid var(--line);border-bottom:0}footer nav{display:flex;gap:14px} [hidden]{display:none!important}@media(max-width:780px){header,main,footer{padding:20px}.workspace{grid-template-columns:1fr;gap:18px}.result{position:static}.title-row{flex-direction:column;align-items:flex-start;gap:8px}.card{padding:18px}.item-fields{grid-template-columns:1fr 1fr}.item-fields label:first-child{grid-column:1/-1}.adjustment{grid-template-columns:1fr 64px}.adjustment label:last-child{grid-column:1/-1}.reading{margin-top:44px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
