/* Model photos guide selection; power and connectors remain independent form fields. */
.charger-model-picker { min-width: 0; margin-bottom: 19px; }
.charger-model-label { display: block; font-size: 15px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.charger-model-open { appearance: none; font: inherit; color: #2c503a; background: #fff; border: 1px solid #dce5d7; border-radius: 12px; padding: 10px 13px; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 94px; text-align: left; cursor: pointer; }
.charger-model-open:hover { border-color: #8ca77c; background: #fcfdf9; }
.charger-model-open:focus-visible, .charger-model-option:focus-visible, .charger-model-back:focus-visible { outline: 3px solid #9cba7c; outline-offset: 3px; }
.charger-model-open > .ui-icon { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: #7a8d6f; }
.charger-model-selected-picture { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 72px; border: 1px solid #edf1e8; border-radius: 9px; background: #fff; overflow: hidden; }
.charger-model-selected-picture img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.charger-model-selected-name { min-width: 0; flex: 1; }
.charger-model-selected-name > b { display: block; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; font-weight: 600; }
.charger-model-selected-name > small { display: block; font-size: 12px; line-height: 1.7; color: #7c8c70; margin-top: 4px; }
.charger-model-dialog { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 110px); color: #2c503a; }
.charger-model-dialog .ui-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.charger-model-dialog-heading { flex-shrink: 0; padding-right: 16px; }
.charger-model-dialog .charger-model-dialog-heading h2 { font-size: 24px; line-height: 1.6; margin: 8px 0 5px; }
.charger-model-dialog .charger-model-dialog-heading p { font-size: 13px; line-height: 1.8; color: #78886e; margin: 0 0 18px; }
.charger-model-list-mode { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.charger-model-dialog .charger-model-search { position: relative; display: block; flex-shrink: 0; margin: 0; }
.charger-model-search > span { position: absolute; left: 15px; top: 15px; color: #8a9a7c; }
.charger-model-dialog .charger-model-search input { margin: 0; font-size: 16px; min-height: 50px; padding-left: 46px; border-radius: 11px; }
.charger-model-dialog .charger-model-results { font-size: 12px; color: #7c8b71; line-height: 1.7; margin: 12px 0 10px; flex-shrink: 0; }
.charger-model-options { display: flex; flex-direction: column; gap: 11px; overflow-y: auto; overscroll-behavior: contain; min-height: 80px; max-height: 420px; padding: 3px 5px 8px 3px; }
.charger-model-option { appearance: none; display: flex; gap: 16px; align-items: center; flex-shrink: 0; text-align: left; font: inherit; color: #375838; background: #fff; border: 1px solid #e0e8d8; border-radius: 13px; padding: 13px 16px; width: 100%; min-height: 104px; cursor: pointer; }
.charger-model-option:hover { background: #f8faf4; border-color: #b9cba7; }
.charger-model-option[aria-selected="true"] { background: #f1f7e9; border: 2px solid #7e9c66; padding: 12px 15px; }
.charger-model-option-picture { display: grid; place-items: center; width: 84px; height: 88px; flex: 0 0 84px; background: #fff; border: 1px solid #edf1e7; border-radius: 10px; overflow: hidden; }
.charger-model-option-picture img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.charger-model-option-copy { min-width: 0; flex: 1; }
.charger-model-option-copy > b { display: block; font-size: 16px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }
.charger-model-option-copy > small { display: block; font-size: 13px; line-height: 1.8; color: #7b8e6b; margin-top: 4px; }
.charger-model-option-check { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; color: #8a9c7a; border-radius: 9px; }
.charger-model-option[aria-selected="true"] .charger-model-option-check { color: #496d34; background: #e2edd6; }
.charger-model-option-check .ui-icon { width: 19px; height: 19px; }
.charger-model-dialog .charger-model-cancel { display: flex; justify-content: center; align-items: center; font-size: 15px; min-height: 48px; margin: 15px 0 0; flex-shrink: 0; }
.charger-model-custom-mode { overflow-y: auto; min-height: 0; padding: 0 3px 3px; }
.charger-model-back { appearance: none; background: none; border: 0; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 0; color: #779063; font: inherit; font-size: 14px; cursor: pointer; }
.charger-model-custom-picture { height: 100px; margin: 12px 0 18px; display: flex; justify-content: center; }
.charger-model-custom-picture img { height: 100px; width: 80px; object-fit: contain; }
.charger-model-dialog .charger-model-custom-mode > label { display: block; font-size: 15px; margin: 12px 0 0; }
.charger-model-dialog .charger-model-custom-mode input { min-height: 50px; font-size: 16px; }
.charger-model-dialog .charger-model-custom-mode p { color: #7c8b70; font-size: 13px; line-height: 1.8; margin: 12px 0 18px; }
.charger-model-dialog .charger-model-custom-mode .button { display: flex; width: 100%; justify-content: center; min-height: 48px; margin: 0; }
.charger-model-dialog [hidden] { display: none !important; }
@media (max-width: 480px) {
  .charger-model-open { gap: 10px; padding: 9px 11px; }
  .charger-model-selected-picture { flex-basis: 54px; width: 54px; height: 64px; }
  .charger-model-selected-name > b { font-size: 14px; }
  .charger-model-dialog { max-height: calc(100dvh - 90px); }
  .charger-model-dialog .charger-model-dialog-heading h2 { font-size: 22px; }
  .charger-model-option { gap: 12px; padding: 11px; min-height: 94px; }
  .charger-model-option[aria-selected="true"] { padding: 10px; }
  .charger-model-option-picture { flex-basis: 66px; width: 66px; height: 75px; }
  .charger-model-option-copy > b { font-size: 15px; }
  .charger-model-option-copy > small { font-size: 12px; }
  .charger-model-option-check { flex-basis: 22px; width: 22px; }
  .charger-model-options { gap: 9px; }
}
