.kff,.kcg,.kkt-callout{--kk-ink:#183033;--kk-green:#245a4a;--kk-gold:#80632f;--kk-paper:#f7f8f3;--kk-line:#d7dfd6;box-sizing:border-box;color:var(--kk-ink);font-family:inherit;font-size:1rem;line-height:1.65;max-width:100%;overflow-wrap:anywhere}
.kff *,.kcg *,.kkt-callout *{box-sizing:border-box}
.kff [hidden],.kcg [hidden],.kkt-callout[hidden]{display:none!important}
.kff p,.kcg p{margin:0 0 1.1em}
.kff h2,.kcg h2{font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.18;letter-spacing:-.025em;margin:0 0 .65em;color:var(--kk-ink);text-wrap:balance}
.kff h3,.kcg h3{font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.3;letter-spacing:-.015em;margin:0 0 .7em;color:var(--kk-ink)}
.kff h4,.kcg h4{font-size:1.05rem;line-height:1.4;margin:1.3em 0 .4em}
.kff a,.kcg a,.kkt-callout a{color:var(--kk-green);text-underline-offset:.18em;text-decoration-thickness:.08em}
.kff a:hover,.kcg a:hover,.kkt-callout a:hover{text-decoration-thickness:.14em}
.kff :focus-visible,.kcg :focus-visible,.kkt-callout :focus-visible{outline:3px solid var(--kk-green);outline-offset:4px;border-radius:3px}
.kff-intro,.kcg-hero{padding:clamp(1.2rem,4vw,2.5rem);border:1px solid var(--kk-line);border-radius:20px;background:linear-gradient(130deg,#f0f4e9,var(--kk-paper));margin:0 0 1.5rem}
.kff-intro p:last-child,.kcg-hero p:last-child{margin-bottom:0}
.kcg-kicker,.kff [data-kff-step]{color:var(--kk-gold);font-size:.76rem;line-height:1.4;font-weight:750;text-transform:uppercase;letter-spacing:.12em;margin:0 0 1rem}
.kff [data-kff-app]{border:1px solid var(--kk-line);background:#fff;border-radius:20px;padding:clamp(1.2rem,4vw,2.5rem);box-shadow:0 8px 30px rgba(24,48,51,.045);margin:1.5rem 0 2.2rem}
.kff [data-kff-form]{margin:0;padding:0;width:100%}
.kff [data-kff-question]{border:0;padding:0;margin:0;min-width:0;width:100%}
.kff [data-kff-question] legend{float:none;width:100%;font-size:clamp(1.3rem,2.7vw,1.85rem);font-weight:650;line-height:1.3;padding:0;margin:0 0 1.2rem;letter-spacing:-.02em;color:var(--kk-ink)}
.kff-choices{display:grid;gap:.75rem;margin-bottom:1.4rem}
.kff .kff-choice{display:flex;align-items:flex-start;gap:.85rem;border:1px solid var(--kk-line);border-radius:12px;padding:1rem 1.1rem;cursor:pointer;background:var(--kk-paper);line-height:1.5;margin:0;min-width:0;transition:background-color .15s,border-color .15s}
.kff .kff-choice:hover{background:#edf3e9;border-color:#8ca99b}
.kff .kff-choice:has(input:checked){border:2px solid var(--kk-green);padding:calc(1rem - 1px) calc(1.1rem - 1px);background:#e9f1e7}
.kff .kff-choice:focus-within{outline:3px solid var(--kk-green);outline-offset:3px}
.kff .kff-choice input{appearance:auto;accent-color:var(--kk-green);width:1.15rem;height:1.15rem;flex:0 0 1.15rem;min-width:0;margin:.17rem 0 0;padding:0}
.kff .kff-choice span{display:block;min-width:0}
.kff-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1rem 0 0}
.kff .kff-actions button{appearance:none;border:1px solid var(--kk-line);border-radius:9px;background:var(--kk-paper);color:var(--kk-ink);font:inherit;font-size:.95rem;font-weight:650;line-height:1.3;min-height:46px;max-width:100%;padding:.75rem 1.2rem;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal}
.kff .kff-actions [data-kff-next]{background:var(--kk-green);border-color:var(--kk-green);color:#fff}
.kff .kff-actions [data-kff-next]:hover:not(:disabled){background:#183f34}
.kff .kff-actions button:disabled{opacity:.45;cursor:not-allowed}
.kff .kff-actions [data-kff-reset]{background:transparent;border-color:transparent;font-weight:500;text-decoration:underline;text-underline-offset:.2em}
.kff [data-kff-result]:not(:empty){margin-top:1.5rem;border-top:1px solid var(--kk-line);padding-top:1.5rem}
.kff [data-kff-result]>.kff-answer-body{padding:0}
.kff-note,.kcg-note{padding:1rem 1.2rem;border-left:3px solid #a58344;background:#f5f1e7;border-radius:0 10px 10px 0;font-size:.94rem;margin:1.3rem 0}
.kff-note p:last-child,.kcg-note p:last-child{margin-bottom:0}
.kff-library{margin:2.5rem 0 1.5rem}
.kff .kff-answer{border:1px solid var(--kk-line);border-radius:12px;margin:.7rem 0;overflow:hidden;background:#fff}
.kff .kff-answer summary{padding:1rem 1.2rem;cursor:pointer;font-weight:650;line-height:1.4;list-style:disclosure-closed}
.kff .kff-answer[open] summary{border-bottom:1px solid var(--kk-line);background:#edf3e9;list-style:disclosure-open}
.kff .kff-answer-body{padding:1.2rem}
.kff .kff-answer-body>:last-child{margin-bottom:0}
.kff .kff-answer-body ul,.kff .kff-answer-body ol{padding-left:1.4rem;margin:.5rem 0 1.2rem}
.kff .kff-answer-body li{margin:.4rem 0}
.kff-sources{padding-top:1.5rem;border-top:1px solid var(--kk-line);font-size:.9rem;margin-top:2rem}
.kff-sources ul,.kcg-links{padding-left:1.3rem;margin:.5rem 0 1.3rem}
.kff-sources li,.kcg-links li{margin:.5rem 0}
.kcg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2.2rem}
.kcg-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--kk-line);border-radius:16px;padding:1.4rem;background:#fff}
.kcg-card p{font-size:.95rem}
.kcg-card>a:last-child{margin-top:auto;font-weight:650}
.kcg-card img{display:block;width:100%;max-width:100%;height:auto;border-radius:9px;margin-bottom:1rem;aspect-ratio:16/10;object-fit:cover}
.kcg .kcg-hero a,.kff .kff-intro a{font-weight:650}
.kcg .kcg-button{display:inline-block;background:var(--kk-green);color:#fff;border-radius:9px;padding:.8rem 1.1rem;text-decoration:none;line-height:1.4}
.kcg .kcg-caption{font-size:.8rem;color:#50635d;margin-top:-1.25rem}
.kcg .kcg-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding:0;margin:1.5rem 0 2.5rem}
.kcg .kcg-links article{border-top:1px solid var(--kk-line);padding-top:1.25rem;min-width:0}
.kcg .kcg-links .kcg-kicker{margin-bottom:.5rem}
@media(min-width:1000px){.kcg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.kcg .kcg-links{grid-template-columns:1fr}}
.kkt-callout{padding:1.1rem 1.3rem;border:1px solid var(--kk-line);border-left:4px solid var(--kk-green);border-radius:10px;background:#eef3e9;margin:2rem 0;font-size:1rem}
.kkt-callout p{margin:0 0 .6rem}
.kkt-callout p:last-child{margin-bottom:0}
@media(max-width:560px){.kcg-grid{grid-template-columns:1fr}.kff-intro,.kcg-hero,.kff [data-kff-app]{border-radius:14px}.kff .kff-choice{padding:.85rem}.kff .kff-choice:has(input:checked){padding:calc(.85rem - 1px)}.kff .kff-answer summary,.kff .kff-answer-body{padding:1rem}.kff .kff-actions button{padding:.7rem .9rem}.kcg-card{padding:1.15rem}}
@media(prefers-reduced-motion:reduce){.kff .kff-choice{transition:none}}
@media print{.kff [data-kff-app]{display:none!important}.kff .kff-answer{break-inside:avoid}.kff .kff-answer>.kff-answer-body{display:block!important}.kff,.kcg{color:#000;background:#fff}.kff a,.kcg a{color:#000}.kcg-grid{display:block}.kcg-card{margin-bottom:1rem}}

/* Keep the theme's long-form article spacing out of these compact tool panels. */
.kff p,.kcg p{margin:0 0 1.1em!important}
.kff h2,.kcg h2{margin:0 0 .65em!important;font-size:clamp(1.6rem,3vw,2.4rem)!important;line-height:1.18!important}
.kff h3,.kcg h3{margin:0 0 .7em!important;font-size:clamp(1.2rem,2vw,1.45rem)!important;line-height:1.3!important}
.kff-intro>:last-child,.kcg-hero>:last-child,.kff-answer-body>:last-child,.kcg-note>:last-child{margin-bottom:0!important}
.kcg>.kcg-note{margin:2rem 0}
.kcg>h2{margin-top:2rem!important}
.kff .kcg-kicker,.kcg .kcg-kicker{margin:0 0 1rem!important}
.kff-intro,.kcg-hero{padding:clamp(1.2rem,3vw,2rem)}
