/* Account preferences: native selects with a consistent inset chevron. */
.account-grid > .panel:has([data-settings-language]) { padding:24px; }
.account-grid > .panel:has([data-settings-language]) h2 { margin:8px 0 20px; font-size:20px; line-height:1.35; }
.account-grid > .panel:has([data-settings-language]) .field { margin:0 0 16px; gap:7px; }
.account-grid > .panel:has([data-settings-language]) .field > span { font-size:13px; font-weight:600; color:#626773; }
select[data-settings-language], select[data-reporting-currency] {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:44px;
  height:44px;
  padding:0 42px 0 14px;
  border:1px solid #dfe1e6;
  border-radius:10px;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23747a86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:18px;
  font:500 14px/1.4 Inter,system-ui,sans-serif;
  color:#292d38;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(24,28,40,.025);
}
select[data-settings-language]:hover, select[data-reporting-currency]:hover { border-color:#b8bec8; }
select[data-settings-language]:focus-visible, select[data-reporting-currency]:focus-visible { outline:3px solid #ff6e3d26; outline-offset:2px; border-color:#ff6e3d; }
.account-grid > .panel:has([data-settings-language]) .field-help { margin:12px 0 0; font-size:12px; line-height:1.65; color:#747a86; }
.account-grid > .panel:has([data-settings-language]) .field-help + .field-help { margin-top:10px; }
@media(max-width:820px) {
  .account-grid > .panel:has([data-settings-language]) { padding:20px; }
  .account-grid > .panel:has([data-settings-language]) h2 { font-size:18px; margin-bottom:18px; }
  select[data-settings-language], select[data-reporting-currency] { font-size:16px; }
}
@media(forced-colors:active) {
  select[data-settings-language], select[data-reporting-currency] { appearance:auto; background-image:none; }
}
/* Keep Safari's native date value within the form's flex/grid column. */
.form-body .field { min-width:0; }
.form-body .field input[type="date"] {
  appearance:none;
  -webkit-appearance:none;
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:44px;
}
.form-body .field input[type="date"]::-webkit-date-and-time-value {
  min-width:0;
  text-align:left;
}
/* Account controls are direct siblings, not a settings-actions group. */
.account-access > .button { margin:0 8px 10px 0; }
