/* Shared styling from the Samsung brand error-code block. */
.brand-error-codes { padding: clamp(24px, 5vw, 52px) 0; scroll-margin-top: 105px; }
.brand-error-codes .brand-code-panel {
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid #d9e5ef;
  border-radius: 16px;
  background: #f3f7fb;
  color: #0b2846;
}
.brand-error-codes-heading {
  margin: 0 0 clamp(14px, 2vw, 22px);
  color: #0b2846;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.15;
  text-wrap: balance;
}
.brand-error-codes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.brand-error-codes li { min-width: 0; padding: 12px; border: 1px solid #d9e5ef; border-radius: 10px; background: #fff; }
.brand-error-codes h3 { margin: 0 0 6px; color: #0b2846; font-size: 14px; line-height: 1.25; }
.brand-error-codes code { display: inline-block; margin-bottom: 7px; padding: 4px 7px; border-radius: 8px; background: #fff0e4; color: #bc4b00; font: 700 15px/1.25 ui-monospace, monospace; }
.brand-error-codes li p { margin: 0; color: #304a64; font-size: 14px; line-height: 1.4; }
.brand-error-codes .brand-code-help { margin: 14px 0 0; color: #304a64; font-size: 15px; line-height: 1.55; text-align: center; }
.brand-error-codes .brand-code-help strong { color: #0b2846; white-space: nowrap; }
.brand-error-codes .brand-code-help strong span { margin-inline: 3px; color: #eea475; font-size: 1.15em; line-height: 1; }
.brand-error-codes .brand-code-help a { color: #145b89; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.brand-error-codes .brand-code-help a:not([href]) { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .brand-error-codes li:hover { border-color: #c9daea; background: #eef4f9; box-shadow: inset 0 2px 5px rgb(11 40 70 / 16%); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .brand-error-codes li { transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
  .brand-error-codes li > * { transition: translate 150ms ease; }
  .brand-error-codes li:hover > * { translate: 0 2px; }
}
@media (max-width: 560px) {
  .brand-error-codes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-error-codes li { padding: 9px; }
}
