/** * Copyright since 2025 Mifos Initiative * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* stylelint-disable no-duplicate-selectors -- the compact-density pass below deliberately re-opens earlier rules; kept in cascade order */ .nd-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px 4px; /* * Teal rather than the amber or red the platform's other dialogs use. Nothing has gone wrong here * and nothing is at risk - the clerk is being told a fact about the agent they picked, and a * warning colour would send them looking for a fault that is not there. */ &__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgb(15 118 110 / 10%); color: #0f766e; flex: none; } &__title { margin: 0; font-size: 1.05rem; font-weight: 600; } } .nd-message { margin: 0; max-width: 44ch; /* stylelint-disable-line unit-allowed-list */ font-size: 0.9rem; line-height: 1.55; color: rgb(0 0 0 / 70%); } // ── Compact density ────────────────────────────────────────────────────────────────────────────────── .nd-head { padding: 14px 20px 2px; &__ic { width: 30px; height: 30px; } &__title { font-size: 0.95rem; } } .nd-message { font-size: 0.82rem; line-height: 1.5; }