.kkbc,.kkbc-sticky{box-sizing:border-box;font-family:inherit;line-height:1.6;color:#172438}
.kkbc *,.kkbc-sticky *{box-sizing:border-box}
.kkbc{max-width:1100px;margin:2rem auto;padding:clamp(1rem,3vw,1.8rem);border:1px solid #b8c4d2;border-top:4px solid #b92028;border-radius:14px;background:#fff;scroll-margin-top:6rem}
.kkbc h2{color:#172438;font-size:clamp(1.25rem,3vw,1.7rem);line-height:1.45;margin:0 0 .45rem}
.kkbc h3{font-size:1.15rem;color:#172438;margin:.5rem 0}
.kkbc p{margin:.35rem 0 1rem;max-width:80ch;color:#334155}
.kkbc-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.kkbc-actions a,.kkbc-actions button,.kkbc-sticky a,.kkbc-sticky button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem 1rem;border:1px solid #8091a6;border-radius:8px;background:#f5f7fa;color:#172438!important;font:inherit;font-weight:700;text-decoration:none!important;cursor:pointer;text-align:center;line-height:1.4}
.kkbc .kkbc-primary,.kkbc-sticky .kkbc-primary{background:#a81620;border-color:#a81620;color:#fff!important}
.kkbc-actions a:hover,.kkbc-actions button:hover,.kkbc-sticky a:hover{filter:brightness(.94)}
.kkbc a:focus-visible,.kkbc button:focus-visible,.kkbc input:focus-visible,.kkbc textarea:focus-visible,.kkbc summary:focus-visible,.kkbc-sticky a:focus-visible,.kkbc-sticky button:focus-visible{outline:3px solid #0865bd;outline-offset:3px}
.kkbc-details{margin-top:1rem;border-top:1px solid #d6dee8;padding-top:.75rem}
.kkbc summary{cursor:pointer;padding:.6rem .1rem;font-weight:750;min-height:44px}
.kkbc .kkbc-note{font-size:.9rem;color:#4b5c72;margin:.6rem 0 1rem}
.kkbc-items{border:1px solid #cbd5e1;border-radius:8px;margin:1rem 0;padding:.5rem 1rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1.4rem}
.kkbc-items legend{font-size:.9rem;padding:0 .35rem;color:#4b5c72}
.kkbc-items label{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:44px;font-weight:600}
.kkbc-items input{width:72px;flex-shrink:0;min-height:44px;padding:.4rem;border:1px solid #7e91aa;border-radius:6px;background:#fff;color:#172438;font:inherit}
.kkbc-field{display:block;margin:1rem 0;font-weight:600}
.kkbc textarea{display:block;width:100%;padding:.7rem;border:1px solid #7e91aa;border-radius:6px;background:#fff;color:#172438;font:inherit;line-height:1.6;resize:vertical;margin-top:.3rem}
.kkbc textarea::placeholder{color:#5a6878;opacity:1}
.kkbc-status{min-height:1.3rem;margin:.4rem 0!important;font-size:.9rem}
.kkbc-sticky{position:fixed;z-index:1100;bottom:0;left:0;right:0;display:flex;gap:.5rem;align-items:center;justify-content:center;padding:.5rem max(.5rem,env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(.5rem,env(safe-area-inset-left));background:#fff;border-top:1px solid #cbd5e1;box-shadow:0 -3px 18px #0f172a15}
.kkbc-sticky button{padding:.4rem;min-width:44px;background:transparent;border-color:transparent;font-size:1.5rem;flex-shrink:0}
.kkbc-sticky a{font-size:.9rem;max-width:42vw;overflow-wrap:anywhere}
.kkbc [hidden],.kkbc-sticky[hidden]{display:none!important}
body.kkbc-sticky-active{padding-bottom:calc(var(--kkbc-body-padding,0px) + var(--kkbc-bar-height,0px))!important}
@media(max-width:600px){.kkbc{margin:1.25rem .6rem}.kkbc-items{grid-template-columns:1fr;padding:.5rem .75rem}.kkbc-actions a,.kkbc-actions button{flex:1 1 150px}.kkbc-sticky{gap:.3rem}.kkbc-sticky a{padding:.5rem .65rem;font-size:.83rem}.kkbc-sticky button{min-width:40px}}
@media(prefers-reduced-motion:reduce){.kkbc,.kkbc-sticky{scroll-behavior:auto}}
@media print{.kkbc,.kkbc-sticky{display:none!important}body.kkbc-sticky-active{padding-bottom:0!important}}
