/* WackyWeb universal device toolbar: identical on every template. */
.ww-shared-device-controls{display:flex!important;align-items:center;justify-content:center;gap:7px;min-width:0;flex-wrap:wrap;justify-self:center;grid-column:2;grid-row:1}
.ww-shared-device-controls .ww-shared-device-button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:68px;min-height:57px;padding:6px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:#385366;font:700 11px/1.2 Arial,sans-serif;cursor:pointer}
.ww-shared-device-controls .ww-shared-device-button svg{display:block!important;width:25px!important;height:25px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ww-shared-device-controls .ww-shared-device-button.active{background:#e7f2eb!important;border-color:#93b4a0!important;color:#164b37!important}
.ww-shared-device-controls .ww-shared-device-button:focus-visible{outline:2px solid #d5a04e;outline-offset:2px}
/* Shared three-column header, preserving the existing title and right-side actions. */
.ww-universal-layout .preview-head,.ww-universal-layout .preview-bar,.ww-universal-layout .ww-live-preview-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important}
.ww-universal-layout .preview-head>h2,.ww-universal-layout .preview-head>.preview-title{grid-column:1!important;grid-row:1!important}
.ww-universal-layout .preview-head>.ww-shared-device-controls{grid-column:2!important;grid-row:1!important;order:initial!important}
.ww-universal-layout .preview-head>.ww-preview-actions,.ww-universal-layout .preview-head>.workspace-tools{grid-column:3!important;grid-row:1!important;justify-self:end!important}
.ww-universal-layout .preview-bar>.ww-shared-device-controls,.ww-universal-layout .ww-live-preview-bar>.ww-shared-device-controls{grid-column:2!important;grid-row:1!important}
@media(max-width:850px){.ww-universal-layout .preview-head,.ww-universal-layout .preview-bar,.ww-universal-layout .ww-live-preview-bar{grid-template-columns:minmax(0,1fr) auto!important}.ww-universal-layout .preview-head>.ww-shared-device-controls,.ww-universal-layout .preview-bar>.ww-shared-device-controls,.ww-universal-layout .ww-live-preview-bar>.ww-shared-device-controls{grid-column:1/-1!important;grid-row:2!important}}
