/* Group.Box, Group.Item and Switch share the settings primitives used by 6232. */
main:has(> .app-preferences) { background: #0c0b1c; padding-inline: 0; min-height: calc(100dvh - var(--mast)); }
.page.app-preferences { max-width: 640px; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); color: white; }
.app-preferences .ap-header.hero { display: grid; gap: 4px; padding: 0 0 16px; margin: 0; min-height: 0; border: 0; background: none; }
.ap-header.hero h1 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: normal; }
.ap-header.hero .subtitle { margin: 0; color: #ffffffa6; font-size: 16px; line-height: 22px; }
.app-preferences .ap-picker { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; min-height: 0; }
.ap-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: white; font: 20px/1 'Checkout Icons'; background: #ffffff0d; }
.app-preferences .ap-copy { flex: 1; min-width: 0; padding: 0; }
.app-preferences .ap-copy h3, .ap-title { margin: 0; color: white; font-size: 16px; line-height: 24px; font-weight: 600; }
.app-preferences .ap-copy p { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: #ffffff8c; }
.app-preferences .ap-copy .dp-error { color: #f8726f; }
.app-preferences .ap-picker .meta { flex: none; margin: 0; padding: 0; background: transparent; color: #ffffff8c; font-size: 16px; line-height: 20px; font-weight: 500; }
.app-preferences .model-form, .app-preferences .controls { display: block; min-width: 0; padding: 0; margin: 0; border: 0; background: none; }
.ap-row { display: flex; gap: 12px; align-items: center; }
.app-preferences .ap-label { display: block; width: fit-content; margin: 0; cursor: pointer; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: pre; }
.ap-extra { margin: 12px 8px 0; color: #c4b6ff; font-size: 13px; }
.ap-extra summary { padding: 8px 0; cursor: pointer; }
.ap-extra .related-link { display: inline-block; margin-bottom: 8px; }
