/* The unit tile grid Root's Home and its public page share. Each page adds
 * its own tile layout around these parts. */
.icon { width: 4rem; height: 4rem; flex: none; border-radius: 22%; display: block; background: #e6ebe6; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
/* A letter stands in for a missing or refused icon. */
.icon.letter { display: flex; align-items: center; justify-content: center; background: #2f6b5a; color: #fff; font-size: calc(var(--icon, 4rem) * .5); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); gap: 1rem .5rem; --icon: 4rem; }
.tiles .icon { width: var(--icon); height: var(--icon); }
.tile-open { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .5rem .25rem; border-radius: 14px; text-decoration: none; color: inherit; width: 100%; min-height: 6.5rem; position: relative; }
.tile-open:hover { background: #e9eee9; }
.tile-title { font-size: .85rem; line-height: 1.2; text-align: center; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 700px) {
  .tiles { grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr)); gap: .75rem .25rem; --icon: 3.25rem; }
}
