/* V6.0 — theme and language controls are native members of the viewer menu. */
.viewer__actions{align-items:center;flex-wrap:wrap;gap:8px;}
.viewer__display-controls{display:inline-flex;align-items:center;gap:8px;padding:0;margin:0;flex:0 0 auto;border:0;border-radius:0;background:transparent;box-shadow:none;}
.viewer__display-controls button,.viewer__display-controls label{min-height:38px;border:2px solid var(--ink);border-radius:0;background:#fff;color:var(--ink);padding:8px 10px;font:900 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:none;transition:transform .16s ease,background-color .16s ease,color .16s ease;}
.viewer__display-controls button{display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-width:96px;justify-content:center;}
.viewer__display-controls label{display:inline-flex;align-items:center;gap:8px;min-width:246px;position:relative;}
.viewer__display-controls button:hover,.viewer__display-controls label:hover{transform:translateY(-1px);background:#f7f7f7;}
.viewer__display-controls select{appearance:none;-webkit-appearance:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:0 28px 0 2px;width:100%;min-width:196px;max-width:none;}
.viewer__language-control::after{content:'⌄';position:absolute;right:10px;top:9px;pointer-events:none;font-size:15px;}
.viewer__control-icon{font-size:14px;line-height:1;flex:0 0 auto;}
.viewer__display-controls :focus-visible{outline:3px solid var(--ink);outline-offset:3px;}
@media(max-width:1050px){.viewer__display-controls{order:-1;flex:1 1 100%;justify-content:flex-end;}}
@media(max-width:660px){.viewer__display-controls{width:100%;justify-content:stretch}.viewer__display-controls button{flex:0 0 108px}.viewer__display-controls label{flex:1 1 auto;min-width:0}.viewer__display-controls select{width:100%;min-width:0}}
@media(max-width:430px){.viewer__display-controls{flex-wrap:wrap}.viewer__display-controls button,.viewer__display-controls label{flex:1 1 100%;min-width:100%}}
