/**
 * NOTICE OF LICENSE
 *
 * This file is proprietary software and is not open source.
 * Your subscription grants you a limited, non-transferable right to use this code
 * solely as part of the Retail Media Manager platform, and only for the duration
 * of your valid subscription.
 *
 * You are not permitted to copy, redistribute, resell, lease, license, sub-license,
 * or otherwise make this code or its resources available to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file. If you require customizations, please
 * contact Corebuilt Labs for professional services.
 *
 * @author     Corebuilt Labs <info@corebuilt.com>
 * @copyright  2025 Corebuilt Labs
 * @license    Limited to use within an active subscription to Retail Media Manager
 */

/* RDEV-349 PR B (design difference D-54; plan D71, D-52): the Advertiser Portal's read-only field, one class for every
   page that draws one: Organization settings' Country (_org_company.tpl) and the sign-in card's Activate step Country
   (rmmiam-signin.js). The look of org-settings.dc.html in RDEV-336-v5 (line 90): the field's own height, border and
   radius on --surface-muted, the value in --text-body, the default cursor, so it does not read as a field to edit. This
   file is the one stylesheet both load (PlatformDomain::hookDisplayHeader, every storefront page). The sign-in card never
   reads the Branding colour (RDEV-335 D13), so it sets --rmm-readonly-ground and --rmm-readonly-text from its own
   tokens (rmmiam-signin.css); the portal pages take the design tokens. Scoped to the two surfaces so it outranks their
   field rules (.rmmiam-signin__input, .rmmiam-page .rmmiam-org__input), which load after this file; the portal's white
   read-only rule (row 3.3 review Fix 12, the profile's email) leaves this class out. */
:is(.rmmiam-page, .rmmiam-signin) .rmm-readonly-field[readonly] {
  background: var(--rmm-readonly-ground, var(--surface-muted, #ECEEF0));
  color: var(--rmm-readonly-text, var(--text-body, #4B5563));
  cursor: default;
}