
/* Original SalaryPayTools 2026 bonus calculator — separate from shared styles. */
.bonus-page{padding-bottom:42px}
.bonus-kicker,.bonus-step{display:inline-flex;align-items:center;gap:7px;letter-spacing:.08em;font-size:.72rem;font-weight:800;color:var(--brand,#c62828)}
.bonus-page .inner-hero{margin-bottom:24px}
.bonus-page .inner-hero h1{margin:12px 0 10px;line-height:1.14}
.bonus-page .inner-hero p{max-width:900px;line-height:1.7}
.bonus-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:start;gap:20px}
.bonus-input-panel,.bonus-results{min-width:0;padding:26px}
.bonus-panel-heading h2,.bonus-results h2{margin:8px 0 7px;line-height:1.25}
.bonus-panel-heading p{margin:0 0 19px;line-height:1.65;color:var(--muted,#6b7280)}
.bonus-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bonus-field{display:flex;min-width:0;flex-direction:column;gap:8px;font-weight:650;line-height:1.4;font-size:.89rem}
.bonus-field:first-child{grid-column:1/-1}
.bonus-field em{font-style:normal;font-weight:500;color:var(--muted,#6b7280);font-size:.75rem}
.bonus-field small{display:block;font-weight:400;font-size:.76rem;color:var(--muted,#6b7280);margin-top:2px}
.bonus-input-wrap{display:flex;align-items:center;gap:0;border:1px solid var(--line,#d5dce2);border-radius:11px;background:var(--surface,#fff);min-height:48px;overflow:hidden}
.bonus-input-wrap:focus-within{outline:2px solid var(--brand,#c62828);outline-offset:2px}
.bonus-input-wrap>span{padding:0 0 0 13px;color:var(--muted,#667085);font-weight:600}
.bonus-input-wrap input{width:100%;min-width:0;padding:12px 13px;border:0;outline:0;background:transparent;color:inherit;font-size:1rem;line-height:1.3;font-family:inherit;font-variant-numeric:tabular-nums}
.bonus-percent>span{order:2;padding:0 14px 0 0}
.bonus-field-note{font-size:.79rem;line-height:1.55;margin:18px 0;padding:12px 14px;border-radius:10px;background:var(--muted-surface,#f6f8fa);color:var(--text,#27323f);border:1px solid var(--line,#dce2e8)}
.bonus-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:17px}
.bonus-actions button{min-height:42px;cursor:pointer}
.bonus-footnote{font-size:.77rem;color:var(--muted,#6b7280);line-height:1.55;margin:12px 0 0}
#bonus-error:not([hidden]){background:#fff1f0;border:1px solid #e2aaaa;color:#8f2525;padding:10px 12px;border-radius:8px;margin:12px 0}
.bonus-total{margin:16px 0 14px;padding:22px;border-radius:14px;background:linear-gradient(130deg,#123a34,#207d65);color:#fff}
.bonus-total small{display:block;color:#e9fffa;font-size:.81rem;font-weight:500}
.bonus-net{display:block;font-size:clamp(2rem,4.2vw,2.8rem);font-weight:850;line-height:1.15;margin:8px 0;letter-spacing:-.03em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bonus-total p{font-size:.82rem;color:#e9fffa;margin:0}
.bonus-bar{height:9px;border-radius:30px;background:#e8b0a8;overflow:hidden;margin-bottom:14px}
.bonus-bar span{display:block;background:#20856d;height:100%;min-width:0;max-width:100%;transition:width .2s ease}
.bonus-breakdown>div{display:flex;justify-content:space-between;align-items:center;gap:12px;line-height:1.4;padding:12px 0;border-bottom:1px solid var(--line,#e2e7eb)}
.bonus-breakdown span{font-size:.85rem;min-width:0}
.bonus-breakdown strong{font-size:.93rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.bonus-breakdown small{display:block;color:var(--muted,#67717b);font-size:.73rem}
.bonus-breakdown .bonus-total-line{border-bottom:0;margin-top:4px;padding-top:16px;font-weight:700}
.bonus-breakdown .bonus-total-line strong{font-size:1.03rem}
.bonus-result-note{font-size:.78rem;line-height:1.5;color:var(--muted,#6b7280);border-top:1px solid var(--line,#e2e7eb);margin:0;padding-top:13px}
.bonus-section{margin-top:30px}
.bonus-learn{padding:26px}
.bonus-section h2{margin:8px 0 12px;line-height:1.24}
.bonus-section p{line-height:1.75}
.bonus-explain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}
.bonus-explain-grid article{border:1px solid var(--line,#dce2e8);border-radius:12px;padding:16px;min-width:0}
.bonus-explain-grid article b{display:inline-flex;align-items:center;justify-content:center;background:#f9ebea;color:#b52626;width:30px;height:30px;border-radius:50%;margin-bottom:9px}
.bonus-explain-grid h3{font-size:1rem;line-height:1.4;margin:3px 0 7px}
.bonus-explain-grid p{font-size:.87rem;line-height:1.65;margin:0}
.bonus-editorial{max-width:1010px}
.bonus-editorial h2{margin:26px 0 13px}
.bonus-editorial a{text-decoration:underline;text-underline-offset:3px}
.bonus-example-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line,#dce2e8);border-radius:12px;margin:21px 0}
.bonus-example-table{border-collapse:collapse;width:100%;min-width:590px;text-align:left;font-variant-numeric:tabular-nums}
.bonus-example-table caption{caption-side:bottom;text-align:left;padding:12px;font-size:.75rem;color:var(--muted,#6b7280);line-height:1.5}
.bonus-example-table th,.bonus-example-table td{padding:12px 14px;border-bottom:1px solid var(--line,#e2e7eb)}
.bonus-example-table th{font-size:.79rem;background:var(--muted-surface,#f6f8fa)}
.bonus-example-table tr:last-child td{border-bottom:0}
.bonus-faq{display:grid;gap:10px}
.bonus-faq details{border:1px solid var(--line,#dce2e8);border-radius:12px;padding:13px 16px}
.bonus-faq summary{cursor:pointer;font-weight:750;line-height:1.5}
.bonus-faq details p{margin:10px 0 0}
.bonus-sources ul{line-height:1.8;padding-left:23px}
.bonus-updated{font-size:.79rem;color:var(--muted,#6b7280)}
@media(max-width:940px){.bonus-grid{grid-template-columns:minmax(0,1fr)}.bonus-input-panel,.bonus-results{padding:22px}}
@media(max-width:640px){.bonus-page{min-width:0}.bonus-page .inner-hero{margin-bottom:17px}.bonus-input-panel,.bonus-results,.bonus-learn{padding:17px}.bonus-fields{grid-template-columns:minmax(0,1fr);gap:12px}.bonus-field:first-child{grid-column:auto}.bonus-explain-grid{grid-template-columns:minmax(0,1fr)}.bonus-results h2,.bonus-panel-heading h2{font-size:1.18rem}.bonus-total{padding:18px}.bonus-section{margin-top:22px}.bonus-breakdown span{font-size:.81rem}.bonus-breakdown strong{font-size:.86rem}.bonus-actions .primary-button{flex:1 1 auto}.bonus-example-table-wrap{margin:14px 0}}
