/* 640px card with thin border + shadow, bold titles, reduced report text */
.kdc-card{background:#fff;border-radius:14px;padding:16px;margin:16px auto;max-width:640px;box-sizing:border-box;border:1px solid #e6e6e6;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.kdc-front{margin-top:8px}
.kdc-title{font-size:1.25rem;text-align:center;margin:10px 0;font-weight:700}
.kdc-subtitle{font-size:1rem;margin:6px 0;text-align:center;font-weight:700}
.kdc-field{display:flex;flex-direction:column;margin-bottom:12px}
.kdc-field label{font-size:12px;margin-bottom:6px}
.kdc-field input,.kdc-field select{width:100%;padding:10px;border:1px solid #d9d9d9;border-radius:10px;font-size:12px;box-sizing:border-box;background:#f6f7f6}
.kdc-row{display:flex;gap:14px}
.kdc-field.full{width:100%}
.kdc-field.half{width:50%}
.kdc-actions{display:flex;justify-content:center;gap:20px;margin:18px 0}
.kdc-btn{background:#1d2d06;color:#fff;border:none;border-radius:18px;padding:12px 22px;min-width:154px;font-size:14px;cursor:pointer}
.kdc-btn.kdc-secondary{background:#5f6770}
.kdc-btn:disabled{opacity:.7;cursor:not-allowed}
.kdc-error{color:#b00020;font-size:11px;margin-top:6px;display:none}
.kdc-invalid{border-color:#b00020;background:#fff5f5}
.kdc-calc-state{min-height:20px;text-align:center;font-size:12px}
.kdc-report.hidden{display:none}

/* Report text size reductions */
.kdc-report .kdc-card p{font-size:10px;line-height:1.6;text-align:justify}
.kdc-breakdown p{font-size:9px;line-height:1.6}

/* Bold "Note:" label and justify the full note text */
.kdc-note small{display:block;text-align:justify}
.kdc-note small .kdc-note-label{font-weight:700}

/* Mobile */
@media (max-width:640px){
 .kdc-row{flex-direction:column}
 .kdc-field.half{width:100%}
 .kdc-btn{min-width:46%}
}

/* Font sizing adjustments requested: card1 +1 level, cards 2-6 +2 levels */
.kdc-card-1 p{font-size:11px;}  /* was 9-10, now slightly larger */
.kdc-card-2 p,
.kdc-card-3 p,
.kdc-card-4 p,
.kdc-card-5 p,
.kdc-card-6 p{font-size:12px;}

/* Stronger font sizing overrides */
.kdc-report .kdc-card.kdc-card-1 p{font-size:12px !important;}
.kdc-report .kdc-card.kdc-card-2 p,
.kdc-report .kdc-card.kdc-card-3 p,
.kdc-report .kdc-card.kdc-card-4 p,
.kdc-report .kdc-card.kdc-card-5 p,
.kdc-report .kdc-card.kdc-card-6 p{font-size:13px !important;}

/* v1.2.6: Increase font for cards 2-6 by +1, keep card1 same */
.kdc-report .kdc-card.kdc-card-2 p,
.kdc-report .kdc-card.kdc-card-3 p,
.kdc-report .kdc-card.kdc-card-4 p,
.kdc-report .kdc-card.kdc-card-5 p,
.kdc-report .kdc-card.kdc-card-6 p{font-size:14px !important;}

/* Highlight Note card background softly */
.kdc-card.kdc-note{background:#fffce8;}
