/* Main actions carry colour; the sidebar keeps its original theme. */
:root{--action-green:linear-gradient(135deg,#72ebb0,#55cbb2);--action-red:linear-gradient(135deg,#dc3a2d,#9e082a);--action-orange:linear-gradient(135deg,#ffda8b,#ffad80);--action-black:#202124}
[data-action-tone],.verde,.vermelho,.laranja,.roxo{--action-bg:var(--action-black);--action-fg:#fff}
[data-action-tone="laranja"],.laranja{--action-bg:var(--action-orange);--action-fg:#342416}
:is([data-action-tone="verde"],.verde):is(.primary,[data-status]){--action-bg:var(--action-green);--action-fg:#14392e}
:is([data-action-tone="vermelho"],.vermelho):is(.primary,[data-status],#delete-quote,#delete-production,#admin-delete,[data-delete],[data-delete-user],[data-cost-delete],[data-cost-scenario-delete],[data-template-archive],#cost-delete-form button){--action-bg:var(--action-red);--action-fg:#fff}
html body #app :is(button,a.button):is([data-action-tone],.verde,.vermelho,.laranja,.roxo):not(.side *,.production-add){background:var(--action-bg);color:var(--action-fg);border-color:transparent;text-decoration:none;transition:filter .15s,box-shadow .15s}
html body #app :is(button,a.button)[data-action-tone]:not(.side *,.production-add):hover:not(:disabled){background:var(--action-bg);color:var(--action-fg);filter:brightness(.96);box-shadow:0 2px 7px #182e3726}
html body #app :is(button,a.button)[data-action-tone]:not(.side *,.production-add):focus-visible{outline:3px solid #172e46;outline-offset:3px}
html body #app :is(button,a.button)[data-action-tone]:not(.side *,.production-add):is(.active,.selected,[aria-pressed="true"],[aria-current="page"]){box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #253943}
html body #app button[data-action-tone]:not(.side *,.production-add):disabled{opacity:.48;filter:saturate(.4);cursor:not-allowed;box-shadow:none}
html body #app .colastra-text-button[data-action-tone]{padding:10px 14px;min-height:44px;margin-top:12px;text-align:center}
/* Lightweight add-task controls on both Kanban boards. */
html body #app button.production-add[data-action-tone]{background:transparent;color:#526871;border:1px dashed #b5c2c8;box-shadow:none}
html body #app button.production-add[data-action-tone]:hover:not(:disabled){background:#ffffff55;color:#243e49;border-color:#81979f;filter:none;box-shadow:none}
