:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111;background:#fafafa;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid #111;outline-offset:4px}main{width:min(100% - 40px,520px);margin:56px auto 32px}header{margin-bottom:28px}.brand{display:block;font-size:17px;font-weight:650;letter-spacing:-.7px;margin-bottom:20px}h1{font-size:32px;letter-spacing:-1.35px;line-height:1.15;font-weight:600;margin:0}.calculator{border:1px solid #e1e1e1;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 4px 20px #00000003}.inputs{padding:30px}.employee-row{display:flex;justify-content:space-between;align-items:center;gap:16px}label,legend{font-size:15px;font-weight:600;letter-spacing:-.2px}label span{display:block;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0;color:#777;margin-top:5px}.stepper{display:flex;align-items:center;min-width:0;border:1px solid #ddd;border-radius:10px;height:48px;width:180px;flex-shrink:0}.stepper button{border:0;background:transparent;width:43px;height:46px;flex-shrink:0;font-size:22px;font-weight:400;border-radius:9px}.stepper button:hover{background:#f3f3f3}.stepper button:disabled{opacity:.25;cursor:default}.stepper input{width:100%;min-width:0;border:0;padding:0;background:transparent;text-align:center;font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}.field-error{font-size:12px;margin:12px 0 0;line-height:1.5}.field-error:empty{display:none}fieldset{border:0;min-width:0;padding:0;margin:28px 0 0}legend{padding:0}.hint{font-size:12px;line-height:1.5;color:#777;margin:5px 0 12px}.options{display:flex;gap:8px}.options button{flex:1;min-width:0;min-height:47px;background:#fff;border:1px solid #ddd;border-radius:9px;font-size:16px;font-weight:500;transition:background .12s,color .12s}.options button span{font-size:12px;font-weight:400}.options button:hover{border-color:#111}.options button[aria-pressed=true]{background:#111;color:#fff;border-color:#111}.result{padding:26px 30px 25px;background:#111;color:#fff}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-heading h2{font-size:13px;line-height:1.5;font-weight:500;margin:0;color:#ddd}.result-heading>span{font-size:11px;color:#aaa;white-space:nowrap}output{display:block;font-size:64px;line-height:1.2;font-weight:500;letter-spacing:-3px;font-variant-numeric:tabular-nums;margin:10px 0 21px;overflow-wrap:anywhere}.math{border-top:1px solid #ffffff26;padding-top:16px}.math p{margin:0;font-size:12px;line-height:1.8;color:#aaa}.math p+p{margin-top:3px}.math strong{color:#eee;font-weight:500}.note{font-size:11px;color:#888;text-align:center;line-height:1.6;margin:17px 8px 0}@media(max-width:540px){main{margin-top:30px;width:calc(100% - 32px)}header{margin-bottom:23px}.brand{font-size:16px;margin-bottom:17px}h1{font-size:29px}.inputs{padding:24px}.employee-row{gap:10px}label,legend{font-size:14px}label span{font-size:11px}.stepper{width:149px}.stepper button{width:36px}.stepper input{font-size:18px}fieldset{margin-top:25px}.hint{font-size:11px}.result{padding:24px}output{font-size:58px}.math p{font-size:11px}.note{font-size:10px}}@media(max-width:360px){.inputs{padding:21px}.employee-row{align-items:flex-start;flex-direction:column;gap:12px}.stepper{width:100%}.stepper button{width:48px}.hint{font-size:10px}.options{gap:6px}.options button span{font-size:10px}.result{padding:21px}output{font-size:52px}.result-heading h2{font-size:12px}.result-heading>span{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
