/* J Y & CO, Old vs New regime calculator */
body .jycg .tr-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1.5rem;align-items:start}
body .jycg .tr-form{display:grid;gap:1rem;margin:0}
body .jycg .tr-step{margin:0;border:1px solid #e6e5e0;border-radius:6px;background:#fff;padding:1.2rem 1.3rem 1.3rem;min-width:0}
body .jycg .tr-step legend{float:left;width:100%;padding:0;margin:0 0 1rem;display:flex;align-items:center;gap:.6rem;font-family:Jost,Manrope,sans-serif;font-weight:600;font-size:1.2rem;color:#16191d}
body .jycg .tr-step legend span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:4px;background:#16191d;color:#FFED00;font-family:Manrope,sans-serif;font-size:.85rem;font-weight:800}
body .jycg .tr-step legend + *{clear:both}
body .jycg .tr-hint{margin:-.4rem 0 1rem;font-size:.88rem;color:#4a5057}
body .jycg .tr-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}
body .jycg .tr-wide{grid-column:1/-1}
body .jycg .tr-f{display:flex;flex-direction:column;gap:.25rem;min-width:0}
body .jycg .tr-f span{font-size:.88rem;font-weight:700;color:#16191d}
body .jycg .tr-f small{font-size:.78rem;color:#565c63;line-height:1.35}
body .jycg .tr-f input,body .jycg .tr-f select{margin-top:auto;font:inherit;font-size:1rem;border:1px solid #d3d3cf;border-radius:4px;padding:.6rem .75rem;color:#16191d;background:#fff;width:100%;box-sizing:border-box;min-width:0}
body .jycg .tr-f input:focus-visible,body .jycg .tr-f select:focus-visible{outline:3px solid #5a6067;outline-offset:1px}
body .jycg .tr-f select{text-overflow:ellipsis}
body .jycg .tr-go{justify-self:start}
body .jycg .tr-result{position:sticky;top:96px;background:#16191d;color:#fff;border-radius:6px;padding:1.4rem 1.4rem 1.2rem;overflow:hidden}
body .jycg .tr-result::after{content:"";position:absolute;top:0;right:0;border-top:44px solid #FFED00;border-left:44px solid transparent}
body .jycg .tr-res-k{margin:0 0 1rem;font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#C9CCD0}
body .jycg .tr-empty{display:none;margin:0;color:#D6D8DB}
body .jycg .tr-result.is-empty .tr-empty{display:block}
body .jycg .tr-result.is-empty > :not(.tr-res-k):not(.tr-empty){display:none}
body .jycg .tr-cols{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
body .jycg .tr-col{border:1px solid rgba(255,255,255,.18);border-radius:5px;padding:.9rem .9rem .8rem;display:flex;flex-direction:column;gap:.15rem;position:relative}
body .jycg .tr-col-h{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C9CCD0}
body .jycg .tr-col strong{font-family:Jost,Manrope,sans-serif;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:600;color:#fff;line-height:1.15;margin-top:.2rem;font-variant-numeric:tabular-nums}
body .jycg .tr-col small{font-size:.8rem;color:#C9CCD0}
body .jycg .tr-col em{display:none;font-style:normal;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#16191d;background:#FFED00;border-radius:3px;padding:.2rem .45rem;align-self:flex-start;margin-top:.5rem}
body .jycg .tr-col.is-best{border-color:#FFED00;background:rgba(255,237,0,.06)}
body .jycg .tr-col.is-best em{display:inline-block}
body .jycg .tr-verdict{margin:1rem 0 .4rem;font-size:1rem;line-height:1.5;color:#fff}
body .jycg .tr-verdict strong{color:#FFED00}
body .jycg .tr-tip{margin:0;font-size:.88rem;line-height:1.55;color:#D6D8DB}
body .jycg .tr-tip:empty{display:none}
body .jycg .tr-work{margin-top:1rem;border-top:1px solid rgba(255,255,255,.16);padding-top:.8rem}
body .jycg .tr-work>summary{cursor:pointer;font-weight:700;font-size:.9rem;color:#fff;list-style:none;display:flex;align-items:center;gap:.5rem}
body .jycg .tr-work>summary::-webkit-details-marker{display:none}
body .jycg .tr-work>summary::before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:3px;background:#FFED00;color:#16191d;font-weight:800}
body .jycg .tr-work[open]>summary::before{content:"\2212"}
body .jycg .tr-work>summary:focus-visible{outline:3px solid #FFED00;outline-offset:3px}
body .jycg .tr-two{display:grid;gap:1rem;margin-top:.8rem}
body .jycg .tr-two table{width:100%;border-collapse:collapse;font-size:.84rem}
body .jycg .tr-two caption{text-align:left;font-weight:700;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#FFED00;padding-bottom:.35rem}
body .jycg .tr-two td{padding:.3rem 0;border-bottom:1px solid rgba(255,255,255,.1);color:#E6E7E9;background:transparent!important}
body .jycg .tr-two td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:.8rem}
body .jycg .tr-two tr.tr-b td{font-weight:800;color:#fff}
body .jycg .tr-notes{margin:.8rem 0 0;padding-left:1.1rem;font-size:.8rem;color:#C9CCD0;line-height:1.5}
body .jycg .tr-notes:empty{display:none}
body .jycg .tr-slabs{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}
body .jycg .tr-slabs caption{text-align:left;font-weight:700;padding:.8rem 1rem .4rem;color:#16191d}
body .jycg .tr-tnote{margin:.6rem 1rem .9rem;font-size:.84rem;color:#4a5057}
body .jycg .tr-facts{margin-top:1.2rem}
@media (max-width:980px){body .jycg .tr-layout{grid-template-columns:1fr}body .jycg .tr-result{position:static}}
@media (max-width:640px){body .jycg .tr-grid,body .jycg .tr-slabs{grid-template-columns:1fr}body .jycg .tr-step{padding:1rem}body .jycg .tr-go{width:100%}}
body .jycg .tr-two table{min-width:0!important;width:100%!important;table-layout:fixed;margin:0}
body .jycg .tr-two td:first-child{width:62%}
body .jycg .tr-two td{white-space:normal}
@media (min-width:981px){body .jycg .tr-result{max-height:calc(100vh - 112px);overflow-y:auto;scrollbar-width:thin}}
body .jycg .tr-slabs table{min-width:0!important;width:100%!important;table-layout:fixed}
body .jycg .tr-slabs th:last-child,body .jycg .tr-slabs td:last-child{width:84px;text-align:right;padding-right:1rem}
body .jycg .tr-slabs .cg-table-wrap{overflow:hidden}
body .jycg .tr-slabs td{background:#fff!important}body .jycg .tr-slabs tbody tr:nth-child(even) td{background:#faf9f6!important}
/* Side-by-side rule tables: value column sizes to its content, label column takes the rest */
body .jycg .tr-slabs table{table-layout:auto!important}
body .jycg .tr-slabs th:last-child,body .jycg .tr-slabs td:last-child{width:1%;white-space:nowrap;padding-left:1.2rem}
body .jycg .tr-slabs th:first-child,body .jycg .tr-slabs td:first-child{width:auto}
@media (max-width:1100px) and (min-width:641px){body .jycg .tr-slabs td:last-child{white-space:normal;min-width:7.5rem}}
@media (max-width:420px){body .jycg .tr-slabs td:last-child{white-space:normal;min-width:6.5rem}}
@media (max-width:1100px){body .jycg .tr-slabs{grid-template-columns:1fr}body .jycg .tr-slabs td:last-child{white-space:nowrap;min-width:0}}
@media (max-width:480px){body .jycg .tr-slabs td:last-child{white-space:normal;width:44%;min-width:0}}
body .jycg .tr-two .at-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#C9CCD0;font-weight:700;text-align:left;padding:.3rem 0;border-bottom:1px solid rgba(255,255,255,.2);background:transparent!important}
body .jycg .tr-two .at-table th:not(:first-child),body .jycg .tr-two .at-table td:not(:first-child){text-align:right}
body .jycg .tr-two .at-table td:first-child{width:auto}
body .jycg .tr-two .at-table td small{color:#9aa0a7;font-size:.75rem}
body .jycg .tr-result a{color:#FFED00;text-decoration:underline;text-underline-offset:2px}
