/* ---------------------------------------------------------------------------
   Styles owned by the Express build. app.css is generated from index.html and
   is overwritten by `npm run build`; anything hand-written belongs here.
   Loaded after app.css so these rules win.
   --------------------------------------------------------------------------- */

/* The topbar collapses every .btn-secondary into a 40px icon button whose
   ::before is hard-coded to "⚙". The change-password button would otherwise
   show a gear, which means Settings everywhere else in this UI. */
.top-actions .btn-secondary.dtbox-pw-btn::before {
  content: "🔑";
  font-size: 15px;
}
.top-actions .btn-secondary.dtbox-pw-btn {
  font-size: 0 !important;
}

/* Password dialog: narrower than the finance modals, which are built for tables. */
#dtboxPasswordModal .modal {
  width: min(440px, 100%);
}
#dtboxPasswordModal .note {
  margin: 0;
  font-weight: 700;
}
