/* One button look for the whole program (saeed chose «نمونهٔ ۳» on 2026-10-23): plain light-gray buttons with no
   border; the main one («ذخیره»، «+ جدید») dark charcoal; «حذف» light red. No blue buttons. Loaded after every other
   style sheet, and «:not(#ns-x)» lifts these rules over the older blue pills. */
html body:not(#ns-x) .button, html body:not(#ns-x) a.button, html body:not(#ns-x) input[type=submit], html body:not(#ns-x) input[type=button],
html body:not(#ns-x) .submit-row input, html body:not(#ns-x) .submit-row a.closelink, html body:not(#ns-x) .object-tools a:link, html body:not(#ns-x) .object-tools a:visited,
html body:not(#ns-x) .li-tool, html body:not(#ns-x) .hb-ghost, html body:not(#ns-x) .sd-cancel, html body:not(#ns-x) .send-button, html body:not(#ns-x) .reports-button,
html body:not(#ns-x) .import-button, html body:not(#ns-x) .acc-home-btn, html body:not(#ns-x) .history-button, html body:not(#ns-x) .invoice-history-button, html body:not(#ns-x) .dup-button,
html body:not(#ns-x) .notes-button, html body:not(#ns-x) .mail-button, html body:not(#ns-x) .reminders-button, html body:not(#ns-x) .calc-button {
    background: #f1f3f6 !important; color: #334155 !important; border: 0 !important; border-radius: 10px !important;
    box-shadow: none !important; font-weight: 600 !important; text-shadow: none !important; background-image: none !important;
}
html body:not(#ns-x) .button:hover, html body:not(#ns-x) a.button:hover, html body:not(#ns-x) input[type=submit]:hover, html body:not(#ns-x) input[type=button]:hover,
html body:not(#ns-x) .submit-row input:hover, html body:not(#ns-x) .object-tools a:hover, html body:not(#ns-x) .li-tool:hover, html body:not(#ns-x) .hb-ghost:hover,
html body:not(#ns-x) .sd-cancel:hover, html body:not(#ns-x) .send-button:hover, html body:not(#ns-x) .reports-button:hover, html body:not(#ns-x) .import-button:hover,
html body:not(#ns-x) .history-button:hover, html body:not(#ns-x) .invoice-history-button:hover, html body:not(#ns-x) .dup-button:hover,
html body:not(#ns-x) .notes-button:hover, html body:not(#ns-x) .mail-button:hover, html body:not(#ns-x) .reminders-button:hover, html body:not(#ns-x) .calc-button:hover {
    background: #e5e8ee !important; color: #0f172a !important;
}
/* the main action of a page */
html body:not(#ns-x) .button.default, html body:not(#ns-x) input[type=submit].default, html body:not(#ns-x) .submit-row input.default,
html body:not(#ns-x) .object-tools a.addlink, html body:not(#ns-x) .hb-new, html body:not(#ns-x) .ns-dash-save {
    background: #1f2937 !important; color: #ffffff !important;
}
html body:not(#ns-x) .button.default:hover, html body:not(#ns-x) input[type=submit].default:hover, html body:not(#ns-x) .submit-row input.default:hover,
html body:not(#ns-x) .object-tools a.addlink:hover, html body:not(#ns-x) .hb-new:hover, html body:not(#ns-x) .ns-dash-save:hover {
    background: #111827 !important; color: #ffffff !important;
}
html body:not(#ns-x) .object-tools a.addlink { padding-inline-start: 14px !important; }
/* delete */
html body:not(#ns-x) .submit-row a.deletelink, html body:not(#ns-x) a.deletelink, html body:not(#ns-x) .sd-delete, html body:not(#ns-x) .button.danger {
    background: #fef2f2 !important; color: #b91c1c !important; border: 0 !important; border-radius: 10px !important;
    box-shadow: none !important;
}
html body:not(#ns-x) .submit-row a.deletelink:hover, html body:not(#ns-x) a.deletelink:hover, html body:not(#ns-x) .sd-delete:hover {
    background: #fee2e2 !important; color: #991b1b !important;
}
/* the night look */
html.ns-dark body:not(#ns-x) .button, html.ns-dark body:not(#ns-x) input[type=submit], html.ns-dark body:not(#ns-x) .li-tool, html.ns-dark body:not(#ns-x) .object-tools a:link,
html.ns-dark body:not(#ns-x) .hb-ghost { background: #2a2f37 !important; color: #e5e7eb !important; }
html.ns-dark body:not(#ns-x) .button.default, html.ns-dark body:not(#ns-x) .submit-row input.default, html.ns-dark body:not(#ns-x) .object-tools a.addlink,
html.ns-dark body:not(#ns-x) .hb-new { background: #e5e7eb !important; color: #111827 !important; }
/* the save buttons of an invoice, up beside «چاپ فاکتور» (saeed, 2026-10-25) */
html body:not(#ns-x) .li-tool.li-tool_save { background: #1f2937 !important; color: #ffffff !important; }
html body:not(#ns-x) .li-tool.li-tool_save:hover { background: #111827 !important; color: #ffffff !important; }
html body:not(#ns-x) .li-tool.li-tool_proforma { background: #7c3aed !important; color: #ffffff !important; }
html body:not(#ns-x) .li-tool.li-tool-delete { background: #fef2f2 !important; color: #b91c1c !important; }
html body:not(#ns-x) .li-tool.li-tool-delete:hover { background: #fee2e2 !important; color: #991b1b !important; }
html.ns-dark body:not(#ns-x) .li-tool.li-tool_save { background: #e5e7eb !important; color: #111827 !important; }
html.ns-dark body:not(#ns-x) .li-tool.li-tool-delete { background: #3b1f22 !important; color: #fca5a5 !important; }
html body:not(#ns-x) .li-draft .li-draft-use { background: #1f2937 !important; color: #ffffff !important; }
