#profile-form .privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 15px;
  color: #526045;
  background: #eef0e4;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.source-mobile { display: none; }
.profile-steps {
  position: sticky;
  top: 0;
  z-index: 20;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
}
.profile-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 54px;
  padding: 9px 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffcf7;
  color: #6d5a4d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: none;
}
.profile-step .icon { width: 16px; height: 16px; }
.profile-step .step-label { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.profile-step .step-label .icon { flex: 0 0 auto; }
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.step-check { display: none; }
.profile-step[data-complete='true'] .step-index { display: none; }
.profile-step[data-complete='true'] .step-check { display: inline; }
.profile-step[data-complete='true']:not([aria-current='step']) {
  border-color: #a4b292;
  background: #eef1e9;
  color: #45624d;
}
.profile-step[aria-current='step'] {
  border-color: #a34e37;
  background: #fae9dd;
  color: #7a3020;
  box-shadow: inset 0 0 0 1px #a34e37;
}
.profile-step[data-error] { border-color: #bb4035; color: #9c2f26; }
.profile-step small {
  display: none;
  place-items: center;
  position: absolute;
  top: -7px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: white;
  background: #b8352a;
  font-size: 13px;
  font-weight: 800;
}
.profile-step[data-error] small { display: grid; }
.profile-step:not(:disabled):active { background: #ebd4c3; }
.profile-step:disabled { opacity: .48; }
@media (hover: hover) and (pointer: fine) {
  .profile-step:not(:disabled):hover { border-color: #a86d4f; background: #f8eee3; }
}
.profile-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-wizard-actions > span#profile-step-count { color: var(--muted); font-size: 13px; }
.profile-submit { margin-left: auto; }
.profile-submit .button { width: 100%; }
.profile-step-panel > .panel { margin: 0; }
.profile-step-panel h2:focus { outline: none; }
.profile-field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  color: #a22f25;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.profile-field-error::before { content: '!'; display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #b8352a; font-size: 12px; }
#profile-form [data-invalid='true'] > legend,
#profile-form [data-invalid='true'] > span:first-child,
#profile-form [data-invalid='true'] > label:first-child { color: #a22f25; }
#profile-form [data-invalid='true'] input:not([type='checkbox']):not([type='radio']),
#profile-form [data-invalid='true'] .picker-trigger,
#profile-form .range-question[data-invalid='true'] .band-slider { border-color: #bb4035; }
#profile-form fieldset[data-invalid='true'] > .choices { padding: 7px; margin: -7px; border: 1px solid #bb4035; border-radius: 12px; }
.profile-overview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.profile-overview-toolbar .privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #526045;
  font-size: 13px;
}
.profile-overview-toolbar .privacy-note .icon { width: 18px; height: 18px; }
.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}
.profile-overview-grid .panel { margin: 0; height: 100%; }
.profile-overview-card dl { margin: 0; }
.profile-overview-row { padding: 10px 0; border-top: 1px solid var(--border); }
.profile-overview-row:first-child { border-top: 0; padding-top: 0; }
.profile-overview-row dt, .profile-overview-device dt { color: var(--muted); font-size: 13px; }
.profile-overview-row dd, .profile-overview-device dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.profile-overview-devices { display: grid; gap: 12px; }
.profile-overview-device { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 11px; background: #f8f1e6; }
.profile-overview-device .icon { color: var(--accent); }
.profile-updated { margin: 16px 2px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .source-desktop { display: none; }
  .source-mobile { display: grid; }
  .profile-steps {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 12px;
  }
  .profile-step {
    justify-content: flex-start;
    min-height: 56px;
    padding: 8px 10px;
    gap: 7px;
    font-size: .8125rem;
    text-align: left;
  }
  .profile-step .step-label {
    flex: 1 1 auto;
    justify-content: flex-start;
    overflow-wrap: anywhere;
  }
  .profile-step .step-label .icon { display: none; }
  .profile-wizard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .profile-wizard-actions > span#profile-step-count {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }
  .profile-wizard-actions #profile-prev { grid-column: 1; grid-row: 2; justify-self: start; }
  .profile-wizard-actions #profile-next { grid-column: 2; grid-row: 2; justify-self: end; }
  .profile-wizard-actions .profile-submit { grid-column: 1 / -1; grid-row: 3; }
  .profile-wizard-actions #profile-next[hidden] + .profile-submit { grid-column: 2; grid-row: 2; }
  .profile-submit { min-width: 0; width: 100%; margin-left: 0; }
  .profile-submit .button { white-space: normal; }
  .profile-overview-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .profile-overview-toolbar { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .profile-steps { gap: 6px; }
  .profile-step { padding-inline: 8px; }
  .profile-wizard-actions .button { padding-inline: 8px; }
}
.privacy-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
#profile-form .branch-other,
#profile-form .hardware-fields > fieldset + fieldset,
#profile-form .product-section,
#profile-form .custom-product {
  margin-top: 18px;
}
#profile-form legend + .optional-choice {
  margin: 0;
}
.product-picker .hint {
  margin: 0 0 10px;
}
.product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.product-option {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 11px;
  border: 1px solid #d7c6b4;
  background: #fffcf7;
  color: #5d493a;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-option[aria-pressed='true'] {
  border-color: #a34e37;
  box-shadow: inset 0 0 0 1px #a34e37;
  background: #fae9dd;
  color: #7a3020;
  font-weight: 650;
}
.product-number:not(:empty) {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 3px;
  border-radius: 50%;
  background: #9a4531;
  color: white;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.ranked-products {
  padding: 0;
  list-style: none;
  margin: 10px 0 0;
}
.ranked-products:empty {
  display: none;
}
.ranked-products li {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #ebdfcf;
  font-size: 14px;
}
.rank-label {
  font-size: 12px;
  color: var(--muted);
}
.ranked-products li strong {
  margin-right: auto;
}
.ranked-products button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  min-height: 44px;
  min-width: 44px;
}
.ranked-products button:disabled {
  opacity: 0.45;
  color: var(--muted);
}
.range-question {
  display: grid;
  gap: 12px;
}
.band-slider {
  background: #f7efe3;
  border: 1px solid #e8d9c5;
  border-radius: 14px;
  padding: 14px 16px;
}
.band-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
}
.band-summary {
  font-size: 13px;
  color: var(--muted);
}
.band-slider output {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.band-slider input {
  width: 100%;
  margin: 0;
  min-height: 44px;
  cursor: pointer;
  accent-color: var(--accent);
}
.range-undecided {
  justify-self: start;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #d7c6b4;
  border-radius: 11px;
  background: var(--paper);
  color: #5d493a;
  font-size: 14px;
}
.range-undecided[aria-pressed='true'] {
  background: #fae9dd;
  color: #7a3020;
  box-shadow: inset 0 0 0 1px #a34e37;
  border-color: #a34e37;
}
.range-question[data-answered='false'] output {
  color: var(--muted);
  font-weight: 500;
}
.range-undecided:not(:disabled):active {
  background: #eddbca;
}
@media (hover: hover) and (pointer: fine) {
  .range-undecided:not(:disabled):hover {
    border-color: #a86d4f;
  }
}
.band-ticks {
  position: relative;
  height: 47px;
  margin-inline: 8px;
  margin-top: -3px;
}
.band-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 3px 1px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #775d4b;
  font: inherit;
  font-size: 10.5px;
  line-height: 1.15;
  cursor: pointer;
}
.band-tick::before {
  content: '';
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid #ab856f;
  border-radius: 50%;
  background: #fffcf7;
}
.band-tick[aria-pressed='true'] {
  color: #81341e;
  font-weight: 700;
}
.band-tick[aria-pressed='true']::before {
  border-color: #a34e37;
  background: #a34e37;
  box-shadow: 0 0 0 3px #a34e3724;
}
.band-tick:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -2px;
}
.band-tick:active {
  background: #eddbca;
}
@media (hover: hover) and (pointer: fine) {
  .band-tick:hover {
    background: #f3e5d3;
  }
}
.equipment-guide {
  margin-top: 8px;
}
.equipment-guide summary {
  display: list-item;
  cursor: pointer;
  font-size: 14px;
  color: #8b4f37;
  min-height: 44px;
  padding: 9px 5px;
  border-radius: 8px;
  line-height: 26px;
}
.equipment-guide dl {
  display: grid;
  gap: 8px;
  margin: 3px 0 0;
  padding: 12px 15px;
  background: #f7f0e6;
  border-radius: 12px;
}
.equipment-guide dt {
  font-size: 14px;
  font-weight: 650;
}
.equipment-guide dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.model-field {
  align-content: start;
  position: relative;
  min-width: 0;
}
.model-field > label {
  font-size: 14px;
  font-weight: 630;
}
.device-row .picker-trigger > span {
  flex: 0 0 auto;
  white-space: nowrap;
}
.device-row .picker-trigger .picker-description {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}
.model-input {
  position: relative;
}
.model-symbol {
  position: absolute;
  inset: 0 auto 0 12px;
  display: grid;
  align-items: center;
  pointer-events: none;
  color: #88603f;
}
.model-symbol .icon {
  width: 19px;
  height: 19px;
}
.model-field input[name='model'] {
  padding-left: 39px;
}
.model-results {
  position: absolute;
  z-index: 40;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  border: 1px solid #d7c6b4;
  background: #fffcf7;
  border-radius: 11px;
  box-shadow: 0 12px 28px #38231d27;
  padding: 4px;
  max-height: 230px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.model-no-results {
  position: absolute;
  z-index: 40;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d7c6b4;
  border-radius: 11px;
  background: #fffcf7;
  box-shadow: 0 12px 28px #38231d27;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  pointer-events: none;
}
.model-results > [role='option'] {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  min-height: 44px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}
.model-results .icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
}
.model-results > [role='option'] > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.model-results small {
  margin-left: auto;
  flex: 0 0 auto;
  max-width: 40%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .model-results {
    max-height: min(230px, 42dvh);
  }
  .model-results > [role='option'] > span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 720px) and (max-height: 800px) {
  .model-results,
  .model-no-results {
    top: auto;
    bottom: calc(100% - 1px);
  }
}
.model-results [aria-selected='true'] {
  background: #f7e6d6;
  color: #82351f;
}
@media (hover: hover) and (pointer: fine) {
  .ranked-products button:not(:disabled):hover,
  .model-results > [role='option']:hover,
  .equipment-guide summary:hover {
    background: #f3e5d3;
  }
  .product-option:not(:disabled):hover {
    border-color: #a86d4f;
  }
}
.model-results > [role='option']:active,
.product-option:not(:disabled):active,
.ranked-products button:not(:disabled):active {
  background: #eddbca;
}
@media (max-width: 390px) {
  .ranked-products li {
    gap: 4px;
  }
  .band-slider {
    padding: 10px;
  }
}
