.app-preference-label,.app-preference-value{display:none}:root body .shell-header-control.shell-preferences-control{background:var(--surface-panel);color:var(--text-accent);border-color:var(--border-strong);box-shadow:none}.shell-preferences-control[hidden]{display:none!important}.app-preferences-dialog{border:1px solid var(--border-strong);border-radius:var(--radius-card);background:var(--surface-panel);width:min(28rem,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text-body);box-shadow:var(--shadow-soft);margin:auto;padding:24px;position:fixed;inset:0;overflow:auto}.app-preferences-dialog::backdrop{background:#1e181452}.app-preferences-dialog>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.app-preferences-dialog h2{margin:0}:root body .app-preferences-dialog .global-app-controls{flex-direction:column;align-items:stretch;gap:20px;display:flex;position:static}.app-preferences-dialog .app-preference{gap:8px;display:grid}.app-preferences-dialog .app-preference-label{font-weight:700;display:block}:root body .app-preferences-dialog .reader-voice-control{border-radius:var(--radius-control);width:100%;min-height:46px;box-shadow:none;font:600 1rem/1.35 var(--font-ui);justify-content:flex-start;gap:10px;padding:12px 16px}:root body .app-preferences-dialog .reader-voice-name{display:inline}:root body .app-preferences-dialog .reader-voice-menu,:root body .app-preferences-dialog .ui-theme-menu{width:100%;box-shadow:none;margin-top:8px;position:relative;inset:auto}:root body .app-preferences-dialog .reader-voice-control:has(.reader-voice-menu:not([hidden])){flex-wrap:wrap;height:auto}:root body .app-preferences-dialog .reader-voice-trigger{height:46px;bottom:auto}:root body .app-preferences-dialog .ui-theme-picker{width:100%}:root body .app-preferences-dialog .global-app-control:after,:root body .app-preferences-dialog .reader-voice-control:after{display:none}.app-preferences-dialog .app-preference-value{display:inline}:root body .app-preferences-dialog .global-app-control{border-radius:var(--radius-control);width:100%;height:auto;min-height:46px;font:600 1rem/1.35 var(--font-ui);justify-content:flex-start;gap:10px;padding:12px 16px}
