/* Shared tactile controls; no layout shifts, looping effects or dependencies. */
html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-office-route,.nd-office-provider,.nd-office-close,.uy-preview-activate,.nd-menu-toggle,.uy-menu-toggle,.uy-preview-exit,.uy-preview-switch button,.nd-ad-controls button) {
    background-image: linear-gradient(155deg, rgb(255 255 255 / .52), rgb(49 95 131 / .06));
    box-shadow: 0 1px 2px rgb(39 59 71 / .08), inset 0 1px 0 rgb(255 255 255 / .55);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
html #uyinfo-review :is(.nd-primary,.uy-site .nd-primary) {
    background-color: var(--uy-primary);
    background-image: linear-gradient(135deg, #3278b0, #245e94 62%, #204e7b);
    border-color: var(--uy-primary);
    color: var(--uy-on-primary);
    box-shadow: 0 3px 9px rgb(49 95 131 / .16), inset 0 1px 0 rgb(255 255 255 / .15);
}
html #uyinfo-review .nd-danger {
    background-color: #9d3446;
    background-image: linear-gradient(135deg, #aa4152, #8d2e3f);
    color: #fff;
}
@media (hover: hover) and (pointer: fine) {
    html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-office-route,.nd-office-provider,.nd-office-close,.uy-preview-activate,.nd-menu-toggle,.uy-menu-toggle,.uy-preview-exit,.uy-preview-switch button,.nd-ad-controls button):not(:disabled):hover {
        box-shadow: 0 4px 12px rgb(39 59 71 / .14), inset 0 1px 0 rgb(255 255 255 / .4);
        border-color: var(--uy-link);
    }
    html #uyinfo-review :is(.nd-primary,.uy-site .nd-primary):not(:disabled):hover {
        background-image: linear-gradient(135deg, #28699f, #205588 62%, #193f67);
    }
}
html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-office-route,.nd-office-provider,.nd-office-close,.uy-preview-activate,.nd-menu-toggle,.uy-menu-toggle,.uy-preview-exit,.uy-preview-switch button,.nd-ad-controls button):not(:disabled):active {
    box-shadow: inset 0 2px 4px rgb(25 47 63 / .18);
}
html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-menu-toggle,.uy-menu-toggle,.uy-preview-exit,.uy-preview-switch button,.nd-ad-controls button):disabled {
    background-image: none;
    box-shadow: none;
    cursor: not-allowed;
}
html #uyinfo-review .nd-lang button[aria-pressed=true] {
    background-image: linear-gradient(145deg, rgb(255 255 255 / .42), rgb(49 95 131 / .07));
    box-shadow: 0 1px 3px rgb(39 59 71 / .12), inset 0 1px 0 rgb(255 255 255 / .45);
}
@media (prefers-reduced-motion: reduce) {
    html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-office-route,.nd-office-provider,.nd-office-close,.uy-preview-activate,.nd-menu-toggle,.uy-menu-toggle,.uy-preview-exit,.uy-preview-switch button,.nd-ad-controls button) { transition: none; }
}
@media (forced-colors: active) {
    html #uyinfo-review :is(.nd-button,.nd-iconbutton,.nd-office-route,.nd-office-provider,.nd-office-close,.uy-preview-activate,.nd-menu-toggle,.nd-lang button) { background-image: none; box-shadow: none; }
}

/* Preview controls stay light and occupy only a small corner of the image. */
html:root #uyinfo-review .is-manual-preview :is(.uy-preview-activate,.uy-preview-exit){left:auto;right:24px;bottom:24px;transform:none;min-height:44px;height:44px;border:1px solid rgb(36 94 148 / .22);border-radius:999px;background:rgb(255 255 255 / .88);color:var(--uy-link);box-shadow:0 2px 10px rgb(23 44 67 / .09),inset 0 1px 0 #fff;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
html:root #uyinfo-review .is-manual-preview .uy-preview-activate{padding:8px 14px;max-width:calc(100% - 48px)}
html:root #uyinfo-review .is-manual-preview .uy-preview-activate>span{font-size:14px;font-weight:550;line-height:1.4;gap:8px;white-space:nowrap}
html:root #uyinfo-review .is-manual-preview .uy-preview-exit{width:44px;min-width:44px;padding:0;display:grid;place-items:center}
html:root #uyinfo-review .is-manual-preview .uy-preview-exit[hidden]{display:none}
html:root #uyinfo-review .is-manual-preview :is(.uy-preview-activate,.uy-preview-exit):hover{background:#fff;border-color:var(--uy-link);box-shadow:0 3px 12px rgb(23 44 67 / .12)}
@media(max-width:700px){html:root #uyinfo-review .is-manual-preview :is(.uy-preview-activate,.uy-preview-exit){right:20px;bottom:20px}}
@media(forced-colors:active){html:root #uyinfo-review .is-manual-preview :is(.uy-preview-activate,.uy-preview-exit){background:Canvas;color:ButtonText;border-color:ButtonText;box-shadow:none}}
