#key-points-panel { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 20px; }
#key-points-panel > * { min-width: 0; }
.energy-guide { --guide-image-height: clamp(180px, calc(100svh - 430px), 420px); }
.kp-message:empty { display: none; }
.kp-intro { display: flex; gap: 14px; align-items: center; }
.kp-key { width: 40px; height: 40px; flex: none; object-fit: contain; }
.kp-logo { width: 16px; height: 16px; flex: none; object-fit: contain; }
.kp-intro p, .kp-purchase p { color: #59655e; line-height: 1.6; margin: 6px 0; }
.kp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kp-stats .surface-card { display: grid; gap: 6px; align-content: start; }
.kp-stats strong { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #214c3d; font-variant-numeric: tabular-nums; }
.kp-stats span { color: var(--muted, #59655e); font-size: 0.86rem; font-weight: 600; }
.kp-stats-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#portfolio-key-points { min-width: 0; margin-bottom: 24px; }
#portfolio-key-points .section-head { flex-wrap: wrap; gap: 12px; }
.kp-offer-copy h4 { margin: 0; }
.kp-notice { padding: 14px 18px; background: #fff5dd; border: 1px solid #eadab5; border-radius: 12px; color: #624b18; }
.kp-purchase form, .kp-search { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 16px; }
.kp-purchase form > span { align-self: center; }
.kp-purchase label, .kp-offer label, .kp-dialog label { display: grid; gap: 7px; font-size: 13px; color: #3e5045; }
#key-points-panel input, #key-points-panel select, .kp-dialog input, .kp-dialog select { min-height: 42px; border: 1px solid #d6dfd9; border-radius: 9px; background: #fff; padding: 9px 12px; color: #223b2b; font: inherit; max-width: 100%; }
#key-points-panel input:focus-visible, #key-points-panel select:focus-visible, .kp-dialog input:focus-visible, .kp-dialog select:focus-visible { outline: 2px solid #327653; outline-offset: 2px; }
.kp-purchase input { width: 150px; }
.kp-search input { flex: 1; min-width: 180px; }
.kp-table-wrap { overflow-x: auto; }
.kp-team table { border-collapse: collapse; width: 100%; text-align: left; }
.kp-team th, .kp-team td { padding: 12px 8px; border-bottom: 1px solid #e7ece9; white-space: nowrap; }
.kp-team th { font-size: 12px; color: #66766c; font-weight: 500; }
.kp-offer { display: grid; grid-template-columns: minmax(0,1fr) 100px auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid #e7ece9; }
.kp-offer-info { display: flex; gap: 14px; align-items: center; min-width: 0; }
.kp-offer-copy { min-width: 0; overflow-wrap: anywhere; }
.kp-agent-identity { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 96px; min-width: 0; }
.kp-agent-name { width: 100%; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; color: #3e5045; overflow-wrap: anywhere; }
.kp-agent-avatar { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border: 1px solid #e8d8cd; border-radius: 50%; background: #fff3ec; color: #a34820; font-size: 15px; font-weight: 700; }
.kp-agent-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #fff3ec; }
.kp-offer h5 { font-size: 15px; margin: 0 0 6px; line-height: 1.5; }
.kp-offer p { font-size: 12px; color: #66766c; margin: 0 0 8px; }
.kp-badge { display: inline-flex; gap: 6px; align-items: center; width: fit-content; border: 1px solid #cfdfd4; color: #285640; background: #f0f6f2; border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 600; }
.kp-pagination { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; margin-top: 16px; font-size: 13px; }
[data-kp-history] > [role="status"]:empty { display: none; }
.kp-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kp-validity-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; margin-top: 16px; padding: 14px 16px; border: 1px solid #cfdfd4; border-radius: 12px; background: #f0f6f2; color: #285640; }
.kp-validity-summary > span { font-size: 13px; font-weight: 600; }
.kp-validity-summary > strong { font-size: 24px; }
.kp-validity-summary > p { grid-column: 1 / -1; margin: 0; color: #59655e; font-size: 12px; line-height: 1.5; }
.kp-lot { display: grid; gap: 5px; padding: 13px 0; border-bottom: 1px solid #e7ece9; font-size: 13px; }
.kp-lot span { color: #66766c; font-size: 12px; }
.kp-dialog { width: min(600px, calc(100vw - 28px)); max-height: 85vh; overflow: auto; border: 1px solid #d6dfd9; border-radius: 18px; padding: 24px; color: #223b2b; box-shadow: 0 24px 80px #102b2540; }
.kp-dialog::backdrop { background: #142f285e; }
.kp-dialog form { display: grid; gap: 18px; }
.kp-dialog [data-error] { color: #a33429; }
.kp-dialog p { font-size: 13px; line-height: 1.6; }
.kp-dialog .section-head, .kp-dialog [data-kp-recovery-preview] { margin: 0; }
.kp-dialog [data-error]:empty { display: none; }
.kp-transfer-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; background: #f0f6f2; border: 1px solid #cfdfd4; border-radius: 12px; }
.kp-transfer-summary span { display: grid; gap: 6px; font-size: 12px; }
.kp-transfer-summary strong { font-size: 22px; color: #285640; }
.kp-reduction { margin: 12px 0; }
.kp-reduction input { width: 110px; }
@media (max-width: 640px) {
    .kp-stats { gap: 8px; }
    .kp-stats .surface-card { padding: 14px 10px; }
    .kp-stats strong { font-size: 26px; }
    .kp-stats span { font-size: 12px; }
    .kp-bottom { grid-template-columns: minmax(0, 1fr); }
    .kp-offer { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
    .kp-offer > div { grid-column: 1 / -1; }
    .kp-agent-identity { flex-basis: 80px; }
    .kp-offer input { width: 100px; }
    .kp-search > * { width: 100%; }
    .kp-pagination { justify-content: space-between; }
}
