/* Cards module (modules/68-cards). Prefix kc-. */
.kc-card { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1.586; border-radius: 14px; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 6px 18px rgba(16, 38, 64, .22); font-family: inherit; background: linear-gradient(135deg, #12355b, #0b1f36); }
.kc-card.sm { max-width: 280px; padding: 13px 15px; border-radius: 12px; }
.kc-card:after { content: ""; position: absolute; right: -40%; top: -60%; width: 110%; height: 160%; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.kc-card.d-navy { background: linear-gradient(135deg, #17406b, #0b1f36); }
.kc-card.d-blue { background: linear-gradient(135deg, #2d8ae6, #0f4c8a); }
.kc-card.d-teal { background: linear-gradient(135deg, #1aa58f, #0b5d58); }
.kc-card.d-silver { background: linear-gradient(135deg, #c9d3dd, #8695a6); color: #13283f; }
.kc-card.d-graphite { background: linear-gradient(135deg, #4a5563, #20262e); }
.kc-card.d-black { background: linear-gradient(135deg, #2a2a2e, #050507); }
.kc-card.d-gold { background: linear-gradient(135deg, #e0b956, #9b7420); color: #2a1d00; }
.kc-card.d-purple { background: linear-gradient(135deg, #7e5bd6, #3d237e); }
.kc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; position: relative; z-index: 1; }
.kc-brand b { display: block; font-size: 14px; letter-spacing: .02em; }
.kc-brand small { display: block; font-size: 11px; opacity: .8; }
.kc-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 8px; background: rgba(255, 255, 255, .18); white-space: nowrap; }
.kc-mid { min-height: 26px; position: relative; z-index: 1; }
.kc-chip { display: inline-block; width: 36px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, #f3d98b, #c59a35); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.kc-num { font-size: 18px; letter-spacing: .12em; font-variant-numeric: tabular-nums; position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-card.sm .kc-num { font-size: 15px; }
.kc-foot { display: flex; gap: 14px; align-items: flex-end; position: relative; z-index: 1; font-size: 12px; }
.kc-foot small { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.kc-foot .who { flex: 1; min-width: 0; }
.kc-foot .who span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-foot .net { font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .02em; }
.kc-sbx { position: absolute; right: 16px; top: 40px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #ffcf3f; color: #3a2a00; padding: 2px 8px; border-radius: 8px; }
.kc-veil { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; background: rgba(160, 200, 235, .55); color: #0b2a4a; backdrop-filter: blur(1px); }
.kc-veil.bad { background: rgba(40, 40, 46, .62); color: #fff; }
.kc-veil.warn { background: rgba(255, 236, 190, .55); color: #4a3300; }

.kc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.kc-cardlink { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.kc-cardlink:hover .kc-card { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 38, 64, .28); }
.kc-cardlink .kc-card { transition: transform .15s, box-shadow .15s; }
.kc-under b { display: block; }
.kc-cat { color: var(--muted); }

.kc-hero { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.kc-hero > .kc-card { flex: 0 1 320px; }
.kc-heroside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kc-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-quick form { margin: 0; }
.kc-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.kc-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.kc-meters .sub { display: block; margin-bottom: 4px; }
.kc-stmt { margin-bottom: 12px; }
.kc-move { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px; align-items: end; }
.kc-p { margin: 0 0 10px; }
.kc-bar { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr auto; gap: 10px; align-items: center; padding: 4px 0; }
.kc-barl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-barv { min-width: 90px; text-align: right; }
.kc-note { margin-top: 3px; white-space: pre-line; }
.kc-acts { white-space: nowrap; }
.kc-acts form { display: inline; }
.kc-reason { max-width: 320px; }
.kc-subrow td { border-top: 0; padding-top: 0; }
.kc-answer { max-width: 220px; display: inline-block; white-space: normal; }
.kc-sbxnote { margin: 8px 0 0; padding: 7px 10px; border-radius: 4px; background: #fff6d8; color: #5c4400; font-size: 12.5px; }
.kc-secret { word-break: break-all; font-size: 13px; }
.kc-swatch { display: inline-block; width: 18px; height: 12px; border-radius: 3px; vertical-align: -1px; background: #17406b; }
.kc-swatch.d-blue { background: #2d8ae6; } .kc-swatch.d-teal { background: #1aa58f; } .kc-swatch.d-silver { background: #b5c1cd; }
.kc-swatch.d-graphite { background: #4a5563; } .kc-swatch.d-black { background: #111; } .kc-swatch.d-gold { background: #d2a845; } .kc-swatch.d-purple { background: #7e5bd6; }
.kc-pline { display: block; margin-top: 2px; }
.kc-desc { margin: 10px 0 0; }
.kc-instant { margin: 0; color: var(--muted); }
.kc-facts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.kc-facts i { color: var(--brand-primary); margin-right: 4px; }
.kc-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 12px; border-radius: 6px; background: var(--panel2); border: 1px solid #dde5ed; }
.kc-reveal b { display: block; font-size: 16px; letter-spacing: .04em; }
.kc-reveal > .sub:last-child { grid-column: 1 / -1; }
.kc-form2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.kc-products label { align-items: flex-start; }

@media (max-width: 640px) {
    .kc-hero > .kc-card { flex-basis: 100%; }
    .kc-meters { grid-template-columns: 1fr; }
    .kc-bar { grid-template-columns: 1fr auto; }
    .kc-bar .ct-meter { grid-column: 1 / -1; grid-row: 2; }
    .kc-reveal { grid-template-columns: 1fr; }
    .kc-num { font-size: 16px; }
    .kc-acts { white-space: normal; }
}
.kc-why { display: block; white-space: normal; max-width: 200px; }
