@charset "UTF-8";

.preferences-layout {
  --pref-line: #dfd2bd;
  --pref-muted: #796c5a;
  --pref-sage: #697b5c;
  width: min(1150px, 100%);
  margin-inline: auto;
  padding: 23px 0 12px;
  animation: pref-arrive .45s ease both;
}
.preferences-layout :where(button, input, select) { font: inherit; }
.preferences-layout :where(button, select, input[type="checkbox"], input[type="range"]) { cursor: pointer; }
.preferences-layout button:disabled { cursor: not-allowed; opacity: .45; }
.preferences-layout :focus-visible { outline: 3px solid #a94f28; outline-offset: 4px; }
.preferences-layout h1:focus, .preferences-layout h2:focus { outline: none; }
.preferences-layout :where(input, select) { accent-color: #b9592f; }
.pref-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pref-back, .pref-motion { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; border: 0; border-radius: 4px; background: transparent; color: #78634c; font-size: 11px; }
.pref-back > span { font-size: 20px; transition: transform .2s; }
.pref-back:hover > span { transform: translateX(-3px); }
.pref-back:hover, .pref-motion:hover { color: #a54b25; }
.pref-motion { gap: 7px; color: #837159; font-size: 10px; }
.pref-motion[aria-pressed="true"] { color: #a24e28; }
.pref-hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 28px; padding: 22px 0 32px; }
.pref-hero-copy { padding-block: 10px; }
.pref-kicker { display: flex; align-items: center; gap: 7px; color: #926d42; font-size: 8px; font-weight: 650; letter-spacing: 1.6px; }
.pref-kicker > span { font-size: 19px; color: #bc8950; }
.pref-hero h1 { margin: 13px 0 19px; font: 750 clamp(37px, 4.1vw, 58px)/1.08 var(--font-display); letter-spacing: -2.4px; }
.pref-hero h1 em { font: italic 1.12em/1.08 Georgia, serif; color: #b6562c; letter-spacing: -2.6px; }
.pref-hero-copy > p:not(.pref-kicker) { font-size: 12px; line-height: 1.9; color: var(--pref-muted); }
.pref-hero-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 19px; }
.pref-hero-labels > span:first-child { display: inline-flex; gap: 7px; align-items: center; color: #728063; font-size: 10px; }
.pref-hero-labels i { width: 5px; height: 5px; border-radius: 50%; background: #849571; }
.pref-preview-badge { display: inline-block; flex-shrink: 0; width: fit-content; padding: 4px 7px; border: 1px solid #d9c7aa; border-radius: 4px; background: #f0e5d2; color: #8d6b40; font-size: 7px; line-height: 1.4; letter-spacing: 1.1px; font-weight: 700; }
.pref-scene { width: min(420px, 100%); margin: -5px -6px 0 auto; }
.pref-scene > svg { width: 100%; height: auto; overflow: visible; }
.pref-scene figcaption { margin-top: -8px; text-align: center; color: #8d7652; font: italic 12px Georgia, serif; transform: rotate(-3deg); }
.pref-scene-tail { transform-origin: 259px 228px; animation: pref-tail 5.8s ease-in-out infinite; }
.pref-scene-head { transform-origin: 207px 174px; animation: pref-head 8s ease-in-out infinite; }
.pref-scene-eyes { transform-box: fill-box; transform-origin: center; animation: pref-blink 6.5s infinite; }
.pref-scene-float { animation: pref-float 6s ease-in-out infinite; }
.pref-scene-float--choice { animation-delay: -3s; }
.pref-scene-needle { transform-origin: 348px 85px; animation: pref-needle 8s ease-in-out infinite; }
.pref-scene-spark { transform-box: fill-box; transform-origin: center; animation: pref-spark 5s ease-in-out infinite; }
.pref-workspace-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 15px 1px; border-top: 1px solid #d8c8b0; color: #8e775b; font-size: 10px; }
.pref-workspace-intro p { display: flex; align-items: baseline; gap: 15px; }
.pref-workspace-intro p > span { color: #a38760; font-size: 8px; font-weight: 650; letter-spacing: 1.7px; }
.pref-workspace-intro > span { font: italic 11px Georgia, serif; }
.pref-workspace { display: grid; grid-template-columns: 180px minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.pref-navigation { min-width: 0; padding-top: 20px; }
.pref-nav-kicker { margin: 0 0 13px 11px; color: #998263; font-size: 8px; font-weight: 650; letter-spacing: 1.6px; }
.pref-nav { display: grid; gap: 4px; }
.pref-nav-button { display: flex; align-items: center; width: 100%; min-height: 43px; padding: 9px 10px; gap: 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #786955; text-align: left; line-height: 1.3; transition: background .18s, border-color .18s, color .18s; }
.pref-nav-button:hover { background: #eee3d2; color: #9c4b28; }
.pref-nav-button[aria-current="true"], .pref-nav-button[aria-current="page"] { border-color: #d9c5a9; background: #fff8eb; color: #a8542e; box-shadow: 0 2px 3px #68513405; }
.pref-nav-number { flex-shrink: 0; width: 18px; color: #a28b69; font: italic 13px Georgia, serif; }
.pref-nav-title { flex: 1; font-size: 11px; font-weight: 550; }
.pref-nav-button[aria-current="true"] .pref-nav-title, .pref-nav-button[aria-current="page"] .pref-nav-title { font-weight: 700; }
.pref-nav-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #7f906c; }
.pref-nav-dot:empty { display: block; }
.pref-nav-button[data-active="false"] .pref-nav-dot { visibility: hidden; }
.pref-nav-foot { display: flex; align-items: center; gap: 9px; margin: 18px 10px 0; padding-top: 18px; border-top: 1px solid #e1d4c0; color: #8d7e69; font-size: 9px; line-height: 1.8; }
.pref-nav-foot > span { color: #b19467; font: 26px Georgia, serif; }
.pref-panel { min-width: 0; margin: 0; padding: 27px 27px 21px; border: 1px solid #dbccb6; border-radius: 16px; background: #fffbf3; box-shadow: 0 5px 0 -2px #ebe1d0, 0 15px 35px -28px #6b472e40; }
.pref-panel[aria-busy="true"] { opacity: .7; }
.pref-panel-heading { position: relative; padding-bottom: 20px; border-bottom: 1px solid #e7dccb; }
.pref-panel-kicker { display: flex; gap: 7px; align-items: center; color: #a18254; font-size: 8px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; }
.pref-panel-title { margin: 9px 0 9px; color: #41372b; font: 650 30px/1.15 var(--font-display); letter-spacing: -1px; overflow-wrap: anywhere; }
.pref-panel-description { max-width: 47em; margin: 0; font-size: 11px; line-height: 1.8; color: #837159; }
.pref-hint { display: block; padding: 12px 14px; margin: 16px 0; border: 1px solid #dfe2cf; border-radius: 8px; background: #f0f2e7; color: #6f7b5e; font-size: 10px; line-height: 1.8; }
.pref-hint strong { color: #586748; font-weight: 650; }
.pref-weight { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 23px; color: #6b5942; font-size: 11px; font-weight: 650; }
.pref-weight > label { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.pref-weight > .pref-summary-note { grid-column: 1 / -1; margin: -6px 0 21px; color: #938067; font-weight: 400; }
.pref-weight output { min-width: 49px; padding: 4px 8px; border: 1px solid #e2cab0; border-radius: 5px; background: #f8ecdc; color: #ad5d31; text-align: center; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pref-weight input[type="range"] { grid-column: 1 / -1; display: block; width: 100%; height: 19px; margin: 0; accent-color: #b95e33; }
.pref-weight input[type="range"]:hover { accent-color: #a34923; }
.pref-weight-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 15px; margin: -5px 0 5px; color: #998165; font-size: 9px; font-weight: 400; }
.pref-options { display: grid; gap: 8px; }
.pref-catalog { min-width: 0; }
.pref-catalog-status { margin: 0 0 12px; color: #7b715c; font-size: 11px; line-height: 1.75; }
.pref-catalog-status[data-catalog-status="error"] { color: #a14425; }
.pref-catalog-retry { padding: 7px 10px; margin: 0 0 16px; border: 1px solid #d9ccb5; border-radius: 6px; color: #8a603c; background: #fffcf6; font: inherit; font-size: 10px; cursor: pointer; }
.pref-catalog-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pref-catalog-group { min-width: 0; padding: 13px; border: 1px solid #e6dac6; border-radius: 10px; background: #fbf7ef; }
.pref-catalog-title { display: block; margin-bottom: 9px; color: #70573a; font-size: 12px; font-weight: 650; }
.pref-catalog-search { box-sizing: border-box; width: 100%; min-width: 0; min-height: 39px; padding: 9px; border: 1px solid #d9ccb5; border-radius: 7px; background: #fffdf8; color: #615039; font: inherit; font-size: 11px; }
.pref-catalog-search::placeholder { color: #978771; }
.pref-catalog-search:disabled { opacity: .65; }
.pref-catalog-count { min-height: 26px; margin: 9px 0 4px; color: #948166; font-size: 9px; line-height: 1.5; }
.pref-catalog-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; padding: 5px; margin: -5px; scrollbar-color: #d5baa0 transparent; scrollbar-width: thin; }
.pref-catalog-chip { max-width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #e3d8c5; border-radius: 7px; background: #fffcf6; color: #806c53; font: inherit; font-size: 10px; line-height: 1.45; text-align: left; overflow-wrap: anywhere; cursor: pointer; transition: transform .16s, border-color .16s, background .16s; }
.pref-catalog-chip::before { content: "+"; display: inline-block; margin-right: 6px; color: #b7835c; font-weight: 650; }
.pref-catalog-chip:hover { transform: translateY(-1px); border-color: #c9946b; }
.pref-catalog-chip[aria-pressed="true"]::before { content: "✓"; color: inherit; }
.pref-catalog-chip[data-value="preferred"] { border-color: #bdcba8; background: #edf2e2; color: #5f7544; }
.pref-catalog-chip[data-value="unwanted"] { border-color: #d49a92; background: #fae9e6; color: #9b3d36; }
.pref-catalog-chip:disabled { opacity: .6; cursor: wait; }
.pref-catalog-selected-title { margin: 23px 0 12px; color: #8d714d; font-size: 10px; font-weight: 650; letter-spacing: .6px; }
.pref-catalog-empty { width: 100%; margin: 0; padding: 7px 0; color: #96846b; font-size: 10px; line-height: 1.8; }
.pref-option { display: grid; grid-template-columns: minmax(0, 1fr) 119px 44px; align-items: center; gap: 11px; padding: 13px 12px; border: 1px solid #e6dac6; border-radius: 9px; background: #faf6ed; transition: border-color .18s, background .18s; }
.pref-option[data-value="preferred"] { border-color: #cdd5bb; background: #f0f3e9; }
.pref-option[data-value="unwanted"] { border-color: #e1c7b5; background: #fcf0e8; }
.pref-option.pref-option--shared-required { grid-template-columns: minmax(0, 1fr) minmax(108px, 163px); }
.pref-platform-requirement { padding: 13px 15px; border: 1px solid #ddc9aa; border-radius: 9px; background: #fff9ed; }
.pref-platform-requirement .pref-summary-note { margin: 7px 0 0; }
.pref-content-weight { grid-column: 1 / -1; margin-top: 3px; padding-top: 12px; border-top: 1px solid #e6dac6; }
.pref-content-weight > .pref-summary-note { margin-bottom: 0; line-height: 1.5; }
.pref-content-weight-toggle { display: flex; align-items: center; gap: 8px; color: #615039; font-size: 12px; font-weight: 650; }
.pref-content-weight-toggle input { accent-color: #b95e33; }
.pref-option-copy { display: grid; min-width: 0; gap: 4px; }
.pref-option-copy strong, .pref-option-copy > label { color: #615039; font-size: 11px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.pref-option-copy small { color: #8b7960; font-size: 9px; line-height: 1.55; }
.pref-choice { min-width: 0; width: 100%; min-height: 35px; padding: 7px 3px 7px 9px; border: 1px solid #d9ccb5; border-radius: 6px; background: #fffcf6; color: #7a654a; font-size: 10px !important; }
.pref-option[data-value="preferred"] .pref-choice { border-color: #c0ccad; background: #fbfdf6; color: #607445; }
.pref-option[data-value="unwanted"] .pref-choice { border-color: #dbb99f; background: #fff9f3; color: #a55f38; }
.pref-required { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #8a7559; font-size: 8px; line-height: 1.2; cursor: pointer; }
.pref-required input { width: 15px; height: 15px; margin: 0; }
.pref-required:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pref-required input:disabled { cursor: not-allowed; }
.pref-option-group { margin: 23px 0 0; }
.pref-option-group :where(h3, legend) { margin: 0 0 11px; padding: 0; color: #8d714d; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; }
fieldset.pref-option-group { min-width: 0; padding: 0; border: 0; }
.pref-option-group + .pref-option-group { margin-top: 26px; }
h3.pref-option-group { margin: 14px 0 3px; color: #8d714d; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; }
h3.pref-option-group:first-child { margin-top: 0; }
.pref-range-toggle { display: flex; align-items: center; gap: 9px; margin: 20px 0; color: #705e45; font-size: 11px; font-weight: 600; cursor: pointer; }
.pref-range-toggle input, .pref-range-required input { width: 16px; height: 16px; margin: 0; }
.pref-range-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; margin-block: 16px; }
.pref-range-fields > label, .pref-number-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #847054; font-size: 10px; }
.pref-range-fields :where(input, select), .pref-number-field :where(input, select) { width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #deceb4; border-radius: 7px; background: #fffefa; color: #65513a; font-size: 12px; }
.pref-range-fields input:hover, .pref-number-field input:hover { border-color: #bca27d; }
.pref-range-fields :where(input, select):disabled, .pref-number-field :where(input, select):disabled { background: #f0eade; color: #a59988; cursor: not-allowed; }
.pref-range-fields :where(small, p), .pref-number-field :where(small, p) { font-size: 9px; line-height: 1.6; color: #8e7e68; }
.pref-range-required { display: flex; align-items: center; gap: 9px; margin: 17px 0 0; color: #79664c; font-size: 10px; line-height: 1.6; cursor: pointer; }
.pref-extra-fields { display: grid; gap: 14px; margin: 21px 0 0; padding: 17px; border: 1px dashed #d7c6aa; border-radius: 9px; background: #f8f0e2; }
.pref-extra-fields h3 { margin: 0; color: #81633f; font-size: 11px; font-weight: 650; }
.pref-extra-fields > p { color: #8d785b; font-size: 10px; line-height: 1.75; }
.pref-extra-fields .pref-number-field { max-width: 100%; }
.pref-owned-cost { padding: 15px; border: 1px solid #dac5a6; border-radius: 12px; background: #fffbf3; }
.pref-owned-cost-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 6px 0; border: 0; border-radius: 6px; background: transparent; color: #65482d; text-align: left; }
.pref-owned-cost-label { font-size: 13px; line-height: 1.5; font-weight: 650; }
.pref-owned-cost-state { min-width: 26px; color: #78664d; font-size: 11px; font-weight: 750; letter-spacing: .7px; }
.pref-owned-cost-track { position: relative; display: block; width: 50px; height: 28px; border: 1px solid #b6a58c; border-radius: 20px; background: #d1c5b3; transition: background .22s ease, border-color .22s ease; }
.pref-owned-cost-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fffaf0; box-shadow: 0 1px 4px #6d462830; transition: transform .24s cubic-bezier(.2,.8,.3,1.2); }
.pref-owned-cost-switch[aria-checked="true"] .pref-owned-cost-track { border-color: #aa4d27; background: #b9582e; }
.pref-owned-cost-switch[aria-checked="true"] .pref-owned-cost-thumb { transform: translateX(22px); }
.pref-owned-cost-switch[aria-checked="true"] .pref-owned-cost-state { color: #a24a25; }
.pref-owned-cost-help { margin: 8px 0 0; color: #796449; font-size: 12px; line-height: 1.65; }
.solo-motion-paused .pref-owned-cost-track, .solo-motion-paused .pref-owned-cost-thumb { transition: none; }
.pref-field-error { margin: 10px 0 0; color: #a14425; font-size: 10px; line-height: 1.7; }
.preferences-layout [aria-invalid="true"] { border-color: #b25738; background: #fff2e9; }
.pref-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 26px; padding-top: 18px; border-top: 1px solid #e7dac5; }
.pref-panel-footer button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 9px 11px; border: 1px solid #dac8ac; border-radius: 6px; background: #fbf5e8; color: #8a6944; font-size: 10px; transition: background .18s, border-color .18s; }
.pref-panel-footer button:hover:not(:disabled) { background: #f0e1c9; border-color: #c4a87d; }
.pref-panel-footer button:last-child { margin-left: auto; background: #edeede; border-color: #d1d5ba; color: #63734e; }
.pref-panel-footer button:last-child:hover:not(:disabled) { background: #e2e5ce; border-color: #aebc95; }
.pref-panel-footer > span { color: #a18a68; font-size: 9px; white-space: nowrap; }
.pref-summary { position: sticky; top: 22px; padding: 22px 20px 0; min-width: 0; overflow: hidden; border: 1px solid #d8ceb5; border-radius: 14px; background: #f0ecdf; }
.pref-summary-heading { position: relative; padding-top: 2px; }
.pref-summary-icon { position: absolute; top: -2px; right: -4px; width: 34px; height: 34px; color: #9caa82; transform: rotate(6deg); }
.pref-summary-icon svg { stroke: currentColor; stroke-width: 1.15; stroke-linejoin: round; }
.pref-summary-heading .pref-kicker { padding-right: 32px; color: #8c8668; font-size: 7px; letter-spacing: 1.55px; }
.pref-summary-heading h2 { margin-top: 11px; color: #535b43; font: 650 20px/1.2 var(--font-display); letter-spacing: -.55px; }
.pref-summary-heading > p:last-child { margin-top: 9px; color: #88816a; font-size: 10px; line-height: 1.65; }
.pref-summary-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding-block: 15px; border-block: 1px solid #d9d1bd; }
.pref-summary-stats > div + div { padding-left: 14px; border-left: 1px solid #dbd3be; }
.pref-summary-stats strong { display: block; color: #697452; font: 600 27px/1.1 var(--font-display); letter-spacing: -1px; }
.pref-summary-stats span { display: block; margin-top: 5px; color: #8a8068; font-size: 9px; }
.pref-summary-content { padding-block: 21px; }
.pref-summary-empty { padding-block: 4px; color: #8c8068; font-size: 10px; line-height: 1.9; }
.pref-summary-empty strong { display: block; margin-bottom: 5px; color: #717959; font-size: 11px; font-weight: 600; }
.pref-summary-item + .pref-summary-item { margin-top: 15px; }
.pref-summary-note + .pref-summary-item { margin-top: 15px; }
.pref-summary-name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #756d54; font-size: 10px; line-height: 1.45; }
.pref-summary-name > :first-child { min-width: 0; overflow-wrap: anywhere; }
.pref-summary-name strong { font-size: 10px; font-weight: 550; }
.pref-summary-name > :last-child { color: #899372; font-size: 9px; font-variant-numeric: tabular-nums; }
.pref-summary-track { height: 4px; overflow: hidden; margin-top: 8px; border-radius: 3px; background: #dedecd; }
.pref-summary-fill { display: block; height: 100%; border-radius: inherit; background: #94a17a; transition: width .2s ease; }
.pref-wish-list { display: grid; gap: 6px; padding: 0; margin: 9px 0 0; list-style: none; color: #8c8068; font-size: 9px; line-height: 1.65; }
.pref-wish-list li { padding-left: 9px; position: relative; }
.pref-wish-list li::before { position: absolute; left: 0; content: "·"; color: #9a976d; }
.pref-wish-list li strong { display: inline-block; padding: 1px 5px; margin-left: 5px; border: 1px solid #c7ccb1; border-radius: 4px; color: #6a7650; background: #e5e8d8; font-size: 7px; font-weight: 650; }
.pref-wish-list li[data-value="unwanted"] strong { border-color: #d8bda3; background: #f0e2d2; color: #9b603a; }
.pref-summary-note { margin: 13px 0 0; color: #928067; font-size: 9px; line-height: 1.75; }
.pref-summary-more { display: block; margin-top: 8px; color: #8b7456; font-size: 9px; }
.pref-summary-tip { display: flex; align-items: start; gap: 9px; padding: 17px 20px; margin-inline: -20px; border-top: 1px dashed #d0cbb0; background: #e9e8d8; color: #8a8367; font-size: 9px; line-height: 1.8; }
.pref-summary-tip > span { color: #9a9c71; font-size: 17px; line-height: 1.25; }
.pref-summary-tip strong { display: block; margin-bottom: 4px; color: #757958; font-weight: 650; }
.pref-rule-legend { display: grid; gap: 7px; margin: 11px 0 0; }
.pref-rule-legend dt { color: #6c7752; font-weight: 650; font-size: 8px; }
.pref-rule-legend dd { margin: 1px 0 0; font-size: 9px; }
.pref-rule-legend > div:last-child dt { color: #9b714c; }
.pref-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 27px; margin-top: 27px; border-top: 1px solid #dacbb2; }
.pref-bottom-copy { display: flex; align-items: center; gap: 12px; max-width: 450px; }
.pref-bottom-copy p { color: #897860; font-size: 10px; line-height: 1.8; }
.pref-actions { display: flex; align-items: center; gap: 17px; flex-shrink: 0; }
.pref-reset { padding: 10px 0; border: 0; border-radius: 4px; background: transparent; color: #8c7459; font-size: 10px; text-decoration: underline; text-decoration-color: #cbb99c; text-underline-offset: 4px; }
.pref-reset:hover { color: #a04a27; }
.pref-apply { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 43px; padding: 12px 18px; border: 1px solid #ad4e25; border-radius: 8px; background: #b9582e; box-shadow: 0 3px 0 #98451f; color: #fff7e9; font-size: 11px; font-weight: 600; transition: transform .2s, background .2s, box-shadow .2s; }
.pref-apply > span[aria-hidden] { font-size: 19px; font-weight: 400; line-height: 1; }
.pref-apply:hover:not(:disabled) { transform: translateY(-2px); background: #a84e26; box-shadow: 0 4px 0 #8d3e1b; }
.pref-apply:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.pref-status { min-height: 32px; padding: 13px 0 0; color: #6d7d59; font-size: 11px; line-height: 1.8; }
.pref-status[data-kind="error"] { color: #a34a28; }
.pref-status[data-kind="warning"] { color: #947039; }

@keyframes pref-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes pref-tail { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(4deg); } }
@keyframes pref-head { 0%, 25%, 75%, 100% { transform: rotate(0); } 40%, 60% { transform: rotate(3deg); } }
@keyframes pref-blink { 0%, 44%, 48%, 100% { transform: scaleY(1); } 46% { transform: scaleY(.12); } }
@keyframes pref-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes pref-needle { 0%, 25%, 100% { transform: rotate(0); } 42%, 70% { transform: rotate(22deg); } }
@keyframes pref-spark { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.preferences-motion-paused.preferences-layout, .preferences-motion-paused .preferences-layout,
.preferences-motion-paused.preferences-layout *, .preferences-motion-paused .preferences-layout *,
.preferences-motion-paused.preferences-layout *::before, .preferences-motion-paused .preferences-layout *::before,
.preferences-motion-paused.preferences-layout *::after, .preferences-motion-paused .preferences-layout *::after { animation-play-state: paused !important; transition: none !important; }
.preferences-motion-paused.preferences-layout, .preferences-motion-paused .preferences-layout { animation: none !important; }

@media (max-width: 1160px) {
  .pref-workspace { grid-template-columns: 161px minmax(0, 1fr) 225px; gap: 15px; }
  .pref-panel { padding: 23px 20px 19px; }
  .pref-option { grid-template-columns: minmax(0, 1fr) 108px 34px; gap: 8px; padding-inline: 10px; }
  .pref-summary { padding-inline: 17px; }
  .pref-summary-tip { padding-inline: 17px; margin-inline: -17px; }
  .pref-summary-heading h2 { font-size: 18px; }
  .pref-nav-button { gap: 6px; padding-inline: 7px; }
  .pref-nav-title { font-size: 10px; }
  .pref-scene { margin-right: 0; }
}
@media (max-width: 1020px) {
  .pref-workspace { grid-template-columns: 163px minmax(0, 1fr); gap: 20px; }
  .pref-navigation { grid-row: 1 / 3; }
  .pref-summary { position: static; grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; padding: 22px 23px 0; }
  .pref-summary-heading { align-self: start; }
  .pref-summary-icon { right: 0; }
  .pref-summary-heading h2 { font-size: 20px; }
  .pref-summary-stats { grid-column: 1; align-self: start; margin-block: 15px 21px; }
  .pref-summary-content { grid-column: 2; grid-row: 1 / 3; padding-top: 3px; }
  .pref-summary-tip { grid-column: 1 / -1; margin-inline: -23px; padding-inline: 23px; }
  .pref-summary-tip strong { display: inline; margin-right: 5px; }
  .pref-hero { gap: 0; grid-template-columns: 1.45fr 1fr; padding-bottom: 28px; }
  .pref-hero h1 { font-size: 42px; }
  .pref-hero-copy > p:not(.pref-kicker) { font-size: 11px; }
  .pref-hero .pref-kicker { font-size: 7px; letter-spacing: 1.1px; }
  .pref-wide-break { display: none; }
  .pref-bottom { align-items: flex-start; gap: 20px; }
  .pref-bottom-copy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pref-actions { gap: 12px; }
}
@media (max-width: 850px) {
  .pref-hero { grid-template-columns: 1.35fr 1fr; gap: 4px; padding-top: 28px; }
  .pref-hero h1 { font-size: 35px; letter-spacing: -1.8px; }
  .pref-hero h1 em { letter-spacing: -1.8px; }
  .pref-hero .pref-kicker { max-width: 220px; font-size: 7px; line-height: 1.8; letter-spacing: .9px; }
  .pref-hero .pref-kicker > span { font-size: 17px; }
  .pref-hero-labels { gap: 9px; }
  .pref-hero-labels > span:first-child { font-size: 9px; }
  .pref-scene { width: calc(100% + 12px); margin-left: -7px; }
  .pref-scene figcaption { font-size: 10px; margin-top: 0; }
  .pref-workspace { grid-template-columns: 143px minmax(0, 1fr); gap: 14px; }
  .pref-nav-title { font-size: 10px; }
  .pref-nav-number { width: 16px; font-size: 12px; }
  .pref-nav-button { min-height: 44px; padding-inline: 6px; }
  .pref-panel { padding: 22px 18px 18px; }
  .pref-panel-title { font-size: 27px; }
  .pref-option { grid-template-columns: minmax(0, 1fr) 40px; padding: 12px; gap: 9px; }
  .pref-option-copy { grid-column: 1; }
  .pref-choice { grid-column: 1; grid-row: 2; max-width: 180px; }
  .pref-option.pref-option--shared-required { grid-template-columns: minmax(0, 1fr); }
  .pref-required { grid-column: 2; grid-row: 1 / 3; }
  .pref-summary { display: block; padding: 22px 18px 0; }
  .pref-summary-heading .pref-kicker { font-size: 7px; }
  .pref-summary-stats { margin-bottom: 0; }
  .pref-summary-content { padding-top: 20px; }
  .pref-summary-tip { margin-inline: -18px; padding-inline: 18px; }
  .pref-summary-tip strong { display: block; }
  .pref-workspace-intro > span { display: none; }
  .pref-workspace-intro p { gap: 12px; font-size: 9px; }
  .pref-bottom { flex-direction: column; gap: 18px; }
  .pref-bottom-copy { flex-direction: row; align-items: center; max-width: none; }
  .pref-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
  .preferences-layout { padding-top: 15px; }
  .pref-topline { gap: 12px; }
  .pref-back { gap: 6px; font-size: 10px; }
  .pref-motion { gap: 4px; font-size: 9px; }
  .pref-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 24px 0 21px; }
  .pref-hero-copy { padding: 0; }
  .pref-hero h1 { font-size: clamp(35px, 8.6vw, 45px); margin-top: 11px; margin-bottom: 17px; letter-spacing: -1.8px; }
  .pref-hero h1 em { letter-spacing: -1.8px; }
  .pref-hero .pref-kicker { max-width: none; font-size: 7px; letter-spacing: .95px; }
  .pref-hero-copy > p:not(.pref-kicker) { max-width: 380px; font-size: 12px; }
  .pref-hero-labels { margin-top: 15px; gap: 12px; }
  .pref-scene { width: min(325px, 94%); margin: 16px auto 0; }
  .pref-scene figcaption { font-size: 11px; margin-top: -5px; }
  .pref-workspace-intro { padding-block: 13px; }
  .pref-workspace-intro p { gap: 10px; font-size: 9px; }
  .pref-workspace-intro p > span { font-size: 7px; }
  .pref-workspace { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pref-navigation { grid-row: auto; padding-top: 2px; }
  .pref-nav-kicker { margin-left: 2px; margin-bottom: 10px; font-size: 7px; }
  .pref-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; }
  .pref-nav-button { min-height: 41px; padding: 8px 9px; border-color: #e1d4bf; border-radius: 7px; background: #f6f0e5; }
  .pref-nav-title { font-size: 10px; }
  .pref-nav-number { font-size: 12px; }
  .pref-nav-foot { margin: 12px 2px 0; padding: 0; border: 0; font-size: 9px; }
  .pref-nav-foot p br { display: none; }
  .pref-nav-foot > span { font-size: 20px; }
  .pref-panel { padding: 24px 18px 18px; }
  .pref-panel-title { font-size: 28px; }
  .pref-panel-description { font-size: 11px; }
  .pref-option { grid-template-columns: minmax(0, 1fr) 38px; gap: 10px; }
  .pref-option-copy strong, .pref-option-copy > label { font-size: 12px; }
  .pref-option-copy small { font-size: 10px; }
  .pref-choice { min-height: 38px; font-size: 11px !important; max-width: none; }
  .pref-required { font-size: 9px; }
  .pref-required input { width: 17px; height: 17px; }
  .pref-weight { font-size: 11px; }
  .pref-weight-scale { font-size: 9px; }
  .pref-hint { padding: 12px; font-size: 10px; }
  .pref-range-fields { gap: 12px; }
  .pref-range-fields > label, .pref-number-field { font-size: 10px; }
  .pref-range-fields :where(input, select), .pref-number-field :where(input, select) { min-height: 44px; font-size: 16px; }
  .pref-panel-footer button { min-height: 40px; padding-inline: 10px; font-size: 10px; }
  .pref-summary { grid-column: auto; padding: 22px 20px 0; }
  .pref-summary-heading h2 { font-size: 23px; }
  .pref-summary-tip { margin-inline: -20px; padding-inline: 20px; }
  .pref-summary-stats { margin-top: 19px; }
  .pref-summary-stats strong { font-size: 26px; }
  .pref-summary-name { font-size: 11px; }
  .pref-summary-name strong { font-size: 11px; }
  .pref-wish-list { font-size: 10px; }
  .pref-summary-empty { font-size: 11px; }
  .pref-bottom { padding-top: 21px; margin-top: 24px; }
  .pref-bottom-copy { align-items: flex-start; gap: 9px; }
  .pref-bottom-copy p { font-size: 9px; }
  .pref-actions { gap: 12px; }
  .pref-apply { gap: 10px; min-height: 45px; padding-inline: 14px; font-size: 10px; }
  .pref-reset { font-size: 9px; }
  .pref-status { padding-top: 13px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .preferences-layout, .preferences-layout *, .preferences-layout *::before, .preferences-layout *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 600px) {
  .pref-catalog-groups { grid-template-columns: minmax(0, 1fr); }
  .pref-catalog-search { font-size: 16px; }
  .pref-catalog-chip { min-height: 39px; font-size: 11px; }
  .pref-catalog-list { max-height: 190px; }
}

/* The fixed Steam shortcuts keep the larger catalog within easy reach. */
.pref-quick { min-width: 0; container-type: inline-size; }
.pref-quick header { margin: 19px 0 13px; }
.pref-quick h3 { margin: 0 0 6px; color: #70573a; font-size: 12px; font-weight: 650; }
.pref-quick header p { margin: 0; color: var(--pref-muted); font-size: 10px; line-height: 1.75; }
.pref-quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.pref-quick-card { --quick-ink: #a36b42; --quick-soft: #e9d5b7; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; min-width: 0; min-height: 119px; padding: 15px 6px 10px; border: 1px solid #e0cfb6; border-radius: 11px; background: #faf4e8; color: #71583a; text-align: center; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.pref-quick-card:hover:not(:disabled) { border-color: #bd9060; background: #fff7e9; box-shadow: 0 3px 10px #7c512411; transform: translateY(-2px); }
.pref-quick-card:active:not(:disabled) { transform: translateY(0); }
.pref-quick-card:focus-visible { z-index: 1; outline: 3px solid #a94f28; outline-offset: 3px; }
.pref-quick-card[data-value="preferred"] { --quick-ink: #647a4b; --quick-soft: #c7d3b2; border-color: #aeba94; background: #edf2e2; color: #536b3c; }
.pref-quick-card[data-value="preferred"]:hover:not(:disabled) { border-color: #7f9464; background: #e7eed9; }
.pref-quick-card[data-value="unwanted"] { --quick-ink: #a94d45; --quick-soft: #e4b6af; border-color: #d49a92; background: #fae9e6; color: #9b3d36; }
.pref-quick-card[data-value="unwanted"]:hover:not(:disabled) { border-color: #b46d64; background: #f7dfdb; }
.preferences-layout .pref-quick-card:disabled { opacity: .7; cursor: not-allowed; }
.pref-quick-label { display: block; max-width: 100%; color: inherit; font-size: 10px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.pref-quick-state { display: block; max-width: 100%; margin-top: -3px; color: #7b654b; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.pref-quick-card[aria-pressed="true"] .pref-quick-state { color: inherit; }
.pref-quick-mark { position: absolute; top: 7px; right: 7px; width: 12px; height: 12px; border: 1px solid #d6c5aa; border-radius: 50%; color: #ac8b61; }
.pref-quick-mark::before, .pref-quick-mark::after { content: ""; position: absolute; top: 5px; left: 3px; width: 6px; height: 1px; background: currentColor; }
.pref-quick-mark::after { transform: rotate(90deg); }
.pref-quick-card[data-value="preferred"] .pref-quick-mark { border-color: #7f9464; background: #7f9464; color: #fffdf5; }
.pref-quick-card[data-value="preferred"] .pref-quick-mark::before { top: 2px; left: 4px; width: 3px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; background: transparent; transform: rotate(40deg); }
.pref-quick-card[data-value="preferred"] .pref-quick-mark::after, .pref-quick-card[data-value="unwanted"] .pref-quick-mark::after { display: none; }
.pref-quick-card[data-value="unwanted"] .pref-quick-mark { border-color: #ad5a50; background: #ad5a50; color: #fff8ee; }
.pref-quick-icon { position: relative; display: block; flex: 0 0 56px; width: 76px; max-width: 100%; height: 56px; margin-bottom: 1px; pointer-events: none; }
.quick-fox-scene { display: block; width: 100%; height: 100%; overflow: visible; }
.genre-indie-jump { animation: genre-indie-jump 5.2s steps(5, end) infinite; }
.genre-indie-star { transform-box: fill-box; transform-origin: center; animation: genre-indie-star 5.2s ease-in-out infinite; }
.genre-action-leap { transform-origin: 48px 40px; animation: genre-action-leap 4.8s ease-in-out infinite; }
.genre-action-trail { animation: genre-action-trail 4.8s ease-in-out infinite; }
.genre-survival-fire { transform-origin: 70px 60px; animation: genre-survival-fire 2.7s ease-in-out infinite; }
.genre-survival-smoke { animation: genre-survival-smoke 4.6s ease-out infinite; }
.genre-simulation-rotor { transform-origin: 72px 25px; animation: genre-simulation-rotor 12s linear infinite; }
.genre-simulation-crop { transform-origin: 29px 57px; animation: genre-simulation-crop 7.6s ease-in-out infinite; }
.genre-rpg-spark { transform-box: fill-box; transform-origin: center; animation: genre-rpg-spark 5.8s ease-in-out infinite; }
.genre-rpg-sword { transform-origin: 42px 50px; animation: genre-rpg-sword 5.8s ease-in-out infinite; }
.genre-strategy-piece { animation: genre-strategy-piece 7.4s ease-in-out infinite; }
.genre-strategy-route { stroke-dasharray: 2 3; animation: genre-strategy-route 7.4s linear infinite; }
.genre-puzzle-piece { animation: genre-puzzle-piece 6.4s ease-in-out infinite; }
.genre-funny-roll { transform-origin: 48px 49px; animation: genre-funny-roll 4.6s ease-in-out infinite; }
.genre-funny-laugh { animation: genre-funny-laugh 4.6s ease-out infinite; }
.genre-horror-door { transform-origin: 74px 40px; animation: genre-horror-door 9s ease-in-out infinite; }
.genre-horror-eyes { animation: genre-horror-eyes 9s ease-in-out infinite; }
.genre-shooter-recoil { animation: genre-shooter-recoil 6s ease-out infinite; }
.genre-shooter-target { transform-origin: 76px 21px; animation: genre-shooter-target 6s ease-in-out infinite; }
.pref-quick-source { display: block; margin: 11px 0 0; color: #928067; font-size: 10px; line-height: 1.75; overflow-wrap: anywhere; }
.pref-quick-source a { color: #8b623b; text-decoration-color: #cab290; text-underline-offset: 3px; }
.pref-quick-source a:hover { color: #a54b25; }
.pref-catalog-more { min-width: 0; margin-top: 20px; border: 1px solid #e1d3bd; border-radius: 10px; background: #fcf8ef; }
.pref-catalog-more > summary { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; min-height: 45px; box-sizing: border-box; padding: 12px 34px 12px 13px; border-radius: 9px; color: #74583a; list-style: none; cursor: pointer; transition: background .18s; }
.pref-catalog-more > summary::-webkit-details-marker { display: none; }
.pref-catalog-more > summary::after { content: ""; position: absolute; top: 18px; right: 15px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.pref-catalog-more[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.pref-catalog-more > summary:hover { background: #f3eadb; }
.pref-catalog-more > summary:focus-visible { outline: 3px solid #a94f28; outline-offset: 3px; }
.pref-more-title { min-width: 0; font-size: 11px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.pref-more-count { margin-left: auto; color: #968166; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.pref-catalog-more-body { min-width: 0; padding: 0 12px 12px; }
.pref-catalog-more-body .pref-catalog-group { background: #fffcf6; }

@keyframes genre-indie-jump { 0%, 22%, 76%, 100% { transform: translate(0, 0); } 42%, 49% { transform: translate(8px, -12px); } 63% { transform: translate(8px, 0); } }
@keyframes genre-indie-star { 0%, 25%, 75%, 100% { opacity: .7; transform: scale(1); } 43%, 52% { opacity: 1; transform: scale(1.16); } }
@keyframes genre-action-leap { 0%, 22%, 78%, 100% { transform: translate(0, 0) rotate(0); } 43%, 55% { transform: translate(3px, -4px) rotate(-4deg); } }
@keyframes genre-action-trail { 0%, 20%, 80%, 100% { opacity: .3; } 43%, 55% { opacity: .85; } }
@keyframes genre-survival-fire { 0%, 100% { transform: scale(1, 1); } 28% { transform: scale(.94, 1.08); } 55% { transform: scale(1.04, .96); } 78% { transform: scale(.96, 1.05); } }
@keyframes genre-survival-smoke { 0% { opacity: .15; transform: translate(0, 2px); } 30% { opacity: .6; } 85%, 100% { opacity: 0; transform: translate(3px, -7px); } }
@keyframes genre-simulation-rotor { to { transform: rotate(360deg); } }
@keyframes genre-simulation-crop { 0%, 100% { transform: scaleY(.92); } 52%, 70% { transform: scaleY(1.04); } }
@keyframes genre-rpg-spark { 0%, 25%, 75%, 100% { opacity: .3; transform: scale(.85); } 43%, 53% { opacity: 1; transform: scale(1.15); } }
@keyframes genre-rpg-sword { 0%, 23%, 77%, 100% { transform: rotate(0); } 43%, 58% { transform: rotate(-5deg); } }
@keyframes genre-strategy-piece { 0%, 22%, 91%, 100% { transform: translate(0, 0); } 42%, 70% { transform: translate(12px, -7px); } }
@keyframes genre-strategy-route { to { stroke-dashoffset: -20; } }
@keyframes genre-puzzle-piece { 0%, 22%, 89%, 100% { transform: translate(0, 0); } 43%, 69% { transform: translate(3px, 4px); } }
@keyframes genre-funny-roll { 0%, 100% { transform: rotate(-7deg); } 30%, 64% { transform: rotate(7deg); } 47% { transform: rotate(2deg); } }
@keyframes genre-funny-laugh { 0%, 13%, 100% { opacity: 0; transform: translateY(2px); } 32%, 55% { opacity: .9; } 81% { opacity: 0; transform: translateY(-5px); } }
@keyframes genre-horror-door { 0%, 18%, 100% { transform: scaleX(1); } 46%, 67% { transform: scaleX(.94); } }
@keyframes genre-horror-eyes { 0%, 20%, 100% { opacity: .35; } 48%, 65% { opacity: .85; } }
@keyframes genre-shooter-recoil { 0%, 45%, 54%, 100% { transform: translateY(0); } 47%, 49% { transform: translateY(2px); } }
@keyframes genre-shooter-target { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@container (max-width: 470px) {
  .pref-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pref-quick-card { min-height: 113px; }
}
@container (max-width: 360px) {
  .pref-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pref-catalog-more-body { padding: 0 9px 9px; }
  .pref-quick-label { font-size: 11px; }
  .pref-quick-state { font-size: 10px; }
  .pref-more-count { width: 100%; margin-left: 0; }
}
/* Match both the preferences switch and the shared manual motion setting. */
.preferences-motion-paused .pref-quick-icon, .preferences-motion-paused .pref-quick-icon *,
.preferences-motion-paused .pref-quick-icon *::before, .preferences-motion-paused .pref-quick-icon *::after,
.solo-motion-paused .pref-quick-icon, .solo-motion-paused .pref-quick-icon *,
.solo-motion-paused .pref-quick-icon *::before, .solo-motion-paused .pref-quick-icon *::after { animation: none !important; }
.solo-motion-paused .pref-quick-card, .solo-motion-paused .pref-catalog-more > summary,
.solo-motion-paused .pref-catalog-more > summary::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .pref-quick-icon, .pref-quick-icon *, .pref-quick-icon *::before, .pref-quick-icon *::after { animation: none !important; }
  .pref-quick-card, .pref-catalog-more > summary, .pref-catalog-more > summary::after { transition: none !important; }
}

/* The preference mix sits below the editor and uses the full workspace width. */
.preferences-layout { width: min(1340px, 100%); }
.pref-workspace { grid-template-columns: 184px minmax(0, 1fr); gap: 24px; }
.pref-navigation { grid-column: 1; grid-row: 1; }
.pref-summary { position: static; grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 28px; padding: 24px 28px 0; border-radius: 20px; background: linear-gradient(155deg, #f7f2e5, #eeedde); box-shadow: 0 8px 28px #76633e09; }
.pref-summary-heading { grid-column: 1; grid-row: 1; padding-right: 48px; }
.pref-summary-heading .pref-kicker { font-size: 9px; letter-spacing: 1.1px; }
.pref-summary-heading h2 { margin-top: 7px; font-size: 25px; }
.pref-summary-heading > p:last-child { font-size: 12px; line-height: 1.5; }
.pref-summary-stats { grid-column: 2; grid-row: 1; display: flex; align-self: center; gap: 20px; margin: 0; padding: 12px 0; border: 0; }
.pref-summary-stats > div { display: flex; align-items: center; gap: 10px; }
.pref-summary-stats > div + div { padding-left: 20px; }
.pref-summary-stats strong { font-size: 28px; }
.pref-summary-stats span { max-width: 76px; margin: 0; font-size: 12px; line-height: 1.4; }
.pref-summary-content { grid-column: 1 / -1; grid-row: auto; padding-block: 24px 18px; }
.pref-dashboard { display: grid; grid-template-columns: 190px minmax(220px, .9fr) minmax(0, 1.3fr); gap: 18px 30px; align-items: center; min-width: 0; }
.pref-mix-chart { grid-column: 1; grid-row: 1; display: grid; justify-items: center; gap: 14px; margin: 0; }
.pref-mix-ring { display: grid; place-items: center; width: 174px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 4px 18px #72644617; position: relative; }
.pref-mix-ring::before { content: ""; position: absolute; inset: -6px; border: 1px dashed #cfc3a8; border-radius: inherit; pointer-events: none; }
.pref-mix-segments { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pref-mix-center { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; aspect-ratio: 1; border: 5px solid #faf7ef; border-radius: 50%; background: radial-gradient(circle at 35% 20%, #fffefa, #f4edde); text-align: center; }
.pref-mix-center > span { font-size: 7px; font-weight: 750; letter-spacing: 1.2px; color: #88765b; }
.pref-mix-center > strong { margin-block: 6px 3px; font: 750 29px/1 var(--font-display); color: #714a2e; letter-spacing: -1px; }
.pref-mix-center > small { max-width: 100px; color: #7b705c; font-size: 11px; line-height: 1.3; }
.pref-mix-chart figcaption { max-width: 190px; text-align: center; font-size: 11px; line-height: 1.5; font-weight: 600; color: #655d46; }
.pref-dashboard > .pref-mix-legend { grid-column: 3; grid-row: 1; }
.pref-mix-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.pref-mix-key { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; align-items: start; gap: 3px 8px; min-width: 0; padding: 7px 5px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #6c604c; text-align: left; transition: background .15s, border-color .15s; }
.pref-mix-key > i { display: grid; grid-row: 1 / span 2; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--key-color); color: white; font: 700 13px var(--font-body, sans-serif); box-shadow: inset 0 0 0 1px #00000012; }
.pref-mix-key > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; }
.pref-mix-key > b { grid-column: 2; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pref-mix-key:hover, .pref-mix-key[data-selected="true"] { background: #fffaf0; border-color: #dac6a7; color: #984b28; }
.pref-mix-note { color: #82735e; font-size: 11px; line-height: 1.5; margin: 0; }
.pref-mix-note, .pref-dashboard-notice, .pref-dashboard > .pref-summary-note { grid-column: 1 / -1; }
.pref-mix-comparison { grid-column: 2; grid-row: 1; align-self: center; margin: 0; padding: 16px 12px 12px; border: 1px solid #ddd2bd; border-radius: 12px; background: #fffaf080; }
.pref-mix-comparison figcaption { color: #7c6d54; font-size: 12px; font-weight: 650; margin-bottom: 15px; }
.pref-mix-bars { display: flex; gap: 7px; align-items: stretch; min-width: 0; }
.pref-mix-column { display: grid; grid-template-rows: 16px 100px 16px; gap: 5px; flex: 1; min-width: 0; text-align: center; }
.pref-mix-column small { font-size: 10px; color: #7a664c; white-space: nowrap; }
.pref-mix-column b { font-size: 11px; font-weight: 650; color: #79664e; }
.pref-mix-bar-track { display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid #d3c5ad; }
.pref-mix-bar { display: block; width: min(100%, 22px); height: var(--bar-height); background: var(--key-color); border-radius: 3px 3px 0 0; }
.pref-mix-bars[data-has-selection="true"] .pref-mix-column[data-selected="false"] .pref-mix-bar { opacity: .4; }
.pref-mix-column[data-selected="true"] { border-radius: 6px; background: color-mix(in srgb, var(--key-color) 11%, transparent); outline: 2px solid color-mix(in srgb, var(--key-color) 60%, transparent); outline-offset: 3px; }
.pref-mix-column[data-selected="true"] :where(small, b) { color: var(--key-color); font-weight: 800; }
.pref-mix-column[data-selected="true"] .pref-mix-bar { --segment-color: var(--key-color); filter: drop-shadow(0 0 3px var(--segment-color)); animation: pref-weight-glow 3s ease-in-out infinite; }
.pref-dashboard-notice { margin: 0; padding: 9px 10px; border-left: 3px solid #bf8d43; background: #f4e8d2; color: #755735; border-radius: 4px; font-size: 11px; line-height: 1.5; }
details.pref-summary-tip { grid-column: 1 / -1; display: block; padding: 13px 28px; margin-inline: -28px; }
details.pref-summary-tip > summary { font-size: 12px; font-weight: 650; cursor: pointer; color: #6b7152; }
details.pref-summary-tip > div { padding-top: 10px; }
details.pref-summary-tip .pref-rule-legend dd { font-size: 11px; line-height: 1.5; }
.pref-insight-host:empty { display: none; }
.pref-weight.pref-weight--chart { grid-template-columns: minmax(0, 1fr) 118px; column-gap: 24px; row-gap: 10px; }
.pref-weight--chart > label { grid-column: 1; grid-row: 1; }
.pref-weight--chart > input[type="range"] { grid-column: 1; grid-row: 2; }
.pref-weight--chart > .pref-weight-scale { grid-column: 1; grid-row: 3; }
.pref-weight--chart > .pref-summary-note { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; }
.pref-weight-chart-host { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: end; }
.pref-weight-mini { width: 118px; height: 118px; position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fffaf0 43%, transparent 44%); }
.pref-weight-mini svg { width: 100%; height: 100%; overflow: visible; }
.pref-weight-mini > strong { position: absolute; color: #714a2e; font: 750 22px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.8px; pointer-events: none; }
.pref-weight-segment.is-current { filter: drop-shadow(0 0 3px var(--segment-color)); animation: pref-weight-glow 3s ease-in-out infinite; }
@keyframes pref-weight-glow { 0%, 100% { filter: drop-shadow(0 0 2px var(--segment-color)); } 50% { filter: drop-shadow(0 0 5px var(--segment-color)); } }
.solo-motion-paused .pref-weight-segment, .preferences-motion-paused .pref-weight-segment,
.solo-motion-paused .pref-mix-bar, .preferences-motion-paused .pref-mix-bar { animation: none; }
@media (max-width: 480px) {
  .pref-weight.pref-weight--chart { grid-template-columns: minmax(0, 1fr) 88px; column-gap: 14px; }
  .pref-weight--chart > label { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .pref-weight-mini { width: 88px; height: 88px; }
  .pref-weight-mini > strong { font-size: 17px; }
  .pref-weight--chart > .pref-weight-scale { gap: 8px; flex-wrap: wrap; }
}
.pref-insight { padding: 18px 20px; border: 1px solid #dfd0b9; border-radius: 14px; margin-top: 22px; background: linear-gradient(120deg, #f7f1e4, #fcf9f1); position: relative; overflow: hidden; }
.pref-insight::after { content: "✦"; position: absolute; right: 18px; top: 13px; color: #c99a58; font-size: 22px; animation: pref-chart-twinkle 5s ease-in-out infinite; }
.pref-insight-kicker { color: #97764f; font-size: 8px; font-weight: 750; letter-spacing: 1.4px; }
.pref-insight h3 { margin-top: 7px; padding-right: 25px; font: 650 19px/1.25 var(--font-display); color: #6f4c32; }
.pref-range-insight svg { display: block; width: 100%; overflow: visible; margin-top: 17px; }
.pref-range-insight svg text { font: 10px var(--font-body, sans-serif); fill: #88755b; }
.pref-chart-grid { stroke: #daceb9; stroke-dasharray: 3 5; stroke-width: 1; }
.pref-chart-axis { stroke: #c0b398; stroke-width: 1; }
.pref-chart-zone { fill: #a8bb8752; }
.pref-chart-area { fill: #cd915b1c; }
.pref-chart-line { fill: none; stroke: #b55d32; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pref-chart-sample { fill: #fff8e9; stroke: #b55d32; stroke-width: 3; }
.pref-chart-example { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 11px; padding: 10px 12px; border: 1px solid #e5d7bd; border-radius: 8px; background: #fffaf0; color: #78644b; font-size: 12px; }
.pref-chart-example > span:first-child { color: #9c744b; letter-spacing: 1px; font-size: 8px; font-weight: 700; }
.pref-chart-example strong { color: #a54d29; font-size: 15px; }
.pref-insight-caption { font-size: 11px; line-height: 1.65; color: #847257; margin-top: 10px; }
.pref-content-pages { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #dfd0b9; }
.pref-content-pages[hidden] { display: none; }
.pref-content-page-button { padding: 10px 14px; min-height: 39px; color: #8d4e2d; border: 1px solid #d5b696; border-radius: 8px; background: #fff7eb; font-size: 12px; font-weight: 600; }
.pref-content-page-button:not(:disabled):hover { background: #f6e6d1; }
.pref-content-page-label { font-size: 11px; color: #8c765a; text-align: center; }
.pref-bottom { margin-top: 20px; padding-top: 20px; }
.pref-bottom-copy p { font-size: 12px; }
.pref-actions .pref-apply { min-height: 46px; font-size: 13px; padding-inline: 20px; }
.pref-actions .pref-reset { font-size: 12px; }
@keyframes pref-chart-twinkle { 0%, 100% { opacity: .5; transform: scale(.9) rotate(-10deg); } 50% { opacity: 1; transform: scale(1.08) rotate(10deg); } }
@media (max-width: 1160px) {
  .pref-workspace { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
  .pref-dashboard { grid-template-columns: 180px minmax(200px, .8fr) minmax(0, 1.2fr); gap: 17px 20px; }
  .pref-mix-bars { gap: 4px; }
}
@media (max-width: 900px) {
  .pref-dashboard { grid-template-columns: 190px minmax(0, 1fr); gap: 20px 28px; }
  .pref-dashboard > .pref-mix-legend { grid-column: 1 / -1; grid-row: 2; }
  .pref-mix-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pref-summary { gap: 0 20px; padding: 22px 22px 0; }
  .pref-summary-stats { gap: 14px; }
  .pref-summary-stats > div + div { padding-left: 14px; }
  details.pref-summary-tip { padding-inline: 22px; margin-inline: -22px; }
  .pref-mix-column small { font-size: 12px; }
}
@media (max-width: 650px) {
  .pref-workspace { display: flex; flex-direction: column; gap: 15px; }
  .pref-workspace > * { width: 100%; }
  .pref-summary { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 0; }
  .pref-summary-heading { grid-column: 1; grid-row: auto; }
  .pref-summary-stats { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 14px; padding-block: 12px; border-block: 1px solid #d9d1bd; }
  .pref-summary-stats span { max-width: none; }
  .pref-summary-content { padding-block: 22px 18px; }
  .pref-dashboard { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pref-mix-chart, .pref-mix-comparison, .pref-dashboard > .pref-mix-legend { grid-column: 1; grid-row: auto; }
  .pref-mix-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .pref-mix-key { padding: 7px 3px; }
  .pref-mix-column { grid-template-rows: 15px 75px 15px; }
  .pref-mix-column small { font-size: 10px; }
  details.pref-summary-tip { padding-inline: 18px; margin-inline: -18px; }
  .pref-insight { padding: 16px 12px; }
  .pref-insight h3 { font-size: 18px; }
  .pref-chart-example { font-size: 11px; }
}
.solo-motion-paused .pref-insight::after, .preferences-motion-paused .pref-insight::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pref-insight::after { animation: none; }
  .pref-weight-segment, .pref-mix-bar { animation: none !important; }
  .pref-mix-key { transition: none; }
}

/* Lesbare Eingaben in allen Ansichten, die den Präferenzeditor verwenden. */
.pref-navigation .pref-nav-title { font-size: 13px; line-height: 1.4; }
.pref-navigation .pref-nav-button { min-height: 46px; }
.pref-panel .pref-panel-description { font-size: 14px; line-height: 1.65; }
.pref-panel .pref-weight, .pref-panel .pref-weight output,
.pref-panel .pref-option-copy strong, .pref-panel .pref-option-copy > label,
.pref-panel .pref-range-toggle, .pref-panel .pref-content-weight-toggle,
.pref-panel .pref-extra-fields h3, .pref-panel .pref-catalog-title,
.pref-panel .pref-quick h3 { font-size: 14px; }
.pref-panel .pref-option-copy small, .pref-panel .pref-hint,
.pref-panel .pref-range-fields > label, .pref-panel .pref-number-field,
.pref-panel .pref-range-required, .pref-panel .pref-extra-fields > p,
.pref-panel .pref-catalog-status, .pref-panel .pref-catalog-empty,
.pref-panel .pref-field-error, .pref-panel .pref-insight-caption,
.pref-panel .pref-quick header p, .pref-panel .pref-quick-source,
.pref-panel .pref-summary-note { font-size: 13px; line-height: 1.65; }
.pref-panel .pref-weight-scale, .pref-panel .pref-range-fields :where(small, p),
.pref-panel .pref-number-field :where(small, p), .pref-panel .pref-catalog-count,
.pref-panel .pref-more-count, .pref-panel .pref-content-page-label,
.pref-panel .pref-panel-footer > span { font-size: 12px; line-height: 1.5; }
.pref-panel .pref-choice { min-height: 42px; padding-inline: 10px; font-size: 14px !important; }
.pref-panel .pref-required { min-width: 44px; min-height: 44px; font-size: 12px; }
.pref-panel .pref-required input, .pref-panel .pref-range-toggle input,
.pref-panel .pref-range-required input { width: 20px; height: 20px; flex-shrink: 0; }
.pref-panel .pref-range-fields :where(input, select),
.pref-panel .pref-number-field :where(input, select),
.pref-panel .pref-catalog-search { min-height: 44px; font-size: 16px; }
.pref-panel .pref-option-group :where(h3, legend),
.pref-panel h3.pref-option-group, .pref-panel .pref-catalog-selected-title,
.pref-panel .pref-more-title { font-size: 12px; line-height: 1.5; }
.pref-panel .pref-catalog-chip, .pref-panel .pref-catalog-retry,
.pref-panel .pref-content-page-button, .pref-panel .pref-panel-footer button {
  min-height: 42px; padding: 10px 13px; font-size: 14px;
}
.pref-panel .pref-quick-label { font-size: 13px; }
.pref-panel .pref-quick-state { font-size: 12px; }
@media (min-width: 601px) {
  .pref-panel .pref-option:not(.pref-option--shared-required) { grid-template-columns: minmax(0, 1fr) 160px 52px; }
  .pref-panel .pref-option.pref-option--shared-required { grid-template-columns: minmax(0, 1fr) 160px; }
}
@media (max-width: 600px) {
  .pref-panel .pref-choice { font-size: 16px !important; }
  .pref-panel .pref-panel-footer { flex-wrap: wrap; gap: 10px; }
}
