.actions-btn {
  padding: .3rem .75rem; font-family: "Orbitron", sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--warn); background: rgba(52, 38, 6, .55); border: 1px solid rgba(247, 207, 127, .55);
  border-radius: 2px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.actions-btn:hover { color: #1c1404; background: var(--warn); box-shadow: 0 0 14px rgba(247, 207, 127, .5); }
.actions-btn:focus-visible { outline: 2px solid var(--warn); outline-offset: 2px; }

.aa-pill {
  padding: .2rem .55rem; font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--good); background: rgba(4, 8, 18, .7);
  border: 1px solid rgba(108, 240, 176, .5); border-radius: 3px; white-space: nowrap;
}
.aa-pill.ceasefire { color: var(--warn); border-color: rgba(247, 207, 127, .55); }
.aa-pill[hidden] { display: none; }

.aa-card { width: min(640px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; }
.aa-card:focus { outline: none; }
.aa-list { display: grid; gap: .1rem; }
.aa-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--panel-edge); }
.aa-text { min-width: 0; }
.aa-text h4 { margin: 0; font-size: .95rem; }
.aa-text p { margin: .15rem 0; font-size: .85rem; color: var(--muted); }
.aa-status { font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.aa-status.on { color: var(--good); }
.aa-buttons { flex: none; display: flex; align-items: center; gap: .4rem; }
.aa-hours { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--muted); }
.aa-hours input { width: 4.2rem; }
.aa-field { display: grid; gap: .2rem; margin: .5rem 0; font-size: .85rem; color: var(--muted); }
.aa-card input, .aa-card select {
  box-sizing: border-box; padding: .35rem .45rem; font: inherit; color: var(--text); background: rgba(4, 8, 18, .8);
  border: 1px solid var(--panel-edge); border-radius: 3px;
}
.aa-card input:focus, .aa-card select:focus { outline: none; border-color: var(--accent); }
.aa-grant { width: min(420px, 100%); }
.aa-grant .aa-field input, .aa-grant .aa-field select { width: 100%; }
.aa-buttons .wp-btn { white-space: nowrap; }

@media (max-width: 560px) {
  .aa-row { flex-direction: column; align-items: stretch; gap: .4rem; }
}
