.navigation-pref-hidden { display: none !important; }
.navigation-settings-trigger { margin: 8px 0; flex-shrink: 0; width: 100%; }
.navigation-settings-dialog { width: min(640px, calc(100vw - 32px)); max-height: 85vh; padding: 0; border: 1px solid #dce4ee; border-radius: 8px; color: #172238; box-shadow: 0 20px 60px #17223833; }
.navigation-settings-dialog::backdrop { background: #17223870; }
.navigation-settings-dialog[open] { display: flex; flex-direction: column; }
.navigation-settings-dialog header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #dce4ee; }
.navigation-settings-dialog h2 { margin: 0; font-size: 18px; }
.navigation-settings-dialog header button { background: white; border: 1px solid #dce4ee; border-radius: 4px; font-size: 23px; color: #64748b; cursor: pointer; }
.navigation-settings-scroll { overflow: auto; min-height: 0; }
.navigation-settings-dialog table { width: 100%; border-collapse: collapse; font-size: 14px; }
.navigation-settings-dialog th { position: sticky; top: 0; background: #edf3fa; z-index: 1; text-align: left; }
.navigation-settings-dialog td,.navigation-settings-dialog th { padding: 13px 18px; border-bottom: 1px solid #e3e8ef; }
.navigation-settings-dialog td:first-child,.navigation-settings-dialog th:first-child { width: 64px; text-align: center; }
.navigation-settings-dialog td:last-child,.navigation-settings-dialog th:last-child { width: 110px; text-align: center; }
.navigation-settings-dialog .navigation-settings-child { padding-left: 32px; }
.navigation-settings-switch { display: inline-block; vertical-align: middle; width: 42px; height: 24px; padding: 3px; border: 0; border-radius: 20px; background: #aab4c0; cursor: pointer; }
.navigation-settings-switch::after { content: ''; display: block; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform .15s; }
.navigation-settings-switch[aria-checked="true"] { background: #16877d; }
.navigation-settings-switch[aria-checked="true"]::after { transform: translateX(18px); }
.navigation-settings-switch:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.navigation-settings-dialog footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; color: #64748b; font-size: 12px; border-top: 1px solid #dce4ee; }
.navigation-settings-dialog table { min-width: 0; table-layout: fixed; }
.navigation-settings-dialog th,.navigation-settings-dialog td { white-space: normal; overflow-wrap: anywhere; }
.navigation-settings-dialog th:nth-child(2),.navigation-settings-dialog td:nth-child(2) { width: auto; }
