/* ============================================================
   Tenant branding (/admin/branding): the current seal and the upload form.
   The page is built from design-system components; this sheet only places
   them. Structure in @layer layout. Every rule hangs on the page's
   domain-concept class and reads --t-* / --c-* tokens only.
   ============================================================ */

@layer layout {
  .admin-branding { display: grid; gap: var(--t-space-5); align-content: start; }

  .admin-branding .intro { display: flex; flex-wrap: wrap; align-items: flex-start;
                           justify-content: space-between; gap: var(--t-space-3); }
  /* The title, its subtitle and the explanatory line under it are one block,
     so the line stays with the heading when the intro wraps. */
  .admin-branding .intro-copy { display: grid; gap: var(--t-space-1);
                                min-inline-size: 0; }

  /* An explanatory line under the page title is plain page text. The base drew
     it directly on the page, not inside a callout box; it takes the page
     surface's muted ink. */
  .admin-branding .intro-note { margin: 0; color: var(--c-surface-text-color-muted); }

  /* The seal preview: the mark above the line that names it. */
  .admin-branding .seal { display: grid; gap: var(--t-space-2); margin: 0;
                          justify-items: start; }
  .admin-branding .seal img { block-size: var(--t-space-16); inline-size: auto;
                              object-fit: contain; }
  .admin-branding .seal figcaption { font-size: var(--t-font-size-sm); }

  .admin-branding .upload-form { display: grid; gap: var(--t-space-4); }
}
