/* Styleguide action variants; field controls and execution buttons are separate. */
html[data-theme="studio"] .studio-action-button[data-studio-button]{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:32px;height:auto;padding:6px 12px;border:1px solid #cfe0d4;border-radius:6px;background:#fff;color:#66746d;font:500 12px/18px 'DM Sans',sans-serif;text-decoration:none;box-shadow:none;filter:none;transform:none;transition:background-color .15s,border-color .15s,color .15s}
html[data-theme="studio"] .studio-action-button[data-studio-button] svg{display:block;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Legacy ID selectors override dimensions in several compact action toolbars. */
html[data-theme="studio"] .studio-action-button[data-studio-button]{height:32px!important;min-height:32px!important;padding:0 12px!important}
html[data-theme="studio"] .studio-action-button[data-studio-button] svg{width:14px!important;height:14px!important}
html[data-theme="studio"] .studio-action-button[data-studio-button]:not(:disabled):not([aria-disabled="true"]):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55;filter:none;transform:none;box-shadow:none}
html[data-theme="studio"] .studio-action-button[data-studio-button="primary"]{background:#3f7f55;border-color:#3f7f55;color:#f8f9f8;font-weight:600}
html[data-theme="studio"] .studio-action-button[data-studio-button="primary"]:not(:disabled):not([aria-disabled="true"]):hover{background:#2f6042;border-color:#2f6042;color:#f8f9f8}
html[data-theme="studio"] .studio-action-button[data-studio-button="secondary"]{background:#eaf4ed;border-color:#cfe0d4;color:#3f7f55;font-weight:600}
html[data-theme="studio"] .studio-action-button[data-studio-button="secondary"]:not(:disabled):not([aria-disabled="true"]):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
/* Legacy project tester styles use !important; override only this exact action. */
html[data-theme="studio"] .studio-action-button.manage-test-project-button{background:#eaf4ed!important;border-color:#cfe0d4!important;color:#3f7f55!important;outline:none}
html[data-theme="studio"] .studio-action-button.manage-test-project-button:not(:disabled):hover{border-color:#3f7f55!important;background:#eaf4ed!important}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger"]{background:#fff;border-color:#f0c6c3;color:#c9372d}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger"]:not(:disabled):hover{background:#fff1f0;border-color:#c9372d;color:#c9372d}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger-primary"]{background:#c9372d;border-color:#c9372d;color:#fff;font-weight:600}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger-primary"]:not(:disabled):hover{background:#aa2e26;border-color:#aa2e26;color:#fff}
html[data-theme="studio"] .studio-action-button[data-studio-button]:is(:disabled,[aria-disabled="true"],.is-disabled){opacity:.5;cursor:not-allowed;filter:none;transform:none}
html[data-theme="studio"] .studio-action-button[data-studio-button="primary"]:is(:disabled,[aria-disabled="true"],.is-disabled){opacity:1;background:#a0bda9;border-color:#a0bda9;color:#fff}
html[data-theme="studio"] .studio-action-close{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border:1px solid #cfe0d4;border-radius:6px;background:#fff;color:#66746d;box-shadow:none;font:400 20px/1 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-action-close:not(:disabled):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
html[data-theme="studio"] .studio-action-close svg{width:16px;height:16px}
html[data-theme="studio"] .studio-action-button.studio-action-icon[data-studio-button]{width:32px;min-width:32px;height:32px;padding:0!important}
html[data-theme="studio"] :is(.studio-action-button,.studio-action-close)[hidden]{display:none!important}
html[data-theme="studio"] .studio-action-button[data-studio-button]:focus-visible,html[data-theme="studio"] .studio-action-close:focus-visible{outline:2px solid #3f7f55;outline-offset:2px}

/* Keep compact actions compact inside legacy controls with nested icon tiles. */
html[data-theme="studio"] .studio-action-button[data-studio-button="standard"]{padding-inline:10px!important}
html[data-theme="studio"] .studio-action-button.project-snapshot-create>span{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;min-width:14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
html[data-theme="studio"] .studio-action-button.project-snapshot-create b{font:inherit;white-space:nowrap}
html[data-theme="studio"] .studio-action-button.project-snapshot-create:focus:not(:focus-visible){outline:none;box-shadow:none;transform:none}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger-icon"]{background:#fff;border-color:#cfe0d4;color:#66746d}
html[data-theme="studio"] .studio-action-button[data-studio-button="danger-icon"]:not(:disabled):hover{background:#fff1f0;border-color:#c9372d;color:#c9372d}
