.xm-window-controls{align-self:stretch;flex:none;display:flex;align-items:center;gap:4px;margin-left:12px;padding:6px 8px}.xm-window-controls>button{width:36px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--xm-muted);cursor:default;transition:background-color .12s ease,color .12s ease}.xm-window-controls>button:hover{background:var(--xm-soft);color:var(--xm-text)}.xm-window-controls>button:active{background:var(--xm-border);color:var(--xm-text)}.xm-window-controls>button.close:hover{background:#c42b1c;color:#fff}.xm-window-controls>button.close:active{background:#a82016;color:#fff}.xm-window-controls>button:focus-visible{outline:2px solid var(--xm-accent);outline-offset:-2px}.xm-window-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}@media (prefers-reduced-motion:reduce){.xm-window-controls>button{transition:none}}