/* Shared ProdOps action buttons. Decorative badges never change accessible labels.
   data-button-style="native" opts specialized controls out; data-button-tone can
   explicitly select blue, green, amber, red, purple or neutral. */
html body [data-po-button] {
  --po-tone:#7cc9ff;
  box-sizing:border-box; display:inline-flex; flex:0 0 auto;
  align-items:center; justify-content:center; justify-self:start; gap:9px;
  width:auto!important; min-width:0!important; max-width:100%; min-height:44px;
  padding:8px 17px!important; border:1px solid #596079!important;
  border-radius:999px!important; color:#f6f7ff!important;
  background:radial-gradient(ellipse at 30% 130%,color-mix(in srgb,var(--po-tone) 23%,transparent),transparent 70%),linear-gradient(#292439,#151323)!important;
  box-shadow:inset 0 1px 2px #ffffff24,0 2px 5px #0003!important;
  font:600 14px/1.3 system-ui,sans-serif; text-decoration:none!important;
  white-space:normal; overflow-wrap:anywhere; text-align:center;
  cursor:pointer; transition:border-color .15s,box-shadow .15s;
}
html body [data-po-tone="green"] {--po-tone:#62e6ae}
html body [data-po-tone="amber"] {--po-tone:#ffca76}
html body [data-po-tone="red"] {--po-tone:#ff789c}
html body [data-po-tone="purple"] {--po-tone:#bdabff}
html body [data-po-tone="neutral"] {--po-tone:#b0bdd2}
html body [data-po-button][hidden] {display:none!important}
html body [data-po-icon] {padding-left:10px!important}
html body [data-po-icon]::before {
  content:""; display:inline-block; flex:none; width:24px; height:24px;
  border-radius:50%; background-color:var(--po-tone);
  background-image:var(--po-icon); background-position:center;
  background-repeat:no-repeat; background-size:18px;
  box-shadow:0 0 8px color-mix(in srgb,var(--po-tone) 25%,transparent);
}
html body [data-po-button]:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color:var(--po-tone)!important;
  box-shadow:inset 0 1px 3px #ffffff30,0 0 12px color-mix(in srgb,var(--po-tone) 20%,transparent)!important;
  filter:none;
}
html body [data-po-button]:focus-visible {outline:3px solid #b9dfff!important;outline-offset:4px}
html body [data-po-button]:disabled,html body [data-po-button][aria-disabled="true"] {opacity:.45;cursor:not-allowed}
html body [data-po-button]:is([aria-pressed="true"],.is-selected,.selected) {
  --po-tone:#62e6ae; border-color:#62e6ae!important; background:#173d36!important;
}
html body :is(td,.col-controls) [data-po-button],html body [data-po-button][data-button-size="compact"] {
  min-height:36px; padding:5px 12px!important; font-size:13px; gap:7px;
}
html body :is(td,.col-controls) [data-po-icon]::before {width:21px;height:21px;background-size:16px}
@media(pointer:coarse) {html body :is(td,.col-controls) [data-po-button],html body [data-po-button][data-button-size="compact"] {min-height:44px}}
@media(prefers-reduced-motion:reduce) {html body [data-po-button] {transition:none}}
