/* Shared action styles across staff, customer and sales portals. */
body :is(button,a.button-link,a.button):not(nav button):not(nav a){background:#163d32;color:#fff;border-color:#163d32}
body :is(button,a.button-link,a.button):not(nav button):not(nav a):hover:where(:not(:disabled):not([aria-disabled="true"])){background:#235b44;border-color:#235b44;color:#fff}
body :is(button,a.button-link,a.button):not(nav button):not(nav a):focus-visible{outline:3px solid #8bb8a5;outline-offset:3px}
body button:not(nav button) :is(small,.muted),body .property-result :is(span,small){color:#e2ede7}
body .home-shortcuts button small{color:#e2ede7}
/* Keep actions visible against the dark property card. */
body .hero .actions button{background:#235b44;color:#fff;border:1px solid #a1c3b1}
/* Choice controls need a different unselected appearance. */
body :is(.choices button,.steps button,button[aria-pressed="false"],button[aria-selected="false"]):not(nav button){background:#edf3e9;color:#163d32;border:1px solid #94ad9f}
body :is(.choices button,.steps button,button[aria-pressed="false"],button[aria-selected="false"]):not(nav button):where(:not(.selected):not(.active):not([aria-pressed="true"]):not([aria-selected="true"])):hover:not(:disabled){background:#dce9d8;color:#163d32;border-color:#527d66}
body :is(.choices button.selected,.steps button.active,button[aria-pressed="true"],button[aria-selected="true"]):not(nav button){background:#163d32;color:#fff;border:1px solid #163d32;box-shadow:inset 0 0 0 2px #8bb8a5;font-weight:700}
/* Destructive actions remain distinct, including confirmation buttons. */
body :is(button,a.button-link,a.button):is(.tn-destructive,.danger,[data-destructive]){background:#a3322a;color:#fff;border-color:#a3322a}
body :is(button,a.button-link,a.button):is(.tn-destructive,.danger,[data-destructive]):hover:not(:disabled){background:#84251f;color:#fff;border-color:#84251f}
/* Disabled controls remain legible instead of fading white text. */
body :is(button,a.button-link,a.button):not(nav button):not(nav a):is(:disabled,[aria-disabled="true"]){background:#e2e7e3;color:#64706a;border-color:#cbd3cd;opacity:1;box-shadow:none;cursor:not-allowed}
@media(forced-colors:active){body :is(button,a.button-link,a.button){forced-color-adjust:auto}}
/* Persistent section choices must outrank the shared action-button theme. */
body :is(.estimate-office-tabs,.estimate-history-tabs,.section-tabs) button[aria-current="false"]{background:#eaf1e8;color:#163d32;border:2px solid #789582;box-shadow:none}
body :is(.estimate-office-tabs,.estimate-history-tabs,.section-tabs) button[aria-current="false"]:hover{background:#dce9d8;color:#12382b;border-color:#315e46}
body :is(.estimate-office-tabs,.estimate-history-tabs,.section-tabs) button[aria-current="page"],body :is(.estimate-office-tabs,.estimate-history-tabs,.section-tabs) button[aria-current="page"]:hover{background:#163d32;color:#fff;border:2px solid #163d32;box-shadow:none}
