/* J Y & CO, TDS rate finder. Builds on the shared .jycg tool styles (cg.css) and section finder form styles. */
body .jycg .td-cats{display:flex;flex-wrap:wrap;gap:.45rem;margin:1rem 0 0}
body .jycg .td-chip{font:inherit;font-size:.88rem;font-weight:600;background:#f5f4f0;border:1px solid #e6e5e0;border-radius:999px;padding:.45rem .95rem;color:#2f3439;cursor:pointer}
body .jycg .td-chip.is-on{background:#16191d;border-color:#16191d;color:#fff}
body .jycg .td-chip:hover:not(.is-on){border-color:#FFED00;background:#fffbe0}
body .jycg .td-chip:focus-visible{outline:3px solid #5a6067;outline-offset:2px}
body .jycg .td-status{margin:1.2rem 0 .2rem;font-size:.82rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5a6067}
body .jycg .td-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:.9rem;margin-top:.6rem}
body .jycg .td-card{display:flex;flex-direction:column;border:1px solid #e6e5e0;border-radius:6px;background:#fff;padding:1.15rem 1.2rem 1rem;position:relative}
body .jycg .td-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#16191d;border-radius:6px 0 0 6px}
body .jycg .td-cat{display:block;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5a6067;margin-bottom:.35rem}
body .jycg .td-head h3{margin:0;font-size:1.08rem;line-height:1.35;color:#16191d;font-weight:700}
body .jycg .td-rate{margin:.85rem 0 .7rem;display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
body .jycg .td-lbl{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#5a6067}
body .jycg .td-rate strong{font-family:Jost,Manrope,sans-serif;font-size:1.55rem;font-weight:600;color:#16191d;line-height:1.2;background:linear-gradient(transparent 62%,rgba(255,237,0,.75) 62%);padding:0 2px}
body .jycg .td-rate strong:where(:not(:empty)){}
body .jycg .td-meta{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.55rem 1rem;border-top:1px solid #efeee9;padding-top:.75rem}
body .jycg .td-meta div{min-width:0}
body .jycg .td-meta div:first-child,body .jycg .td-meta div:last-child{grid-column:1/-1}
body .jycg .td-meta dt{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#5a6067}
body .jycg .td-meta dd{margin:.15rem 0 0;font-size:.9rem;color:#23272c;line-height:1.45}
body .jycg .td-note,body .jycg .td-nrnote{margin:.75rem 0 0;font-size:.84rem;color:#2f3439;line-height:1.5;background:#faf9f6;border-left:3px solid #FFED00;padding:.45rem .7rem;border-radius:0 4px 4px 0}
body .jycg .td-calc{margin-top:auto;padding-top:.85rem}
body .jycg .td-calc>summary{cursor:pointer;list-style:none;font-weight:700;font-size:.9rem;color:#16191d;display:inline-flex;align-items:center;gap:.45rem;border-top:1px solid #efeee9;padding-top:.75rem;width:100%}
body .jycg .td-calc>summary::-webkit-details-marker{display:none}
body .jycg .td-calc>summary::before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:3px;background:#16191d;color:#FFED00;font-size:.9rem;line-height:1}
body .jycg .td-calc[open]>summary::before{content:"\2212"}
body .jycg .td-calc>summary:focus-visible{outline:3px solid #5a6067;outline-offset:2px}
body .jycg .td-calc-in{display:grid;gap:.6rem;margin-top:.75rem}
body .jycg .td-f{display:grid;gap:.25rem}
body .jycg .td-f span{font-size:.8rem;font-weight:600;color:#2f3439}
body .jycg .td-f input,body .jycg .td-f select{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}
body .jycg .td-f input:focus-visible,body .jycg .td-f select:focus-visible{outline:3px solid #5a6067;outline-offset:1px}
body .jycg .td-chk{display:flex;gap:.5rem;align-items:center;font-size:.86rem;color:#2f3439}
body .jycg .td-chk input{width:18px;height:18px;accent-color:#16191d}
body .jycg .td-out{margin:0}
body .jycg .td-out:empty{display:none}
body .jycg .td-amt{display:block;font-family:Jost,Manrope,sans-serif;font-size:1.6rem;font-weight:600;color:#16191d}
body .jycg .td-sub,body .jycg .td-zero{display:block;font-size:.86rem;color:#2f3439;line-height:1.5}
body .jycg .td-zero{background:#f5f4f0;border-radius:4px;padding:.55rem .7rem}
body .jycg .td-out{background:#fffbe0;border:1px solid #f3e27a;border-radius:4px;padding:.7rem .8rem}
body .jycg .td-empty{margin:0;color:#2f3439;background:#faf9f6;border-radius:6px;padding:1rem 1.2rem;grid-column:1/-1}
body .jycg .td-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.9rem;margin-top:1rem}
body .jycg .td-rule{background:#fff;border:1px solid #e6e5e0;border-radius:6px;padding:1.1rem 1.2rem}
body .jycg .td-rule h3{margin:0 0 .4rem;font-size:1rem;color:#16191d}
body .jycg .td-rule p{margin:0;font-size:.9rem;color:#2f3439;line-height:1.55}
@media (max-width:560px){body .jycg .td-results{grid-template-columns:1fr}body .jycg .td-meta{grid-template-columns:1fr}}
body .jycg .td-results{align-items:start}
body .jycg .td-rt{flex-basis:100%;font-size:.86rem;color:#2f3439;line-height:1.45}
body .jycg .td-rate strong{font-size:1.7rem}
