/* Comfortable confirmation and menu controls at every saved text-size setting. */
:root body.compact-app .location-recheck{align-items:flex-start;gap:14px;padding:18px;background:var(--surface);border-color:var(--line);font-size:1rem;line-height:1.9;cursor:pointer}
:root body.compact-app #confirm-locations{appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;flex:0 0 26px;width:26px;min-width:26px;height:26px;min-height:26px;margin:5px 0 0;padding:0;border:2px solid #929b86;border-radius:7px;background-color:#fff;background-image:none;box-shadow:0 1px 2px #1b1d1908;cursor:pointer;transition:background-color .12s,border-color .12s}
:root body.compact-app #confirm-locations:checked{background-color:var(--brand-lime);border-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='%231b1d19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:22px;background-position:center;background-repeat:no-repeat}
:root body.compact-app #confirm-locations:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
:root[data-theme=night] body.compact-app #confirm-locations:not(:checked){background-color:#eef1e7;border-color:#b2bba5}
:root body.compact-app #confirm-locations:disabled{opacity:.55;cursor:default}
:root #app-menu-dialog .shell-menu-content{padding:20px 18px calc(28px + env(safe-area-inset-bottom));scroll-padding:20px}
:root #app-menu-dialog .shell-menu-links{gap:10px}
:root #app-menu-dialog button{font-size:1rem;line-height:1.8;padding:12px 14px}
:root #app-menu-dialog .shell-menu-head{padding:16px 18px;gap:12px;flex-shrink:0}
:root #app-menu-dialog .shell-menu-head h2{font-size:1.2rem;line-height:1.8}
:root #app-menu-dialog .shell-settings-title{font-size:1rem;line-height:1.8;margin:24px 0 14px;text-align:start}
:root #app-menu-dialog .shell-settings{gap:18px}
:root #app-menu-dialog .appearance-controls{display:grid;width:100%;margin:0;padding:0;gap:20px;justify-content:stretch}
:root #app-menu-dialog .theme-setting{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px 10px;align-items:center;justify-content:stretch;width:100%;margin:0;padding:0;text-align:start}
:root #app-menu-dialog .theme-setting>label{grid-column:2;font-size:.9rem;line-height:1.9;text-align:start;color:var(--text);margin:0}
:root #app-menu-dialog .theme-setting>svg,:root #app-menu-dialog .theme-setting>.text-size-icon{grid-column:1;grid-row:1;width:20px;justify-self:start}
:root #app-menu-dialog .theme-setting>select{grid-column:1/-1;max-width:100%;width:100%;min-height:56px;margin:0;padding:12px 14px;font-size:1rem;line-height:1.8;background:var(--surface);color:var(--text);border:1px solid #aeb7a0;border-radius:12px;text-align:start}
:root #app-menu-dialog .guidance-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:4px 0}
:root #app-menu-dialog .guidance-setting>label{font-size:.95rem;line-height:1.9;flex:1;text-align:start}
:root #app-menu-dialog .guidance-setting input{flex-shrink:0;margin:0}
:root #app-menu-dialog .shell-map-settings{display:flex;flex-direction:column;gap:16px;margin-top:22px}
:root #app-menu-dialog .shell-map-settings .fleet-source{order:0;display:grid!important;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:16px!important;border:1px solid var(--line);border-radius:16px;background:var(--raised)}
:root #app-menu-dialog .fleet-source label{display:block;width:100%;max-width:100%;font-size:.95rem;line-height:1.9;color:var(--text)}
:root #app-menu-dialog #fleet-source{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:60px;height:auto;margin-top:9px;padding:13px 14px;font-family:inherit;font-size:1rem;font-weight:500;line-height:1.9;border:1px solid #aeb7a0;border-radius:12px;background:var(--surface);color:var(--text);color-scheme:light}
:root #app-menu-dialog #fleet-source option{font:inherit;color:var(--text);background:var(--surface)}
:root #app-menu-dialog #fleet-source-note{font-size:.875rem;line-height:1.9;margin-top:10px;color:var(--muted)}
:root #app-menu-dialog #show-all-map-vehicles{width:100%;min-height:52px;line-height:1.9;font-weight:600}
:root #app-menu-dialog .vehicle-icon-guide{order:1;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:.95rem;line-height:1.9}
:root #app-menu-dialog .vehicle-icon-guide summary{cursor:pointer}
:root #app-menu-dialog :is(select,button):focus-visible{outline:2px solid var(--focus);outline-offset:3px}
:root[data-theme=night] #app-menu-dialog :is(#fleet-source,.theme-setting>select){border-color:#788469;color-scheme:dark}
@media(prefers-reduced-motion:reduce){:root body.compact-app #confirm-locations{transition:none}}
@media(forced-colors:active){:root body.compact-app #confirm-locations{appearance:auto;-webkit-appearance:auto;forced-color-adjust:auto;background-image:none;border-color:ButtonText}}
