/* im-tile.css — THE one icon tile (TWO LANES item 25, tiles_v1.html "With the one tile"; lane 2, 2026-10-23).
   Every icon that sits in a coloured shape uses this class: rounded square, a two-step vertical gradient of its tone,
   a 1px edge, a top highlight and a soft drop shadow. Sizes: .im-tile 44px (rows, cards, feature lists), --sm 32px
   (dense manager tables, count chips), --xs 22px with no shadow (ticks, step and inline markers). Tones by meaning:
   plum (default: documents, settings, information), teal (done, money in, verified, signed), terra (money out or
   committed — the wash only), amber (waiting). --dark is the one tone on dark surfaces.
   NOT tiles: icon buttons (the 42/44px circles), avatars, worded buttons, bare icons, status dots, brand marks.
   ICON TILES A converts every older per-page tile to this class; new blocks use it from the start (item 25). */
.im-tile { --im-tile-ic: var(--brand-navy); width: 44px; height: 44px; border-radius: 13px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #F1EAF2, var(--brand-plum-wash)); color: var(--im-tile-ic); --im-accent: var(--brand-terracotta);
  box-shadow: 0 0 0 1px rgba(var(--brand-navy-rgb), .08), inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -10px rgba(var(--brand-plum-deepest-rgb), .35); }
.im-tile > .im, .im-tile > svg { width: 20px; height: 20px; }
.im-tile--sm { width: 32px; height: 32px; border-radius: 10px; }
.im-tile--sm > .im, .im-tile--sm > svg { width: 16px; height: 16px; }
.im-tile--xs { width: 22px; height: 22px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(var(--brand-navy-rgb), .08), inset 0 1px 0 rgba(255, 255, 255, .9); }
.im-tile--xs > .im, .im-tile--xs > svg { width: 12px; height: 12px; }
.im-tile--plum { background: linear-gradient(180deg, #F1EAF2, var(--brand-plum-wash)); --im-tile-ic: var(--brand-navy); }
.im-tile--teal { background: linear-gradient(180deg, #E8F4F2, var(--brand-teal-wash)); --im-tile-ic: var(--brand-teal-deep); --im-accent: var(--brand-teal-bright); }
.im-tile--terra { background: linear-gradient(180deg, #FCEAE2, var(--brand-terracotta-wash)); --im-tile-ic: var(--brand-terracotta-deep); }
.im-tile--amber { background: linear-gradient(180deg, #FBF2E2, #F5E6C8); --im-tile-ic: #7A4F12; --im-accent: #C9962B; }
.im-tile--dark { background: rgba(var(--brand-cream-rgb), .12); --im-tile-ic: var(--brand-cream); --im-accent: var(--brand-terracotta-tint);
  box-shadow: 0 0 0 1px rgba(var(--brand-cream-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, .25); }
/* An inline svg (the public pages draw their icons inline, not from the sprite) is a stroke icon: */
.im-tile > svg:not(.im) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
