@font-face{font-family:PortalIcons;src:url('vendor/lucide/lucide.woff2') format('woff2');font-display:block}
[data-action-glyph]::before{content:attr(data-action-glyph);content:attr(data-action-glyph) / '';font:normal 1em/1 PortalIcons;vertical-align:-.08em;margin-inline-end:.28em}
.btn[data-action-glyph]::before{margin-inline-end:0}
@media(hover:hover){
 body :is(button,.btn,summary.btn,[role="button"]):not(.client-link):not(.kpi-link):not(:disabled):not([aria-disabled="true"]):hover{background:#155452!important;color:#fff!important;border-color:#0c4441!important;box-shadow:inset 0 0 0 1px #a5d2ca}
 body .bill-header :is(button,.btn,summary.btn):not(.client-link):not(:disabled):hover{background:#d8eeea!important;color:#123c3b!important;border-color:#42827c!important}
}
body :is(button,.btn,summary.btn,[role="button"]):focus-visible{outline:3px solid #22827b;outline-offset:2px}
body .btn{border-radius:8px;font-weight:600}
body .btn[data-action-glyph]{display:inline-flex;align-items:center;justify-content:center}
body .btn[data-action-glyph]::before{flex:none;line-height:1}
body .btn:not(.primary):not(.danger):not(.bill-delete):not(:disabled):not([aria-pressed="true"]):not(.active):not(.selected){background-color:#fff;color:#173642;border-color:#c4d4d9}
body .btn.primary,#modalBody .btn.primary{color:#fff;background:#15585b;border-color:#11494c}
#modalBody .bill-tools .btn:not(.primary):not(.bill-delete){background:#fff;color:#173642;border-color:#b6c9cb}
#modalBody .bill-header .bill-ref{color:#f1f7fa}
body :is(button,.btn,summary.btn,[role="button"]):focus-visible{outline:3px solid #086668;outline-offset:2px;box-shadow:0 0 0 3px #fff}
body :is(button,.btn):disabled{color:#4a5b62;background:#e8edef;border-color:#b6c3c7;opacity:1;cursor:not-allowed}

/* Compact controls use the same surfaces as the Jobs toolbar, retaining their layout. */
body :is(button.x,button.mb,button.adm-burger,button.m-tab,button.price-entry,button.li-del,.quantity-arrows button,button.pill,.reveal-btn) {
  border:1px solid #c4d4d9;border-radius:8px;background:#fff;color:#173642;font-family:inherit;font-weight:600;cursor:pointer;
}
body :is(button.m-tab.active,button.m-tab[aria-selected="true"],.m-topbar .mnew,.m-btn.primary) {
  background:#15585b;color:#fff;border:1px solid #11494c;
}
body :is(button.li-del,.btn.danger){color:#8e2926;border-color:#d9aaa6}
body .btn.m-btn {border-radius:8px}
body .btn.m-btn.ghost {background:#fff;color:#173642;border:1px solid #c4d4d9}

/* Keep destructive actions legible across legacy inline and hover styles. */
@layer destructive-actions {
  [data-destructive]:not(:disabled) {
    background:#a12e2a !important;
    border-color:#902621 !important;
    color:#fff !important;
  }
  [data-destructive]:not(:disabled):is(:hover,:active) {
    background:#80221f !important;
    border-color:#70201d !important;
    box-shadow:none !important;
  }
  [data-destructive]:not(:disabled) :is(span,svg),[data-destructive]:not(:disabled)::before {color:#fff !important}
}